near-safe 0.9.4 → 0.9.6
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/cjs/near-safe.js +5 -3
- package/dist/esm/near-safe.js +5 -3
- package/package.json +11 -11
package/dist/cjs/near-safe.js
CHANGED
@@ -368,12 +368,14 @@ class NearSafe {
|
|
368
368
|
return {
|
369
369
|
method: "eth_sendTransaction",
|
370
370
|
chainId,
|
371
|
-
params: [
|
371
|
+
params: [
|
372
|
+
{
|
372
373
|
from: this.address,
|
373
374
|
to: this.address,
|
374
375
|
value: "0x0",
|
375
|
-
data: new safe_1.SafeContractSuite().addOwnerData(recoveryAddress)
|
376
|
-
}
|
376
|
+
data: new safe_1.SafeContractSuite().addOwnerData(recoveryAddress),
|
377
|
+
},
|
378
|
+
],
|
377
379
|
};
|
378
380
|
}
|
379
381
|
}
|
package/dist/esm/near-safe.js
CHANGED
@@ -371,12 +371,14 @@ export class NearSafe {
|
|
371
371
|
return {
|
372
372
|
method: "eth_sendTransaction",
|
373
373
|
chainId,
|
374
|
-
params: [
|
374
|
+
params: [
|
375
|
+
{
|
375
376
|
from: this.address,
|
376
377
|
to: this.address,
|
377
378
|
value: "0x0",
|
378
|
-
data: new SafeContractSuite().addOwnerData(recoveryAddress)
|
379
|
-
}
|
379
|
+
data: new SafeContractSuite().addOwnerData(recoveryAddress),
|
380
|
+
},
|
381
|
+
],
|
380
382
|
};
|
381
383
|
}
|
382
384
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "near-safe",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.6",
|
4
4
|
"license": "MIT",
|
5
5
|
"description": "An SDK for controlling Ethereum Smart Accounts via ERC4337 from a Near Account.",
|
6
6
|
"author": "bh2smith",
|
@@ -41,32 +41,32 @@
|
|
41
41
|
"all": "yarn fmt && yarn lint && yarn build"
|
42
42
|
},
|
43
43
|
"dependencies": {
|
44
|
-
"@safe-global/safe-gateway-typescript-sdk": "^3.22.
|
44
|
+
"@safe-global/safe-gateway-typescript-sdk": "^3.22.6",
|
45
45
|
"near-api-js": "^5.0.1",
|
46
|
-
"near-ca": "^0.
|
46
|
+
"near-ca": "^0.8.1",
|
47
47
|
"semver": "^7.6.3",
|
48
|
-
"viem": "^2.
|
48
|
+
"viem": "^2.22.8"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"@safe-global/safe-deployments": "^1.37.
|
51
|
+
"@safe-global/safe-deployments": "^1.37.23",
|
52
52
|
"@safe-global/safe-modules-deployments": "^2.2.4",
|
53
53
|
"@types/jest": "^29.5.14",
|
54
|
-
"@types/node": "^22.
|
54
|
+
"@types/node": "^22.10.0",
|
55
55
|
"@types/semver": "^7.5.8",
|
56
56
|
"@types/yargs": "^17.0.33",
|
57
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
58
|
-
"@typescript-eslint/parser": "^8.
|
57
|
+
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
58
|
+
"@typescript-eslint/parser": "^8.20.0",
|
59
59
|
"dotenv": "^16.4.5",
|
60
|
-
"eslint": "^9.
|
60
|
+
"eslint": "^9.18.0",
|
61
61
|
"eslint-plugin-import": "^2.31.0",
|
62
62
|
"jest": "^29.7.0",
|
63
63
|
"prettier": "^3.3.3",
|
64
64
|
"ts-jest": "^29.2.5",
|
65
65
|
"tsx": "^4.19.2",
|
66
|
-
"typescript": "^5.
|
66
|
+
"typescript": "^5.7.3",
|
67
67
|
"yargs": "^17.7.2"
|
68
68
|
},
|
69
69
|
"resolutions": {
|
70
|
-
"glob": "^11.0.
|
70
|
+
"glob": "^11.0.1"
|
71
71
|
}
|
72
72
|
}
|