@safe-global/protocol-kit 8.0.8 → 8.0.9

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.
@@ -802,6 +802,7 @@ var networks = [
802
802
  { chainId: 13863860n, shortName: "sis" },
803
803
  { chainId: 20250407n, shortName: "platondev3" },
804
804
  { chainId: 21000000n, shortName: "corn" },
805
+ { chainId: 42424242n, shortName: "genlayer" },
805
806
  { chainId: 52164803n, shortName: "fluence-testnet" },
806
807
  { chainId: 65100004n, shortName: "piccadilly-04" },
807
808
  { chainId: 94204209n, shortName: "polygon-blackberry" },
@@ -7443,7 +7444,7 @@ function generateOnChainIdentifier({
7443
7444
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7444
7445
 
7445
7446
  // src/utils/getProtocolKitVersion.ts
7446
- var getProtocolKitVersion = () => "8.0.8";
7447
+ var getProtocolKitVersion = () => "8.0.9";
7447
7448
 
7448
7449
  // src/Safe.ts
7449
7450
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
@@ -790,6 +790,7 @@ var networks = [
790
790
  { chainId: 13863860n, shortName: "sis" },
791
791
  { chainId: 20250407n, shortName: "platondev3" },
792
792
  { chainId: 21000000n, shortName: "corn" },
793
+ { chainId: 42424242n, shortName: "genlayer" },
793
794
  { chainId: 52164803n, shortName: "fluence-testnet" },
794
795
  { chainId: 65100004n, shortName: "piccadilly-04" },
795
796
  { chainId: 94204209n, shortName: "polygon-blackberry" },
@@ -733,6 +733,7 @@ var networks = [
733
733
  { chainId: 13863860n, shortName: "sis" },
734
734
  { chainId: 20250407n, shortName: "platondev3" },
735
735
  { chainId: 21000000n, shortName: "corn" },
736
+ { chainId: 42424242n, shortName: "genlayer" },
736
737
  { chainId: 52164803n, shortName: "fluence-testnet" },
737
738
  { chainId: 65100004n, shortName: "piccadilly-04" },
738
739
  { chainId: 94204209n, shortName: "polygon-blackberry" },
@@ -7505,7 +7506,7 @@ function generateOnChainIdentifier({
7505
7506
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7506
7507
 
7507
7508
  // src/utils/getProtocolKitVersion.ts
7508
- var getProtocolKitVersion = () => "8.0.8";
7509
+ var getProtocolKitVersion = () => "8.0.9";
7509
7510
 
7510
7511
  // src/Safe.ts
7511
7512
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
@@ -748,6 +748,7 @@ var networks = [
748
748
  { chainId: 13863860n, shortName: "sis" },
749
749
  { chainId: 20250407n, shortName: "platondev3" },
750
750
  { chainId: 21000000n, shortName: "corn" },
751
+ { chainId: 42424242n, shortName: "genlayer" },
751
752
  { chainId: 52164803n, shortName: "fluence-testnet" },
752
753
  { chainId: 65100004n, shortName: "piccadilly-04" },
753
754
  { chainId: 94204209n, shortName: "polygon-blackberry" },
@@ -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;AAID,eAAO,MAAM,QAAQ,EAAE,gBAAgB,EAkjBtC,CAAA"}
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;AAID,eAAO,MAAM,QAAQ,EAAE,gBAAgB,EAmjBtC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/protocol-kit",
3
- "version": "8.0.8",
3
+ "version": "8.0.9",
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",
@@ -24,6 +24,33 @@
24
24
  "Smart Account",
25
25
  "SDK"
26
26
  ],
27
+ "scripts": {
28
+ "check-safe-deployments": "ts-node scripts/safe-deployments/checkSafeDeployments.ts",
29
+ "update-safe-deployments": "ts-node scripts/safe-deployments/updateLocalNetworks.ts",
30
+ "check-short-name-integrity": "ts-node scripts/safe-deployments/checkShortNameIntegrity.ts",
31
+ "test": "mocha -r ts-node/register -r tsconfig-paths/register tests/unit/**/*.ts",
32
+ "test:hardhat:ethers:v1.0.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.0.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
33
+ "test:hardhat:ethers:v1.1.1": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.1.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
34
+ "test:hardhat:ethers:v1.2.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.2.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
35
+ "test:hardhat:ethers:v1.3.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.3.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
36
+ "test:hardhat:ethers:v1.4.1": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.4.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
37
+ "test:hardhat:ethers:v1.5.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.5.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
38
+ "test:hardhat:viem:v1.0.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.0.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
39
+ "test:hardhat:viem:v1.1.1": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.1.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
40
+ "test:hardhat:viem:v1.2.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.2.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
41
+ "test:hardhat:viem:v1.3.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.3.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
42
+ "test:hardhat:viem:v1.4.1": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.4.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
43
+ "test:hardhat:viem:v1.5.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.5.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
44
+ "coverage": "nyc report --reporter=lcov",
45
+ "format:check": "prettier --check \"*/**/*.{js,json,md,ts}\"",
46
+ "format": "prettier --write \"*/**/*.{js,json,md,ts}\"",
47
+ "unbuild": "rimraf dist coverage .nyc_output meta-cjs.json meta-esm.json *.tsbuildinfo",
48
+ "prebuild": "node -p \"'export const getProtocolKitVersion = () => \\'' + require('./package.json').version.split('-')[0] + '\\''\" > src/utils/getProtocolKitVersion.ts",
49
+ "build": "pnpm unbuild && pnpm check-safe-deployments && pnpm build:esm && pnpm build:cjs && pnpm build:types",
50
+ "build:esm": "esbuild ./src/index ./test-utils/index --format=esm --bundle --metafile=meta-esm.json --packages=external --outdir=dist/esm --out-extension:.js=.mjs",
51
+ "build:cjs": "esbuild ./src/index ./test-utils/index --format=cjs --bundle --metafile=meta-cjs.json --packages=external --outdir=dist/cjs --out-extension:.js=.cjs",
52
+ "build:types": "NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json"
53
+ },
27
54
  "repository": {
28
55
  "type": "git",
29
56
  "url": "git+https://github.com/safe-global/safe-core-sdk.git"
@@ -38,6 +65,7 @@
38
65
  ],
39
66
  "homepage": "https://github.com/safe-global/safe-core-sdk#readme",
40
67
  "devDependencies": {
68
+ "@safe-global/testing-kit": "workspace:^",
41
69
  "@types/chai": "^4.3.20",
42
70
  "@types/chai-as-promised": "^7.1.8",
43
71
  "@types/mocha": "^10.0.10",
@@ -52,46 +80,18 @@
52
80
  "mocha": "^11.1.0",
53
81
  "nyc": "^18.0.0",
54
82
  "sinon": "^19.0.2",
55
- "tsconfig-paths": "^4.2.0",
56
- "@safe-global/testing-kit": "^0.4.1"
83
+ "tsconfig-paths": "^4.2.0"
57
84
  },
58
85
  "dependencies": {
59
- "@safe-global/safe-deployments": "^1.37.64",
60
- "@safe-global/safe-modules-deployments": "^3.0.11",
86
+ "@safe-global/safe-deployments": "^1.37.65",
87
+ "@safe-global/safe-modules-deployments": "^3.0.12",
88
+ "@safe-global/types-kit": "workspace:^",
61
89
  "abitype": "^1.2.3",
62
90
  "semver": "^7.8.0",
63
- "viem": "^2.52.2",
64
- "@safe-global/types-kit": "^4.0.1"
91
+ "viem": "^2.52.2"
65
92
  },
66
93
  "optionalDependencies": {
67
94
  "@noble/curves": "^1.6.0",
68
95
  "@peculiar/asn1-schema": "^2.3.13"
69
- },
70
- "scripts": {
71
- "check-safe-deployments": "ts-node scripts/safe-deployments/checkSafeDeployments.ts",
72
- "update-safe-deployments": "ts-node scripts/safe-deployments/updateLocalNetworks.ts",
73
- "check-short-name-integrity": "ts-node scripts/safe-deployments/checkShortNameIntegrity.ts",
74
- "test": "mocha -r ts-node/register -r tsconfig-paths/register tests/unit/**/*.ts",
75
- "test:hardhat:ethers:v1.0.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.0.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
76
- "test:hardhat:ethers:v1.1.1": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.1.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
77
- "test:hardhat:ethers:v1.2.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.2.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
78
- "test:hardhat:ethers:v1.3.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.3.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
79
- "test:hardhat:ethers:v1.4.1": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.4.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
80
- "test:hardhat:ethers:v1.5.0": "export TEST_NETWORK=hardhat && export ETH_LIB=ethers && export SAFE_VERSION=1.5.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
81
- "test:hardhat:viem:v1.0.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.0.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
82
- "test:hardhat:viem:v1.1.1": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.1.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
83
- "test:hardhat:viem:v1.2.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.2.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
84
- "test:hardhat:viem:v1.3.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.3.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
85
- "test:hardhat:viem:v1.4.1": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.4.1 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
86
- "test:hardhat:viem:v1.5.0": "export TEST_NETWORK=hardhat && export ETH_LIB=viem && export SAFE_VERSION=1.5.0 && testing-kit deploy && nyc testing-kit test 'tests/e2e/*.test.*'",
87
- "coverage": "nyc report --reporter=lcov",
88
- "format:check": "prettier --check \"*/**/*.{js,json,md,ts}\"",
89
- "format": "prettier --write \"*/**/*.{js,json,md,ts}\"",
90
- "unbuild": "rimraf dist coverage .nyc_output meta-cjs.json meta-esm.json *.tsbuildinfo",
91
- "prebuild": "node -p \"'export const getProtocolKitVersion = () => \\'' + require('./package.json').version.split('-')[0] + '\\''\" > src/utils/getProtocolKitVersion.ts",
92
- "build": "pnpm unbuild && pnpm check-safe-deployments && pnpm build:esm && pnpm build:cjs && pnpm build:types",
93
- "build:esm": "esbuild ./src/index ./test-utils/index --format=esm --bundle --metafile=meta-esm.json --packages=external --outdir=dist/esm --out-extension:.js=.mjs",
94
- "build:cjs": "esbuild ./src/index ./test-utils/index --format=cjs --bundle --metafile=meta-cjs.json --packages=external --outdir=dist/cjs --out-extension:.js=.cjs",
95
- "build:types": "NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json"
96
96
  }
97
- }
97
+ }