@safe-global/protocol-kit 6.0.5 → 6.1.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/cjs/src/index.cjs +19 -5
- package/dist/cjs/test-utils/index.cjs +3 -0
- package/dist/esm/src/index.mjs +19 -5
- package/dist/esm/test-utils/index.mjs +3 -0
- package/dist/src/Safe.d.ts +1 -1
- package/dist/src/Safe.d.ts.map +1 -1
- package/dist/src/utils/eip-3770/config.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/cjs/src/index.cjs
CHANGED
|
@@ -351,6 +351,7 @@ var networks = [
|
|
|
351
351
|
{ chainId: 690n, shortName: "redstone" },
|
|
352
352
|
{ chainId: 747n, shortName: "flow-mainnet" },
|
|
353
353
|
{ chainId: 787n, shortName: "aca" },
|
|
354
|
+
{ chainId: 842n, shortName: "taratest" },
|
|
354
355
|
{ chainId: 919n, shortName: "modesep" },
|
|
355
356
|
{ chainId: 938n, shortName: "haust" },
|
|
356
357
|
{ chainId: 943n, shortName: "t4pls" },
|
|
@@ -607,6 +608,7 @@ var networks = [
|
|
|
607
608
|
{ chainId: 200810n, shortName: "btrt" },
|
|
608
609
|
{ chainId: 200901n, shortName: "btr" },
|
|
609
610
|
{ chainId: 205205n, shortName: "auroria" },
|
|
611
|
+
{ chainId: 210425n, shortName: "platon" },
|
|
610
612
|
{ chainId: 314159n, shortName: "filecoin-calibration" },
|
|
611
613
|
{ chainId: 325000n, shortName: "CampV2" },
|
|
612
614
|
{ chainId: 328527n, shortName: "nal" },
|
|
@@ -639,6 +641,7 @@ var networks = [
|
|
|
639
641
|
{ chainId: 978657n, shortName: "treasure-ruby" },
|
|
640
642
|
{ chainId: 984122n, shortName: "forma" },
|
|
641
643
|
{ chainId: 1501869n, shortName: "water9" },
|
|
644
|
+
{ chainId: 2206132n, shortName: "platondev2" },
|
|
642
645
|
{ chainId: 2632500n, shortName: "coti" },
|
|
643
646
|
{ chainId: 3441006n, shortName: "mantaSepoliaTestnet" },
|
|
644
647
|
{ chainId: 4457845n, shortName: "zero-sepolia" },
|
|
@@ -6191,7 +6194,7 @@ function generateOnChainIdentifier({
|
|
|
6191
6194
|
var generateOnChainIdentifier_default = generateOnChainIdentifier;
|
|
6192
6195
|
|
|
6193
6196
|
// src/utils/getProtocolKitVersion.ts
|
|
6194
|
-
var getProtocolKitVersion = () => "6.0
|
|
6197
|
+
var getProtocolKitVersion = () => "6.1.0";
|
|
6195
6198
|
|
|
6196
6199
|
// src/Safe.ts
|
|
6197
6200
|
var EQ_OR_GT_1_4_1 = ">=1.4.1";
|
|
@@ -6372,12 +6375,21 @@ var Safe = class _Safe {
|
|
|
6372
6375
|
* @throws "MultiSendCallOnly contract is not deployed on the current network"
|
|
6373
6376
|
*/
|
|
6374
6377
|
async connect(config) {
|
|
6375
|
-
const {
|
|
6378
|
+
const {
|
|
6379
|
+
provider,
|
|
6380
|
+
signer,
|
|
6381
|
+
safeAddress,
|
|
6382
|
+
predictedSafe,
|
|
6383
|
+
isL1SafeSingleton,
|
|
6384
|
+
contractNetworks,
|
|
6385
|
+
onchainAnalytics
|
|
6386
|
+
} = config;
|
|
6376
6387
|
const configProps = {
|
|
6377
6388
|
provider: provider || this.#safeProvider.provider,
|
|
6378
6389
|
signer,
|
|
6379
6390
|
isL1SafeSingleton: isL1SafeSingleton || this.#contractManager.isL1SafeSingleton,
|
|
6380
|
-
contractNetworks: contractNetworks || this.#contractManager.contractNetworks
|
|
6391
|
+
contractNetworks: contractNetworks || this.#contractManager.contractNetworks,
|
|
6392
|
+
onchainAnalytics
|
|
6381
6393
|
};
|
|
6382
6394
|
if (safeAddress) {
|
|
6383
6395
|
return await _Safe.init({
|
|
@@ -6844,7 +6856,7 @@ var Safe = class _Safe {
|
|
|
6844
6856
|
* Adds the signature of the current signer to the Safe transaction object.
|
|
6845
6857
|
*
|
|
6846
6858
|
* @param safeTransaction - The Safe transaction to be signed
|
|
6847
|
-
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "
|
|
6859
|
+
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "eth_signTypedData_v4"
|
|
6848
6860
|
* @param preimageSafeAddress - If the preimage is required, the address of the Safe that will be used to calculate the preimage
|
|
6849
6861
|
* This field is mandatory for 1.3.0 and 1.4.1 contract versions Because the safe uses the old EIP-1271 interface which uses `bytes` instead of `bytes32` for the message
|
|
6850
6862
|
* we need to use the pre-image of the message to calculate the message hash
|
|
@@ -7218,12 +7230,14 @@ var Safe = class _Safe {
|
|
|
7218
7230
|
operation: serviceTransactionResponse.operation
|
|
7219
7231
|
};
|
|
7220
7232
|
const options = {
|
|
7233
|
+
// TODO remove toString() in next major v7.0
|
|
7221
7234
|
safeTxGas: serviceTransactionResponse.safeTxGas.toString(),
|
|
7235
|
+
// TODO remove toString() in next major v7.0
|
|
7222
7236
|
baseGas: serviceTransactionResponse.baseGas.toString(),
|
|
7223
7237
|
gasPrice: serviceTransactionResponse.gasPrice,
|
|
7224
7238
|
gasToken: serviceTransactionResponse.gasToken,
|
|
7225
7239
|
refundReceiver: serviceTransactionResponse.refundReceiver,
|
|
7226
|
-
nonce: serviceTransactionResponse.nonce
|
|
7240
|
+
nonce: parseInt(serviceTransactionResponse.nonce, 10)
|
|
7227
7241
|
};
|
|
7228
7242
|
const safeTransaction = await this.createTransaction({
|
|
7229
7243
|
transactions: [safeTransactionData],
|
|
@@ -365,6 +365,7 @@ var networks = [
|
|
|
365
365
|
{ chainId: 690n, shortName: "redstone" },
|
|
366
366
|
{ chainId: 747n, shortName: "flow-mainnet" },
|
|
367
367
|
{ chainId: 787n, shortName: "aca" },
|
|
368
|
+
{ chainId: 842n, shortName: "taratest" },
|
|
368
369
|
{ chainId: 919n, shortName: "modesep" },
|
|
369
370
|
{ chainId: 938n, shortName: "haust" },
|
|
370
371
|
{ chainId: 943n, shortName: "t4pls" },
|
|
@@ -621,6 +622,7 @@ var networks = [
|
|
|
621
622
|
{ chainId: 200810n, shortName: "btrt" },
|
|
622
623
|
{ chainId: 200901n, shortName: "btr" },
|
|
623
624
|
{ chainId: 205205n, shortName: "auroria" },
|
|
625
|
+
{ chainId: 210425n, shortName: "platon" },
|
|
624
626
|
{ chainId: 314159n, shortName: "filecoin-calibration" },
|
|
625
627
|
{ chainId: 325000n, shortName: "CampV2" },
|
|
626
628
|
{ chainId: 328527n, shortName: "nal" },
|
|
@@ -653,6 +655,7 @@ var networks = [
|
|
|
653
655
|
{ chainId: 978657n, shortName: "treasure-ruby" },
|
|
654
656
|
{ chainId: 984122n, shortName: "forma" },
|
|
655
657
|
{ chainId: 1501869n, shortName: "water9" },
|
|
658
|
+
{ chainId: 2206132n, shortName: "platondev2" },
|
|
656
659
|
{ chainId: 2632500n, shortName: "coti" },
|
|
657
660
|
{ chainId: 3441006n, shortName: "mantaSepoliaTestnet" },
|
|
658
661
|
{ chainId: 4457845n, shortName: "zero-sepolia" },
|
package/dist/esm/src/index.mjs
CHANGED
|
@@ -292,6 +292,7 @@ var networks = [
|
|
|
292
292
|
{ chainId: 690n, shortName: "redstone" },
|
|
293
293
|
{ chainId: 747n, shortName: "flow-mainnet" },
|
|
294
294
|
{ chainId: 787n, shortName: "aca" },
|
|
295
|
+
{ chainId: 842n, shortName: "taratest" },
|
|
295
296
|
{ chainId: 919n, shortName: "modesep" },
|
|
296
297
|
{ chainId: 938n, shortName: "haust" },
|
|
297
298
|
{ chainId: 943n, shortName: "t4pls" },
|
|
@@ -548,6 +549,7 @@ var networks = [
|
|
|
548
549
|
{ chainId: 200810n, shortName: "btrt" },
|
|
549
550
|
{ chainId: 200901n, shortName: "btr" },
|
|
550
551
|
{ chainId: 205205n, shortName: "auroria" },
|
|
552
|
+
{ chainId: 210425n, shortName: "platon" },
|
|
551
553
|
{ chainId: 314159n, shortName: "filecoin-calibration" },
|
|
552
554
|
{ chainId: 325000n, shortName: "CampV2" },
|
|
553
555
|
{ chainId: 328527n, shortName: "nal" },
|
|
@@ -580,6 +582,7 @@ var networks = [
|
|
|
580
582
|
{ chainId: 978657n, shortName: "treasure-ruby" },
|
|
581
583
|
{ chainId: 984122n, shortName: "forma" },
|
|
582
584
|
{ chainId: 1501869n, shortName: "water9" },
|
|
585
|
+
{ chainId: 2206132n, shortName: "platondev2" },
|
|
583
586
|
{ chainId: 2632500n, shortName: "coti" },
|
|
584
587
|
{ chainId: 3441006n, shortName: "mantaSepoliaTestnet" },
|
|
585
588
|
{ chainId: 4457845n, shortName: "zero-sepolia" },
|
|
@@ -6241,7 +6244,7 @@ function generateOnChainIdentifier({
|
|
|
6241
6244
|
var generateOnChainIdentifier_default = generateOnChainIdentifier;
|
|
6242
6245
|
|
|
6243
6246
|
// src/utils/getProtocolKitVersion.ts
|
|
6244
|
-
var getProtocolKitVersion = () => "6.0
|
|
6247
|
+
var getProtocolKitVersion = () => "6.1.0";
|
|
6245
6248
|
|
|
6246
6249
|
// src/Safe.ts
|
|
6247
6250
|
var EQ_OR_GT_1_4_1 = ">=1.4.1";
|
|
@@ -6422,12 +6425,21 @@ var Safe = class _Safe {
|
|
|
6422
6425
|
* @throws "MultiSendCallOnly contract is not deployed on the current network"
|
|
6423
6426
|
*/
|
|
6424
6427
|
async connect(config) {
|
|
6425
|
-
const {
|
|
6428
|
+
const {
|
|
6429
|
+
provider,
|
|
6430
|
+
signer,
|
|
6431
|
+
safeAddress,
|
|
6432
|
+
predictedSafe,
|
|
6433
|
+
isL1SafeSingleton,
|
|
6434
|
+
contractNetworks,
|
|
6435
|
+
onchainAnalytics
|
|
6436
|
+
} = config;
|
|
6426
6437
|
const configProps = {
|
|
6427
6438
|
provider: provider || this.#safeProvider.provider,
|
|
6428
6439
|
signer,
|
|
6429
6440
|
isL1SafeSingleton: isL1SafeSingleton || this.#contractManager.isL1SafeSingleton,
|
|
6430
|
-
contractNetworks: contractNetworks || this.#contractManager.contractNetworks
|
|
6441
|
+
contractNetworks: contractNetworks || this.#contractManager.contractNetworks,
|
|
6442
|
+
onchainAnalytics
|
|
6431
6443
|
};
|
|
6432
6444
|
if (safeAddress) {
|
|
6433
6445
|
return await _Safe.init({
|
|
@@ -6894,7 +6906,7 @@ var Safe = class _Safe {
|
|
|
6894
6906
|
* Adds the signature of the current signer to the Safe transaction object.
|
|
6895
6907
|
*
|
|
6896
6908
|
* @param safeTransaction - The Safe transaction to be signed
|
|
6897
|
-
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "
|
|
6909
|
+
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "eth_signTypedData_v4"
|
|
6898
6910
|
* @param preimageSafeAddress - If the preimage is required, the address of the Safe that will be used to calculate the preimage
|
|
6899
6911
|
* This field is mandatory for 1.3.0 and 1.4.1 contract versions Because the safe uses the old EIP-1271 interface which uses `bytes` instead of `bytes32` for the message
|
|
6900
6912
|
* we need to use the pre-image of the message to calculate the message hash
|
|
@@ -7268,12 +7280,14 @@ var Safe = class _Safe {
|
|
|
7268
7280
|
operation: serviceTransactionResponse.operation
|
|
7269
7281
|
};
|
|
7270
7282
|
const options = {
|
|
7283
|
+
// TODO remove toString() in next major v7.0
|
|
7271
7284
|
safeTxGas: serviceTransactionResponse.safeTxGas.toString(),
|
|
7285
|
+
// TODO remove toString() in next major v7.0
|
|
7272
7286
|
baseGas: serviceTransactionResponse.baseGas.toString(),
|
|
7273
7287
|
gasPrice: serviceTransactionResponse.gasPrice,
|
|
7274
7288
|
gasToken: serviceTransactionResponse.gasToken,
|
|
7275
7289
|
refundReceiver: serviceTransactionResponse.refundReceiver,
|
|
7276
|
-
nonce: serviceTransactionResponse.nonce
|
|
7290
|
+
nonce: parseInt(serviceTransactionResponse.nonce, 10)
|
|
7277
7291
|
};
|
|
7278
7292
|
const safeTransaction = await this.createTransaction({
|
|
7279
7293
|
transactions: [safeTransactionData],
|
|
@@ -323,6 +323,7 @@ var networks = [
|
|
|
323
323
|
{ chainId: 690n, shortName: "redstone" },
|
|
324
324
|
{ chainId: 747n, shortName: "flow-mainnet" },
|
|
325
325
|
{ chainId: 787n, shortName: "aca" },
|
|
326
|
+
{ chainId: 842n, shortName: "taratest" },
|
|
326
327
|
{ chainId: 919n, shortName: "modesep" },
|
|
327
328
|
{ chainId: 938n, shortName: "haust" },
|
|
328
329
|
{ chainId: 943n, shortName: "t4pls" },
|
|
@@ -579,6 +580,7 @@ var networks = [
|
|
|
579
580
|
{ chainId: 200810n, shortName: "btrt" },
|
|
580
581
|
{ chainId: 200901n, shortName: "btr" },
|
|
581
582
|
{ chainId: 205205n, shortName: "auroria" },
|
|
583
|
+
{ chainId: 210425n, shortName: "platon" },
|
|
582
584
|
{ chainId: 314159n, shortName: "filecoin-calibration" },
|
|
583
585
|
{ chainId: 325000n, shortName: "CampV2" },
|
|
584
586
|
{ chainId: 328527n, shortName: "nal" },
|
|
@@ -611,6 +613,7 @@ var networks = [
|
|
|
611
613
|
{ chainId: 978657n, shortName: "treasure-ruby" },
|
|
612
614
|
{ chainId: 984122n, shortName: "forma" },
|
|
613
615
|
{ chainId: 1501869n, shortName: "water9" },
|
|
616
|
+
{ chainId: 2206132n, shortName: "platondev2" },
|
|
614
617
|
{ chainId: 2632500n, shortName: "coti" },
|
|
615
618
|
{ chainId: 3441006n, shortName: "mantaSepoliaTestnet" },
|
|
616
619
|
{ chainId: 4457845n, shortName: "zero-sepolia" },
|
package/dist/src/Safe.d.ts
CHANGED
|
@@ -217,7 +217,7 @@ declare class Safe {
|
|
|
217
217
|
* Adds the signature of the current signer to the Safe transaction object.
|
|
218
218
|
*
|
|
219
219
|
* @param safeTransaction - The Safe transaction to be signed
|
|
220
|
-
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "
|
|
220
|
+
* @param signingMethod - Method followed to sign a transaction. Optional. Default value is "eth_signTypedData_v4"
|
|
221
221
|
* @param preimageSafeAddress - If the preimage is required, the address of the Safe that will be used to calculate the preimage
|
|
222
222
|
* This field is mandatory for 1.3.0 and 1.4.1 contract versions Because the safe uses the old EIP-1271 interface which uses `bytes` instead of `bytes32` for the message
|
|
223
223
|
* we need to use the pre-image of the message to calculate the message hash
|
package/dist/src/Safe.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Safe.d.ts","sourceRoot":"","sources":["../../src/Safe.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,+BAA+B,EAE/B,aAAa,EACb,eAAe,EAGf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,eAAe,EAIf,iBAAiB,EAClB,MAAM,wBAAwB,CAAA;AAU/B,OAAO,EAAE,YAAY,EAAyC,MAAM,oBAAoB,CAAA;AACxF,OAAO,eAAe,MAAM,4BAA4B,CAAA;AAKxD,OAAO,EACL,gBAAgB,EAChB,uBAAuB,EACvB,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,mBAAmB,EACnB,UAAU,EAEV,iBAAiB,EACjB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACf,MAAM,SAAS,CAAA;AAoBhB,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAA;AAgBzE,OAAO,WAAW,MAAM,8BAA8B,CAAA;AAEtD,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAWzC,cAAM,IAAI;;IAeR;;;;;;;;OAQG;WACU,IAAI,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;IAwFpD;;;;;;;OAOG;IACG,OAAO,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Safe.d.ts","sourceRoot":"","sources":["../../src/Safe.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,+BAA+B,EAE/B,aAAa,EACb,eAAe,EAGf,WAAW,EACX,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,eAAe,EAIf,iBAAiB,EAClB,MAAM,wBAAwB,CAAA;AAU/B,OAAO,EAAE,YAAY,EAAyC,MAAM,oBAAoB,CAAA;AACxF,OAAO,eAAe,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AkB,EACvC,wBAAwB,GAAE,OAAe,GACxC,OAAO,CAAC,WAAW,CAAC;IA6CvB;;;;;;OAMG;IACH,kBAAkB,gBAAuB,MAAM,KAAG,OAAO,CAAC,MAAM,CAAC,CAMhE;IAED;;;;;;;;;;OAUG;IACH,gBAAgB,gBACD,MAAM,cACR,aAAa,EAAE,GAAG,MAAM,KAClC,OAAO,CAAC,OAAO,CAAC,CA2ClB;IAED,eAAe,wBAEZ;QACD,eAAe,EAAE,MAAM,CAAA;KACxB,KAAG,YAAY,GAAG,SAAS,CAE3B;IAED,oBAAoB,IAAI,MAAM;IAI9B;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,eAAsB,UAAU,KAAG,OAAO,CAAC,cAAc,CAAC,CAEnF;CACF;AAED,eAAe,IAAI,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/utils/eip-3770/config.ts"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,QAAQ,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../../src/utils/eip-3770/config.ts"],"names":[],"mappings":"AAAA,UAAU,gBAAgB;IACxB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;CAChB;AAGD,eAAO,MAAM,QAAQ,EAAE,gBAAgB,EAkbtC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-global/protocol-kit",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "SDK that facilitates the interaction with Safe Smart Accounts",
|
|
5
5
|
"types": "dist/src/index.d.ts",
|
|
6
6
|
"main": "dist/cjs/src/index.cjs",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"tsconfig-paths": "^4.2.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@safe-global/safe-deployments": "^1.37.
|
|
83
|
-
"@safe-global/safe-modules-deployments": "^2.2.
|
|
84
|
-
"@safe-global/types-kit": "^
|
|
82
|
+
"@safe-global/safe-deployments": "^1.37.35",
|
|
83
|
+
"@safe-global/safe-modules-deployments": "^2.2.10",
|
|
84
|
+
"@safe-global/types-kit": "^3.0.0",
|
|
85
85
|
"abitype": "^1.0.2",
|
|
86
86
|
"semver": "^7.7.1",
|
|
87
87
|
"viem": "^2.21.8"
|