diff --git a/.changeset/fast-items-film.md b/.changeset/fast-items-film.md deleted file mode 100644 index eb224ec5fce..00000000000 --- a/.changeset/fast-items-film.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -"thirdweb": minor ---- - -Adds a defaultSmsCountryCode configuration option to In-App and Ecosystem Wallets - -```ts -createWallet("inApp", { - auth: { - options: [ - "email", - "phone", - ], - mode: "redirect", - defaultSmsCountryCode: "IN", // Default country code for SMS - }, - }), - ``` diff --git a/.changeset/odd-flies-eat.md b/.changeset/odd-flies-eat.md deleted file mode 100644 index aa605ea09ec..00000000000 --- a/.changeset/odd-flies-eat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@thirdweb-dev/service-utils": minor ---- - -Update /use endpoint and types to v2 diff --git a/.changeset/strong-snails-jam.md b/.changeset/strong-snails-jam.md deleted file mode 100644 index 29b562948e2..00000000000 --- a/.changeset/strong-snails-jam.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -"thirdweb": minor ---- - -Support the ability to unlink accounts for in app wallet with more than 1 linked account. - -It's supported out of the box in the connect UI. - -For typescript users, the following code snippet is a simple example of how it'd work. - -```typescript -import { inAppWallet } from "thirdweb/wallets"; - -const wallet = inAppWallet(); -wallet.connect({ strategy: "google" }); - -const profiles = await getProfiles({ - client, -}); - -const updatedProfiles = await unlinkProfile({ - client, - profileToUnlink: profiles[1],// assuming there is more than 1 profile linked to the user. -}); -``` diff --git a/packages/service-utils/CHANGELOG.md b/packages/service-utils/CHANGELOG.md index 2a8adebf5f7..4f952bb4a89 100644 --- a/packages/service-utils/CHANGELOG.md +++ b/packages/service-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @thirdweb-dev/service-utils +## 0.5.0 + +### Minor Changes + +- [#5708](https://github.com/thirdweb-dev/js/pull/5708) [`3ec808d`](https://github.com/thirdweb-dev/js/commit/3ec808dc782489ecf8cde136b36106793babe7ca) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Update /use endpoint and types to v2 + ## 0.4.52 ### Patch Changes diff --git a/packages/service-utils/package.json b/packages/service-utils/package.json index e47069d8909..322ced66d92 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.52", + "version": "0.5.0", "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 c76ab741d42..81f3e35eb22 100644 --- a/packages/thirdweb/CHANGELOG.md +++ b/packages/thirdweb/CHANGELOG.md @@ -1,5 +1,46 @@ # thirdweb +## 5.78.0 + +### Minor Changes + +- [#5709](https://github.com/thirdweb-dev/js/pull/5709) [`cd55ada`](https://github.com/thirdweb-dev/js/commit/cd55ada5b2c1924911a0b3c95c07926062447d54) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Adds a defaultSmsCountryCode configuration option to In-App and Ecosystem Wallets + + ```ts + createWallet("inApp", { + auth: { + options: [ + "email", + "phone", + ], + mode: "redirect", + defaultSmsCountryCode: "IN", // Default country code for SMS + }, + }), + ``` + +- [#5604](https://github.com/thirdweb-dev/js/pull/5604) [`03b6d0d`](https://github.com/thirdweb-dev/js/commit/03b6d0d516c7fb809ad66f1021281a74b48356e1) Thanks [@ElasticBottle](https://github.com/ElasticBottle)! - Support the ability to unlink accounts for in app wallet with more than 1 linked account. + + It's supported out of the box in the connect UI. + + For typescript users, the following code snippet is a simple example of how it'd work. + + ```typescript + import { inAppWallet } from "thirdweb/wallets"; + + const wallet = inAppWallet(); + wallet.connect({ strategy: "google" }); + + const profiles = await getProfiles({ + client, + }); + + const updatedProfiles = await unlinkProfile({ + client, + profileToUnlink: profiles[1], // assuming there is more than 1 profile linked to the user. + }); + ``` + ## 5.77.0 ### Minor Changes diff --git a/packages/thirdweb/package.json b/packages/thirdweb/package.json index 734ff3e2a07..acfedf6dfc3 100644 --- a/packages/thirdweb/package.json +++ b/packages/thirdweb/package.json @@ -1,6 +1,6 @@ { "name": "thirdweb", - "version": "5.77.0", + "version": "5.78.0", "repository": { "type": "git", "url": "git+https://github.com/thirdweb-dev/js.git#main"