@getpara/aa-biconomy 3.20.0 → 3.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.js +2 -6
- package/package.json +12 -8
package/dist/action.js
CHANGED
|
@@ -47,10 +47,7 @@ async function createBiconomySmartAccount(params) {
|
|
|
47
47
|
url: resolvedUrl,
|
|
48
48
|
apiKey: resolvedApiKey
|
|
49
49
|
});
|
|
50
|
-
const
|
|
51
|
-
(d) => (d.chainId ?? d.chain?.id) === chainId
|
|
52
|
-
);
|
|
53
|
-
const accountAddress = deployment?.address ?? meeClient.account.deployments[0]?.address;
|
|
50
|
+
const accountAddress = meeClient.account.addressOn(chainId);
|
|
54
51
|
assertAccountAddress(accountAddress, "Biconomy MEE client", "BICONOMY");
|
|
55
52
|
const sponsorshipConfig = {
|
|
56
53
|
sponsorship: true,
|
|
@@ -101,11 +98,10 @@ async function createBiconomySmartAccount(params) {
|
|
|
101
98
|
}
|
|
102
99
|
};
|
|
103
100
|
const sendTransaction = async (tx) => sendBatchTransaction([tx]);
|
|
104
|
-
const resolvedChain = deployment?.chain;
|
|
105
101
|
return {
|
|
106
102
|
smartAccountAddress: accountAddress,
|
|
107
103
|
signer: viemAccount,
|
|
108
|
-
chain
|
|
104
|
+
chain,
|
|
109
105
|
mode,
|
|
110
106
|
provider: "BICONOMY",
|
|
111
107
|
sendTransaction,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getpara/aa-biconomy",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.22.0",
|
|
4
4
|
"description": "Biconomy smart account integration for Para",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -17,23 +17,27 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"scripts": {
|
|
20
|
-
"build": "rm -rf dist &&
|
|
21
|
-
"
|
|
22
|
-
"
|
|
20
|
+
"build": "rm -rf dist && node ./scripts/build.mjs && yarn build:types",
|
|
21
|
+
"test": "vitest run --coverage",
|
|
22
|
+
"build:types": "tsc --emitDeclarationOnly",
|
|
23
|
+
"typecheck": "tsc --noEmit"
|
|
23
24
|
},
|
|
24
25
|
"dependencies": {
|
|
25
26
|
"@biconomy/abstractjs": "1.1.21",
|
|
26
|
-
"@getpara/viem-v2-integration": "3.
|
|
27
|
+
"@getpara/viem-v2-integration": "3.22.0",
|
|
28
|
+
"@metamask/delegation-toolkit": "^0.11.0",
|
|
29
|
+
"@rhinestone/module-sdk": "0.4.0",
|
|
27
30
|
"@safe-global/types-kit": "^3.0.0"
|
|
28
31
|
},
|
|
29
32
|
"peerDependencies": {
|
|
30
|
-
"viem": "
|
|
33
|
+
"viem": "^2.26.2"
|
|
31
34
|
},
|
|
32
35
|
"devDependencies": {
|
|
33
|
-
"typescript": "^5.8.3"
|
|
36
|
+
"typescript": "^5.8.3",
|
|
37
|
+
"viem": "^2.39.0"
|
|
34
38
|
},
|
|
35
39
|
"publishConfig": {
|
|
36
40
|
"access": "public"
|
|
37
41
|
},
|
|
38
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "4ca50a0fc70e11370595f16daad0f1ac4da0edbc"
|
|
39
43
|
}
|