@injectivelabs/exceptions
Advanced tools
Comparing version 1.14.20 to 1.14.21
@@ -1,2 +0,2 @@ | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
import * as 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.Code; | ||
export declare const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = 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_web_1 = require("@injectivelabs/grpc-web"); | ||
const grpc = __importStar(require("@injectivelabs/grpc-web")); | ||
var TransactionChainErrorModule; | ||
@@ -768,3 +791,3 @@ (function (TransactionChainErrorModule) { | ||
exports.UnspecifiedErrorCode = -1; | ||
exports.GRPC_REQUEST_FAILED = grpc_web_1.grpc.Code.Unavailable; | ||
exports.GRPC_REQUEST_FAILED = grpc.grpc.Code.Unavailable; | ||
//# sourceMappingURL=codes.js.map |
@@ -1,2 +0,2 @@ | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
import * as 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.Code; | ||
export declare const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
export type ErrorCode = StatusCodes | typeof UnspecifiedErrorCode | grpc.grpc.Code; | ||
export declare const GRPC_REQUEST_FAILED = 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,2 +0,2 @@ | ||
import { grpc } from '@injectivelabs/grpc-web'; | ||
import * as grpc from '@injectivelabs/grpc-web'; | ||
export var TransactionChainErrorModule; | ||
@@ -765,3 +765,3 @@ (function (TransactionChainErrorModule) { | ||
export const UnspecifiedErrorCode = -1; | ||
export const GRPC_REQUEST_FAILED = grpc.Code.Unavailable; | ||
export const GRPC_REQUEST_FAILED = grpc.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.20", | ||
"version": "1.14.21", | ||
"sideEffects": false, | ||
@@ -63,3 +63,3 @@ "license": "Apache-2.0", | ||
}, | ||
"gitHead": "6d065d9c8b1aaa4cd813b8a01d74808aa3e917fa" | ||
"gitHead": "ff8061fc7f92032511e60fd9fefe0fce278c8528" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
633520
7880