@fintech-solutions/core
Advanced tools
Comparing version 1.2.62 to 1.2.63
export declare enum BaseCryptoShortcode { | ||
Bitcoin = "BTC", | ||
BitcoinTest = "BTC_TEST", | ||
Ethereum = "ETH", | ||
EthereumSepolia = "ETH_SEP", | ||
BitcoinCash = "BCH", | ||
@@ -5,0 +7,0 @@ Litecoin = "LTC", |
@@ -7,3 +7,5 @@ "use strict"; | ||
BaseCryptoShortcode["Bitcoin"] = "BTC"; | ||
BaseCryptoShortcode["BitcoinTest"] = "BTC_TEST"; | ||
BaseCryptoShortcode["Ethereum"] = "ETH"; | ||
BaseCryptoShortcode["EthereumSepolia"] = "ETH_SEP"; | ||
BaseCryptoShortcode["BitcoinCash"] = "BCH"; | ||
@@ -10,0 +12,0 @@ BaseCryptoShortcode["Litecoin"] = "LTC"; |
@@ -1,2 +0,2 @@ | ||
export declare enum ChilizAssetShortcode { | ||
export declare enum ChilizAssetMainnetShortcode { | ||
AstonMartinCognizantChzToken = "AM_CHZ20", | ||
@@ -6,2 +6,7 @@ FCBarcelonaChzToken = "BAR_CHZ20", | ||
} | ||
export declare const CHILIZ_TOKENS: Set<ChilizAssetShortcode>; | ||
export declare enum ChilizAssetTestnetShortcode { | ||
FCBarcelonaChzTokenTest = "BAR_CHZ20_TEST" | ||
} | ||
export declare const ChilizAssetShortcode: typeof ChilizAssetMainnetShortcode & typeof ChilizAssetTestnetShortcode; | ||
export type ChilizAssetShortcode = ChilizAssetMainnetShortcode | ChilizAssetTestnetShortcode; | ||
export declare const CHILIZ_TOKENS: Set<ChilizAssetMainnetShortcode | ChilizAssetTestnetShortcode.FCBarcelonaChzTokenTest>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CHILIZ_TOKENS = exports.ChilizAssetShortcode = void 0; | ||
var ChilizAssetShortcode; | ||
(function (ChilizAssetShortcode) { | ||
ChilizAssetShortcode["AstonMartinCognizantChzToken"] = "AM_CHZ20"; | ||
ChilizAssetShortcode["FCBarcelonaChzToken"] = "BAR_CHZ20"; | ||
ChilizAssetShortcode["ParisSaintGermainChzToken"] = "PSG_CHZ20"; | ||
})(ChilizAssetShortcode = exports.ChilizAssetShortcode || (exports.ChilizAssetShortcode = {})); | ||
exports.CHILIZ_TOKENS = new Set(Object.values(ChilizAssetShortcode)); | ||
exports.CHILIZ_TOKENS = exports.ChilizAssetShortcode = exports.ChilizAssetTestnetShortcode = exports.ChilizAssetMainnetShortcode = void 0; | ||
var ChilizAssetMainnetShortcode; | ||
(function (ChilizAssetMainnetShortcode) { | ||
ChilizAssetMainnetShortcode["AstonMartinCognizantChzToken"] = "AM_CHZ20"; | ||
ChilizAssetMainnetShortcode["FCBarcelonaChzToken"] = "BAR_CHZ20"; | ||
ChilizAssetMainnetShortcode["ParisSaintGermainChzToken"] = "PSG_CHZ20"; | ||
})(ChilizAssetMainnetShortcode = exports.ChilizAssetMainnetShortcode || (exports.ChilizAssetMainnetShortcode = {})); | ||
var ChilizAssetTestnetShortcode; | ||
(function (ChilizAssetTestnetShortcode) { | ||
ChilizAssetTestnetShortcode["FCBarcelonaChzTokenTest"] = "BAR_CHZ20_TEST"; | ||
})(ChilizAssetTestnetShortcode = exports.ChilizAssetTestnetShortcode || (exports.ChilizAssetTestnetShortcode = {})); | ||
exports.ChilizAssetShortcode = Object.assign({}, ChilizAssetMainnetShortcode, ChilizAssetTestnetShortcode); | ||
exports.CHILIZ_TOKENS = new Set(Object.values(exports.ChilizAssetShortcode)); | ||
//# sourceMappingURL=chiliz-asset-shortcode.enum.js.map |
@@ -8,6 +8,15 @@ import { BaseCryptoShortcode } from './base-crypto-asset-shortcode.enum'; | ||
import { ChilizAssetShortcode } from './chiliz-asset-shortcode.enum'; | ||
import { PolkadotAssetShortcode } from "./polkadot-asset-shortcode.enum"; | ||
export declare const CryptoShortCode: { | ||
AstonMartinCognizantChzToken: ChilizAssetShortcode.AstonMartinCognizantChzToken; | ||
FCBarcelonaChzToken: ChilizAssetShortcode.FCBarcelonaChzToken; | ||
ParisSaintGermainChzToken: ChilizAssetShortcode.ParisSaintGermainChzToken; | ||
AcalaDotToken: import("./polkadot-asset-shortcode.enum").PolkadotAssetMainnetShortcode.AcalaDotToken; | ||
AstarDotToken: import("./polkadot-asset-shortcode.enum").PolkadotAssetMainnetShortcode.AstarDotToken; | ||
CentrifugeDotToken: import("./polkadot-asset-shortcode.enum").PolkadotAssetMainnetShortcode.CentrifugeDotToken; | ||
InterlayDotToken: import("./polkadot-asset-shortcode.enum").PolkadotAssetMainnetShortcode.InterlayDotToken; | ||
NodleDotToken: import("./polkadot-asset-shortcode.enum").PolkadotAssetMainnetShortcode.NodleDotToken; | ||
AcalaDotTokenTest: import("./polkadot-asset-shortcode.enum").PolkadotAssetTestnetShortcode.AcalaDotTokenTest; | ||
PolkadotTest: import("./polkadot-asset-shortcode.enum").PolkadotAssetTestnetShortcode.PolkadotTest; | ||
AstonMartinCognizantChzToken: import("./chiliz-asset-shortcode.enum").ChilizAssetMainnetShortcode.AstonMartinCognizantChzToken; | ||
FCBarcelonaChzToken: import("./chiliz-asset-shortcode.enum").ChilizAssetMainnetShortcode.FCBarcelonaChzToken; | ||
ParisSaintGermainChzToken: import("./chiliz-asset-shortcode.enum").ChilizAssetMainnetShortcode.ParisSaintGermainChzToken; | ||
FCBarcelonaChzTokenTest: import("./chiliz-asset-shortcode.enum").ChilizAssetTestnetShortcode.FCBarcelonaChzTokenTest; | ||
BonfidaSplToken: import("./solana-asset-shortcode.enum").SolanaAssetMainnetShortcode.BonfidaSplToken; | ||
@@ -287,3 +296,5 @@ GariSplToken: import("./solana-asset-shortcode.enum").SolanaAssetMainnetShortcode.GariSplToken; | ||
Bitcoin: BaseCryptoShortcode.Bitcoin; | ||
BitcoinTest: BaseCryptoShortcode.BitcoinTest; | ||
Ethereum: BaseCryptoShortcode.Ethereum; | ||
EthereumSepolia: BaseCryptoShortcode.EthereumSepolia; | ||
BitcoinCash: BaseCryptoShortcode.BitcoinCash; | ||
@@ -315,3 +326,3 @@ Litecoin: BaseCryptoShortcode.Litecoin; | ||
}; | ||
export type CryptoShortCode = BaseCryptoShortcode | EthereumAssetShortcode | TronAssetShortcode | PolygonAssetShortcode | BinanceAssetShortcode | SolanaAssetShortcode | ChilizAssetShortcode; | ||
export type CryptoShortCode = BaseCryptoShortcode | EthereumAssetShortcode | TronAssetShortcode | PolygonAssetShortcode | BinanceAssetShortcode | SolanaAssetShortcode | ChilizAssetShortcode | PolkadotAssetShortcode; | ||
export declare enum CryptoAssetType { | ||
@@ -324,3 +335,4 @@ BaseAsset = "BASE_ASSET", | ||
SPL = "SPL", | ||
CHZ20 = "CHZ20" | ||
CHZ20 = "CHZ20", | ||
DOT = "DOT" | ||
} |
@@ -11,3 +11,4 @@ "use strict"; | ||
const chiliz_asset_shortcode_enum_1 = require("./chiliz-asset-shortcode.enum"); | ||
exports.CryptoShortCode = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, base_crypto_asset_shortcode_enum_1.BaseCryptoShortcode), ethereum_asset_shortcode_enum_1.EthereumAssetShortcode), tron_asset_shortcode_enum_1.TronAssetShortcode), binance_asset_shortcode_enum_1.BinanceAssetShortcode), polygon_asset_shortcode_enum_1.PolygonAssetShortcode), solana_asset_shortcode_enum_1.SolanaAssetShortcode), chiliz_asset_shortcode_enum_1.ChilizAssetShortcode); | ||
const polkadot_asset_shortcode_enum_1 = require("./polkadot-asset-shortcode.enum"); | ||
exports.CryptoShortCode = Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, base_crypto_asset_shortcode_enum_1.BaseCryptoShortcode), ethereum_asset_shortcode_enum_1.EthereumAssetShortcode), tron_asset_shortcode_enum_1.TronAssetShortcode), binance_asset_shortcode_enum_1.BinanceAssetShortcode), polygon_asset_shortcode_enum_1.PolygonAssetShortcode), solana_asset_shortcode_enum_1.SolanaAssetShortcode), chiliz_asset_shortcode_enum_1.ChilizAssetShortcode), polkadot_asset_shortcode_enum_1.PolkadotAssetShortcode); | ||
var CryptoAssetType; | ||
@@ -22,3 +23,4 @@ (function (CryptoAssetType) { | ||
CryptoAssetType["CHZ20"] = "CHZ20"; | ||
CryptoAssetType["DOT"] = "DOT"; | ||
})(CryptoAssetType = exports.CryptoAssetType || (exports.CryptoAssetType = {})); | ||
//# sourceMappingURL=crypto-shortcode.enum.js.map |
@@ -7,3 +7,4 @@ import { SuccessResponse } from './interfaces/success-response.interface'; | ||
export { UseCase } from './interfaces/usecase.interface'; | ||
export { CryptoShortCode, CryptoAssetType } from './domain/crypto-shortcode.enum'; | ||
export { TransferResponse } from './dtos/transfer.response'; | ||
export { CryptoShortCode, CryptoAssetType, } from './domain/crypto-shortcode.enum'; | ||
export { FiatShortCode } from './domain/fiat-shortcode.enum'; | ||
@@ -13,2 +14,4 @@ export { DocumentType } from './domain/document-type.enum'; | ||
export { Asset } from './ports/market/market.service'; | ||
export { TransferPeerType, TransferPeer } from './domain/transfer-peer.model'; | ||
export { TransferModel, TransferData, TransferStatus, TransferType, } from './domain/transfer.model'; | ||
export { BaseCryptoShortcode, BASE_ASSETS, } from './domain/base-crypto-asset-shortcode.enum'; | ||
@@ -21,1 +24,2 @@ export { EthereumAssetShortcode, ETHEREUM_TOKENS, } from './domain/ethereum-asset-shortcode.enum'; | ||
export { ChilizAssetShortcode, CHILIZ_TOKENS, } from './domain/chiliz-asset-shortcode.enum'; | ||
export { PolkadotAssetShortcode, POLKADOT_TOKENS, } from './domain/polkadot-asset-shortcode.enum'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CHILIZ_TOKENS = exports.ChilizAssetShortcode = exports.SOLANA_TOKENS = exports.SolanaAssetShortcode = exports.POLYGON_TOKENS = exports.PolygonAssetShortcode = exports.BINANCE_TOKENS = exports.BinanceAssetShortcode = exports.TRON_TOKENS = exports.TronAssetShortcode = exports.ETHEREUM_TOKENS = exports.EthereumAssetShortcode = exports.BASE_ASSETS = exports.BaseCryptoShortcode = exports.AccountType = exports.DocumentType = exports.FiatShortCode = exports.CryptoAssetType = exports.CryptoShortCode = void 0; | ||
exports.POLKADOT_TOKENS = exports.PolkadotAssetShortcode = exports.CHILIZ_TOKENS = exports.ChilizAssetShortcode = exports.SOLANA_TOKENS = exports.SolanaAssetShortcode = exports.POLYGON_TOKENS = exports.PolygonAssetShortcode = exports.BINANCE_TOKENS = exports.BinanceAssetShortcode = exports.TRON_TOKENS = exports.TronAssetShortcode = exports.ETHEREUM_TOKENS = exports.EthereumAssetShortcode = exports.BASE_ASSETS = exports.BaseCryptoShortcode = exports.TransferType = exports.TransferStatus = exports.TransferPeerType = exports.AccountType = exports.DocumentType = exports.FiatShortCode = exports.CryptoAssetType = exports.CryptoShortCode = exports.TransferResponse = void 0; | ||
var transfer_response_1 = require("./dtos/transfer.response"); | ||
Object.defineProperty(exports, "TransferResponse", { enumerable: true, get: function () { return transfer_response_1.TransferResponse; } }); | ||
var crypto_shortcode_enum_1 = require("./domain/crypto-shortcode.enum"); | ||
@@ -13,2 +15,7 @@ Object.defineProperty(exports, "CryptoShortCode", { enumerable: true, get: function () { return crypto_shortcode_enum_1.CryptoShortCode; } }); | ||
Object.defineProperty(exports, "AccountType", { enumerable: true, get: function () { return account_types_enum_1.AccountType; } }); | ||
var transfer_peer_model_1 = require("./domain/transfer-peer.model"); | ||
Object.defineProperty(exports, "TransferPeerType", { enumerable: true, get: function () { return transfer_peer_model_1.TransferPeerType; } }); | ||
var transfer_model_1 = require("./domain/transfer.model"); | ||
Object.defineProperty(exports, "TransferStatus", { enumerable: true, get: function () { return transfer_model_1.TransferStatus; } }); | ||
Object.defineProperty(exports, "TransferType", { enumerable: true, get: function () { return transfer_model_1.TransferType; } }); | ||
var base_crypto_asset_shortcode_enum_1 = require("./domain/base-crypto-asset-shortcode.enum"); | ||
@@ -35,2 +42,5 @@ Object.defineProperty(exports, "BaseCryptoShortcode", { enumerable: true, get: function () { return base_crypto_asset_shortcode_enum_1.BaseCryptoShortcode; } }); | ||
Object.defineProperty(exports, "CHILIZ_TOKENS", { enumerable: true, get: function () { return chiliz_asset_shortcode_enum_1.CHILIZ_TOKENS; } }); | ||
var polkadot_asset_shortcode_enum_1 = require("./domain/polkadot-asset-shortcode.enum"); | ||
Object.defineProperty(exports, "PolkadotAssetShortcode", { enumerable: true, get: function () { return polkadot_asset_shortcode_enum_1.PolkadotAssetShortcode; } }); | ||
Object.defineProperty(exports, "POLKADOT_TOKENS", { enumerable: true, get: function () { return polkadot_asset_shortcode_enum_1.POLKADOT_TOKENS; } }); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@fintech-solutions/core", | ||
"private": false, | ||
"version": "1.2.62", | ||
"version": "1.2.63", | ||
"description": "", | ||
@@ -17,3 +17,3 @@ "main": "dist/index.js", | ||
"license": "ISC", | ||
"gitHead": "1fb052294d7512db12a6d8cfc253bec4c0d65c5a" | ||
"gitHead": "1606b3edefc329bfc8289326f9c00a7b80c48c8d" | ||
} |
export enum BaseCryptoShortcode { | ||
Bitcoin = 'BTC', | ||
BitcoinTest = 'BTC_TEST', | ||
Ethereum = 'ETH', | ||
EthereumSepolia = 'ETH_SEP', | ||
BitcoinCash = 'BCH', | ||
@@ -5,0 +7,0 @@ Litecoin = 'LTC', |
@@ -1,2 +0,2 @@ | ||
export enum ChilizAssetShortcode { | ||
export enum ChilizAssetMainnetShortcode { | ||
AstonMartinCognizantChzToken = 'AM_CHZ20', | ||
@@ -7,2 +7,9 @@ FCBarcelonaChzToken = 'BAR_CHZ20', | ||
export enum ChilizAssetTestnetShortcode { | ||
FCBarcelonaChzTokenTest = 'BAR_CHZ20_TEST', | ||
} | ||
export const ChilizAssetShortcode = Object.assign({}, ChilizAssetMainnetShortcode, ChilizAssetTestnetShortcode); | ||
export type ChilizAssetShortcode = ChilizAssetMainnetShortcode | ChilizAssetTestnetShortcode; | ||
export const CHILIZ_TOKENS = new Set(Object.values(ChilizAssetShortcode)); |
@@ -8,2 +8,3 @@ import { BaseCryptoShortcode } from './base-crypto-asset-shortcode.enum'; | ||
import { ChilizAssetShortcode } from './chiliz-asset-shortcode.enum'; | ||
import { PolkadotAssetShortcode } from "./polkadot-asset-shortcode.enum"; | ||
@@ -17,3 +18,4 @@ export const CryptoShortCode = { | ||
...SolanaAssetShortcode, | ||
...ChilizAssetShortcode | ||
...ChilizAssetShortcode, | ||
...PolkadotAssetShortcode, | ||
}; | ||
@@ -28,3 +30,4 @@ | ||
| SolanaAssetShortcode | ||
| ChilizAssetShortcode; | ||
| ChilizAssetShortcode | ||
| PolkadotAssetShortcode; | ||
@@ -39,2 +42,3 @@ export enum CryptoAssetType { | ||
CHZ20 = 'CHZ20', | ||
DOT = 'DOT', | ||
} |
@@ -8,4 +8,7 @@ import { SuccessResponse } from './interfaces/success-response.interface'; | ||
export { UseCase } from './interfaces/usecase.interface'; | ||
export { CryptoShortCode, CryptoAssetType } from './domain/crypto-shortcode.enum'; | ||
export { TransferResponse } from './dtos/transfer.response'; | ||
export { | ||
CryptoShortCode, | ||
CryptoAssetType, | ||
} from './domain/crypto-shortcode.enum'; | ||
export { FiatShortCode } from './domain/fiat-shortcode.enum'; | ||
@@ -15,2 +18,9 @@ export { DocumentType } from './domain/document-type.enum'; | ||
export { Asset } from './ports/market/market.service'; | ||
export { TransferPeerType, TransferPeer } from './domain/transfer-peer.model'; | ||
export { | ||
TransferModel, | ||
TransferData, | ||
TransferStatus, | ||
TransferType, | ||
} from './domain/transfer.model'; | ||
@@ -44,2 +54,6 @@ export { | ||
CHILIZ_TOKENS, | ||
} from './domain/chiliz-asset-shortcode.enum' | ||
} from './domain/chiliz-asset-shortcode.enum'; | ||
export { | ||
PolkadotAssetShortcode, | ||
POLKADOT_TOKENS, | ||
} from './domain/polkadot-asset-shortcode.enum'; |
@@ -18,4 +18,5 @@ { | ||
"forceConsistentCasingInFileNames": false, | ||
"noFallthroughCasesInSwitch": false | ||
"noFallthroughCasesInSwitch": false, | ||
"strictPropertyInitialization": false | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
257237
107
2229