Skip to content

Commit 5700708

Browse files
Version Packages (#157)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent df67749 commit 5700708

File tree

14 files changed

+63
-26
lines changed

14 files changed

+63
-26
lines changed

.changeset/nasty-swans-bathe.md

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

examples/biconomy-sponsored/src/index.ts

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -28,50 +28,45 @@ const publicClient = createPublicClient({
2828
(async () => {
2929
// Defining an EIP7702 account using as delegation address "0x00000000383e8cBe298514674Ea60Ee1d1de50ac" (Nexus v1.2.0)
3030
// Using ERC4337 and entry point v0.7
31-
const account = await custom<
32-
typeof entryPoint07Abi,
33-
"0.7",
34-
GelatoSmartAccountExtension,
35-
true
36-
>({
31+
const account = await custom<typeof entryPoint07Abi, "0.7", GelatoSmartAccountExtension, true>({
3732
authorization: {
3833
account: owner,
39-
address: "0x00000000383e8cBe298514674Ea60Ee1d1de50ac", // Nexus v1.2.0
34+
address: "0x00000000383e8cBe298514674Ea60Ee1d1de50ac" // Nexus v1.2.0
4035
},
4136
client: publicClient,
4237
eip7702: true,
4338
entryPoint: {
4439
abi: entryPoint07Abi,
4540
address: entryPoint07Address,
46-
version: "0.7",
41+
version: "0.7"
4742
},
4843
owner,
4944
scw: {
50-
encoding: ERC4337Encoding.ERC7579,
51-
},
45+
encoding: ERC4337Encoding.ERC7579
46+
}
5247
});
5348

5449
console.log("Account address:", account.address);
5550

5651
const client = createWalletClient({
5752
account,
5853
chain: baseSepolia,
59-
transport: http(),
54+
transport: http()
6055
});
6156

6257
const swc = await createGelatoSmartWalletClient(client, {
63-
apiKey: gelatoApiKey,
58+
apiKey: gelatoApiKey
6459
});
6560

6661
const response = await swc.execute({
6762
calls: [
6863
{
6964
data: "0xd09de08a",
7065
to: "0xEEeBe2F778AA186e88dCf2FEb8f8231565769C27",
71-
value: 0n,
72-
},
66+
value: 0n
67+
}
7368
],
74-
payment: sponsored(),
69+
payment: sponsored()
7570
});
7671

7772
console.log(`Your Gelato id is: ${response.id}`);

plugins/react/dynamic/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @gelatonetwork/smartwallet-react-dynamic
22

3+
## 0.0.28
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [df67749]
8+
- @gelatonetwork/smartwallet@0.0.27
9+
- @gelatonetwork/smartwallet-react-types@0.0.27
10+
311
## 0.0.27
412

513
### Patch Changes

plugins/react/dynamic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gelatonetwork/smartwallet-react-dynamic",
3-
"version": "0.0.27",
3+
"version": "0.0.28",
44
"author": "Gelato",
55
"type": "module",
66
"description": "Context provider supporting Dynamic WaaS",

plugins/react/privy/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @gelatonetwork/smartwallet-react-privy
22

3+
## 0.0.27
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [df67749]
8+
- @gelatonetwork/smartwallet@0.0.27
9+
- @gelatonetwork/smartwallet-react-types@0.0.27
10+
311
## 0.0.26
412

513
### Patch Changes

plugins/react/privy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gelatonetwork/smartwallet-react-privy",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"author": "Gelato",
55
"type": "module",
66
"description": "Context provider supporting Privy WaaS",

plugins/react/sdk/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# @gelatonetwork/smartwallet-react-sdk
22

3+
## 0.0.28
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [df67749]
8+
- @gelatonetwork/smartwallet@0.0.27
9+
- @gelatonetwork/smartwallet-react-dynamic@0.0.28
10+
- @gelatonetwork/smartwallet-react-privy@0.0.27
11+
- @gelatonetwork/smartwallet-react-types@0.0.27
12+
313
## 0.0.27
414

515
### Patch Changes

plugins/react/sdk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gelatonetwork/smartwallet-react-sdk",
3-
"version": "0.0.27",
3+
"version": "0.0.28",
44
"author": "Gelato",
55
"type": "module",
66
"description": "Gelato SmartWallet React SDK",

plugins/react/types/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @gelatonetwork/smartwallet-react-types
22

3+
## 0.0.27
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [df67749]
8+
- @gelatonetwork/smartwallet@0.0.27
9+
310
## 0.0.26
411

512
### Patch Changes

plugins/react/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gelatonetwork/smartwallet-react-types",
3-
"version": "0.0.26",
3+
"version": "0.0.27",
44
"author": "Gelato",
55
"description": "Common react types",
66
"main": "./_dist/index.js",

0 commit comments

Comments
 (0)