@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.35 to 1.14.36-beta.0
@@ -1,2 +0,2 @@ | ||
import * as grpc from '@injectivelabs/grpc-web'; | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
import { StatusCodes } from 'http-status-codes'; | ||
@@ -402,5 +402,5 @@ export declare enum TransactionChainErrorModule { | ||
export declare const UnspecifiedErrorCode = -1; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = Code.Unavailable; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | typeof UnspecifiedErrorCode; | ||
//# sourceMappingURL=codes.d.ts.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GRPC_REQUEST_FAILED = exports.UnspecifiedErrorCode = exports.ChainWasmErrorCodes = exports.ChainBankErrorCodes = exports.ChainDistributionErrorCodes = exports.ChainGovErrorCodes = exports.ChainStakingErrorCodes = exports.ChainWasmXErrorCodes = exports.ChainTokenFactoryErrorCodes = exports.ChainPeggyErrorCodes = exports.ChainOracleErrorCodes = exports.ChainOcrErrorCodes = exports.ChainInsuranceErrorCodes = exports.ChainAuthZErrorCodes = exports.ChainAuctionErrorCodes = exports.ChainExchangeModuleErrorCode = exports.ChainCosmosErrorCode = exports.TransactionChainErrorModule = void 0; | ||
const grpc = __importStar(require("@injectivelabs/grpc-web")); | ||
// @ts-ignore | ||
const $grpc = (grpc.default || grpc); | ||
const grpc_web_1 = require("@injectivelabs/grpc-web"); | ||
var TransactionChainErrorModule; | ||
@@ -793,3 +768,3 @@ (function (TransactionChainErrorModule) { | ||
exports.UnspecifiedErrorCode = -1; | ||
exports.GRPC_REQUEST_FAILED = $grpc.grpc.Code.Unavailable; | ||
exports.GRPC_REQUEST_FAILED = grpc_web_1.grpc.Code.Unavailable; | ||
//# sourceMappingURL=codes.js.map |
@@ -1,2 +0,2 @@ | ||
import * as grpc from '@injectivelabs/grpc-web'; | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
import { StatusCodes } from 'http-status-codes'; | ||
@@ -402,5 +402,5 @@ export declare enum TransactionChainErrorModule { | ||
export declare const UnspecifiedErrorCode = -1; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = Code.Unavailable; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
export type ErrorContextCode = ChainAuctionErrorCodes | ChainAuthZErrorCodes | ChainCosmosErrorCode | ChainExchangeModuleErrorCode | ChainInsuranceErrorCodes | ChainOcrErrorCodes | ChainOracleErrorCodes | ChainPeggyErrorCodes | ChainTokenFactoryErrorCodes | ChainWasmXErrorCodes | ChainDistributionErrorCodes | ChainBankErrorCodes | ChainGovErrorCodes | ChainStakingErrorCodes | ChainWasmErrorCodes | ErrorCode | typeof UnspecifiedErrorCode; | ||
//# sourceMappingURL=codes.d.ts.map |
@@ -1,4 +0,2 @@ | ||
import * as grpc from '@injectivelabs/grpc-web'; | ||
// @ts-ignore | ||
const $grpc = (grpc.default || grpc); | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
export var TransactionChainErrorModule; | ||
@@ -767,3 +765,3 @@ (function (TransactionChainErrorModule) { | ||
export const UnspecifiedErrorCode = -1; | ||
export const GRPC_REQUEST_FAILED = $grpc.grpc.Code.Unavailable; | ||
export const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
//# sourceMappingURL=codes.js.map |
{ | ||
"name": "@injectivelabs/exceptions", | ||
"description": "List of exceptions that can be reused throughout Injective's projects.", | ||
"version": "1.14.35", | ||
"version": "1.14.36-beta.0", | ||
"sideEffects": false, | ||
@@ -63,3 +63,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "594923fbaaf5a45f3f9fc85824f37d9597d705fc" | ||
"gitHead": "2f928d90e7a597b9a1323e6703cab5582ae98a3d" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
265
17
1
66
632924
7862
2
11