Skip to content

Releases: thirdweb-dev/js

[email protected]

24 Jan 02:12
6ba3b30
Compare
Choose a tag to compare

Patch Changes

@thirdweb-dev/[email protected]

24 Jan 02:12
6ba3b30
Compare
Choose a tag to compare

@thirdweb-dev/[email protected]

24 Jan 02:12
6ba3b30
Compare
Choose a tag to compare

Minor Changes

Patch Changes

[email protected]

22 Jan 04:44
eefa2ab
Compare
Choose a tag to compare

Patch Changes

@thirdweb-dev/[email protected]

22 Jan 04:44
eefa2ab
Compare
Choose a tag to compare

Patch Changes

[email protected]

21 Jan 01:51
c9ccc59
Compare
Choose a tag to compare

Minor Changes

  • #5989 8b5cb47 Thanks @gregfromstl! - Feature: Adds deployMarketplaceContract

    import { deployMarketplaceContract } from "thirdweb/deploys";
    
    const address = await deployMarketplaceContract({
      client,
      chain,
      account,
      params: {
        name: "MarketplaceV3",
        description: "MarketplaceV3 deployed using thirdweb SDK",
        platformFeeRecipient: "0x21d514c90ee4E4e4Cd16Ce9185BF01F0F1eE4A04",
        platformFeeBps: 1000,
      },
    });

Patch Changes

@thirdweb-dev/[email protected]

21 Jan 01:51
c9ccc59
Compare
Choose a tag to compare

Minor Changes

[email protected]

18 Jan 09:41
eded4ff
Compare
Choose a tag to compare

Minor Changes

  • #5972 0b62397 Thanks @joaquim-verges! - Support multiple messages for Nebula API, updated input props.

    Some prop names have been updated:

    prompt -> messsage
    context -> contextFilter

    Nebula.chat({
      client,
      // prompt is now message
      message:
        "What's the total supply of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8",
      // contextFilter is now contextFilter
      contextFilter: {
        chains: [sepolia],
      },
    });

    The Nebula.chat and Nebula.execute functions now support multiple input messages, and the input properties have been updated to match the http API.

    Nebula.chat({
      client,
      // multi message format
      messages: [
        {
          role: "user",
          content:
            "Tell me the name of this contract: 0xe2cb0eb5147b42095c2FfA6F7ec953bb0bE347D8",
        },
        {
          role: "assistant",
          content: "The name of the contract is My NFT Collection",
        },
        {
          role: "user",
          content: "What's the symbol of this contract?",
        },
      ],
      contextFilter: {
        chains: [sepolia],
      },
    });

    Same changes apply to Nebula.execute.

    Nebula.execute({
      client,
      account,
      messages: [
        { role: "user", content: "What's the address of vitalik.eth" },
        {
          role: "assistant",
          content:
            "The address of vitalik.eth is 0xd8dA6BF26964aF8E437eEa5e3616511D7G3a3298",
        },
        { role: "user", content: "Send them 0.0001 ETH" },
      ],
      contextFilter: {
        chains: [sepolia],
      },
    });

Patch Changes

@thirdweb-dev/[email protected]

18 Jan 09:41
eded4ff
Compare
Choose a tag to compare

@thirdweb-dev/[email protected]

18 Jan 09:41
eded4ff
Compare
Choose a tag to compare

Minor Changes