@argonprotocol/mainchain 1.4.3-dev.1f0d7a33 → 1.4.3-dev.25eec055
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/browser/index.d.ts +1231 -1464
- package/browser/index.js +6860 -91
- package/browser/index.js.map +1 -1
- package/lib/index.cjs +6990 -162
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +1231 -1464
- package/lib/index.d.ts +1231 -1464
- package/lib/index.js +6926 -98
- package/lib/index.js.map +1 -1
- package/package.json +28 -25
- package/src/interfaces/augment-api-consts.ts +610 -0
- package/src/interfaces/augment-api-errors.ts +1184 -0
- package/src/interfaces/augment-api-events.ts +1831 -0
- package/src/interfaces/augment-api-query.ts +1549 -0
- package/src/interfaces/augment-api-rpc.ts +1133 -0
- package/src/interfaces/augment-api-runtime.ts +305 -0
- package/src/interfaces/augment-api-tx.ts +2195 -0
- package/src/interfaces/augment-api.ts +9 -0
- package/src/interfaces/augment-types.ts +2691 -0
- package/src/interfaces/definitions.ts +42 -0
- package/src/interfaces/ethereum/index.ts +3 -0
- package/src/interfaces/ethereum/types.ts +65 -0
- package/src/interfaces/lookup.ts +3797 -0
- package/src/interfaces/registry.ts +565 -0
- package/src/interfaces/types-lookup.ts +4379 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "1.4.3-dev.
|
|
3
|
+
"version": "1.4.3-dev.25eec055",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,15 +14,17 @@
|
|
|
14
14
|
"homepage": "https://github.com/argonprotocol/mainchain#readme",
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "yarn generate:defs && yarn generate:meta && node clean-build.js && yarn tsc",
|
|
17
|
-
"generate:defs": "
|
|
18
|
-
"generate:meta": "
|
|
19
|
-
"
|
|
17
|
+
"generate:defs": "polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
|
|
18
|
+
"generate:meta": "polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --package @argonprotocol/mainchain/interfaces --strict",
|
|
19
|
+
"test": "vitest --run --config vitest.config.ts",
|
|
20
|
+
"tsc": "yarn workspace @argonprotocol/ethereum-contracts build && tsup",
|
|
20
21
|
"watch": "tsup --watch",
|
|
21
22
|
"typecheck": "tsc --noEmit"
|
|
22
23
|
},
|
|
23
24
|
"files": [
|
|
24
25
|
"lib/",
|
|
25
|
-
"browser/"
|
|
26
|
+
"browser/",
|
|
27
|
+
"src/interfaces/"
|
|
26
28
|
],
|
|
27
29
|
"type": "module",
|
|
28
30
|
"module": "./lib/index.js",
|
|
@@ -40,37 +42,38 @@
|
|
|
40
42
|
"default": "./lib/index.cjs"
|
|
41
43
|
}
|
|
42
44
|
},
|
|
43
|
-
"./
|
|
44
|
-
"types": "./
|
|
45
|
-
"import": "./lib/clis/index.js",
|
|
46
|
-
"require": {
|
|
47
|
-
"types": "./lib/clis/index.d.cts",
|
|
48
|
-
"default": "./lib/clis/index.cjs"
|
|
49
|
-
}
|
|
45
|
+
"./interfaces/*": {
|
|
46
|
+
"types": "./src/interfaces/*/index.ts"
|
|
50
47
|
}
|
|
51
48
|
},
|
|
52
49
|
"dependencies": {
|
|
53
|
-
"@
|
|
54
|
-
"@
|
|
55
|
-
"@polkadot/
|
|
56
|
-
"@polkadot/
|
|
57
|
-
"@polkadot/
|
|
58
|
-
"@polkadot/
|
|
59
|
-
"@polkadot/
|
|
60
|
-
"@polkadot/
|
|
61
|
-
"@polkadot/
|
|
50
|
+
"@ethereumjs/block": "^10.1.1",
|
|
51
|
+
"@ethereumjs/mpt": "^10.1.1",
|
|
52
|
+
"@polkadot/api": "^16.5.6",
|
|
53
|
+
"@polkadot/api-base": "^16.5.6",
|
|
54
|
+
"@polkadot/keyring": "^14.0.3",
|
|
55
|
+
"@polkadot/rpc-core": "^16.5.6",
|
|
56
|
+
"@polkadot/rpc-provider": "^16.5.6",
|
|
57
|
+
"@polkadot/types": "^16.5.6",
|
|
58
|
+
"@polkadot/types-codec": "^16.5.6",
|
|
59
|
+
"@polkadot/util": "^14.0.3",
|
|
60
|
+
"@polkadot/util-crypto": "^14.0.3",
|
|
62
61
|
"bignumber.js": "^9.3.1",
|
|
63
|
-
"bs58check": "^4.0.0"
|
|
62
|
+
"bs58check": "^4.0.0",
|
|
63
|
+
"camelcase-keys": "^9.1.3",
|
|
64
|
+
"viem": "^2.38.5"
|
|
64
65
|
},
|
|
65
66
|
"devDependencies": {
|
|
66
|
-
"@argonprotocol/
|
|
67
|
-
"@
|
|
67
|
+
"@argonprotocol/ethereum-contracts": "workspace:*",
|
|
68
|
+
"@argonprotocol/testing": "1.4.3-dev.25eec055",
|
|
69
|
+
"@polkadot/typegen": "^16.5.6",
|
|
68
70
|
"@substrate/ss58-registry": "^1.51.0",
|
|
69
71
|
"@types/node": "^20",
|
|
70
72
|
"shx": "^0.4.0",
|
|
71
73
|
"tsup": "^8.5.0",
|
|
72
74
|
"tsx": "^4.20.4",
|
|
73
|
-
"typescript": "^5.9.2"
|
|
75
|
+
"typescript": "^5.9.2",
|
|
76
|
+
"vitest": "^4.0.5"
|
|
74
77
|
},
|
|
75
78
|
"packageManager": "yarn@4.1.0"
|
|
76
79
|
}
|