diff --git a/.changeset/clever-carrots-march.md b/.changeset/clever-carrots-march.md deleted file mode 100644 index e85a2296560..00000000000 --- a/.changeset/clever-carrots-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"thirdweb": minor ---- - -Add headless components: ChainProvider, ChainIcon & ChainName diff --git a/.changeset/pink-ducks-flash.md b/.changeset/pink-ducks-flash.md deleted file mode 100644 index 2b444837147..00000000000 --- a/.changeset/pink-ducks-flash.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"thirdweb": patch ---- - -Fix UI issue when assetTabs is set to an empty array diff --git a/.changeset/selfish-deers-destroy.md b/.changeset/selfish-deers-destroy.md deleted file mode 100644 index 84905ddb343..00000000000 --- a/.changeset/selfish-deers-destroy.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -"thirdweb": minor ---- - -Adds LoyaltyCard extensions and support for ERC721 deployment. - -```ts -import { deployERC721Contract } from "thirdweb/deploys"; - -const loyaltyCardContractAddress = await deployERC721Contract({ - chain: "your-chain-id", // replace with your chain ID - client: yourThirdwebClient, // replace with your Thirdweb client instance - account: yourAccount, // replace with your account details - type: "LoyaltyCard", - params: { - name: "MyLoyaltyCard", - symbol: "LOYAL", - description: "A loyalty card NFT contract", - image: "path/to/image.png", // replace with your image path - defaultAdmin: "0xYourAdminAddress", // replace with your admin address - royaltyRecipient: "0xYourRoyaltyRecipient", // replace with your royalty recipient address - royaltyBps: 500n, // 5% royalty - trustedForwarders: ["0xTrustedForwarderAddress"], // replace with your trusted forwarder addresses - saleRecipient: "0xYourSaleRecipient", // replace with your sale recipient address - platformFeeBps: 200n, // 2% platform fee - platformFeeRecipient: "0xYourPlatformFeeRecipient", // replace with your platform fee recipient address - }, -}); - -``` diff --git a/.changeset/tall-donuts-divide.md b/.changeset/tall-donuts-divide.md deleted file mode 100644 index f1099a3827e..00000000000 --- a/.changeset/tall-donuts-divide.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/service-utils": patch ---- - -feat: add promptTokens and completionTokens fields to usage diff --git a/.changeset/ten-rockets-stare.md b/.changeset/ten-rockets-stare.md deleted file mode 100644 index ffaf2132167..00000000000 --- a/.changeset/ten-rockets-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"thirdweb": patch ---- - -Fix tx cost estimation for pay transaction modal diff --git a/packages/service-utils/CHANGELOG.md b/packages/service-utils/CHANGELOG.md index a04e48e52e9..c1829948076 100644 --- a/packages/service-utils/CHANGELOG.md +++ b/packages/service-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @thirdweb-dev/service-utils +## 0.4.51 + +### Patch Changes + +- [#5542](https://github.com/thirdweb-dev/js/pull/5542) [`8aa454c`](https://github.com/thirdweb-dev/js/commit/8aa454cbbbc2079749fa8250102ab0307d1b33af) Thanks [@arcoraven](https://github.com/arcoraven)! - feat: add promptTokens and completionTokens fields to usage + ## 0.4.50 ### Patch Changes diff --git a/packages/service-utils/package.json b/packages/service-utils/package.json index 4f8206323df..609a219bb30 100644 --- a/packages/service-utils/package.json +++ b/packages/service-utils/package.json @@ -1,6 +1,6 @@ { "name": "@thirdweb-dev/service-utils", - "version": "0.4.50", + "version": "0.4.51", "type": "module", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", diff --git a/packages/thirdweb/CHANGELOG.md b/packages/thirdweb/CHANGELOG.md index e5c7e7b3fc1..93eee62c40a 100644 --- a/packages/thirdweb/CHANGELOG.md +++ b/packages/thirdweb/CHANGELOG.md @@ -1,5 +1,43 @@ # thirdweb +## 5.72.0 + +### Minor Changes + +- [#5495](https://github.com/thirdweb-dev/js/pull/5495) [`d1845f3`](https://github.com/thirdweb-dev/js/commit/d1845f3d6096d81e24bdb3cff38d19efd652ada1) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Add headless components: ChainProvider, ChainIcon & ChainName + +- [#5529](https://github.com/thirdweb-dev/js/pull/5529) [`7488102`](https://github.com/thirdweb-dev/js/commit/7488102d20604a1d8cfd4653a34aa9a975f5c7f1) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds LoyaltyCard extensions and support for ERC721 deployment. + + ```ts + import { deployERC721Contract } from "thirdweb/deploys"; + + const loyaltyCardContractAddress = await deployERC721Contract({ + chain: "your-chain-id", // replace with your chain ID + client: yourThirdwebClient, // replace with your Thirdweb client instance + account: yourAccount, // replace with your account details + type: "LoyaltyCard", + params: { + name: "MyLoyaltyCard", + symbol: "LOYAL", + description: "A loyalty card NFT contract", + image: "path/to/image.png", // replace with your image path + defaultAdmin: "0xYourAdminAddress", // replace with your admin address + royaltyRecipient: "0xYourRoyaltyRecipient", // replace with your royalty recipient address + royaltyBps: 500n, // 5% royalty + trustedForwarders: ["0xTrustedForwarderAddress"], // replace with your trusted forwarder addresses + saleRecipient: "0xYourSaleRecipient", // replace with your sale recipient address + platformFeeBps: 200n, // 2% platform fee + platformFeeRecipient: "0xYourPlatformFeeRecipient", // replace with your platform fee recipient address + }, + }); + ``` + +### Patch Changes + +- [#5517](https://github.com/thirdweb-dev/js/pull/5517) [`480fb4e`](https://github.com/thirdweb-dev/js/commit/480fb4e8ec02b79fdb8b00d709994c50ef929a28) Thanks [@kien-ngo](https://github.com/kien-ngo)! - Fix UI issue when assetTabs is set to an empty array + +- [#5548](https://github.com/thirdweb-dev/js/pull/5548) [`9337925`](https://github.com/thirdweb-dev/js/commit/93379251b79375784c1aac292dcaa209a1580b5e) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Fix tx cost estimation for pay transaction modal + ## 5.71.0 ### Minor Changes diff --git a/packages/thirdweb/package.json b/packages/thirdweb/package.json index 9da061cecd7..47659fb1e43 100644 --- a/packages/thirdweb/package.json +++ b/packages/thirdweb/package.json @@ -1,6 +1,6 @@ { "name": "thirdweb", - "version": "5.71.0", + "version": "5.72.0", "repository": { "type": "git", "url": "git+https://github.com/thirdweb-dev/js.git#main" @@ -127,24 +127,60 @@ }, "typesVersions": { "*": { - "adapters/*": ["./dist/types/exports/adapters/*.d.ts"], - "auth": ["./dist/types/exports/auth.d.ts"], - "chains": ["./dist/types/exports/chains.d.ts"], - "contract": ["./dist/types/exports/contract.d.ts"], - "deploys": ["./dist/types/exports/deploys.d.ts"], - "event": ["./dist/types/exports/event.d.ts"], - "extensions/*": ["./dist/types/exports/extensions/*.d.ts"], - "pay": ["./dist/types/exports/pay.d.ts"], - "react": ["./dist/types/exports/react.d.ts"], - "react-native": ["./dist/types/exports/react-native.d.ts"], - "rpc": ["./dist/types/exports/rpc.d.ts"], - "storage": ["./dist/types/exports/storage.d.ts"], - "transaction": ["./dist/types/exports/transaction.d.ts"], - "utils": ["./dist/types/exports/utils.d.ts"], - "wallets": ["./dist/types/exports/wallets.d.ts"], - "wallets/*": ["./dist/types/exports/wallets/*.d.ts"], - "modules": ["./dist/types/exports/modules.d.ts"], - "social": ["./dist/types/exports/social.d.ts"] + "adapters/*": [ + "./dist/types/exports/adapters/*.d.ts" + ], + "auth": [ + "./dist/types/exports/auth.d.ts" + ], + "chains": [ + "./dist/types/exports/chains.d.ts" + ], + "contract": [ + "./dist/types/exports/contract.d.ts" + ], + "deploys": [ + "./dist/types/exports/deploys.d.ts" + ], + "event": [ + "./dist/types/exports/event.d.ts" + ], + "extensions/*": [ + "./dist/types/exports/extensions/*.d.ts" + ], + "pay": [ + "./dist/types/exports/pay.d.ts" + ], + "react": [ + "./dist/types/exports/react.d.ts" + ], + "react-native": [ + "./dist/types/exports/react-native.d.ts" + ], + "rpc": [ + "./dist/types/exports/rpc.d.ts" + ], + "storage": [ + "./dist/types/exports/storage.d.ts" + ], + "transaction": [ + "./dist/types/exports/transaction.d.ts" + ], + "utils": [ + "./dist/types/exports/utils.d.ts" + ], + "wallets": [ + "./dist/types/exports/wallets.d.ts" + ], + "wallets/*": [ + "./dist/types/exports/wallets/*.d.ts" + ], + "modules": [ + "./dist/types/exports/modules.d.ts" + ], + "social": [ + "./dist/types/exports/social.d.ts" + ] } }, "browser": {