@rarible/sdk-common
Advanced tools
Comparing version 0.13.55 to 0.13.56
import { BlockchainGroup } from "@rarible/api-client"; | ||
export declare const INVALID_TX_PARAMS_EIP_1559_ERROR = "Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559"; | ||
export declare const CANCEL_MESSAGES: string[]; | ||
@@ -3,0 +4,0 @@ export declare const COMMON_INFO_MESSAGES: string[]; |
"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 = void 0; | ||
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; | ||
const api_client_1 = require("@rarible/api-client"); | ||
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"; | ||
const EVM_WARN_MESSAGES = [ | ||
"Invalid transaction params: params specify an EIP-1559 transaction but the current network does not support EIP-1559", | ||
exports.INVALID_TX_PARAMS_EIP_1559_ERROR, | ||
"underlying network changed", | ||
@@ -115,2 +116,28 @@ "Balance not enough to cover gas fee. Please deposit at least", | ||
"Connection request reset. Please try again", | ||
"The tab is not active", | ||
"An internal error has occurred", | ||
"Произошла внутренняя ошибка.", | ||
"内部エラーが発生しました", | ||
"Une erreur interne s'est produite", | ||
"Tab inaktiv", | ||
"An internal error has occurred", | ||
"Ett internt fel har inträffat", | ||
"L'onglet n'est pas actif", | ||
"Het tabblad is niet actief", | ||
"Ha ocurrido un error interno", | ||
"A apărut o eroare internă", | ||
"Ha ocurrido un error interno", | ||
"La pestaña no está activa", | ||
"Si è verificato un errore interno", | ||
"Vyskytla sa interná chyba", | ||
"Вкладка не активна", | ||
"خطایی داخلی رخ داده است", | ||
"内部エラーが発生しました", | ||
"A guia não está ativa", | ||
"Dahili bir hata oluştu", | ||
"Er is een interne fout opgetreden", | ||
"Sekme etkin değil", | ||
"زبانه فعال نیست", | ||
"发生了一个内部的错误", | ||
"發生內部錯誤", | ||
].map(msg => msg.toLowerCase()); | ||
@@ -117,0 +144,0 @@ const shortCancelMessages = ["cancel", "canceled", "cancelled", "rejected"]; |
@@ -13,1 +13,5 @@ import type { AssetType, CollectionId, CurrencyId, ItemId, OrderId, OwnershipId } from "@rarible/api-client"; | ||
export declare function validateBlockchain(blockchain: string): Blockchain; | ||
export declare const FLOW_TOKEN_MAP: { | ||
testnet: string; | ||
prod: string; | ||
}; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validateBlockchain = exports.getEntityData = exports.extractId = exports.extractBlockchain = exports.extractBlockchainFromAssetType = void 0; | ||
exports.FLOW_TOKEN_MAP = exports.validateBlockchain = exports.getEntityData = exports.extractId = exports.extractBlockchain = exports.extractBlockchainFromAssetType = void 0; | ||
const api_client_1 = require("@rarible/api-client"); | ||
@@ -57,1 +57,5 @@ function extractBlockchainFromAssetType(assetType) { | ||
exports.validateBlockchain = validateBlockchain; | ||
exports.FLOW_TOKEN_MAP = { | ||
testnet: "A.7e60df042a9c0868.FlowToken", | ||
prod: "A.1654653399040a61.FlowToken", | ||
}; |
{ | ||
"name": "@rarible/sdk-common", | ||
"version": "0.13.55", | ||
"version": "0.13.56", | ||
"homepage": "", | ||
@@ -34,3 +34,3 @@ "license": "ISC", | ||
}, | ||
"gitHead": "275009d6d324b91e34281e6a8f74299d10be5b8d" | ||
"gitHead": "a04dd75832a7110a91371afc8721b034d5b35dea" | ||
} |
28900
654