@safe-global/api-kit 3.0.0-alpha.3 → 3.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.
@@ -28,11 +28,11 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
28
28
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
29
 
30
30
  // src/index.ts
31
- var src_exports = {};
32
- __export(src_exports, {
33
- default: () => src_default
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ default: () => index_default
34
34
  });
35
- module.exports = __toCommonJS(src_exports);
35
+ module.exports = __toCommonJS(index_exports);
36
36
 
37
37
  // src/utils/httpRequests.ts
38
38
  async function sendRequest({ url, method, body }) {
@@ -994,4 +994,4 @@ var SafeApiKit = class {
994
994
  var SafeApiKit_default = SafeApiKit;
995
995
 
996
996
  // src/index.ts
997
- var src_default = SafeApiKit_default;
997
+ var index_default = SafeApiKit_default;
@@ -958,7 +958,7 @@ var SafeApiKit = class {
958
958
  var SafeApiKit_default = SafeApiKit;
959
959
 
960
960
  // src/index.ts
961
- var src_default = SafeApiKit_default;
961
+ var index_default = SafeApiKit_default;
962
962
  export {
963
- src_default as default
963
+ index_default as default
964
964
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@safe-global/api-kit",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.1",
4
4
  "description": "SDK that facilitates the interaction with the Safe Transaction Service API",
5
5
  "types": "dist/src/index.d.ts",
6
6
  "main": "dist/cjs/index.cjs",
@@ -18,17 +18,15 @@
18
18
  "API"
19
19
  ],
20
20
  "scripts": {
21
- "test:web3": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=web3 && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'",
22
21
  "test:ethers": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=ethers && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'",
23
22
  "test:viem": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=viem && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'",
24
23
  "test": "yarn test:viem",
25
- "test:ci:web3": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=web3 && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'",
26
24
  "test:ci:ethers": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=ethers && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'",
27
25
  "test:ci:viem": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=viem && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'",
28
26
  "test:ci": "yarn test:ci:viem",
29
27
  "format:check": "prettier --check \"*/**/*.{js,json,md,ts}\"",
30
28
  "format": "prettier --write \"*/**/*.{js,json,md,ts}\"",
31
- "unbuild": "rimraf dist .nyc_output cache",
29
+ "unbuild": "rimraf dist coverage .nyc_output",
32
30
  "build": "yarn unbuild && yarn build:esm && yarn build:cjs && yarn build:types",
33
31
  "build:esm": "esbuild ./src/index --format=esm --bundle --packages=external --outdir=dist/esm --out-extension:.js=.mjs",
34
32
  "build:cjs": "esbuild ./src/index --format=cjs --bundle --packages=external --outdir=dist/cjs --out-extension:.js=.cjs",
@@ -48,13 +46,14 @@
48
46
  ],
49
47
  "homepage": "https://github.com/safe-global/safe-core-sdk#readme",
50
48
  "devDependencies": {
51
- "@safe-global/relay-kit": "^4.0.0-alpha.3",
52
- "@safe-global/testing-kit": "^0.2.0-alpha.3",
49
+ "@safe-global/relay-kit": "^4.0.1",
50
+ "@safe-global/testing-kit": "^0.2.0",
53
51
  "@types/chai": "^4.3.20",
54
52
  "@types/chai-as-promised": "^7.1.8",
55
53
  "@types/mocha": "^10.0.10",
56
54
  "@types/node-fetch": "^2.6.12",
57
- "@types/sinon": "^17.0.3",
55
+ "@types/semver": "^7.5.8",
56
+ "@types/sinon": "^17.0.4",
58
57
  "chai": "^4.5.0",
59
58
  "chai-as-promised": "^7.1.2",
60
59
  "ethers": "^6.13.5",
@@ -63,12 +62,11 @@
63
62
  "semver": "^7.6.1",
64
63
  "sinon": "^19.0.2",
65
64
  "sinon-chai": "3.7.0",
66
- "tsconfig-paths": "^4.2.0",
67
- "web3": "^4.12.1"
65
+ "tsconfig-paths": "^4.2.0"
68
66
  },
69
67
  "dependencies": {
70
- "@safe-global/protocol-kit": "^6.0.0-alpha.3",
71
- "@safe-global/types-kit": "^2.0.0-alpha.3",
68
+ "@safe-global/protocol-kit": "^6.0.1",
69
+ "@safe-global/types-kit": "^2.0.0",
72
70
  "node-fetch": "^2.7.0",
73
71
  "viem": "^2.21.8"
74
72
  }