@airgap/coreum 0.13.12-beta.0 → 0.13.12-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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@airgap/coreum",
3
- "version": "0.13.12-beta.0",
3
+ "version": "0.13.12-beta.1",
4
4
  "description": "The @airgap/coreum is a Coreum implementation of the ICoinProtocol interface from @airgap/coinlib-core.",
5
5
  "keywords": [
6
6
  "airgap",
@@ -37,7 +37,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.CoreumBlockExplorer = void 0;
40
- var BLOCK_EXPLORER_URL = 'https://explorer.mainnet-1.coreum.dev/';
40
+ var BLOCK_EXPLORER_URL = 'https://explorer.mainnet-1.coreum.dev';
41
41
  var CoreumBlockExplorer = /** @class */ (function () {
42
42
  function CoreumBlockExplorer(url) {
43
43
  if (url === void 0) { url = BLOCK_EXPLORER_URL; }
@@ -1 +1 @@
1
- {"version":3,"file":"CoreumExplorer.js","sourceRoot":"","sources":["../../../src/v1/block-explorer/CoreumExplorer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAM,kBAAkB,GAAW,wCAAwC,CAAA;AAE3E;IAME,6BAAoC,GAAgC;QAAhC,oBAAA,EAAA,wBAAgC;QAAhC,QAAG,GAAH,GAAG,CAA6B;QALnD,aAAQ,GAA0B;YACjD,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAA;IAEsE,CAAC;IAE3D,yCAAW,GAAxB;;;gBACE,sBAAO,IAAI,CAAC,QAAQ,EAAA;;;KACrB;IAEY,8CAAgB,GAA7B,UAA8B,OAAe;;;gBAC3C,sBAAO,UAAG,IAAI,CAAC,GAAG,uBAAa,OAAO,CAAE,EAAA;;;KACzC;IAEY,kDAAoB,GAAjC,UAAkC,aAAqB;;;gBACrD,sBAAO,UAAG,IAAI,CAAC,GAAG,2BAAiB,aAAa,CAAE,EAAA;;;KACnD;IACH,0BAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBY,kDAAmB"}
1
+ {"version":3,"file":"CoreumExplorer.js","sourceRoot":"","sources":["../../../src/v1/block-explorer/CoreumExplorer.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAM,kBAAkB,GAAW,uCAAuC,CAAA;AAE1E;IAME,6BAAoC,GAAgC;QAAhC,oBAAA,EAAA,wBAAgC;QAAhC,QAAG,GAAH,GAAG,CAA6B;QALnD,aAAQ,GAA0B;YACjD,IAAI,EAAE,iBAAiB;YACvB,GAAG,EAAE,IAAI,CAAC,GAAG;SACd,CAAA;IAEsE,CAAC;IAE3D,yCAAW,GAAxB;;;gBACE,sBAAO,IAAI,CAAC,QAAQ,EAAA;;;KACrB;IAEY,8CAAgB,GAA7B,UAA8B,OAAe;;;gBAC3C,sBAAO,UAAG,IAAI,CAAC,GAAG,uBAAa,OAAO,CAAE,EAAA;;;KACzC;IAEY,kDAAoB,GAAjC,UAAkC,aAAqB;;;gBACrD,sBAAO,UAAG,IAAI,CAAC,GAAG,2BAAiB,aAAa,CAAE,EAAA;;;KACnD;IACH,0BAAC;AAAD,CAAC,AAnBD,IAmBC;AAnBY,kDAAmB"}
@@ -67,7 +67,7 @@ var CoreumModule = /** @class */ (function () {
67
67
  return __generator(this, function (_b) {
68
68
  network = (_a = this.networkRegistries[identifier]) === null || _a === void 0 ? void 0 : _a.findNetwork(networkId);
69
69
  if (network === undefined) {
70
- throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.COSMOS, 'Protocol network type not supported.');
70
+ throw new errors_1.ConditionViolationError(coinlib_core_1.Domain.COREUM, 'Protocol network type not supported.');
71
71
  }
72
72
  return [2 /*return*/, this.createProtocol(identifier, network)];
73
73
  });