From f3b31395460f774889ae488db67cd565743be5e8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 23 Aug 2024 16:49:59 +0000 Subject: [PATCH] Version Packages --- .changeset/fifty-lobsters-draw.md | 13 ------ .changeset/wicked-lemons-knock.md | 66 --------------------------- apps/dashboard/package.json | 12 ++++- packages/thirdweb/CHANGELOG.md | 76 +++++++++++++++++++++++++++++++ packages/thirdweb/package.json | 66 ++++++++++++++++++++------- 5 files changed, 135 insertions(+), 98 deletions(-) delete mode 100644 .changeset/fifty-lobsters-draw.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/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 2ea70b61790..5f6c806483e 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -153,8 +153,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..5fa1574ec9e 100644 --- a/packages/thirdweb/CHANGELOG.md +++ b/packages/thirdweb/CHANGELOG.md @@ -1,5 +1,81 @@ # 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, + }); + ``` + +- [#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": {