@safe-global/protocol-kit 8.0.0 → 8.0.1

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.
@@ -7410,7 +7410,7 @@ function generateOnChainIdentifier({
7410
7410
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7411
7411
 
7412
7412
  // src/utils/getProtocolKitVersion.ts
7413
- var getProtocolKitVersion = () => "8.0.0";
7413
+ var getProtocolKitVersion = () => "8.0.1";
7414
7414
 
7415
7415
  // src/Safe.ts
7416
7416
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
@@ -7472,7 +7472,7 @@ function generateOnChainIdentifier({
7472
7472
  var generateOnChainIdentifier_default = generateOnChainIdentifier;
7473
7473
 
7474
7474
  // src/utils/getProtocolKitVersion.ts
7475
- var getProtocolKitVersion = () => "8.0.0";
7475
+ var getProtocolKitVersion = () => "8.0.1";
7476
7476
 
7477
7477
  // src/Safe.ts
7478
7478
  var EQ_OR_GT_1_5_0 = ">=1.5.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/protocol-kit",
3
- "version": "8.0.0",
3
+ "version": "8.0.1",
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": "^17.1.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.57",
87
60
  "@safe-global/safe-modules-deployments": "^3.0.4",
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
+ }