Socket
Socket
Sign inDemoInstall

@tatumio/shared-blockchain-abstract

Package Overview
Dependencies
Maintainers
3
Versions
340
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tatumio/shared-blockchain-abstract - npm Package Compare versions

Comparing version 2.0.1-alpha.237 to 2.0.1-alpha.238

11

package.json
{
"name": "@tatumio/shared-blockchain-abstract",
"version": "2.0.1-alpha.237",
"version": "2.0.1-alpha.238",
"license": "MIT",

@@ -8,7 +8,8 @@ "main": "./src/index.js",

"dependencies": {
"@tatumio/api-client": "2.0.1-alpha.237",
"axios": "^0.25.0",
"@tatumio/api-client": "2.0.1-alpha.238",
"axios": "^0.26.0",
"form-data": "^4.0.0",
"@tatumio/shared-core": "2.0.1-alpha.237",
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.237",
"@tatumio/shared-core": "2.0.1-alpha.238",
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.238",
"@tatumio/shared-testing-common": "2.0.1-alpha.238",
"bignumber.js": "^9.0.2"

@@ -15,0 +16,0 @@ },

@@ -1,2 +0,2 @@

import { ApproveErc20, BlockchainMarketplaceService, BroadcastKMS, BurnMultiToken, BurnMultiTokenBatch, BurnNft, CallReadSmartContractMethod, CallSmartContractMethod, BuyAssetOnMarketplace, CancelablePromise, CancelSellAssetOnMarketplace, ChainBurnErc20 as ApiChainBurnErc20, ChainMintErc20 as ApiChainMintErc20, ChainTransferEthErc20, DeployErc20, DeployMultiToken, DeployNft, ExchangeRate, GenerateCustodialWallet, Fiat, GenerateMarketplace, MintErc721, MintMultipleNft, MintMultiToken, MintMultiTokenBatch, MintNft, SellAssetOnMarketplace, SignatureId, TatumServiceService, TatumUrl, TransactionHashKMS, TransferMultiToken, TransferMultiTokenBatch, TransferNft, TransferPolygonBlockchain, TronWallet, UpdateCashbackValueForAuthorNft, UpdateFee, UpdateFeeRecipient, XlmWallet, XrpWallet, TransferCustodialWallet, TransferCustodialWalletCelo, TransferCustodialWalletBatch, TransferCustodialWalletBatchCelo, ApproveTransferCustodialWallet, ApproveTransferCustodialWalletCelo, TransferCustodialWalletKMS, GenerateCustodialWalletBatch, GenerateCustodialWalletBatchKMS, GenerateCustodialWalletCelo, CallCeloSmartContractMethod, TransferCustodialWalletCeloKMS, GenerateCustodialWalletBatchCelo, GenerateCustodialWalletBatchCeloKMS, PendingTransaction, ApproveNftSpending } from '@tatumio/api-client';
import { ApproveErc20, BlockchainMarketplaceService, BroadcastKMS, BurnMultiToken, BurnMultiTokenBatch, BurnNft, CallReadSmartContractMethod, CallSmartContractMethod, BuyAssetOnMarketplace, CancelablePromise, CancelSellAssetOnMarketplace, ChainBurnErc20 as ApiChainBurnErc20, ChainMintErc20 as ApiChainMintErc20, ChainTransferEthErc20, DeployErc20, DeployMultiToken, DeployNft, ExchangeRate, GenerateCustodialWallet, Fiat, GenerateMarketplace, MintErc721, MintMultipleNft, MintMultiToken, MintMultiTokenBatch, MintNft, SellAssetOnMarketplace, SignatureId, TatumServiceService, TatumUrl, TransactionHashKMS, TransferMultiToken, TransferMultiTokenBatch, TransferNft, TransferPolygonBlockchain, UpdateCashbackValueForAuthorNft, UpdateFee, UpdateFeeRecipient, XlmWallet, XrpWallet, TransferCustodialWallet, TransferCustodialWalletCelo, TransferCustodialWalletBatch, TransferCustodialWalletBatchCelo, ApproveTransferCustodialWallet, ApproveTransferCustodialWalletCelo, TransferCustodialWalletKMS, GenerateCustodialWalletBatchPayer, GenerateCustodialWalletBatch, GenerateCustodialWalletBatchKMS, GenerateCustodialWalletCelo, CallCeloSmartContractMethod, TransferCustodialWalletCeloKMS, GenerateCustodialWalletBatchCelo, GenerateCustodialWalletBatchCeloKMS, PendingTransaction, ApproveNftSpending } from '@tatumio/api-client';
import { Blockchain, ChainTransactionKMS } from '@tatumio/shared-core';

@@ -38,59 +38,2 @@ import { WithoutChain } from '@tatumio/shared-abstract-sdk';

subscriptions: typeof import("@tatumio/api-client").LedgerSubscriptionService;
ledger: {
customer: {
get: typeof import("@tatumio/api-client").LedgerCustomerService.getCustomerByExternalOrInternalId;
getAll: typeof import("@tatumio/api-client").LedgerCustomerService.findAllCustomers;
update: typeof import("@tatumio/api-client").LedgerCustomerService.updateCustomer;
activate: typeof import("@tatumio/api-client").LedgerCustomerService.activateCustomer;
deactivate: typeof import("@tatumio/api-client").LedgerCustomerService.deactivateCustomer;
enable: typeof import("@tatumio/api-client").LedgerCustomerService.enableCustomer;
disable: typeof import("@tatumio/api-client").LedgerCustomerService.disableCustomer;
};
orderBook: {
getHistorical: typeof import("@tatumio/api-client").LedgerOrderBookService.getHistoricalTradesBody;
getActiveBuyTrades: typeof import("@tatumio/api-client").LedgerOrderBookService.getBuyTradesBody;
getActiveSellTrades: typeof import("@tatumio/api-client").LedgerOrderBookService.getBuyTradesBody;
newTrade: typeof import("@tatumio/api-client").LedgerOrderBookService.storeTrade;
get: typeof import("@tatumio/api-client").LedgerOrderBookService.getTradeById;
cancel: typeof import("@tatumio/api-client").LedgerOrderBookService.deleteTrade;
cancelByAccount: typeof import("@tatumio/api-client").LedgerOrderBookService.deleteAccountTrades;
};
transaction: {
send: typeof import("@tatumio/api-client").LedgerTransactionService.sendTransaction;
sendMultiple: typeof import("@tatumio/api-client").LedgerTransactionService.sendTransactionBatch;
getAll: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactions;
getAllByAccount: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByAccountId;
getAllByCustomer: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByCustomerId;
getAllByReference: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByReference;
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => any;
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => any;
};
virtualCurrency: {
create: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.createCurrency;
mint: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.mintCurrency;
revoke: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.revokeCurrency;
getByName: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.getCurrency;
update: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.updateCurrency;
};
blockAmount: {
block: typeof import("@tatumio/api-client").LedgerAccountService.blockAmount;
unblock: typeof import("@tatumio/api-client").LedgerAccountService.deleteBlockAmount;
unblockWithTransaction: typeof import("@tatumio/api-client").LedgerAccountService.unblockAmountWithTransaction;
};
account: {
get: typeof import("@tatumio/api-client").LedgerAccountService.getAccountByAccountId;
getAll: typeof import("@tatumio/api-client").LedgerAccountService.getAllAccounts;
getByCustomerId: typeof import("@tatumio/api-client").LedgerAccountService.getAccountsByCustomerId;
getBalance: typeof import("@tatumio/api-client").LedgerAccountService.getAccountBalance;
create: typeof import("@tatumio/api-client").LedgerAccountService.createAccount;
createMultiple: typeof import("@tatumio/api-client").LedgerAccountService.createAccountBatch;
update: typeof import("@tatumio/api-client").LedgerAccountService.updateAccountByAccountId;
getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").LedgerAccountService.getBlockAmountById;
activate: typeof import("@tatumio/api-client").LedgerAccountService.activateAccount;
deactivate: typeof import("@tatumio/api-client").LedgerAccountService.deactivateAccount;
freeze: typeof import("@tatumio/api-client").LedgerAccountService.freezeAccount;
unfreeze: typeof import("@tatumio/api-client").LedgerAccountService.unfreezeAccount;
generate: (account: import("@tatumio/api-client").CreateAccount, generateNewWalletFn: import("../../../../../../dist/packages/shared/abstract-sdk/src/lib/services/ledger/ledger.account.abstract").GenerateWalletFn, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<import("../../../../../../dist/packages/shared/abstract-sdk/src/lib/services/ledger/ledger.account.abstract").GeneratedAccount>;
};
};
security: {

@@ -116,3 +59,3 @@ checkMaliciousAddress: typeof import("@tatumio/api-client").SecurityAddressService.checkMalicousAddress;

getNFTTransactionsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByAddress;
getNFTsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetBalanceErc721;
getNFTsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTokensByAddressErc721;
getNFTProvenanceData: typeof import("@tatumio/api-client").BlockchainNftService.nftGetProvenanceDataErc721;

@@ -126,19 +69,5 @@ getNFTMetadataURI: typeof import("@tatumio/api-client").BlockchainNftService.nftGetMetadataErc721;

}>;
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => Promise<string[]>;
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => string[];
};
};
export interface SdkWithWalletFunctions {
generateAddressFromXPub(xpub: string, i: number, options?: {
testnet: boolean;
}): string;
generatePrivateKeyFromMnemonic(mnemonic: string, i: number, options?: {
testnet: boolean;
}): Promise<string>;
generateAddressFromPrivateKey(privateKey: string, options?: {
testnet: boolean;
}): string;
generateWallet(mnemonic?: string, options?: {
testnet: boolean;
}): Promise<TronWallet>;
}
export interface SdkWithXrpLikeWalletFunction {

@@ -156,2 +85,3 @@ wallet(): CancelablePromise<XrpWallet | XlmWallet>;

fromPrivateKey?: string;
minter?: string;
chain: 'ETH' | 'MATIC' | 'KCS' | 'ONE' | 'BSC' | 'KLAY';

@@ -203,3 +133,3 @@ };

export declare type ChainTransferFromCustodialAddress = TransferCustodialWalletKMS | TransferCustodialWallet | TransferCustodialWalletCelo | TransferCustodialWalletCeloKMS;
export declare type ChainGenerateCustodialWalletBatch = GenerateCustodialWalletBatch | GenerateCustodialWalletBatchKMS | GenerateCustodialWalletBatchCelo | GenerateCustodialWalletBatchCeloKMS;
export declare type ChainGenerateCustodialWalletBatch = GenerateCustodialWalletBatchPayer | GenerateCustodialWalletBatch | GenerateCustodialWalletBatchKMS | GenerateCustodialWalletBatchCelo | GenerateCustodialWalletBatchCeloKMS;
export declare type ChainCallSmartContractMethod = (FromPrivateKeyOrSignatureId<CallSmartContractMethod> & {

@@ -206,0 +136,0 @@ index?: number;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc