@airgap/groestlcoin 0.13.12-beta.2 → 0.13.13-beta.0

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/index.d.ts CHANGED
@@ -1 +1 @@
1
- export * from './v0';
1
+ export * from './v1';
package/index.js CHANGED
@@ -14,5 +14,5 @@ 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
- __exportStar(require("./v0"), exports);
17
+ __exportStar(require("./v1"), exports);
18
18
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/groestlcoin",
3
- "version": "0.13.12-beta.2",
3
+ "version": "0.13.13-beta.0",
4
4
  "description": "The @airgap/groestlcoin is a Groestlcoin implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
5
5
  "keywords": [
6
6
  "airgap",
@@ -30,10 +30,10 @@
30
30
  },
31
31
  "author": "Papers AG <contact@papers.ch> (https://papers.ch)",
32
32
  "dependencies": {
33
- "@airgap/bitcoin": "*",
34
- "@airgap/coinlib-core": "*",
35
- "@airgap/module-kit": "*",
36
- "@airgap/serializer": "*"
33
+ "@airgap/bitcoin": "^0.13.13-beta.0",
34
+ "@airgap/coinlib-core": "^0.13.13-beta.0",
35
+ "@airgap/module-kit": "^0.13.13-beta.0",
36
+ "@airgap/serializer": "^0.13.13-beta.0"
37
37
  },
38
38
  "localDependencies": {
39
39
  "groestlcoinjs-message": "2.1.0"
@@ -1,4 +1,4 @@
1
- import { BitcoinCryptoClient, BitcoinProtocol } from '@airgap/bitcoin';
1
+ import { BitcoinCryptoClient, BitcoinProtocol } from '@airgap/bitcoin/v0';
2
2
  import { FeeDefaults } from '@airgap/coinlib-core';
3
3
  import { CurrencyUnit } from '@airgap/coinlib-core/protocols/ICoinProtocol';
4
4
  import { ProtocolSymbols } from '@airgap/coinlib-core/utils/ProtocolSymbols';
@@ -39,7 +39,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
39
39
  };
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.GroestlcoinProtocol = void 0;
42
- var bitcoin_1 = require("@airgap/bitcoin");
42
+ var v0_1 = require("@airgap/bitcoin/v0");
43
43
  // @ts-ignore
44
44
  var groestlcoinJSMessage = __importStar(require("@airgap/coinlib-core/dependencies/src/groestlcoinjs-message-2.1.0/index"));
45
45
  var ProtocolSymbols_1 = require("@airgap/coinlib-core/utils/ProtocolSymbols");
@@ -80,10 +80,10 @@ var GroestlcoinProtocol = /** @class */ (function (_super) {
80
80
  _this.standardDerivationPath = "m/44'/17'/0'";
81
81
  _this.addressValidationPattern = '^([F3][a-km-zA-HJ-NP-Z1-9]{33}|grs1[a-zA-HJ-NP-Z0-9]{39})$';
82
82
  _this.addressPlaceholder = 'Fdb...';
83
- _this.cryptoClient = new bitcoin_1.BitcoinCryptoClient(_this, groestlcoinJSMessage);
83
+ _this.cryptoClient = new v0_1.BitcoinCryptoClient(_this, groestlcoinJSMessage);
84
84
  return _this;
85
85
  }
86
86
  return GroestlcoinProtocol;
87
- }(bitcoin_1.BitcoinProtocol));
87
+ }(v0_1.BitcoinProtocol));
88
88
  exports.GroestlcoinProtocol = GroestlcoinProtocol;
89
89
  //# sourceMappingURL=GroestlcoinProtocol.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GroestlcoinProtocol.js","sourceRoot":"","sources":["../../../src/v0/protocol/GroestlcoinProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAsE;AAEtE,aAAa;AACb,4HAA+G;AAE/G,8EAAiG;AAEjG,2EAAyE;AAEzE;IAAyC,uCAAe;IAsCtD,6BAA4B,OAAsE;QAAtE,wBAAA,EAAA,cAA0C,uDAA0B,EAAE;QAAlG,Y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ACE,kBAAM,OAAO,CAAC,SAEf;QAH2B,aAAO,GAAP,OAAO,CAA+D;QArC3F,YAAM,GAAW,KAAK,CAAA;QACtB,UAAI,GAAW,aAAa,CAAA;QAC5B,kBAAY,GAAW,KAAK,CAAA;QAE5B,eAAS,GAAW,KAAK,CAAA;QAEzB,iBAAW,GAAgB;YAChC,GAAG,EAAE,SAAS;YACd,MAAM,EAAE,SAAS;YACjB,IAAI,EAAE,SAAS;SAChB,CAAA;QACM,cAAQ,GAAW,CAAC,CAAA;QACpB,iBAAW,GAAW,CAAC,CAAA;QACvB,gBAAU,GAAoB,qCAAmB,CAAC,GAAG,CAAA;QACrD,WAAK,GAAmB;YAC7B;gBACE,UAAU,EAAE,KAAK;gBACjB,MAAM,EAAE,GAAG;aACZ;YACD;gBACE,UAAU,EAAE,MAAM;gBAClB,MAAM,EAAE,QAAQ;aACjB;YACD;gBACE,UAAU,EAAE,SAAS;gBACrB,MAAM,EAAE,YAAY;aACrB;SACF,CAAA;QAEM,gBAAU,GAAY,IAAI,CAAA;QAE1B,4BAAsB,GAAW,cAAc,CAAA;QAC/C,8BAAwB,GAAW,4DAA4D,CAAA;QAC/F,wBAAkB,GAAW,QAAQ,CAAA;QAM1C,KAAI,CAAC,YAAY,GAAG,IAAI,wBAAmB,CAAC,KAAI,EAAE,oBAAoB,CAAC,CAAA;;IACzE,CAAC;IACH,0BAAC;AAAD,CAAC,AA1CD,CAAyC,oBAAe,GA0CvD;AA1CY,kDAAmB"}
@@ -1,4 +1,4 @@
1
- import { BitcoinProtocol } from '@airgap/bitcoin';
1
+ import { BitcoinProtocol } from '@airgap/bitcoin/v0';
2
2
  export declare class GroestlcoinTestnetProtocol extends BitcoinProtocol {
3
3
  constructor();
4
4
  }
@@ -39,7 +39,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
39
39
  };
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.GroestlcoinTestnetProtocol = void 0;
42
- var bitcoin_1 = require("@airgap/bitcoin");
42
+ var v0_1 = require("@airgap/bitcoin/v0");
43
43
  // @ts-ignore
44
44
  var bitGoUTXO = __importStar(require("@airgap/coinlib-core/dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index"));
45
45
  var ProtocolNetwork_1 = require("@airgap/coinlib-core/utils/ProtocolNetwork");
@@ -51,6 +51,6 @@ var GroestlcoinTestnetProtocol = /** @class */ (function (_super) {
51
51
  return _super.call(this, new GroestlcoinProtocolOptions_1.GroestlcoinProtocolOptions(new GroestlcoinProtocolOptions_1.GroestlcoinProtocolNetwork('Testnet', ProtocolNetwork_1.NetworkType.TESTNET, '', new GroestlcoinProtocolOptions_1.CryptoidBlockExplorer('https://chainz.cryptoid.info/grs-test'), new GroestlcoinProtocolOptions_1.GroestlcoinProtocolNetworkExtras('https://blockbook-test.groestlcoin.org/', bitGoUTXO.networks.groestlcoin)), new GroestlcoinProtocolOptions_1.GroestlcoinProtocolConfig())) || this;
52
52
  }
53
53
  return GroestlcoinTestnetProtocol;
54
- }(bitcoin_1.BitcoinProtocol));
54
+ }(v0_1.BitcoinProtocol));
55
55
  exports.GroestlcoinTestnetProtocol = GroestlcoinTestnetProtocol;
56
56
  //# sourceMappingURL=GroestlcoinTestnetProtocol.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GroestlcoinTestnetProtocol.js","sourceRoot":"","sources":["../../../src/v0/protocol/GroestlcoinTestnetProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAAiD;AACjD,aAAa;AACb,iJAAoI;AACpI,8EAAwE;AAExE,2EAMqC;AAErC;IAAgD,8CAAe;IAC7D;QACE,4GAA4G;eAC5G,kBACE,IAAI,uDAA0B,CAC5B,IAAI,uDAA0B,CAC5B,SAAS,EACT,6BAAW,CAAC,OAAO,EACnB,EAAE,EACF,IAAI,kDAAqB,CAAC,uCAAuC,CAAC,EAClE,IAAI,6DAAgC,CAAC,yCAAyC,EAAE,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAChH,EACD,IAAI,sDAAyB,EAAE,CAChC,CACF;IACH,CAAC;IACH,iCAAC;AAAD,CAAC,AAhBD,CAAgD,yBAAe,GAgB9D;AAhBY,gEAA0B"}
1
+ {"version":3,"file":"GroestlcoinTestnetProtocol.js","sourceRoot":"","sources":["../../../src/v0/protocol/GroestlcoinTestnetProtocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAAoD;AACpD,aAAa;AACb,iJAAoI;AACpI,8EAAwE;AAExE,2EAMqC;AAErC;IAAgD,8CAAe;IAC7D;QACE,4GAA4G;eAC5G,kBACE,IAAI,uDAA0B,CAC5B,IAAI,uDAA0B,CAC5B,SAAS,EACT,6BAAW,CAAC,OAAO,EACnB,EAAE,EACF,IAAI,kDAAqB,CAAC,uCAAuC,CAAC,EAClE,IAAI,6DAAgC,CAAC,yCAAyC,EAAE,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAChH,EACD,IAAI,sDAAyB,EAAE,CAChC,CACF;IACH,CAAC;IACH,iCAAC;AAAD,CAAC,AAhBD,CAAgD,oBAAe,GAgB9D;AAhBY,gEAA0B"}