From d5a86245a6939e8da6297a4146f83a08b3684d65 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 23 Aug 2024 22:28:57 +0000 Subject: [PATCH] Version Packages --- .changeset/fifty-lobsters-draw.md | 13 ----- .changeset/forty-knives-reply.md | 5 -- .changeset/silver-planes-warn.md | 5 -- .changeset/wicked-lemons-knock.md | 66 ------------------------- apps/dashboard/package.json | 12 ++++- packages/thirdweb/CHANGELOG.md | 80 +++++++++++++++++++++++++++++++ packages/thirdweb/package.json | 66 ++++++++++++++++++------- 7 files changed, 139 insertions(+), 108 deletions(-) delete mode 100644 .changeset/fifty-lobsters-draw.md delete mode 100644 .changeset/forty-knives-reply.md delete mode 100644 .changeset/silver-planes-warn.md delete mode 100644 .changeset/wicked-lemons-knock.md diff --git a/.changeset/fifty-lobsters-draw.md b/.changeset/fifty-lobsters-draw.md deleted file mode 100644 index 5dfa0732918..00000000000 --- a/.changeset/fifty-lobsters-draw.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"thirdweb": patch ---- - -Add overload to `signMessage` to pass an account rather than a private key - -```ts -import { signMessage } from "thirdweb/utils"; -await signMessage({ - message: "Hello, world!", - account -}); -``` diff --git a/.changeset/forty-knives-reply.md b/.changeset/forty-knives-reply.md deleted file mode 100644 index 2880fc93b9f..00000000000 --- a/.changeset/forty-knives-reply.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"thirdweb": patch ---- - -Added `hideSwitchWallet` param to wallet details modal diff --git a/.changeset/silver-planes-warn.md b/.changeset/silver-planes-warn.md deleted file mode 100644 index dfef49f0797..00000000000 --- a/.changeset/silver-planes-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"thirdweb": patch ---- - -Show wallet balance with upto 5 decimal places in UI components diff --git a/.changeset/wicked-lemons-knock.md b/.changeset/wicked-lemons-knock.md deleted file mode 100644 index d04a3d0f7c2..00000000000 --- a/.changeset/wicked-lemons-knock.md +++ /dev/null @@ -1,66 +0,0 @@ ---- -"thirdweb": patch ---- - -- Pay UI now selects the fiat currency based on the user's location / timezone - -- Add Japanese Yen (JPY) as a supported fiat currency for thirdweb Pay - -- Added option to configure the default fiat currency for the Pay UI - -Examples - -```tsx - -``` - -```tsx - -``` - -```ts -const sendTransaction = useSendTransaction({ - payModal: { - buyWithFiat: { - prefillSource: { - currency: "CAD", - }, - }, - }, -}); -``` - -```tsx - someTx} - payModal={{ - buyWithFiat: { - prefillSource: { - currency: "CAD", - }, - }, - }} -> - some tx - -``` diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 1f0cc84f52b..c70e7d2fd87 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -166,8 +166,16 @@ "tw-components", "contract-ui" ], - "exclude": ["node_modules", "types", "tw-components"], + "exclude": [ + "node_modules", + "types", + "tw-components" + ], "entrypoints": [] }, - "browserslist": ["defaults", "unreleased versions", "not UCAndroid > 0"] + "browserslist": [ + "defaults", + "unreleased versions", + "not UCAndroid > 0" + ] } diff --git a/packages/thirdweb/CHANGELOG.md b/packages/thirdweb/CHANGELOG.md index ad4de7a2f28..76e259036f9 100644 --- a/packages/thirdweb/CHANGELOG.md +++ b/packages/thirdweb/CHANGELOG.md @@ -1,5 +1,85 @@ # thirdweb +## 5.48.2 + +### Patch Changes + +- [#4250](https://github.com/thirdweb-dev/js/pull/4250) [`41fbdaf`](https://github.com/thirdweb-dev/js/commit/41fbdafcf777a58883e9f2daefb6bf4f77d5ecda) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Add overload to `signMessage` to pass an account rather than a private key + + ```ts + import { signMessage } from "thirdweb/utils"; + await signMessage({ + message: "Hello, world!", + account, + }); + ``` + +- [#4267](https://github.com/thirdweb-dev/js/pull/4267) [`7a2de70`](https://github.com/thirdweb-dev/js/commit/7a2de7031077efba27b6bf74c1774a51e9151d22) Thanks [@alecananian](https://github.com/alecananian)! - Added `hideSwitchWallet` param to wallet details modal + +- [#4269](https://github.com/thirdweb-dev/js/pull/4269) [`120d61f`](https://github.com/thirdweb-dev/js/commit/120d61f41083198470b9dd4968d5914b644c6de5) Thanks [@MananTank](https://github.com/MananTank)! - Show wallet balance with upto 5 decimal places in UI components + +- [#4244](https://github.com/thirdweb-dev/js/pull/4244) [`44e8e7b`](https://github.com/thirdweb-dev/js/commit/44e8e7bce21240156e55eec411dd461e746c3c8c) Thanks [@MananTank](https://github.com/MananTank)! - - Pay UI now selects the fiat currency based on the user's location / timezone + + - Add Japanese Yen (JPY) as a supported fiat currency for thirdweb Pay + - Added option to configure the default fiat currency for the Pay UI + + Examples + + ```tsx + + ``` + + ```tsx + + ``` + + ```ts + const sendTransaction = useSendTransaction({ + payModal: { + buyWithFiat: { + prefillSource: { + currency: "CAD", + }, + }, + }, + }); + ``` + + ```tsx + someTx} + payModal={{ + buyWithFiat: { + prefillSource: { + currency: "CAD", + }, + }, + }} + > + some tx + + ``` + ## 5.48.1 ### Patch Changes diff --git a/packages/thirdweb/package.json b/packages/thirdweb/package.json index e98cc3266b1..142a5c819e3 100644 --- a/packages/thirdweb/package.json +++ b/packages/thirdweb/package.json @@ -1,6 +1,6 @@ { "name": "thirdweb", - "version": "5.48.1", + "version": "5.48.2", "repository": { "type": "git", "url": "git+https://github.com/thirdweb-dev/js.git#main" @@ -117,22 +117,54 @@ }, "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"] + "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" + ] } }, "browser": {