@rarible/sdk-common
Advanced tools
Comparing version
@@ -5,2 +5,3 @@ import { BlockchainGroup } from "@rarible/api-client"; | ||
export declare const COMMON_INFO_MESSAGES: string[]; | ||
export declare const OUT_OF_GAS_ERROR = "returned values aren't valid, did it run out of gas"; | ||
export declare function isCancelCode(code?: unknown): boolean; | ||
@@ -7,0 +8,0 @@ export declare function isCancelMessage(msg: unknown, isLowerCase?: boolean): boolean; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getBlockchainByConnectorId = exports.isFlowWarning = exports.FLOW_WARN_MESSAGES = exports.isSolanaWarning = exports.isTezosWarning = exports.isEVMWarning = exports.isInfoLevel = exports.isCancelMessage = exports.isCancelCode = exports.COMMON_INFO_MESSAGES = exports.CANCEL_MESSAGES = exports.INVALID_TX_PARAMS_EIP_1559_ERROR = void 0; | ||
exports.getBlockchainByConnectorId = exports.isFlowWarning = exports.FLOW_WARN_MESSAGES = exports.isSolanaWarning = exports.isTezosWarning = exports.isEVMWarning = exports.isInfoLevel = exports.isCancelMessage = exports.isCancelCode = exports.OUT_OF_GAS_ERROR = exports.COMMON_INFO_MESSAGES = exports.CANCEL_MESSAGES = exports.INVALID_TX_PARAMS_EIP_1559_ERROR = void 0; | ||
const api_client_1 = require("@rarible/api-client"); | ||
@@ -143,2 +143,3 @@ exports.INVALID_TX_PARAMS_EIP_1559_ERROR = "Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559"; | ||
].map((msg) => msg.toLowerCase()); | ||
exports.OUT_OF_GAS_ERROR = "returned values aren't valid, did it run out of gas"; | ||
const shortCancelMessages = ["cancel", "canceled", "cancelled", "rejected"]; | ||
@@ -145,0 +146,0 @@ function isCancelCode(code) { |
{ | ||
"name": "@rarible/sdk-common", | ||
"version": "0.13.68-fix.7", | ||
"version": "0.13.68-fix.8", | ||
"homepage": "", | ||
@@ -34,3 +34,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "0b705b07b75f61c6a5170903f1166b133b025b1e" | ||
"gitHead": "37e04773cb8b865ed151befd99c41bc8f8b13e46" | ||
} |
31789
0.65%710
0.28%