@safe-global/relay-kit 3.4.1-alpha.1 → 3.4.2
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.
- package/dist/src/RelayKitBasePack.d.ts +0 -1
- package/dist/src/RelayKitBasePack.js +26 -0
- package/dist/src/RelayKitBasePack.js.map +1 -0
- package/dist/src/constants.d.ts +0 -1
- package/dist/src/constants.js +12 -0
- package/dist/src/constants.js.map +1 -0
- package/dist/src/deprecated.d.ts +0 -1
- package/dist/src/deprecated.js +3 -0
- package/dist/src/deprecated.js.map +1 -0
- package/dist/src/index.d.ts +0 -2
- package/dist/src/index.js +30 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/packs/gelato/GelatoRelayPack.d.ts +0 -1
- package/dist/src/packs/gelato/GelatoRelayPack.js +327 -0
- package/dist/src/packs/gelato/GelatoRelayPack.js.map +1 -0
- package/dist/src/packs/gelato/types.d.ts +0 -1
- package/dist/src/packs/gelato/types.js +3 -0
- package/dist/src/packs/gelato/types.js.map +1 -0
- package/dist/src/packs/safe-4337/Safe4337Pack.d.ts +0 -1
- package/dist/src/packs/safe-4337/Safe4337Pack.js +644 -0
- package/dist/src/packs/safe-4337/Safe4337Pack.js.map +1 -0
- package/dist/src/packs/safe-4337/SafeOperation.d.ts +0 -1
- package/dist/src/packs/safe-4337/SafeOperation.js +68 -0
- package/dist/src/packs/safe-4337/SafeOperation.js.map +1 -0
- package/dist/src/packs/safe-4337/constants.d.ts +0 -1
- package/dist/src/packs/safe-4337/constants.js +55 -0
- package/dist/src/packs/safe-4337/constants.js.map +1 -0
- package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.d.ts +0 -1
- package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.js +49 -0
- package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.js.map +1 -0
- package/dist/src/packs/safe-4337/estimators/index.d.ts +0 -1
- package/dist/src/packs/safe-4337/estimators/index.js +6 -0
- package/dist/src/packs/safe-4337/estimators/index.js.map +1 -0
- package/dist/{test-utils → src/packs/safe-4337/testing-utils}/fixtures.d.ts +6 -7
- package/dist/src/packs/safe-4337/testing-utils/fixtures.js +128 -0
- package/dist/src/packs/safe-4337/testing-utils/fixtures.js.map +1 -0
- package/dist/{test-utils → src/packs/safe-4337/testing-utils}/helpers.d.ts +2 -3
- package/dist/src/packs/safe-4337/testing-utils/helpers.js +58 -0
- package/dist/src/packs/safe-4337/testing-utils/helpers.js.map +1 -0
- package/dist/src/packs/safe-4337/types.d.ts +0 -1
- package/dist/src/packs/safe-4337/types.js +3 -0
- package/dist/src/packs/safe-4337/types.js.map +1 -0
- package/dist/src/packs/safe-4337/utils/entrypoint.d.ts +0 -1
- package/dist/src/packs/safe-4337/utils/entrypoint.js +23 -0
- package/dist/src/packs/safe-4337/utils/entrypoint.js.map +1 -0
- package/dist/src/packs/safe-4337/utils/getRelayKitVersion.d.ts +0 -1
- package/dist/src/packs/safe-4337/utils/getRelayKitVersion.js +6 -0
- package/dist/src/packs/safe-4337/utils/getRelayKitVersion.js.map +1 -0
- package/dist/src/packs/safe-4337/utils.d.ts +0 -1
- package/dist/src/packs/safe-4337/utils.js +190 -0
- package/dist/src/packs/safe-4337/utils.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +7 -24
- package/dist/cjs/src/index.cjs +0 -1323
- package/dist/cjs/test-utils/index.cjs +0 -1171
- package/dist/esm/src/index.mjs +0 -1326
- package/dist/esm/test-utils/index.mjs +0 -1172
- package/dist/src/RelayKitBasePack.d.ts.map +0 -1
- package/dist/src/constants.d.ts.map +0 -1
- package/dist/src/deprecated.d.ts.map +0 -1
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/packs/gelato/GelatoRelayPack.d.ts.map +0 -1
- package/dist/src/packs/gelato/types.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/Safe4337Pack.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/SafeOperation.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/constants.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/estimators/PimlicoFeeEstimator.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/estimators/index.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/types.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/utils/entrypoint.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/utils/getRelayKitVersion.d.ts.map +0 -1
- package/dist/src/packs/safe-4337/utils.d.ts.map +0 -1
- package/dist/test-utils/fixtures.d.ts.map +0 -1
- package/dist/test-utils/helpers.d.ts.map +0 -1
- package/dist/test-utils/index.d.ts +0 -4
- package/dist/test-utils/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-global/relay-kit",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.2",
|
|
4
4
|
"description": "SDK for Safe Smart Accounts with support for ERC-4337 and Relay",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"module": "dist/esm/src/index.js",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"types": "./dist/src/index.d.ts",
|
|
11
|
-
"require": "./dist/cjs/src/index.cjs",
|
|
12
|
-
"import": "./dist/esm/src/index.mjs"
|
|
13
|
-
},
|
|
14
|
-
"./test-utils": {
|
|
15
|
-
"types": "./dist/test-utils/index.d.ts",
|
|
16
|
-
"require": "./dist/cjs/test-utils/index.cjs",
|
|
17
|
-
"import": "./dist/esm/test-utils/index.mjs"
|
|
18
|
-
}
|
|
19
|
-
},
|
|
5
|
+
"main": "dist/src/index.js",
|
|
6
|
+
"typings": "dist/src/index.d.ts",
|
|
20
7
|
"keywords": [
|
|
21
8
|
"Ethereum",
|
|
22
9
|
"Wallet",
|
|
@@ -33,10 +20,7 @@
|
|
|
33
20
|
"format": "prettier --write \"*/**/*.{js,json,md,ts}\"",
|
|
34
21
|
"unbuild": "rimraf dist .nyc_output cache",
|
|
35
22
|
"prebuild": "node -p \"'export const getRelayKitVersion = () => \\'' + require('./package.json').version.split('-')[0] + '\\''\" > src/packs/safe-4337/utils/getRelayKitVersion.ts",
|
|
36
|
-
"build": "yarn unbuild &&
|
|
37
|
-
"build:esm": "esbuild ./src/index ./test-utils/index --format=esm --bundle --metafile=meta-esm.json --packages=external --outdir=dist/esm --out-extension:.js=.mjs",
|
|
38
|
-
"build:cjs": "esbuild ./src/index ./test-utils/index --format=cjs --bundle --metafile=meta-cjs.json --packages=external --outdir=dist/cjs --out-extension:.js=.cjs",
|
|
39
|
-
"build:types": "NODE_OPTIONS=--max-old-space-size=8192 tsc -p tsconfig.build.json --declaration --declarationMap --emitDeclarationOnly && tsc-alias -p tsconfig.build.json"
|
|
23
|
+
"build": "yarn unbuild && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json"
|
|
40
24
|
},
|
|
41
25
|
"repository": {
|
|
42
26
|
"type": "git",
|
|
@@ -56,10 +40,9 @@
|
|
|
56
40
|
},
|
|
57
41
|
"dependencies": {
|
|
58
42
|
"@gelatonetwork/relay-sdk": "^5.5.0",
|
|
59
|
-
"@safe-global/protocol-kit": "^5.2.1
|
|
60
|
-
"@safe-global/safe-modules-deployments": "^2.2.
|
|
61
|
-
"@safe-global/types-kit": "^1.0.2
|
|
62
|
-
"semver": "^7.6.3",
|
|
43
|
+
"@safe-global/protocol-kit": "^5.2.1",
|
|
44
|
+
"@safe-global/safe-modules-deployments": "^2.2.5",
|
|
45
|
+
"@safe-global/types-kit": "^1.0.2",
|
|
63
46
|
"viem": "^2.21.8"
|
|
64
47
|
}
|
|
65
48
|
}
|