Skip to content

Commit a322e16

Browse files
Version Packages (#6184)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent e50d77d commit a322e16

16 files changed

+97
-102
lines changed

.changeset/chatty-geese-burn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/healthy-cups-refuse.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nice-seas-march.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nine-seahorses-judge.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/silent-comics-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/stupid-experts-shake.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tender-dolls-tan.md

Lines changed: 0 additions & 63 deletions
This file was deleted.

.changeset/wicked-chairs-own.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

apps/login/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# thirdweb-login
22

3+
## 0.1.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`1f6bb7c`](https://github.com/thirdweb-dev/js/commit/1f6bb7c3294d70648b120a6a6a6cba13302a84fc), [`30e13e6`](https://github.com/thirdweb-dev/js/commit/30e13e6b9176265a2f4eddfa53578889abbcb750), [`2dfc245`](https://github.com/thirdweb-dev/js/commit/2dfc245d44dde86e42f6c799305db707316432aa), [`ee57ded`](https://github.com/thirdweb-dev/js/commit/ee57ded902cb69da6fc171599a4a90776e650149), [`9663079`](https://github.com/thirdweb-dev/js/commit/966307906212ac99dc0a2a9be88e514c920d39c4), [`64d7bf3`](https://github.com/thirdweb-dev/js/commit/64d7bf358fe2014b684688d41d525a75e47f1b82)]:
8+
- thirdweb@5.88.0
9+
310
## 0.1.2
411

512
### Patch Changes

apps/login/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thirdweb-login",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"private": true,
55
"scripts": {
66
"preinstall": "npx only-allow pnpm",

packages/service-utils/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @thirdweb-dev/service-utils
22

3+
## 0.8.6
4+
5+
### Patch Changes
6+
7+
- [#6172](https://github.com/thirdweb-dev/js/pull/6172) [`a8ac98b`](https://github.com/thirdweb-dev/js/commit/a8ac98bd493d1d6e824aad868dea1ec42ff22768) Thanks [@catalyst17](https://github.com/catalyst17)! - add `canCreatePublicChains` to TeamResponse
8+
9+
- [#6183](https://github.com/thirdweb-dev/js/pull/6183) [`18f0e57`](https://github.com/thirdweb-dev/js/commit/18f0e575c4a9764b3192931451cbd3f632a21e3c) Thanks [@arcoraven](https://github.com/arcoraven)! - [service-utils] Update list of usageV2 sources"
10+
311
## 0.8.5
412

513
### Patch Changes

packages/service-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/service-utils",
3-
"version": "0.8.5",
3+
"version": "0.8.6",
44
"type": "module",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",

packages/thirdweb/CHANGELOG.md

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,81 @@
11
# thirdweb
22

3+
## 5.88.0
4+
5+
### Minor Changes
6+
7+
- [#6194](https://github.com/thirdweb-dev/js/pull/6194) [`9663079`](https://github.com/thirdweb-dev/js/commit/966307906212ac99dc0a2a9be88e514c920d39c4) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Added session keys to smart wallet options
8+
9+
You can now pass a `sessionKey` to the `smartWallet` options function to immediately add a session key to the smart wallet upon connection.
10+
11+
This is great in combination with an engine backend wallet! Let's you act on behalf of the user from your backend, making executing transactions as easy as a REST API call. Also unblocks automations, like renewing a subscription, or paying for a service.
12+
13+
```ts
14+
const wallet = smartWallet({
15+
sessionKey: {
16+
address: "0x...", // the session key address (ex: engine backend wallet)
17+
permissions: {
18+
approvedTargets: ["0x..."], // allowed contract addresses (or * for all)
19+
nativeTokenLimitPerTransaction: 0.1, // max spend per transaction in ETH
20+
permissionEndTimestamp: new Date(Date.now() + 1000 * 60 * 60), // expiration date
21+
},
22+
},
23+
});
24+
25+
// this will connect the user wallet and add the session key if not already added
26+
await wallet.connect({
27+
client: TEST_CLIENT,
28+
personalAccount,
29+
});
30+
```
31+
32+
You can also pass the `sessionKey` to the `ConnectButton`, `ConnectEmbed` components and `useConnect` hook.
33+
34+
```tsx
35+
<ConnectButton
36+
client={client}
37+
accountAbstraction={{
38+
chain,
39+
sponsorGas: true,
40+
sessionKey: {
41+
address: "0x...",
42+
permissions: {
43+
approvedTargets: "*",
44+
},
45+
},
46+
}}
47+
/>
48+
```
49+
50+
Also works for the `inAppWallet` `smartAccount` option!
51+
52+
```ts
53+
const wallet = inAppWallet({
54+
smartAccount: {
55+
chain,
56+
sponsorGas: true,
57+
sessionKey: {
58+
address: "0x...",
59+
permissions: {
60+
approvedTargets: "*",
61+
},
62+
},
63+
},
64+
});
65+
```
66+
67+
### Patch Changes
68+
69+
- [#6193](https://github.com/thirdweb-dev/js/pull/6193) [`1f6bb7c`](https://github.com/thirdweb-dev/js/commit/1f6bb7c3294d70648b120a6a6a6cba13302a84fc) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Show fiat amount in PayEmbed main screen
70+
71+
- [#6192](https://github.com/thirdweb-dev/js/pull/6192) [`30e13e6`](https://github.com/thirdweb-dev/js/commit/30e13e6b9176265a2f4eddfa53578889abbcb750) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Allow editing pay amount mid flow
72+
73+
- [#6190](https://github.com/thirdweb-dev/js/pull/6190) [`2dfc245`](https://github.com/thirdweb-dev/js/commit/2dfc245d44dde86e42f6c799305db707316432aa) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Add fiat provider selection in PayEmbed
74+
75+
- [#6187](https://github.com/thirdweb-dev/js/pull/6187) [`ee57ded`](https://github.com/thirdweb-dev/js/commit/ee57ded902cb69da6fc171599a4a90776e650149) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Requery allowances when getting back to quote screen
76+
77+
- [#6188](https://github.com/thirdweb-dev/js/pull/6188) [`64d7bf3`](https://github.com/thirdweb-dev/js/commit/64d7bf358fe2014b684688d41d525a75e47f1b82) Thanks [@jnsdls](https://github.com/jnsdls)! - when explicitly passing `clientId` to `createThirdwebClient()` prefer it over computing the `clientId` from a passed `secretKey` option
78+
379
## 5.87.4
480

581
### Patch Changes

packages/thirdweb/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thirdweb",
3-
"version": "5.87.4",
3+
"version": "5.88.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

packages/wagmi-adapter/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @thirdweb-dev/wagmi-adapter
22

3+
## 0.2.14
4+
35
## 0.2.13
46

57
## 0.2.12

packages/wagmi-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/wagmi-adapter",
3-
"version": "0.2.13",
3+
"version": "0.2.14",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

0 commit comments

Comments
 (0)