@airgap/polkadot 0.13.45-beta.2 → 0.13.45-beta.3
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 +4 -4
- package/v0/index.js +6 -6
- package/v0/index.js.map +1 -1
- package/v0/protocol/kusama/KusamaProtocol.js +22 -41
- package/v0/protocol/kusama/KusamaProtocol.js.map +1 -1
- package/v0/protocol/kusama/KusamaProtocolOptions.js +33 -70
- package/v0/protocol/kusama/KusamaProtocolOptions.js.map +1 -1
- package/v0/protocol/polkadot/PolkadotProtocol.js +23 -42
- package/v0/protocol/polkadot/PolkadotProtocol.js.map +1 -1
- package/v0/protocol/polkadot/PolkadotProtocolOptions.js +33 -70
- package/v0/protocol/polkadot/PolkadotProtocolOptions.js.map +1 -1
- package/v1/controller/PolkadotAccountController.js +373 -648
- package/v1/controller/PolkadotAccountController.js.map +1 -1
- package/v1/controller/PolkadotTransactionController.js +3 -23
- package/v1/controller/PolkadotTransactionController.js.map +1 -1
- package/v1/data/staking/PolkadotActiveEraInfo.js +10 -11
- package/v1/data/staking/PolkadotActiveEraInfo.js.map +1 -1
- package/v1/data/staking/PolkadotEraRewardPoints.js +10 -13
- package/v1/data/staking/PolkadotEraRewardPoints.js.map +1 -1
- package/v1/data/staking/PolkadotExposure.js +11 -14
- package/v1/data/staking/PolkadotExposure.js.map +1 -1
- package/v1/data/staking/PolkadotNominationStatus.js +1 -1
- package/v1/data/staking/PolkadotNominationStatus.js.map +1 -1
- package/v1/data/staking/PolkadotNominations.js +11 -12
- package/v1/data/staking/PolkadotNominations.js.map +1 -1
- package/v1/data/staking/PolkadotNominatorDetails.d.ts +1 -1
- package/v1/data/staking/PolkadotPayee.js +1 -1
- package/v1/data/staking/PolkadotPayee.js.map +1 -1
- package/v1/data/staking/PolkadotSlashingSpans.js +12 -13
- package/v1/data/staking/PolkadotSlashingSpans.js.map +1 -1
- package/v1/data/staking/PolkadotStakingActionType.js +1 -1
- package/v1/data/staking/PolkadotStakingActionType.js.map +1 -1
- package/v1/data/staking/PolkadotStakingLedger.js +13 -16
- package/v1/data/staking/PolkadotStakingLedger.js.map +1 -1
- package/v1/data/staking/PolkadotValidatorDetails.d.ts +1 -1
- package/v1/data/staking/PolkadotValidatorPrefs.js +9 -10
- package/v1/data/staking/PolkadotValidatorPrefs.js.map +1 -1
- package/v1/data/transaction/method/args.js +146 -271
- package/v1/data/transaction/method/args.js.map +1 -1
- package/v1/data/transaction/transaction.js +11 -22
- package/v1/data/transaction/transaction.js.map +1 -1
- package/v1/index.js +6 -6
- package/v1/index.js.map +1 -1
- package/v1/module/PolkadotModule.d.ts +1 -1
- package/v1/module/PolkadotModule.js +40 -98
- package/v1/module/PolkadotModule.js.map +1 -1
- package/v1/module.js +2 -3
- package/v1/module.js.map +1 -1
- package/v1/node/PolkadotNodeClient.js +101 -284
- package/v1/node/PolkadotNodeClient.js.map +1 -1
- package/v1/protocol/KusamaProtocol.js +28 -54
- package/v1/protocol/KusamaProtocol.js.map +1 -1
- package/v1/protocol/PolkadotBaseProtocol.js +409 -701
- package/v1/protocol/PolkadotBaseProtocol.js.map +1 -1
- package/v1/protocol/PolkadotProtocol.js +20 -51
- package/v1/protocol/PolkadotProtocol.js.map +1 -1
- package/v1/serializer/v3/schemas/converter/transaction-converter.js +5 -6
- package/v1/serializer/v3/schemas/converter/transaction-converter.js.map +1 -1
- package/v1/serializer/v3/serializer-companion.js +75 -154
- package/v1/serializer/v3/serializer-companion.js.map +1 -1
- package/v1/serializer/v3/validators/transaction-validator.js +3 -23
- package/v1/serializer/v3/validators/transaction-validator.js.map +1 -1
- package/v1/serializer/v3/validators/validators.js +1 -1
- package/v1/serializer/v3/validators/validators.js.map +1 -1
- package/v1/types/configuration.d.ts +1 -1
- package/v1/types/crypto.d.ts +1 -1
- package/v1/types/protocol.d.ts +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../../src/v1/data/transaction/transaction.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"transaction.js","sourceRoot":"","sources":["../../../../src/v1/data/transaction/transaction.ts"],"names":[],"mappings":";;;AAEA,wCAAyC;AAE5B,QAAA,iBAAiB,GAA0D;IACtF,IAAI,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IACxC,MAAM,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAC5C,MAAM,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAC5C,UAAU,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,YAAY,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IACpD,iBAAiB,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,mBAAmB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAClE,QAAQ,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,UAAU,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAChD,iBAAiB,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,mBAAmB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAClE,cAAc,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAC5D,SAAS,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE;IAClD,cAAc,EAAE,EAAE,GAAG,IAAA,gBAAS,EAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE;CAC9D,CAAA"}
|
package/v1/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PolkadotPayee = exports.PolkadotNominationStatus = exports.PolkadotStakingActionType = exports.createKusamaProtocol = exports.createPolkadotProtocol = exports.PolkadotModule = void 0;
|
|
4
|
-
|
|
4
|
+
const PolkadotNominationStatus_1 = require("./data/staking/PolkadotNominationStatus");
|
|
5
5
|
Object.defineProperty(exports, "PolkadotNominationStatus", { enumerable: true, get: function () { return PolkadotNominationStatus_1.PolkadotNominationStatus; } });
|
|
6
|
-
|
|
6
|
+
const PolkadotPayee_1 = require("./data/staking/PolkadotPayee");
|
|
7
7
|
Object.defineProperty(exports, "PolkadotPayee", { enumerable: true, get: function () { return PolkadotPayee_1.PolkadotPayee; } });
|
|
8
|
-
|
|
8
|
+
const PolkadotStakingActionType_1 = require("./data/staking/PolkadotStakingActionType");
|
|
9
9
|
Object.defineProperty(exports, "PolkadotStakingActionType", { enumerable: true, get: function () { return PolkadotStakingActionType_1.PolkadotStakingActionType; } });
|
|
10
|
-
|
|
10
|
+
const PolkadotModule_1 = require("./module/PolkadotModule");
|
|
11
11
|
Object.defineProperty(exports, "PolkadotModule", { enumerable: true, get: function () { return PolkadotModule_1.PolkadotModule; } });
|
|
12
|
-
|
|
12
|
+
const KusamaProtocol_1 = require("./protocol/KusamaProtocol");
|
|
13
13
|
Object.defineProperty(exports, "createKusamaProtocol", { enumerable: true, get: function () { return KusamaProtocol_1.createKusamaProtocol; } });
|
|
14
|
-
|
|
14
|
+
const PolkadotProtocol_1 = require("./protocol/PolkadotProtocol");
|
|
15
15
|
Object.defineProperty(exports, "createPolkadotProtocol", { enumerable: true, get: function () { return PolkadotProtocol_1.createPolkadotProtocol; } });
|
|
16
16
|
//# sourceMappingURL=index.js.map
|
package/v1/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/v1/index.ts"],"names":[],"mappings":";;;AAAA,sFAAkF;AAmChF,yGAnCO,mDAAwB,OAmCP;AAjC1B,gEAA4D;AAkC1D,8FAlCO,6BAAa,OAkCP;AAjCf,wFAAoF;AA2BlF,0GA3BO,qDAAyB,OA2BP;AAxB3B,4DAAwD;AAS/C,+FATA,+BAAc,OASA;AARvB,8DAAgF;AAYb,qGAZ1D,qCAAoB,OAY0D;AAXvF,kEAAsF;AAW3D,uGAXlB,yCAAsB,OAWkB"}
|
|
@@ -3,7 +3,7 @@ import { AirGapModule, AirGapV3SerializerCompanion, ProtocolConfiguration } from
|
|
|
3
3
|
import { BlockExplorer } from '@airgap/module-kit/block-explorer/block-explorer';
|
|
4
4
|
import { OfflineProtocol, OnlineProtocol } from '@airgap/module-kit/protocol/protocol';
|
|
5
5
|
import { PolkadotProtocolNetwork } from '../types/protocol';
|
|
6
|
-
|
|
6
|
+
type SupportedProtocols = MainProtocolSymbols.POLKADOT | MainProtocolSymbols.KUSAMA;
|
|
7
7
|
export declare class PolkadotModule implements AirGapModule<{
|
|
8
8
|
Protocols: SupportedProtocols;
|
|
9
9
|
ProtocolNetwork: PolkadotProtocolNetwork;
|
|
@@ -1,113 +1,55 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
12
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
13
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
14
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
15
|
-
function step(op) {
|
|
16
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
17
|
-
while (_) try {
|
|
18
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
19
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
20
|
-
switch (op[0]) {
|
|
21
|
-
case 0: case 1: t = op; break;
|
|
22
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
23
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
24
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
25
|
-
default:
|
|
26
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
27
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
28
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
29
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
30
|
-
if (t[2]) _.ops.pop();
|
|
31
|
-
_.trys.pop(); continue;
|
|
32
|
-
}
|
|
33
|
-
op = body.call(thisArg, _);
|
|
34
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
35
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
3
|
exports.PolkadotModule = void 0;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
_a[coinlib_core_1.MainProtocolSymbols.POLKADOT] = new module_kit_1.ModuleNetworkRegistry({
|
|
4
|
+
const coinlib_core_1 = require("@airgap/coinlib-core");
|
|
5
|
+
const errors_1 = require("@airgap/coinlib-core/errors");
|
|
6
|
+
const module_kit_1 = require("@airgap/module-kit");
|
|
7
|
+
const substrate_1 = require("@airgap/substrate");
|
|
8
|
+
const KusamaProtocol_1 = require("../protocol/KusamaProtocol");
|
|
9
|
+
const PolkadotProtocol_1 = require("../protocol/PolkadotProtocol");
|
|
10
|
+
const serializer_companion_1 = require("../serializer/v3/serializer-companion");
|
|
11
|
+
class PolkadotModule {
|
|
12
|
+
constructor() {
|
|
13
|
+
this.networkRegistries = {
|
|
14
|
+
[coinlib_core_1.MainProtocolSymbols.POLKADOT]: new module_kit_1.ModuleNetworkRegistry({
|
|
52
15
|
supportedNetworks: [PolkadotProtocol_1.POLKADOT_MAINNET_PROTOCOL_NETWORK]
|
|
53
16
|
}),
|
|
54
|
-
|
|
17
|
+
[coinlib_core_1.MainProtocolSymbols.KUSAMA]: new module_kit_1.ModuleNetworkRegistry({
|
|
55
18
|
supportedNetworks: [KusamaProtocol_1.KUSAMA_MAINNET_PROTOCOL_NETWORK]
|
|
56
|
-
})
|
|
57
|
-
|
|
19
|
+
})
|
|
20
|
+
};
|
|
58
21
|
this.supportedProtocols = (0, module_kit_1.createSupportedProtocols)(this.networkRegistries);
|
|
59
22
|
}
|
|
60
|
-
|
|
61
|
-
return
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
var _a;
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var network;
|
|
84
|
-
return __generator(this, function (_b) {
|
|
85
|
-
network = typeof networkOrId === 'object' ? networkOrId : (_a = this.networkRegistries[identifier]) === null || _a === void 0 ? void 0 : _a.findNetwork(networkOrId);
|
|
86
|
-
if (network === undefined) {
|
|
87
|
-
throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.SUBSTRATE, "Block Explorer network type not supported. (Polkadot)");
|
|
88
|
-
}
|
|
89
|
-
return [2 /*return*/, new substrate_1.SubscanBlockExplorer(network.blockExplorerUrl)];
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
PolkadotModule.prototype.createV3SerializerCompanion = function () {
|
|
94
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
95
|
-
return __generator(this, function (_a) {
|
|
96
|
-
return [2 /*return*/, new serializer_companion_1.PolkadotV3SerializerCompanion()];
|
|
97
|
-
});
|
|
98
|
-
});
|
|
99
|
-
};
|
|
100
|
-
PolkadotModule.prototype.createProtocol = function (identifier, network) {
|
|
23
|
+
async createOfflineProtocol(identifier) {
|
|
24
|
+
return this.createProtocol(identifier);
|
|
25
|
+
}
|
|
26
|
+
async createOnlineProtocol(identifier, networkOrId) {
|
|
27
|
+
const network = typeof networkOrId === 'object' ? networkOrId : this.networkRegistries[identifier]?.findNetwork(networkOrId);
|
|
28
|
+
if (network === undefined) {
|
|
29
|
+
throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.SUBSTRATE, `Protocol network type not supported. (Polkadot)`);
|
|
30
|
+
}
|
|
31
|
+
return this.createProtocol(identifier, network);
|
|
32
|
+
}
|
|
33
|
+
async createBlockExplorer(identifier, networkOrId) {
|
|
34
|
+
const network = typeof networkOrId === 'object' ? networkOrId : this.networkRegistries[identifier]?.findNetwork(networkOrId);
|
|
35
|
+
if (network === undefined) {
|
|
36
|
+
throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.SUBSTRATE, `Block Explorer network type not supported. (Polkadot)`);
|
|
37
|
+
}
|
|
38
|
+
return new substrate_1.SubscanBlockExplorer(network.blockExplorerUrl);
|
|
39
|
+
}
|
|
40
|
+
async createV3SerializerCompanion() {
|
|
41
|
+
return new serializer_companion_1.PolkadotV3SerializerCompanion();
|
|
42
|
+
}
|
|
43
|
+
createProtocol(identifier, network) {
|
|
101
44
|
switch (identifier) {
|
|
102
45
|
case coinlib_core_1.MainProtocolSymbols.POLKADOT:
|
|
103
|
-
return (0, PolkadotProtocol_1.createPolkadotProtocol)({ network
|
|
46
|
+
return (0, PolkadotProtocol_1.createPolkadotProtocol)({ network });
|
|
104
47
|
case coinlib_core_1.MainProtocolSymbols.KUSAMA:
|
|
105
|
-
return (0, KusamaProtocol_1.createKusamaProtocol)({ network
|
|
48
|
+
return (0, KusamaProtocol_1.createKusamaProtocol)({ network });
|
|
106
49
|
default:
|
|
107
|
-
throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.SUBSTRATE,
|
|
50
|
+
throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.SUBSTRATE, `Protocol ${identifier} not supported. (Polkadot)`);
|
|
108
51
|
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
}());
|
|
52
|
+
}
|
|
53
|
+
}
|
|
112
54
|
exports.PolkadotModule = PolkadotModule;
|
|
113
55
|
//# sourceMappingURL=PolkadotModule.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PolkadotModule.js","sourceRoot":"","sources":["../../../src/v1/module/PolkadotModule.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PolkadotModule.js","sourceRoot":"","sources":["../../../src/v1/module/PolkadotModule.ts"],"names":[],"mappings":";;;AAAA,uDAAkE;AAClE,wDAAqE;AACrE,mDAO2B;AAG3B,iDAAwD;AAExD,+DAAkG;AAClG,mEAAwG;AACxG,gFAAqF;AAKrF,MAAa,cAAc;IAA3B;QACmB,sBAAiB,GAAsD;YACtF,CAAC,kCAAmB,CAAC,QAAQ,CAAC,EAAE,IAAI,kCAAqB,CAAC;gBACxD,iBAAiB,EAAE,CAAC,oDAAiC,CAAC;aACvD,CAAC;YACF,CAAC,kCAAmB,CAAC,MAAM,CAAC,EAAE,IAAI,kCAAqB,CAAC;gBACtD,iBAAiB,EAAE,CAAC,gDAA+B,CAAC;aACrD,CAAC;SACH,CAAA;QACe,uBAAkB,GAAsD,IAAA,qCAAwB,EAAC,IAAI,CAAC,iBAAiB,CAAC,CAAA;IAgD1I,CAAC;IA9CQ,KAAK,CAAC,qBAAqB,CAAC,UAA8B;QAC/D,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,CAAC,CAAA;IACxC,CAAC;IAEM,KAAK,CAAC,oBAAoB,CAC/B,UAA8B,EAC9B,WAA8C;QAE9C,MAAM,OAAO,GACX,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;QAE9G,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,MAAM,IAAI,gCAAuB,CAAC,qBAAM,CAAC,SAAS,EAAE,iDAAiD,CAAC,CAAA;QACxG,CAAC;QAED,OAAO,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,OAAO,CAAC,CAAA;IACjD,CAAC;IAEM,KAAK,CAAC,mBAAmB,CAC9B,UAA8B,EAC9B,WAA8C;QAE9C,MAAM,OAAO,GACX,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAA;QAE9G,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC1B,MAAM,IAAI,gCAAuB,CAAC,qBAAM,CAAC,SAAS,EAAE,uDAAuD,CAAC,CAAA;QAC9G,CAAC;QAED,OAAO,IAAI,gCAAoB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAA;IAC3D,CAAC;IAEM,KAAK,CAAC,2BAA2B;QACtC,OAAO,IAAI,oDAA6B,EAAE,CAAA;IAC5C,CAAC;IAEO,cAAc,CAAC,UAA8B,EAAE,OAAyB;QAC9E,QAAQ,UAAU,EAAE,CAAC;YACnB,KAAK,kCAAmB,CAAC,QAAQ;gBAC/B,OAAO,IAAA,yCAAsB,EAAC,EAAE,OAAO,EAAE,CAAC,CAAA;YAC5C,KAAK,kCAAmB,CAAC,MAAM;gBAC7B,OAAO,IAAA,qCAAoB,EAAC,EAAE,OAAO,EAAE,CAAC,CAAA;YAC1C;gBACE,MAAM,IAAI,gCAAuB,CAAC,qBAAM,CAAC,SAAS,EAAE,YAAY,UAAU,4BAA4B,CAAC,CAAA;QAC3G,CAAC;IACH,CAAC;CACF;AAzDD,wCAyDC"}
|
package/v1/module.js
CHANGED
|
@@ -14,11 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.create =
|
|
18
|
-
|
|
17
|
+
exports.create = create;
|
|
18
|
+
const PolkadotModule_1 = require("./module/PolkadotModule");
|
|
19
19
|
__exportStar(require("./index"), exports);
|
|
20
20
|
function create() {
|
|
21
21
|
return new PolkadotModule_1.PolkadotModule();
|
|
22
22
|
}
|
|
23
|
-
exports.create = create;
|
|
24
23
|
//# sourceMappingURL=module.js.map
|
package/v1/module.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/v1/module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../src/v1/module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,wBAEC;AAND,4DAAwD;AAExD,0CAAuB;AAEvB,SAAgB,MAAM;IACpB,OAAO,IAAI,+BAAc,EAAE,CAAA;AAC7B,CAAC"}
|