@safe-global/api-kit
Advanced tools
@@ -31,7 +31,7 @@ "use strict"; | ||
| // src/index.ts | ||
| var src_exports = {}; | ||
| __export(src_exports, { | ||
| default: () => src_default | ||
| var index_exports = {}; | ||
| __export(index_exports, { | ||
| default: () => index_default | ||
| }); | ||
| module.exports = __toCommonJS(src_exports); | ||
| module.exports = __toCommonJS(index_exports); | ||
@@ -998,2 +998,2 @@ // src/utils/httpRequests.ts | ||
| // src/index.ts | ||
| var src_default = SafeApiKit_default; | ||
| var index_default = SafeApiKit_default; |
@@ -961,5 +961,5 @@ // src/utils/httpRequests.ts | ||
| // src/index.ts | ||
| var src_default = SafeApiKit_default; | ||
| var index_default = SafeApiKit_default; | ||
| export { | ||
| src_default as default | ||
| index_default as default | ||
| }; |
+9
-11
| { | ||
| "name": "@safe-global/api-kit", | ||
| "version": "3.0.0-alpha.3", | ||
| "version": "3.0.0", | ||
| "description": "SDK that facilitates the interaction with the Safe Transaction Service API", | ||
@@ -21,7 +21,5 @@ "types": "dist/src/index.d.ts", | ||
| "scripts": { | ||
| "test:web3": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=web3 && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'", | ||
| "test:ethers": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=ethers && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'", | ||
| "test:viem": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=viem && nyc --reporter=lcov testing-kit test 'tests/endpoint/*.test.*'", | ||
| "test": "yarn test:viem", | ||
| "test:ci:web3": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=web3 && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'", | ||
| "test:ci:ethers": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=ethers && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'", | ||
@@ -32,3 +30,3 @@ "test:ci:viem": "export HARDHAT_NETWORK=sepolia && export ETH_LIB=viem && nyc --reporter=lcov testing-kit test 'tests/e2e/*.test.*'", | ||
| "format": "prettier --write \"*/**/*.{js,json,md,ts}\"", | ||
| "unbuild": "rimraf dist .nyc_output cache", | ||
| "unbuild": "rimraf dist coverage .nyc_output", | ||
| "build": "yarn unbuild && yarn build:esm && yarn build:cjs && yarn build:types", | ||
@@ -53,4 +51,4 @@ "build:esm": "esbuild ./src/index --format=esm --bundle --packages=external --outdir=dist/esm --out-extension:.js=.mjs", | ||
| "devDependencies": { | ||
| "@safe-global/relay-kit": "^4.0.0-alpha.3", | ||
| "@safe-global/testing-kit": "^0.2.0-alpha.3", | ||
| "@safe-global/relay-kit": "^4.0.0", | ||
| "@safe-global/testing-kit": "^0.2.0", | ||
| "@types/chai": "^4.3.20", | ||
@@ -60,3 +58,4 @@ "@types/chai-as-promised": "^7.1.8", | ||
| "@types/node-fetch": "^2.6.12", | ||
| "@types/sinon": "^17.0.3", | ||
| "@types/semver": "^7.5.8", | ||
| "@types/sinon": "^17.0.4", | ||
| "chai": "^4.5.0", | ||
@@ -70,8 +69,7 @@ "chai-as-promised": "^7.1.2", | ||
| "sinon-chai": "3.7.0", | ||
| "tsconfig-paths": "^4.2.0", | ||
| "web3": "^4.12.1" | ||
| "tsconfig-paths": "^4.2.0" | ||
| }, | ||
| "dependencies": { | ||
| "@safe-global/protocol-kit": "^6.0.0-alpha.3", | ||
| "@safe-global/types-kit": "^2.0.0-alpha.3", | ||
| "@safe-global/protocol-kit": "^6.0.0", | ||
| "@safe-global/types-kit": "^2.0.0", | ||
| "node-fetch": "^2.7.0", | ||
@@ -78,0 +76,0 @@ "viem": "^2.21.8" |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
-100%114060
-0.26%