@argonprotocol/mainchain 0.0.24 → 0.0.26
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/lib/cjs/interfaces/augment-api-consts.d.ts +8 -2
- package/lib/cjs/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/cjs/interfaces/augment-api-query.d.ts +8 -6
- package/lib/cjs/interfaces/augment-api-tx.d.ts +5 -1
- package/lib/cjs/interfaces/lookup.d.ts +216 -188
- package/lib/cjs/interfaces/lookup.js +221 -193
- package/lib/cjs/interfaces/lookup.js.map +1 -1
- package/lib/cjs/interfaces/registry.d.ts +4 -1
- package/lib/cjs/interfaces/types-lookup.d.ts +215 -189
- package/lib/esm/interfaces/augment-api-consts.d.ts +8 -2
- package/lib/esm/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/esm/interfaces/augment-api-query.d.ts +8 -6
- package/lib/esm/interfaces/augment-api-tx.d.ts +5 -1
- package/lib/esm/interfaces/lookup.d.ts +216 -188
- package/lib/esm/interfaces/lookup.js +221 -193
- package/lib/esm/interfaces/lookup.js.map +1 -1
- package/lib/esm/interfaces/registry.d.ts +4 -1
- package/lib/esm/interfaces/types-lookup.d.ts +215 -189
- package/lib/tsconfig-cjs.tsbuildinfo +1 -1
- package/lib/tsconfig-types.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/augment-api-consts.d.ts +8 -2
- package/lib/types/interfaces/augment-api-errors.d.ts +4 -0
- package/lib/types/interfaces/augment-api-query.d.ts +8 -6
- package/lib/types/interfaces/augment-api-tx.d.ts +5 -1
- package/lib/types/interfaces/lookup.d.ts +216 -188
- package/lib/types/interfaces/registry.d.ts +4 -1
- package/lib/types/interfaces/types-lookup.d.ts +215 -189
- package/package.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argonprotocol/mainchain",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "A client for accessing the Argon mainchain apis.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,8 +14,8 @@
|
|
|
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": "
|
|
17
|
+
"generate:defs": "tsx node_modules/.bin/polkadot-types-from-defs --endpoint metadata.json --input ./src/interfaces --package @argonprotocol/mainchain/interfaces",
|
|
18
|
+
"generate:meta": "tsx node_modules/.bin/polkadot-types-from-chain --endpoint metadata.json --output ./src/interfaces --strict",
|
|
19
19
|
"lint": "tsc --noEmit --pretty",
|
|
20
20
|
"tsc": "tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && tsc -p tsconfig-types.json && shx cp package.cjs.json lib/cjs/package.json",
|
|
21
21
|
"test": "npm run tsc && jest --testTimeout=60000"
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"jest": "^29.7.0",
|
|
62
62
|
"shx": "^0.3.4",
|
|
63
63
|
"ts-jest": "^29.1.2",
|
|
64
|
-
"
|
|
64
|
+
"tsx": "^4.19.2",
|
|
65
65
|
"typescript": "^5.3.3"
|
|
66
66
|
},
|
|
67
67
|
"jest": {
|