@injectivelabs/exceptions 1.16.11 → 1.16.13-alpha.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.
Files changed (86) hide show
  1. package/dist/cjs/exceptions/base.d.ts +2 -1
  2. package/dist/cjs/exceptions/base.js +1 -2
  3. package/dist/cjs/exceptions/exceptions/BitGetException.d.ts +1 -1
  4. package/dist/cjs/exceptions/exceptions/BitGetException.js +1 -1
  5. package/dist/cjs/exceptions/exceptions/CosmosWalletException.d.ts +1 -1
  6. package/dist/cjs/exceptions/exceptions/CosmosWalletException.js +1 -1
  7. package/dist/cjs/exceptions/exceptions/GrpcUnaryRequestException.d.ts +1 -1
  8. package/dist/cjs/exceptions/exceptions/HttpRequestException.d.ts +2 -1
  9. package/dist/cjs/exceptions/exceptions/LedgerCosmosException.d.ts +1 -1
  10. package/dist/cjs/exceptions/exceptions/LedgerCosmosException.js +1 -1
  11. package/dist/cjs/exceptions/exceptions/LedgerException.d.ts +1 -1
  12. package/dist/cjs/exceptions/exceptions/LedgerException.js +1 -1
  13. package/dist/cjs/exceptions/exceptions/MetamaskException.d.ts +1 -1
  14. package/dist/cjs/exceptions/exceptions/MetamaskException.js +1 -1
  15. package/dist/cjs/exceptions/exceptions/OkxWalletException.d.ts +1 -1
  16. package/dist/cjs/exceptions/exceptions/OkxWalletException.js +1 -1
  17. package/dist/cjs/exceptions/exceptions/RabbyWalletException.d.ts +1 -1
  18. package/dist/cjs/exceptions/exceptions/RabbyWalletException.js +1 -1
  19. package/dist/cjs/exceptions/exceptions/RainbowWalletException.d.ts +1 -1
  20. package/dist/cjs/exceptions/exceptions/RainbowWalletException.js +1 -1
  21. package/dist/cjs/exceptions/exceptions/TransactionException.d.ts +1 -1
  22. package/dist/cjs/exceptions/exceptions/TransactionException.js +1 -1
  23. package/dist/cjs/exceptions/exceptions/TrezorException.d.ts +1 -1
  24. package/dist/cjs/exceptions/exceptions/TrezorException.js +1 -1
  25. package/dist/cjs/exceptions/exceptions/TrustWalletException.d.ts +1 -1
  26. package/dist/cjs/exceptions/exceptions/TrustWalletException.js +1 -1
  27. package/dist/cjs/exceptions/exceptions/Web3Exception.d.ts +1 -1
  28. package/dist/cjs/exceptions/exceptions/Web3Exception.js +1 -1
  29. package/dist/cjs/exceptions/exceptions/index.d.ts +3 -3
  30. package/dist/cjs/exceptions/exceptions/index.js +6 -6
  31. package/dist/cjs/exceptions/messages.d.ts +2 -1
  32. package/dist/cjs/exceptions/types/codes.d.ts +437 -420
  33. package/dist/cjs/exceptions/types/codes.js +418 -435
  34. package/dist/cjs/exceptions/types/context.d.ts +21 -19
  35. package/dist/cjs/exceptions/types/context.js +18 -20
  36. package/dist/cjs/exceptions/types/modules.d.ts +64 -60
  37. package/dist/cjs/exceptions/types/modules.js +60 -64
  38. package/dist/cjs/exceptions/utils/maps.d.ts +1 -1
  39. package/dist/cjs/index.d.ts +1 -1
  40. package/dist/cjs/index.js +0 -1
  41. package/dist/cjs/types.d.ts +1 -1
  42. package/dist/cjs/utils.d.ts +2 -2
  43. package/dist/esm/exceptions/base.d.ts +2 -1
  44. package/dist/esm/exceptions/base.js +2 -3
  45. package/dist/esm/exceptions/exceptions/BitGetException.d.ts +1 -1
  46. package/dist/esm/exceptions/exceptions/BitGetException.js +1 -1
  47. package/dist/esm/exceptions/exceptions/CosmosWalletException.d.ts +1 -1
  48. package/dist/esm/exceptions/exceptions/CosmosWalletException.js +1 -1
  49. package/dist/esm/exceptions/exceptions/GrpcUnaryRequestException.d.ts +1 -1
  50. package/dist/esm/exceptions/exceptions/HttpRequestException.d.ts +2 -1
  51. package/dist/esm/exceptions/exceptions/LedgerCosmosException.d.ts +1 -1
  52. package/dist/esm/exceptions/exceptions/LedgerCosmosException.js +1 -1
  53. package/dist/esm/exceptions/exceptions/LedgerException.d.ts +1 -1
  54. package/dist/esm/exceptions/exceptions/LedgerException.js +1 -1
  55. package/dist/esm/exceptions/exceptions/MetamaskException.d.ts +1 -1
  56. package/dist/esm/exceptions/exceptions/MetamaskException.js +1 -1
  57. package/dist/esm/exceptions/exceptions/OkxWalletException.d.ts +1 -1
  58. package/dist/esm/exceptions/exceptions/OkxWalletException.js +1 -1
  59. package/dist/esm/exceptions/exceptions/RabbyWalletException.d.ts +1 -1
  60. package/dist/esm/exceptions/exceptions/RabbyWalletException.js +1 -1
  61. package/dist/esm/exceptions/exceptions/RainbowWalletException.d.ts +1 -1
  62. package/dist/esm/exceptions/exceptions/RainbowWalletException.js +1 -1
  63. package/dist/esm/exceptions/exceptions/TransactionException.d.ts +1 -1
  64. package/dist/esm/exceptions/exceptions/TransactionException.js +1 -1
  65. package/dist/esm/exceptions/exceptions/TrezorException.d.ts +1 -1
  66. package/dist/esm/exceptions/exceptions/TrezorException.js +1 -1
  67. package/dist/esm/exceptions/exceptions/TrustWalletException.d.ts +1 -1
  68. package/dist/esm/exceptions/exceptions/TrustWalletException.js +1 -1
  69. package/dist/esm/exceptions/exceptions/Web3Exception.d.ts +1 -1
  70. package/dist/esm/exceptions/exceptions/Web3Exception.js +1 -1
  71. package/dist/esm/exceptions/exceptions/index.d.ts +3 -3
  72. package/dist/esm/exceptions/exceptions/index.js +3 -3
  73. package/dist/esm/exceptions/messages.d.ts +2 -1
  74. package/dist/esm/exceptions/types/codes.d.ts +437 -420
  75. package/dist/esm/exceptions/types/codes.js +417 -434
  76. package/dist/esm/exceptions/types/context.d.ts +21 -19
  77. package/dist/esm/exceptions/types/context.js +18 -20
  78. package/dist/esm/exceptions/types/modules.d.ts +64 -60
  79. package/dist/esm/exceptions/types/modules.js +60 -64
  80. package/dist/esm/exceptions/utils/maps.d.ts +1 -1
  81. package/dist/esm/exceptions/utils/maps.js +1 -1
  82. package/dist/esm/index.d.ts +1 -1
  83. package/dist/esm/index.js +0 -1
  84. package/dist/esm/types.d.ts +1 -1
  85. package/dist/esm/utils.d.ts +2 -2
  86. package/package.json +2 -2
@@ -1,4 +1,5 @@
1
- import { Exception, ErrorType, ErrorContext, ErrorCode, ErrorContextCode } from './types/index.js';
1
+ import { ErrorType } from './types/index.js';
2
+ import type { Exception, ErrorContext, ErrorCode, ErrorContextCode } from './types/index.js';
2
3
  export declare abstract class ConcreteException extends Error implements Exception {
3
4
  /**
4
5
  * The type of the Error
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ConcreteException = void 0;
4
- /* eslint-disable class-methods-use-this */
5
4
  const index_js_1 = require("./types/index.js");
6
5
  /**
7
6
  * we have to define it here as
@@ -103,7 +102,7 @@ class ConcreteException extends Error {
103
102
  try {
104
103
  this.stack = stack;
105
104
  }
106
- catch (e) {
105
+ catch {
107
106
  // throw nothing here
108
107
  }
109
108
  }
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class BitGetException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BitGetException = void 0;
4
+ const index_js_1 = require("../types/index.js");
4
5
  const base_js_1 = require("../base.js");
5
6
  const maps_js_1 = require("../utils/maps.js");
6
- const index_js_1 = require("../types/index.js");
7
7
  const removeBitGetFromErrorString = (message) => message
8
8
  .replaceAll('BitGet', '')
9
9
  .replaceAll('Bitget:', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class CosmosWalletException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CosmosWalletException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  class CosmosWalletException extends base_js_1.ConcreteException {
7
7
  static errorClass = 'CosmosWalletException';
8
8
  constructor(error, context) {
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class GrpcUnaryRequestException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,5 +1,6 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext, HttpRequestMethod } from '../types/index.js';
2
+ import { HttpRequestMethod } from '../types/index.js';
3
+ import type { ErrorContext } from '../types/index.js';
3
4
  export declare class HttpRequestException extends ConcreteException {
4
5
  static errorClass: string;
5
6
  method: HttpRequestMethod;
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class LedgerCosmosException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LedgerCosmosException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  const helpers_js_1 = require("../utils/helpers.js");
7
7
  class LedgerCosmosException extends base_js_1.ConcreteException {
8
8
  static errorClass = 'LedgerCosmosException';
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class LedgerException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.LedgerException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  const helpers_js_1 = require("../utils/helpers.js");
7
7
  class LedgerException extends base_js_1.ConcreteException {
8
8
  static errorClass = 'LedgerException';
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class MetamaskException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MetamaskException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  const maps_js_1 = require("../utils/maps.js");
7
7
  const removeMetamaskFromErrorString = (message) => message
8
8
  .replaceAll('Metamask', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class OkxWalletException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OkxWalletException = void 0;
4
+ const index_js_1 = require("../types/index.js");
4
5
  const base_js_1 = require("../base.js");
5
6
  const maps_js_1 = require("../utils/maps.js");
6
- const index_js_1 = require("../types/index.js");
7
7
  const removeOkxWalletFromErrorString = (message) => message
8
8
  .replaceAll('OkxWallet', '')
9
9
  .replaceAll('OkxWallet:', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class RabbyWalletException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RabbyWalletException = void 0;
4
+ const index_js_1 = require("../types/index.js");
4
5
  const base_js_1 = require("../base.js");
5
6
  const maps_js_1 = require("../utils/maps.js");
6
- const index_js_1 = require("../types/index.js");
7
7
  const removeRabbyWalletFromErrorString = (message) => message
8
8
  .replaceAll('RabbyWallet', '')
9
9
  .replaceAll('Rabby Wallet', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class RainbowWalletException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RainbowWalletException = void 0;
4
+ const index_js_1 = require("../types/index.js");
4
5
  const base_js_1 = require("../base.js");
5
6
  const maps_js_1 = require("../utils/maps.js");
6
- const index_js_1 = require("../types/index.js");
7
7
  const removeMetamaskFromErrorString = (message) => message
8
8
  .replaceAll('Rainbow', '')
9
9
  .replaceAll('RainBow', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class TransactionException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TransactionException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  const maps_js_1 = require("../utils/maps.js");
7
7
  class TransactionException extends base_js_1.ConcreteException {
8
8
  static errorClass = 'TransactionException';
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class TrezorException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrezorException = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  class TrezorException extends base_js_1.ConcreteException {
7
7
  static errorClass = 'TrezorException';
8
8
  constructor(error, context) {
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class TrustWalletException extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TrustWalletException = void 0;
4
+ const index_js_1 = require("../types/index.js");
4
5
  const base_js_1 = require("../base.js");
5
6
  const maps_js_1 = require("../utils/maps.js");
6
- const index_js_1 = require("../types/index.js");
7
7
  const removeTrustWalletFromErrorString = (message) => message
8
8
  .replaceAll('Trust Wallet', '')
9
9
  .replaceAll('TrustWallet', '')
@@ -1,5 +1,5 @@
1
1
  import { ConcreteException } from '../base.js';
2
- import { ErrorContext } from '../types/index.js';
2
+ import type { ErrorContext } from '../types/index.js';
3
3
  export declare class Web3Exception extends ConcreteException {
4
4
  static errorClass: string;
5
5
  constructor(error: Error, context?: ErrorContext);
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Web3Exception = void 0;
4
- const base_js_1 = require("../base.js");
5
4
  const index_js_1 = require("../types/index.js");
5
+ const base_js_1 = require("../base.js");
6
6
  class Web3Exception extends base_js_1.ConcreteException {
7
7
  static errorClass = 'Web3Exception';
8
8
  constructor(error, context) {
@@ -1,16 +1,16 @@
1
1
  import { Web3Exception } from './Web3Exception.js';
2
+ import { BitGetException } from './BitGetException.js';
2
3
  import { LedgerException } from './LedgerException.js';
3
4
  import { TrezorException } from './TrezorException.js';
4
5
  import { WalletException } from './WalletException.js';
5
- import { BitGetException } from './BitGetException.js';
6
6
  import { GeneralException } from './GeneralException.js';
7
7
  import { MetamaskException } from './MetamaskException.js';
8
8
  import { OkxWalletException } from './OkxWalletException.js';
9
9
  import { HttpRequestException } from './HttpRequestException.js';
10
- import { TrustWalletException } from './TrustWalletException.js';
11
10
  import { TransactionException } from './TransactionException.js';
12
- import { LedgerCosmosException } from './LedgerCosmosException.js';
11
+ import { TrustWalletException } from './TrustWalletException.js';
13
12
  import { CosmosWalletException } from './CosmosWalletException.js';
13
+ import { LedgerCosmosException } from './LedgerCosmosException.js';
14
14
  import { RainbowWalletException } from './RainbowWalletException.js';
15
15
  import { GrpcUnaryRequestException } from './GrpcUnaryRequestException.js';
16
16
  import { TurnkeyWalletSessionException } from './TurnkeyWalletSessionException.js';
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TurnkeyWalletSessionException = exports.GrpcUnaryRequestException = exports.RainbowWalletException = exports.CosmosWalletException = exports.LedgerCosmosException = exports.HttpRequestException = exports.TrustWalletException = exports.TransactionException = exports.OkxWalletException = exports.MetamaskException = exports.GeneralException = exports.BitGetException = exports.WalletException = exports.TrezorException = exports.LedgerException = exports.Web3Exception = void 0;
4
4
  const Web3Exception_js_1 = require("./Web3Exception.js");
5
5
  Object.defineProperty(exports, "Web3Exception", { enumerable: true, get: function () { return Web3Exception_js_1.Web3Exception; } });
6
+ const BitGetException_js_1 = require("./BitGetException.js");
7
+ Object.defineProperty(exports, "BitGetException", { enumerable: true, get: function () { return BitGetException_js_1.BitGetException; } });
6
8
  const LedgerException_js_1 = require("./LedgerException.js");
7
9
  Object.defineProperty(exports, "LedgerException", { enumerable: true, get: function () { return LedgerException_js_1.LedgerException; } });
8
10
  const TrezorException_js_1 = require("./TrezorException.js");
9
11
  Object.defineProperty(exports, "TrezorException", { enumerable: true, get: function () { return TrezorException_js_1.TrezorException; } });
10
12
  const WalletException_js_1 = require("./WalletException.js");
11
13
  Object.defineProperty(exports, "WalletException", { enumerable: true, get: function () { return WalletException_js_1.WalletException; } });
12
- const BitGetException_js_1 = require("./BitGetException.js");
13
- Object.defineProperty(exports, "BitGetException", { enumerable: true, get: function () { return BitGetException_js_1.BitGetException; } });
14
14
  const GeneralException_js_1 = require("./GeneralException.js");
15
15
  Object.defineProperty(exports, "GeneralException", { enumerable: true, get: function () { return GeneralException_js_1.GeneralException; } });
16
16
  const MetamaskException_js_1 = require("./MetamaskException.js");
@@ -19,14 +19,14 @@ const OkxWalletException_js_1 = require("./OkxWalletException.js");
19
19
  Object.defineProperty(exports, "OkxWalletException", { enumerable: true, get: function () { return OkxWalletException_js_1.OkxWalletException; } });
20
20
  const HttpRequestException_js_1 = require("./HttpRequestException.js");
21
21
  Object.defineProperty(exports, "HttpRequestException", { enumerable: true, get: function () { return HttpRequestException_js_1.HttpRequestException; } });
22
- const TrustWalletException_js_1 = require("./TrustWalletException.js");
23
- Object.defineProperty(exports, "TrustWalletException", { enumerable: true, get: function () { return TrustWalletException_js_1.TrustWalletException; } });
24
22
  const TransactionException_js_1 = require("./TransactionException.js");
25
23
  Object.defineProperty(exports, "TransactionException", { enumerable: true, get: function () { return TransactionException_js_1.TransactionException; } });
26
- const LedgerCosmosException_js_1 = require("./LedgerCosmosException.js");
27
- Object.defineProperty(exports, "LedgerCosmosException", { enumerable: true, get: function () { return LedgerCosmosException_js_1.LedgerCosmosException; } });
24
+ const TrustWalletException_js_1 = require("./TrustWalletException.js");
25
+ Object.defineProperty(exports, "TrustWalletException", { enumerable: true, get: function () { return TrustWalletException_js_1.TrustWalletException; } });
28
26
  const CosmosWalletException_js_1 = require("./CosmosWalletException.js");
29
27
  Object.defineProperty(exports, "CosmosWalletException", { enumerable: true, get: function () { return CosmosWalletException_js_1.CosmosWalletException; } });
28
+ const LedgerCosmosException_js_1 = require("./LedgerCosmosException.js");
29
+ Object.defineProperty(exports, "LedgerCosmosException", { enumerable: true, get: function () { return LedgerCosmosException_js_1.LedgerCosmosException; } });
30
30
  const RainbowWalletException_js_1 = require("./RainbowWalletException.js");
31
31
  Object.defineProperty(exports, "RainbowWalletException", { enumerable: true, get: function () { return RainbowWalletException_js_1.RainbowWalletException; } });
32
32
  const GrpcUnaryRequestException_js_1 = require("./GrpcUnaryRequestException.js");
@@ -1,4 +1,5 @@
1
- import { ErrorContextCode, TransactionChainErrorModule } from './types/index.js';
1
+ import { TransactionChainErrorModule } from './types/index.js';
2
+ import type { ErrorContextCode } from './types/index.js';
2
3
  export declare const chainModuleCodeErrorMessagesMap: Record<string, Record<number, string>>;
3
4
  /**
4
5
  * **Legacy** but needed for error messages from broadcasting transactions