@airgap/wallet 0.13.8-beta.0 → 0.13.8-beta.4

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.
@@ -31863,7 +31863,7 @@ exports.newPlainUIText = newPlainUIText;
31863
31863
  },{}],220:[function(require,module,exports){
31864
31864
  "use strict";
31865
31865
  Object.defineProperty(exports, "__esModule", { value: true });
31866
- exports.normalizeToUndefined = exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = exports.implementsInterface = exports.isAmount = exports.ModuleNetworkRegistry = exports.newSignedTransaction = exports.newUnsignedTransaction = exports.newSignature = exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = exports.newAmount = exports.newPlainUIText = exports.newErrorUIAlert = exports.newWarningUIAlert = exports.newInfoUIAlert = exports.newSuccessUIAlert = void 0;
31866
+ exports.normalizeToUndefined = exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = exports.createSupportedProtocols = exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = exports.implementsInterface = exports.isAmount = exports.ModuleNetworkRegistry = exports.newSignedTransaction = exports.newUnsignedTransaction = exports.newSignature = exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = exports.newAmount = exports.newPlainUIText = exports.newErrorUIAlert = exports.newWarningUIAlert = exports.newInfoUIAlert = exports.newSuccessUIAlert = void 0;
31867
31867
  var amount_1 = require("./factories/amount");
31868
31868
  Object.defineProperty(exports, "newAmount", { enumerable: true, get: function () { return amount_1.newAmount; } });
31869
31869
  var key_1 = require("./factories/key");
@@ -31895,6 +31895,8 @@ Object.defineProperty(exports, "isExtendedPublicKey", { enumerable: true, get: f
31895
31895
  Object.defineProperty(exports, "isExtendedSecretKey", { enumerable: true, get: function () { return key_2.isExtendedSecretKey; } });
31896
31896
  Object.defineProperty(exports, "isPublicKey", { enumerable: true, get: function () { return key_2.isPublicKey; } });
31897
31897
  Object.defineProperty(exports, "isSecretKey", { enumerable: true, get: function () { return key_2.isSecretKey; } });
31898
+ var module_1 = require("./utils/module");
31899
+ Object.defineProperty(exports, "createSupportedProtocols", { enumerable: true, get: function () { return module_1.createSupportedProtocols; } });
31898
31900
  var normalize_1 = require("./utils/normalize");
31899
31901
  Object.defineProperty(exports, "normalizeToUndefined", { enumerable: true, get: function () { return normalize_1.normalizeToUndefined; } });
31900
31902
  var protocol_1 = require("./utils/protocol");
@@ -31912,7 +31914,7 @@ Object.defineProperty(exports, "isSubProtocol", { enumerable: true, get: functio
31912
31914
  Object.defineProperty(exports, "isTransactionStatusChecker", { enumerable: true, get: function () { return protocol_1.isTransactionStatusChecker; } });
31913
31915
  Object.defineProperty(exports, "protocolNetworkIdentifier", { enumerable: true, get: function () { return protocol_1.protocolNetworkIdentifier; } });
31914
31916
 
31915
- },{"./factories/amount":214,"./factories/key":215,"./factories/signature":216,"./factories/transaction":217,"./factories/ui/alert":218,"./factories/ui/text":219,"./module/module-network-registry":221,"./utils/amount":223,"./utils/interface":224,"./utils/key":225,"./utils/normalize":226,"./utils/protocol":227}],221:[function(require,module,exports){
31917
+ },{"./factories/amount":214,"./factories/key":215,"./factories/signature":216,"./factories/transaction":217,"./factories/ui/alert":218,"./factories/ui/text":219,"./module/module-network-registry":221,"./utils/amount":223,"./utils/interface":224,"./utils/key":225,"./utils/module":226,"./utils/normalize":227,"./utils/protocol":228}],221:[function(require,module,exports){
31916
31918
  "use strict";
31917
31919
  Object.defineProperty(exports, "__esModule", { value: true });
31918
31920
  exports.ModuleNetworkRegistry = void 0;
@@ -31935,7 +31937,7 @@ var ModuleNetworkRegistry = /** @class */ (function () {
31935
31937
  }());
31936
31938
  exports.ModuleNetworkRegistry = ModuleNetworkRegistry;
31937
31939
 
31938
- },{"../utils/protocol":227}],222:[function(require,module,exports){
31940
+ },{"../utils/protocol":228}],222:[function(require,module,exports){
31939
31941
  "use strict";
31940
31942
  var __importDefault = (this && this.__importDefault) || function (mod) {
31941
31943
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -32000,7 +32002,7 @@ function implementsInterface(object, schema) {
32000
32002
  if (typeof object !== 'object' || !object) {
32001
32003
  return false;
32002
32004
  }
32003
- return Object.keys(schema).every(function (key) { return schema[key] === 'optional' || object[key] !== undefined; });
32005
+ return Object.keys(schema).every(function (key) { return schema[key] === 'optional' || key in object; });
32004
32006
  }
32005
32007
  exports.implementsInterface = implementsInterface;
32006
32008
 
@@ -32034,13 +32036,43 @@ exports.isExtendedPublicKey = isExtendedPublicKey;
32034
32036
  },{"./interface":224}],226:[function(require,module,exports){
32035
32037
  "use strict";
32036
32038
  Object.defineProperty(exports, "__esModule", { value: true });
32039
+ exports.createSupportedProtocols = void 0;
32040
+ function createSupportedProtocols(online, offline) {
32041
+ var onlineIdentifiers = new Set(Object.keys(online));
32042
+ var offlineIdentifiers = offline ? new Set(offline) : onlineIdentifiers;
32043
+ var identifiers = new Set(Array.from(onlineIdentifiers).concat(Array.from(onlineIdentifiers)));
32044
+ return Array.from(identifiers).reduce(function (obj, next) {
32045
+ var _a;
32046
+ var offlineConfiguration = offlineIdentifiers.has(next) ? { type: 'offline' } : undefined;
32047
+ var onlineConfiguration = online[next]
32048
+ ? createOnlineProtocolConfiguration(online[next])
32049
+ : undefined;
32050
+ var configuration = offlineConfiguration !== undefined && onlineConfiguration !== undefined
32051
+ ? { type: 'full', offline: offlineConfiguration, online: onlineConfiguration }
32052
+ : (offlineConfiguration !== null && offlineConfiguration !== void 0 ? offlineConfiguration : onlineConfiguration);
32053
+ return Object.assign(obj, (_a = {}, _a[next] = configuration, _a));
32054
+ // tslint:disable-next-line: no-object-literal-type-assertion
32055
+ }, {});
32056
+ }
32057
+ exports.createSupportedProtocols = createSupportedProtocols;
32058
+ function createOnlineProtocolConfiguration(networks) {
32059
+ var _a;
32060
+ return {
32061
+ type: 'online',
32062
+ networks: (_a = networks.supportedNetworks) !== null && _a !== void 0 ? _a : networks
32063
+ };
32064
+ }
32065
+
32066
+ },{}],227:[function(require,module,exports){
32067
+ "use strict";
32068
+ Object.defineProperty(exports, "__esModule", { value: true });
32037
32069
  exports.normalizeToUndefined = void 0;
32038
32070
  function normalizeToUndefined(value) {
32039
32071
  return value !== null ? value : undefined;
32040
32072
  }
32041
32073
  exports.normalizeToUndefined = normalizeToUndefined;
32042
32074
 
32043
- },{}],227:[function(require,module,exports){
32075
+ },{}],228:[function(require,module,exports){
32044
32076
  "use strict";
32045
32077
  var __assign = (this && this.__assign) || function () {
32046
32078
  __assign = Object.assign || function(t) {
@@ -32055,6 +32087,7 @@ var __assign = (this && this.__assign) || function () {
32055
32087
  };
32056
32088
  Object.defineProperty(exports, "__esModule", { value: true });
32057
32089
  exports.protocolNetworkIdentifier = exports.isTransactionStatusChecker = exports.hasConfigurableTransactionInjector = exports.canSignMessage = exports.canEncryptAsymmetric = exports.canEncryptAES = exports.hasConfigurableContract = exports.hasMultiAddressPublicKeys = exports.canFetchDataForMultipleAddresses = exports.canFetchDataForAddress = exports.isMultiTokenSubProtocol = exports.isSingleTokenSubProtocol = exports.isSubProtocol = exports.isBip32Protocol = void 0;
32090
+ // @ts-ignore
32058
32091
  var createHash = require("@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index");
32059
32092
  var interface_1 = require("./interface");
32060
32093
  // Schemas
@@ -32069,7 +32102,8 @@ var bip32BaseProtocolSchema = __assign(__assign({}, baseProtocolSchema), { deriv
32069
32102
  var bip32OfflineProtocolSchema = __assign(__assign(__assign({}, bip32BaseProtocolSchema), offlineProtocolSchema), { getExtendedKeyPairFromSecret: 'required' });
32070
32103
  var bip32OnlineProtocolSchema = __assign(__assign({}, bip32BaseProtocolSchema), onlineProtocolSchema);
32071
32104
  var subProtocolSchema = {
32072
- getType: 'required'
32105
+ getType: 'required',
32106
+ mainProtocol: 'required'
32073
32107
  };
32074
32108
  var singleTokenSubProtocolSchema = __assign(__assign({}, subProtocolSchema), { getContractAddress: 'required' });
32075
32109
  var multiTokenSubProtocolBaseSchema = singleTokenSubProtocolSchema;
@@ -32205,7 +32239,7 @@ function protocolNetworkIdentifier(network) {
32205
32239
  }
32206
32240
  exports.protocolNetworkIdentifier = protocolNetworkIdentifier;
32207
32241
 
32208
- },{"./interface":224,"@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index":194}],228:[function(require,module,exports){
32242
+ },{"./interface":224,"@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index":194}],229:[function(require,module,exports){
32209
32243
  "use strict";
32210
32244
  Object.defineProperty(exports, "__esModule", { value: true });
32211
32245
  exports.TimeInterval = exports.AirGapNFTWallet = exports.AirGapWalletStatus = exports.AirGapCoinWallet = exports.AirGapOnlineWallet = exports.AirGapOfflineWallet = exports.AirGapWallet = void 0;
@@ -32222,7 +32256,7 @@ Object.defineProperty(exports, "AirGapNFTWallet", { enumerable: true, get: funct
32222
32256
  var AirGapOnlineWallet_1 = require("./wallet/online/AirGapOnlineWallet");
32223
32257
  Object.defineProperty(exports, "AirGapOnlineWallet", { enumerable: true, get: function () { return AirGapOnlineWallet_1.AirGapOnlineWallet; } });
32224
32258
 
32225
- },{"./wallet/AirGapWallet":231,"./wallet/offline/AirGapOfflineWallet":232,"./wallet/online/AirGapCoinWallet":233,"./wallet/online/AirGapNFTWallet":234,"./wallet/online/AirGapOnlineWallet":235}],229:[function(require,module,exports){
32259
+ },{"./wallet/AirGapWallet":232,"./wallet/offline/AirGapOfflineWallet":233,"./wallet/online/AirGapCoinWallet":234,"./wallet/online/AirGapNFTWallet":235,"./wallet/online/AirGapOnlineWallet":236}],230:[function(require,module,exports){
32226
32260
  "use strict";
32227
32261
  Object.defineProperty(exports, "__esModule", { value: true });
32228
32262
  exports.normalizeAddress = void 0;
@@ -32236,7 +32270,7 @@ function normalizeAddress(address) {
32236
32270
  }
32237
32271
  exports.normalizeAddress = normalizeAddress;
32238
32272
 
32239
- },{}],230:[function(require,module,exports){
32273
+ },{}],231:[function(require,module,exports){
32240
32274
  "use strict";
32241
32275
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
32242
32276
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -32301,7 +32335,7 @@ function deriveAddresses(protocol, publicKey, visibilityIndex, amount, offset) {
32301
32335
  }
32302
32336
  exports.deriveAddresses = deriveAddresses;
32303
32337
 
32304
- },{"./address":229}],231:[function(require,module,exports){
32338
+ },{"./address":230}],232:[function(require,module,exports){
32305
32339
  "use strict";
32306
32340
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
32307
32341
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
@@ -32454,7 +32488,7 @@ var AirGapWallet = /** @class */ (function () {
32454
32488
  }());
32455
32489
  exports.AirGapWallet = AirGapWallet;
32456
32490
 
32457
- },{"../utils/address":229,"../utils/protocol":230,"@airgap/coinlib-core/errors":196,"@airgap/coinlib-core/errors/coinlib-error":195,"@airgap/module-kit":220}],232:[function(require,module,exports){
32491
+ },{"../utils/address":230,"../utils/protocol":231,"@airgap/coinlib-core/errors":196,"@airgap/coinlib-core/errors/coinlib-error":195,"@airgap/module-kit":220}],233:[function(require,module,exports){
32458
32492
  "use strict";
32459
32493
  var __extends = (this && this.__extends) || (function () {
32460
32494
  var extendStatics = function (d, b) {
@@ -32486,7 +32520,7 @@ var AirGapOfflineWallet = /** @class */ (function (_super) {
32486
32520
  }(AirGapWallet_1.AirGapWallet));
32487
32521
  exports.AirGapOfflineWallet = AirGapOfflineWallet;
32488
32522
 
32489
- },{"../AirGapWallet":231}],233:[function(require,module,exports){
32523
+ },{"../AirGapWallet":232}],234:[function(require,module,exports){
32490
32524
  "use strict";
32491
32525
  var __extends = (this && this.__extends) || (function () {
32492
32526
  var extendStatics = function (d, b) {
@@ -32690,7 +32724,7 @@ var AirGapCoinWallet = /** @class */ (function (_super) {
32690
32724
  }(AirGapOnlineWallet_1.AirGapOnlineWallet));
32691
32725
  exports.AirGapCoinWallet = AirGapCoinWallet;
32692
32726
 
32693
- },{"./AirGapOnlineWallet":235,"@airgap/coinlib-core":197,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":193,"@airgap/module-kit":220,"@airgap/module-kit/utils/protocol":227}],234:[function(require,module,exports){
32727
+ },{"./AirGapOnlineWallet":236,"@airgap/coinlib-core":197,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":193,"@airgap/module-kit":220,"@airgap/module-kit/utils/protocol":228}],235:[function(require,module,exports){
32694
32728
  "use strict";
32695
32729
  var __extends = (this && this.__extends) || (function () {
32696
32730
  var extendStatics = function (d, b) {
@@ -32776,7 +32810,7 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
32776
32810
  case 0: return [4 /*yield*/, this.protocol.getNetwork()];
32777
32811
  case 1:
32778
32812
  networkType = (_a.sent()).type;
32779
- this.getCurrentMarketPrice[assetID] = networkType === 'mainnet' ? marketPrice : new bignumber_1.default(0);
32813
+ this.currentMarketPrice[assetID] = networkType === 'mainnet' ? marketPrice : new bignumber_1.default(0);
32780
32814
  return [2 /*return*/];
32781
32815
  }
32782
32816
  });
@@ -32873,7 +32907,7 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
32873
32907
  }(AirGapOnlineWallet_1.AirGapOnlineWallet));
32874
32908
  exports.AirGapNFTWallet = AirGapNFTWallet;
32875
32909
 
32876
- },{"./AirGapOnlineWallet":235,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":193,"@airgap/module-kit":220}],235:[function(require,module,exports){
32910
+ },{"./AirGapOnlineWallet":236,"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":193,"@airgap/module-kit":220}],236:[function(require,module,exports){
32877
32911
  "use strict";
32878
32912
  var __extends = (this && this.__extends) || (function () {
32879
32913
  var extendStatics = function (d, b) {
@@ -33132,5 +33166,5 @@ var AirGapOnlineWallet = /** @class */ (function (_super) {
33132
33166
  }(AirGapWallet_1.AirGapWallet));
33133
33167
  exports.AirGapOnlineWallet = AirGapOnlineWallet;
33134
33168
 
33135
- },{"../AirGapWallet":231,"@airgap/coinlib-core":197,"@airgap/module-kit":220,"@airgap/module-kit/utils/protocol":227}]},{},[228])(228)
33169
+ },{"../AirGapWallet":232,"@airgap/coinlib-core":197,"@airgap/module-kit":220,"@airgap/module-kit/utils/protocol":228}]},{},[229])(229)
33136
33170
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/wallet",
3
- "version": "0.13.8-beta.0",
3
+ "version": "0.13.8-beta.4",
4
4
  "description": "TODO",
5
5
  "keywords": [
6
6
  "airgap"
@@ -21,7 +21,7 @@
21
21
  "lint:prettier": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
22
22
  "lint-ci": "tslint -t json -o ../../lint-reports/core.json --project . || true",
23
23
  "lint-ci:prettier": "prettier \"src/**/*.ts\" \"test/**/*.ts\" --list-different",
24
- "test": "nyc mocha --bail --require ts-node/register --require source-map-support/register --full-trace --delay --timeout 40000 ./test/**/**.spec.ts",
24
+ "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",
25
25
  "test-ci": "nyc --reporter=lcov npm test",
26
26
  "test-legacy": "",
27
27
  "browserify": "browserify ./dist/index.js -s airgapCoinLibWallet > ./dist/airgap-coinlib-wallet.min.js"
@@ -83,7 +83,7 @@ var AirGapNFTWallet = /** @class */ (function (_super) {
83
83
  case 0: return [4 /*yield*/, this.protocol.getNetwork()];
84
84
  case 1:
85
85
  networkType = (_a.sent()).type;
86
- this.getCurrentMarketPrice[assetID] = networkType === 'mainnet' ? marketPrice : new bignumber_1.default(0);
86
+ this.currentMarketPrice[assetID] = networkType === 'mainnet' ? marketPrice : new bignumber_1.default(0);
87
87
  return [2 /*return*/];
88
88
  }
89
89
  });
@@ -1 +1 @@
1
- {"version":3,"file":"AirGapNFTWallet.js","sourceRoot":"","sources":["../../../src/wallet/online/AirGapNFTWallet.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,iHAA0F;AAC1F,iDAA8G;AAE9G,2DAAyD;AAEzD;IAEU,mCAAqB;IAF/B;QAAA,qEA0EC;QAvES,oBAAc,GAA0C,EAAE,CAAA;QAU1D,wBAAkB,GAA0C,EAAE,CAAA;;IA6DxE,CAAC;IArEQ,2CAAiB,GAAxB,UAAyB,OAAe;QACtC,OAAO,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,CAAA;IACrC,CAAC;IAEM,2CAAiB,GAAxB,UAAyB,OAA8B,EAAE,OAAe;QACtE,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,OAAO,CAAA;IACxC,CAAC;IAIM,+CAAqB,GAA5B,UAA6B,OAAe;QAC1C,OAAO,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACzC,CAAC;IAEY,+CAAqB,GAAlC,UAAmC,WAAkC,EAAE,OAAe;;;;;4BAC/D,qBAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,EAAA;;wBAA/C,WAAW,GAAG,CAAC,SAA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