@safe-global/protocol-kit 8.0.9 → 8.0.10

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.
@@ -7444,7 +7444,7 @@ function generateOnChainIdentifier({
7444
7444
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7445
7445
 
7446
7446
  // src/utils/getProtocolKitVersion.ts
7447
- var getProtocolKitVersion = () => "8.0.9";
7447
+ var getProtocolKitVersion = () => "8.0.10";
7448
7448
 
7449
7449
  // src/Safe.ts
7450
7450
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
@@ -7506,7 +7506,7 @@ function generateOnChainIdentifier({
7506
7506
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7507
7507
 
7508
7508
  // src/utils/getProtocolKitVersion.ts
7509
- var getProtocolKitVersion = () => "8.0.9";
7509
+ var getProtocolKitVersion = () => "8.0.10";
7510
7510
 
7511
7511
  // src/Safe.ts
7512
7512
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
@@ -1 +1 @@
1
- {"version":3,"file":"getProtocolKitVersion.d.ts","sourceRoot":"","sources":["../../../src/utils/getProtocolKitVersion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,cAAgB,CAAA"}
1
+ {"version":3,"file":"getProtocolKitVersion.d.ts","sourceRoot":"","sources":["../../../src/utils/getProtocolKitVersion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,qBAAqB,cAAiB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/protocol-kit",
3
- "version": "8.0.9",
3
+ "version": "8.0.10",
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,33 +24,6 @@
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
- },
54
27
  "repository": {
55
28
  "type": "git",
56
29
  "url": "git+https://github.com/safe-global/safe-core-sdk.git"
@@ -65,7 +38,6 @@
65
38
  ],
66
39
  "homepage": "https://github.com/safe-global/safe-core-sdk#readme",
67
40
  "devDependencies": {
68
- "@safe-global/testing-kit": "workspace:^",
69
41
  "@types/chai": "^4.3.20",
70
42
  "@types/chai-as-promised": "^7.1.8",
71
43
  "@types/mocha": "^10.0.10",
@@ -80,18 +52,46 @@
80
52
  "mocha": "^11.1.0",
81
53
  "nyc": "^18.0.0",
82
54
  "sinon": "^19.0.2",
83
- "tsconfig-paths": "^4.2.0"
55
+ "tsconfig-paths": "^4.2.0",
56
+ "@safe-global/testing-kit": "^0.4.1"
84
57
  },
85
58
  "dependencies": {
86
59
  "@safe-global/safe-deployments": "^1.37.65",
87
60
  "@safe-global/safe-modules-deployments": "^3.0.12",
88
- "@safe-global/types-kit": "workspace:^",
89
61
  "abitype": "^1.2.3",
90
62
  "semver": "^7.8.0",
91
- "viem": "^2.52.2"
63
+ "viem": "^2.52.2",
64
+ "@safe-global/types-kit": "^4.0.1"
92
65
  },
93
66
  "optionalDependencies": {
94
67
  "@noble/curves": "^1.6.0",
95
68
  "@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
+ }