@airgap/module-kit 0.13.9-beta.0 → 0.13.9-beta.2

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.
@@ -13189,7 +13189,7 @@ Writable.prototype._destroy = function (err, cb) {
13189
13189
  cb(err);
13190
13190
  };
13191
13191
  }).call(this)}).call(this,require('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
13192
- },{"../errors":47,"./_stream_duplex":48,"./internal/streams/destroy":55,"./internal/streams/state":59,"./internal/streams/stream":60,"_process":149,"buffer":62,"inherits":132,"util-deprecate":187}],53:[function(require,module,exports){
13192
+ },{"../errors":47,"./_stream_duplex":48,"./internal/streams/destroy":55,"./internal/streams/state":59,"./internal/streams/stream":60,"_process":149,"buffer":62,"inherits":132,"util-deprecate":186}],53:[function(require,module,exports){
13193
13193
  (function (process){(function (){
13194
13194
  'use strict';
13195
13195
 
@@ -21890,7 +21890,7 @@ arguments[4][50][0].apply(exports,arguments)
21890
21890
  arguments[4][51][0].apply(exports,arguments)
21891
21891
  },{"../errors":103,"./_stream_duplex":104,"dup":51,"inherits":132}],108:[function(require,module,exports){
21892
21892
  arguments[4][52][0].apply(exports,arguments)
21893
- },{"../errors":103,"./_stream_duplex":104,"./internal/streams/destroy":111,"./internal/streams/state":115,"./internal/streams/stream":116,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":187}],109:[function(require,module,exports){
21893
+ },{"../errors":103,"./_stream_duplex":104,"./internal/streams/destroy":111,"./internal/streams/state":115,"./internal/streams/stream":116,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":186}],109:[function(require,module,exports){
21894
21894
  arguments[4][53][0].apply(exports,arguments)
21895
21895
  },{"./end-of-stream":112,"_process":149,"dup":53}],110:[function(require,module,exports){
21896
21896
  arguments[4][54][0].apply(exports,arguments)
@@ -26241,7 +26241,7 @@ arguments[4][50][0].apply(exports,arguments)
26241
26241
  arguments[4][51][0].apply(exports,arguments)
26242
26242
  },{"../errors":171,"./_stream_duplex":172,"dup":51,"inherits":132}],176:[function(require,module,exports){
26243
26243
  arguments[4][52][0].apply(exports,arguments)
26244
- },{"../errors":171,"./_stream_duplex":172,"./internal/streams/destroy":179,"./internal/streams/state":183,"./internal/streams/stream":184,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":187}],177:[function(require,module,exports){
26244
+ },{"../errors":171,"./_stream_duplex":172,"./internal/streams/destroy":179,"./internal/streams/state":183,"./internal/streams/stream":184,"_process":149,"buffer":62,"dup":52,"inherits":132,"util-deprecate":186}],177:[function(require,module,exports){
26245
26245
  arguments[4][53][0].apply(exports,arguments)
26246
26246
  },{"./end-of-stream":180,"_process":149,"dup":53}],178:[function(require,module,exports){
26247
26247
  arguments[4][54][0].apply(exports,arguments)
@@ -26554,71 +26554,7 @@ function simpleWrite(buf) {
26554
26554
  function simpleEnd(buf) {
26555
26555
  return buf && buf.length ? this.write(buf) : '';
26556
26556
  }
26557
- },{"safe-buffer":186}],186:[function(require,module,exports){
26558
- /* eslint-disable node/no-deprecated-api */
26559
- var buffer = require('buffer')
26560
- var Buffer = buffer.Buffer
26561
-
26562
- // alternative to using Object.keys for old browsers
26563
- function copyProps (src, dst) {
26564
- for (var key in src) {
26565
- dst[key] = src[key]
26566
- }
26567
- }
26568
- if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) {
26569
- module.exports = buffer
26570
- } else {
26571
- // Copy properties from require('buffer')
26572
- copyProps(buffer, exports)
26573
- exports.Buffer = SafeBuffer
26574
- }
26575
-
26576
- function SafeBuffer (arg, encodingOrOffset, length) {
26577
- return Buffer(arg, encodingOrOffset, length)
26578
- }
26579
-
26580
- // Copy static methods from Buffer
26581
- copyProps(Buffer, SafeBuffer)
26582
-
26583
- SafeBuffer.from = function (arg, encodingOrOffset, length) {
26584
- if (typeof arg === 'number') {
26585
- throw new TypeError('Argument must not be a number')
26586
- }
26587
- return Buffer(arg, encodingOrOffset, length)
26588
- }
26589
-
26590
- SafeBuffer.alloc = function (size, fill, encoding) {
26591
- if (typeof size !== 'number') {
26592
- throw new TypeError('Argument must be a number')
26593
- }
26594
- var buf = Buffer(size)
26595
- if (fill !== undefined) {
26596
- if (typeof encoding === 'string') {
26597
- buf.fill(fill, encoding)
26598
- } else {
26599
- buf.fill(fill)
26600
- }
26601
- } else {
26602
- buf.fill(0)
26603
- }
26604
- return buf
26605
- }
26606
-
26607
- SafeBuffer.allocUnsafe = function (size) {
26608
- if (typeof size !== 'number') {
26609
- throw new TypeError('Argument must be a number')
26610
- }
26611
- return Buffer(size)
26612
- }
26613
-
26614
- SafeBuffer.allocUnsafeSlow = function (size) {
26615
- if (typeof size !== 'number') {
26616
- throw new TypeError('Argument must be a number')
26617
- }
26618
- return buffer.SlowBuffer(size)
26619
- }
26620
-
26621
- },{"buffer":62}],187:[function(require,module,exports){
26557
+ },{"safe-buffer":160}],186:[function(require,module,exports){
26622
26558
  (function (global){(function (){
26623
26559
 
26624
26560
  /**
@@ -26689,7 +26625,7 @@ function config (name) {
26689
26625
  }
26690
26626
 
26691
26627
  }).call(this)}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {})
26692
- },{}],188:[function(require,module,exports){
26628
+ },{}],187:[function(require,module,exports){
26693
26629
  ;(function (globalObject) {
26694
26630
  'use strict';
26695
26631
 
@@ -29593,10 +29529,10 @@ function config (name) {
29593
29529
  }
29594
29530
  })(this);
29595
29531
 
29596
- },{}],189:[function(require,module,exports){
29532
+ },{}],188:[function(require,module,exports){
29597
29533
  module.exports = require('crypto').createHash
29598
29534
 
29599
- },{"crypto":71}],190:[function(require,module,exports){
29535
+ },{"crypto":71}],189:[function(require,module,exports){
29600
29536
  "use strict";
29601
29537
  Object.defineProperty(exports, "__esModule", { value: true });
29602
29538
  exports.newAmount = void 0;
@@ -29613,7 +29549,7 @@ function newAmount(amount, unitOrUndefined) {
29613
29549
  }
29614
29550
  exports.newAmount = newAmount;
29615
29551
 
29616
- },{"../types/amount":198,"../utils/amount":199}],191:[function(require,module,exports){
29552
+ },{"../types/amount":197,"../utils/amount":198}],190:[function(require,module,exports){
29617
29553
  "use strict";
29618
29554
  Object.defineProperty(exports, "__esModule", { value: true });
29619
29555
  exports.newExtendedPublicKey = exports.newPublicKey = exports.newExtendedSecretKey = exports.newSecretKey = void 0;
@@ -29638,7 +29574,7 @@ function newExtendedPublicKey(value, format) {
29638
29574
  }
29639
29575
  exports.newExtendedPublicKey = newExtendedPublicKey;
29640
29576
 
29641
- },{}],192:[function(require,module,exports){
29577
+ },{}],191:[function(require,module,exports){
29642
29578
  "use strict";
29643
29579
  Object.defineProperty(exports, "__esModule", { value: true });
29644
29580
  exports.newSignature = void 0;
@@ -29648,7 +29584,7 @@ function newSignature(value, format) {
29648
29584
  }
29649
29585
  exports.newSignature = newSignature;
29650
29586
 
29651
- },{}],193:[function(require,module,exports){
29587
+ },{}],192:[function(require,module,exports){
29652
29588
  "use strict";
29653
29589
  var __assign = (this && this.__assign) || function () {
29654
29590
  __assign = Object.assign || function(t) {
@@ -29672,7 +29608,7 @@ function newSignedTransaction(transaction) {
29672
29608
  }
29673
29609
  exports.newSignedTransaction = newSignedTransaction;
29674
29610
 
29675
- },{}],194:[function(require,module,exports){
29611
+ },{}],193:[function(require,module,exports){
29676
29612
  "use strict";
29677
29613
  var __assign = (this && this.__assign) || function () {
29678
29614
  __assign = Object.assign || function(t) {
@@ -29704,7 +29640,7 @@ function newErrorUIAlert(alert) {
29704
29640
  }
29705
29641
  exports.newErrorUIAlert = newErrorUIAlert;
29706
29642
 
29707
- },{}],195:[function(require,module,exports){
29643
+ },{}],194:[function(require,module,exports){
29708
29644
  "use strict";
29709
29645
  Object.defineProperty(exports, "__esModule", { value: true });
29710
29646
  exports.newPlainUIText = void 0;
@@ -29713,7 +29649,7 @@ function newPlainUIText(text) {
29713
29649
  }
29714
29650
  exports.newPlainUIText = newPlainUIText;
29715
29651
 
29716
- },{}],196:[function(require,module,exports){
29652
+ },{}],195:[function(require,module,exports){
29717
29653
  "use strict";
29718
29654
  Object.defineProperty(exports, "__esModule", { value: true });
29719
29655
  exports.normalizeToUndefined = 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 = exports.isOnlineProtocol = exports.isOfflineProtocol = 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;
@@ -29770,7 +29706,7 @@ Object.defineProperty(exports, "isSubProtocol", { enumerable: true, get: functio
29770
29706
  Object.defineProperty(exports, "isTransactionStatusChecker", { enumerable: true, get: function () { return protocol_1.isTransactionStatusChecker; } });
29771
29707
  Object.defineProperty(exports, "protocolNetworkIdentifier", { enumerable: true, get: function () { return protocol_1.protocolNetworkIdentifier; } });
29772
29708
 
29773
- },{"./factories/amount":190,"./factories/key":191,"./factories/signature":192,"./factories/transaction":193,"./factories/ui/alert":194,"./factories/ui/text":195,"./module/module-network-registry":197,"./utils/amount":199,"./utils/interface":200,"./utils/key":201,"./utils/module":202,"./utils/normalize":203,"./utils/protocol":204}],197:[function(require,module,exports){
29709
+ },{"./factories/amount":189,"./factories/key":190,"./factories/signature":191,"./factories/transaction":192,"./factories/ui/alert":193,"./factories/ui/text":194,"./module/module-network-registry":196,"./utils/amount":198,"./utils/interface":199,"./utils/key":200,"./utils/module":201,"./utils/normalize":202,"./utils/protocol":203}],196:[function(require,module,exports){
29774
29710
  "use strict";
29775
29711
  Object.defineProperty(exports, "__esModule", { value: true });
29776
29712
  exports.ModuleNetworkRegistry = void 0;
@@ -29793,7 +29729,7 @@ var ModuleNetworkRegistry = /** @class */ (function () {
29793
29729
  }());
29794
29730
  exports.ModuleNetworkRegistry = ModuleNetworkRegistry;
29795
29731
 
29796
- },{"../utils/protocol":204}],198:[function(require,module,exports){
29732
+ },{"../utils/protocol":203}],197:[function(require,module,exports){
29797
29733
  "use strict";
29798
29734
  var __importDefault = (this && this.__importDefault) || function (mod) {
29799
29735
  return (mod && mod.__esModule) ? mod : { "default": mod };
@@ -29836,7 +29772,7 @@ var AmountEnhanced = /** @class */ (function () {
29836
29772
  }());
29837
29773
  exports.AmountEnhanced = AmountEnhanced;
29838
29774
 
29839
- },{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":188}],199:[function(require,module,exports){
29775
+ },{"@airgap/coinlib-core/dependencies/src/bignumber.js-9.0.0/bignumber":187}],198:[function(require,module,exports){
29840
29776
  "use strict";
29841
29777
  Object.defineProperty(exports, "__esModule", { value: true });
29842
29778
  exports.isAmount = void 0;
@@ -29850,7 +29786,7 @@ function isAmount(object) {
29850
29786
  }
29851
29787
  exports.isAmount = isAmount;
29852
29788
 
29853
- },{"./interface":200}],200:[function(require,module,exports){
29789
+ },{"./interface":199}],199:[function(require,module,exports){
29854
29790
  "use strict";
29855
29791
  Object.defineProperty(exports, "__esModule", { value: true });
29856
29792
  exports.implementsInterface = void 0;
@@ -29862,7 +29798,7 @@ function implementsInterface(object, schema) {
29862
29798
  }
29863
29799
  exports.implementsInterface = implementsInterface;
29864
29800
 
29865
- },{}],201:[function(require,module,exports){
29801
+ },{}],200:[function(require,module,exports){
29866
29802
  "use strict";
29867
29803
  Object.defineProperty(exports, "__esModule", { value: true });
29868
29804
  exports.isExtendedPublicKey = exports.isPublicKey = exports.isExtendedSecretKey = exports.isSecretKey = exports.isAnyKey = void 0;
@@ -29889,7 +29825,7 @@ function isExtendedPublicKey(object) {
29889
29825
  }
29890
29826
  exports.isExtendedPublicKey = isExtendedPublicKey;
29891
29827
 
29892
- },{"./interface":200}],202:[function(require,module,exports){
29828
+ },{"./interface":199}],201:[function(require,module,exports){
29893
29829
  "use strict";
29894
29830
  Object.defineProperty(exports, "__esModule", { value: true });
29895
29831
  exports.createSupportedProtocols = void 0;
@@ -29919,7 +29855,7 @@ function createOnlineProtocolConfiguration(networks) {
29919
29855
  };
29920
29856
  }
29921
29857
 
29922
- },{}],203:[function(require,module,exports){
29858
+ },{}],202:[function(require,module,exports){
29923
29859
  "use strict";
29924
29860
  Object.defineProperty(exports, "__esModule", { value: true });
29925
29861
  exports.normalizeToUndefined = void 0;
@@ -29928,7 +29864,7 @@ function normalizeToUndefined(value) {
29928
29864
  }
29929
29865
  exports.normalizeToUndefined = normalizeToUndefined;
29930
29866
 
29931
- },{}],204:[function(require,module,exports){
29867
+ },{}],203:[function(require,module,exports){
29932
29868
  "use strict";
29933
29869
  var __assign = (this && this.__assign) || function () {
29934
29870
  __assign = Object.assign || function(t) {
@@ -30097,5 +30033,5 @@ function protocolNetworkIdentifier(network) {
30097
30033
  }
30098
30034
  exports.protocolNetworkIdentifier = protocolNetworkIdentifier;
30099
30035
 
30100
- },{"./interface":200,"@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index":189}]},{},[196])(196)
30036
+ },{"./interface":199,"@airgap/coinlib-core/dependencies/src/create-hash-1.2.0/index":188}]},{},[195])(195)
30101
30037
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/module-kit",
3
- "version": "0.13.9-beta.0",
3
+ "version": "0.13.9-beta.2",
4
4
  "description": "TODO",
5
5
  "keywords": [
6
6
  "airgap",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "author": "Papers GmbH <contact@papers.ch> (https://papers.ch)",
32
32
  "peerDependencies": {
33
- "@airgap/coinlib-core": "^0.13.9-beta.0"
33
+ "@airgap/coinlib-core": "^0.13.9-beta.2"
34
34
  },
35
35
  "nyc": {
36
36
  "include": [