@airgap/polkadot 0.13.10 → 0.13.11-beta.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.
- package/package.json +14 -8
- package/airgap-coinlib-polkadot.min.js +0 -85359
- package/index.d.ts +0 -1
- package/index.js +0 -18
- package/index.js.map +0 -1
- package/v0/index.d.ts +0 -5
- package/v0/index.js +0 -31
- package/v0/index.js.map +0 -1
- package/v0/protocol/kusama/KusamaProtocol.d.ts +0 -22
- package/v0/protocol/kusama/KusamaProtocol.js +0 -71
- package/v0/protocol/kusama/KusamaProtocol.js.map +0 -1
- package/v0/protocol/kusama/KusamaProtocolOptions.d.ts +0 -23
- package/v0/protocol/kusama/KusamaProtocolOptions.js +0 -85
- package/v0/protocol/kusama/KusamaProtocolOptions.js.map +0 -1
- package/v0/protocol/polkadot/PolkadotProtocol.d.ts +0 -23
- package/v0/protocol/polkadot/PolkadotProtocol.js +0 -72
- package/v0/protocol/polkadot/PolkadotProtocol.js.map +0 -1
- package/v0/protocol/polkadot/PolkadotProtocolOptions.d.ts +0 -23
- package/v0/protocol/polkadot/PolkadotProtocolOptions.js +0 -85
- package/v0/protocol/polkadot/PolkadotProtocolOptions.js.map +0 -1
- package/v1/block-explorer/SubscanBlockExplorer.d.ts +0 -3
- package/v1/block-explorer/SubscanBlockExplorer.js +0 -16
- package/v1/block-explorer/SubscanBlockExplorer.js.map +0 -1
- package/v1/controller/PolkadotAccountController.d.ts +0 -28
- package/v1/controller/PolkadotAccountController.js +0 -656
- package/v1/controller/PolkadotAccountController.js.map +0 -1
- package/v1/controller/PolkadotTransactionController.d.ts +0 -5
- package/v1/controller/PolkadotTransactionController.js +0 -28
- package/v1/controller/PolkadotTransactionController.js.map +0 -1
- package/v1/data/staking/PolkadotActiveEraInfo.d.ts +0 -8
- package/v1/data/staking/PolkadotActiveEraInfo.js +0 -19
- package/v1/data/staking/PolkadotActiveEraInfo.js.map +0 -1
- package/v1/data/staking/PolkadotEraElectionStatus.d.ts +0 -12
- package/v1/data/staking/PolkadotEraElectionStatus.js +0 -27
- package/v1/data/staking/PolkadotEraElectionStatus.js.map +0 -1
- package/v1/data/staking/PolkadotEraRewardPoints.d.ts +0 -8
- package/v1/data/staking/PolkadotEraRewardPoints.js +0 -21
- package/v1/data/staking/PolkadotEraRewardPoints.js.map +0 -1
- package/v1/data/staking/PolkadotExposure.d.ts +0 -9
- package/v1/data/staking/PolkadotExposure.js +0 -23
- package/v1/data/staking/PolkadotExposure.js.map +0 -1
- package/v1/data/staking/PolkadotNominationStatus.d.ts +0 -5
- package/v1/data/staking/PolkadotNominationStatus.js +0 -10
- package/v1/data/staking/PolkadotNominationStatus.js.map +0 -1
- package/v1/data/staking/PolkadotNominations.d.ts +0 -9
- package/v1/data/staking/PolkadotNominations.js +0 -21
- package/v1/data/staking/PolkadotNominations.js.map +0 -1
- package/v1/data/staking/PolkadotNominatorDetails.d.ts +0 -24
- package/v1/data/staking/PolkadotNominatorDetails.js +0 -3
- package/v1/data/staking/PolkadotNominatorDetails.js.map +0 -1
- package/v1/data/staking/PolkadotPayee.d.ts +0 -5
- package/v1/data/staking/PolkadotPayee.js +0 -10
- package/v1/data/staking/PolkadotPayee.js.map +0 -1
- package/v1/data/staking/PolkadotSlashingSpans.d.ts +0 -10
- package/v1/data/staking/PolkadotSlashingSpans.js +0 -23
- package/v1/data/staking/PolkadotSlashingSpans.js.map +0 -1
- package/v1/data/staking/PolkadotStakingActionType.d.ts +0 -14
- package/v1/data/staking/PolkadotStakingActionType.js +0 -19
- package/v1/data/staking/PolkadotStakingActionType.js.map +0 -1
- package/v1/data/staking/PolkadotStakingLedger.d.ts +0 -11
- package/v1/data/staking/PolkadotStakingLedger.js +0 -27
- package/v1/data/staking/PolkadotStakingLedger.js.map +0 -1
- package/v1/data/staking/PolkadotValidatorDetails.d.ts +0 -16
- package/v1/data/staking/PolkadotValidatorDetails.js +0 -3
- package/v1/data/staking/PolkadotValidatorDetails.js.map +0 -1
- package/v1/data/staking/PolkadotValidatorPrefs.d.ts +0 -7
- package/v1/data/staking/PolkadotValidatorPrefs.js +0 -17
- package/v1/data/staking/PolkadotValidatorPrefs.js.map +0 -1
- package/v1/data/transaction/method/args.d.ts +0 -2
- package/v1/data/transaction/method/args.js +0 -439
- package/v1/data/transaction/method/args.js.map +0 -1
- package/v1/data/transaction/transaction.d.ts +0 -2
- package/v1/data/transaction/transaction.js +0 -28
- package/v1/data/transaction/transaction.js.map +0 -1
- package/v1/index.d.ts +0 -10
- package/v1/index.js +0 -13
- package/v1/index.js.map +0 -1
- package/v1/module/PolkadotModule.d.ts +0 -17
- package/v1/module/PolkadotModule.js +0 -121
- package/v1/module/PolkadotModule.js.map +0 -1
- package/v1/node/PolkadotNodeClient.d.ts +0 -46
- package/v1/node/PolkadotNodeClient.js +0 -323
- package/v1/node/PolkadotNodeClient.js.map +0 -1
- package/v1/protocol/KusamaProtocol.d.ts +0 -14
- package/v1/protocol/KusamaProtocol.js +0 -105
- package/v1/protocol/KusamaProtocol.js.map +0 -1
- package/v1/protocol/PolkadotBaseProtocol.d.ts +0 -24
- package/v1/protocol/PolkadotBaseProtocol.js +0 -478
- package/v1/protocol/PolkadotBaseProtocol.js.map +0 -1
- package/v1/protocol/PolkadotProtocol.d.ts +0 -14
- package/v1/protocol/PolkadotProtocol.js +0 -116
- package/v1/protocol/PolkadotProtocol.js.map +0 -1
- package/v1/serializer/v3/schemas/converter/transaction-converter.d.ts +0 -7
- package/v1/serializer/v3/schemas/converter/transaction-converter.js +0 -21
- package/v1/serializer/v3/schemas/converter/transaction-converter.js.map +0 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-polkadot.d.ts +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-polkadot.js +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-request-polkadot.js.map +0 -1
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-polkadot.d.ts +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-polkadot.js +0 -3
- package/v1/serializer/v3/schemas/definitions/transaction-sign-response-polkadot.js.map +0 -1
- package/v1/serializer/v3/schemas/generated/transaction-sign-request-polkadot.json +0 -36
- package/v1/serializer/v3/schemas/generated/transaction-sign-response-polkadot.json +0 -19
- package/v1/serializer/v3/serializer-companion.d.ts +0 -14
- package/v1/serializer/v3/serializer-companion.js +0 -189
- package/v1/serializer/v3/serializer-companion.js.map +0 -1
- package/v1/serializer/v3/validators/transaction-validator.d.ts +0 -4
- package/v1/serializer/v3/validators/transaction-validator.js +0 -28
- package/v1/serializer/v3/validators/transaction-validator.js.map +0 -1
- package/v1/serializer/v3/validators/validators.d.ts +0 -4
- package/v1/serializer/v3/validators/validators.js +0 -6
- package/v1/serializer/v3/validators/validators.js.map +0 -1
- package/v1/types/configuration.d.ts +0 -11
- package/v1/types/configuration.js +0 -3
- package/v1/types/configuration.js.map +0 -1
- package/v1/types/protocol.d.ts +0 -12
- package/v1/types/protocol.js +0 -3
- package/v1/types/protocol.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@airgap/polkadot",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.11-beta.1",
|
|
4
4
|
"description": "The @airgap/polkadot is a Polkadot implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"airgap",
|
|
@@ -19,6 +19,10 @@
|
|
|
19
19
|
"publishConfig": {
|
|
20
20
|
"access": "public"
|
|
21
21
|
},
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
22
26
|
"scripts": {
|
|
23
27
|
"build": "rm -rf ./dist && tsc && node scripts/copy-files-after-build.js",
|
|
24
28
|
"build-scripts": "tsc scripts/*.ts",
|
|
@@ -26,16 +30,18 @@
|
|
|
26
30
|
"lint:prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
|
|
27
31
|
"lint-ci": "tslint -t json -o ../../lint-reports/polkadot.json --project . || true",
|
|
28
32
|
"lint-ci:prettier": "prettier \"src/**/*.ts\" \"test/**/*.ts\" --list-different",
|
|
29
|
-
"test": "TS_NODE_PROJECT='./test/tsconfig.json' nyc mocha --bail --require ts-node/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
|
|
33
|
+
"test": "TS_NODE_PROJECT='./test/tsconfig.json' nyc mocha --bail --require ts-node/register --require tsconfig-paths/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
|
|
30
34
|
"test-ci": "nyc --reporter=lcov npm test",
|
|
31
|
-
"
|
|
32
|
-
"browserify": "browserify ./dist/index.js -p realpathify -s airgapCoinLibPolkadot > ./dist/airgap-coinlib-polkadot.min.js"
|
|
35
|
+
"browserify": "browserify ./dist/index.js -s airgapCoinLibPolkadot > ./dist/airgap-coinlib-polkadot.min.js"
|
|
33
36
|
},
|
|
34
37
|
"author": "Papers GmbH <contact@papers.ch> (https://papers.ch)",
|
|
35
|
-
"
|
|
36
|
-
"@airgap/coinlib-core": "
|
|
37
|
-
"@airgap/module-kit": "
|
|
38
|
-
"@airgap/substrate": "
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@airgap/coinlib-core": "*",
|
|
40
|
+
"@airgap/module-kit": "*",
|
|
41
|
+
"@airgap/substrate": "*"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@polkadot/wasm-crypto": "0.20.1"
|
|
39
45
|
},
|
|
40
46
|
"localDependencies": {},
|
|
41
47
|
"nyc": {
|