@tatumio/shared-blockchain-abstract
Advanced tools
Comparing version 2.0.1-alpha.235 to 2.0.1-alpha.236
{ | ||
"name": "@tatumio/shared-blockchain-abstract", | ||
"version": "2.0.1-alpha.235", | ||
"version": "2.0.1-alpha.236", | ||
"license": "MIT", | ||
@@ -8,7 +8,7 @@ "main": "./src/index.js", | ||
"dependencies": { | ||
"@tatumio/api-client": "2.0.1-alpha.235", | ||
"@tatumio/api-client": "2.0.1-alpha.236", | ||
"axios": "^0.24.0", | ||
"form-data": "^4.0.0", | ||
"@tatumio/shared-core": "2.0.1-alpha.235", | ||
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.235", | ||
"@tatumio/shared-core": "2.0.1-alpha.236", | ||
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.236", | ||
"bignumber.js": "^9.0.2" | ||
@@ -15,0 +15,0 @@ }, |
@@ -1,3 +0,3 @@ | ||
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, AddNftMinter } from '@tatumio/api-client'; | ||
import { Blockchain } from '@tatumio/shared-core'; | ||
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 } from '@tatumio/api-client'; | ||
import { Blockchain, ChainTransactionKMS } from '@tatumio/shared-core'; | ||
export declare const abstractBlockchainSdk: (args: { | ||
@@ -9,3 +9,3 @@ apiKey: string; | ||
kms: { | ||
getAllPending(signatures?: string): CancelablePromise<import("@tatumio/api-client").PendingTransaction[]>; | ||
getAllPending(signatures?: string): CancelablePromise<PendingTransaction[]>; | ||
get: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.getPendingTransactionToSign; | ||
@@ -124,3 +124,3 @@ complete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.completePendingSignature; | ||
}>; | ||
prepareAddNftMinterAbstraction: (body: AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => Promise<string[]>; | ||
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => Promise<string[]>; | ||
}; | ||
@@ -176,3 +176,3 @@ }; | ||
}; | ||
export declare type ChainGenerateCustodialAddress = FromPrivateKeyOrSignatureId<GenerateCustodialWallet>; | ||
export declare type ChainGenerateCustodialAddress = FromPrivateKeyOrSignatureId<GenerateCustodialWallet> | FromPrivateKeyOrSignatureId<GenerateCustodialWalletCelo>; | ||
export declare type ChainTransferNative = FromPrivateKeyOrSignatureId<Omit<TransferPolygonBlockchain, 'currency'>>; | ||
@@ -185,2 +185,28 @@ export declare type ChainGenerateMarketplace = FromPrivateKeyOrSignatureId<GenerateMarketplace>; | ||
export declare type ChainCancelSellAssetOnMarketplace = FromPrivateKeyOrSignatureId<CancelSellAssetOnMarketplace>; | ||
export declare type ChainTransferCustodialWallet = (FromPrivateKeyOrSignatureId<TransferCustodialWallet> & { | ||
index?: number; | ||
}) | (FromPrivateKeyOrSignatureId<TransferCustodialWalletCelo> & { | ||
index?: number; | ||
}); | ||
export declare type ChainBatchTransferCustodialWallet = (FromPrivateKeyOrSignatureId<TransferCustodialWalletBatch> & { | ||
index?: number; | ||
}) | (FromPrivateKeyOrSignatureId<TransferCustodialWalletBatchCelo> & { | ||
index?: number; | ||
}); | ||
export declare type ChainApproveCustodialTransfer = (FromPrivateKeyOrSignatureId<ApproveTransferCustodialWallet> & { | ||
index?: number; | ||
}) | (FromPrivateKeyOrSignatureId<ApproveTransferCustodialWalletCelo> & { | ||
index?: number; | ||
}); | ||
export declare type ChainTransferFromCustodialAddress = TransferCustodialWalletKMS | TransferCustodialWallet | TransferCustodialWalletCelo | TransferCustodialWalletCeloKMS; | ||
export declare type ChainGenerateCustodialWalletBatch = GenerateCustodialWalletBatch | GenerateCustodialWalletBatchKMS | GenerateCustodialWalletBatchCelo | GenerateCustodialWalletBatchCeloKMS; | ||
export declare type ChainCallSmartContractMethod = (FromPrivateKeyOrSignatureId<CallSmartContractMethod> & { | ||
index?: number; | ||
}) | (FromPrivateKeyOrSignatureId<CallCeloSmartContractMethod> & { | ||
index?: number; | ||
chain: 'CELO'; | ||
}); | ||
export declare type ChainTransferCustodialWalletCelo = FromPrivateKeyOrSignatureId<TransferCustodialWalletCelo> & { | ||
index?: number; | ||
}; | ||
export interface SdkWithErc20Functions { | ||
@@ -210,2 +236,6 @@ decimals(contractAddress: string, provider?: string): any; | ||
updateCashbackForAuthorSignedTransaction(body: ChainUpdateCashbackErc721, provider?: string): Promise<string>; | ||
mintProvenanceSignedTransaction(body: ChainMintNft, provider?: string): Promise<string>; | ||
mintMultipleProvenanceSignedTransaction(body: ChainMintMultipleNft & { | ||
fixedValues: string[][]; | ||
}, provider?: string): Promise<string>; | ||
}; | ||
@@ -236,3 +266,6 @@ } | ||
prepare: { | ||
generateCustodialWalletSignedTransaction(body: ChainGenerateCustodialAddress, provider?: string): Promise<string>; | ||
transferFromCustodialWallet(body: ChainTransferCustodialWallet, testnet?: boolean, provider?: string): Promise<string>; | ||
batchTransferFromCustodialWallet: (body: ChainBatchTransferCustodialWallet, testnet: boolean, provider?: string) => Promise<string>; | ||
approveFromCustodialWallet: (body: ChainApproveCustodialTransfer, provider?: string) => Promise<string>; | ||
custodialWalletBatch: (body: ChainGenerateCustodialWalletBatch, testnet: boolean, provider?: string) => Promise<string>; | ||
}; | ||
@@ -247,3 +280,3 @@ } | ||
buyMarketplaceListing(body: ChainBuyAssetOnMarketplace, provider?: string): Promise<string>; | ||
createMarketplaceListing(body: ChainSellAssetOnMarketplace, provider?: string): Promise<string>; | ||
sellMarketplaceListing(body: ChainSellAssetOnMarketplace, provider?: string): Promise<string>; | ||
cancelMarketplaceListing(body: ChainCancelSellAssetOnMarketplace, provider?: string): Promise<string>; | ||
@@ -256,2 +289,7 @@ }; | ||
} | ||
export interface SdkWithKmsFunctions { | ||
sign(tx: ChainTransactionKMS, fromPrivateKey: string, provider?: string): Promise<string>; | ||
getAllPending(signatures?: string): CancelablePromise<PendingTransaction[]>; | ||
get(id: string): CancelablePromise<PendingTransaction>; | ||
} | ||
export declare type BroadcastFunction = (requestBody: BroadcastKMS) => CancelablePromise<TransactionHashKMS>; |
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
30548
392
+ Added@tatumio/api-client@2.0.1-alpha.236(transitive)
+ Added@tatumio/shared-abstract-sdk@2.0.1-alpha.236(transitive)
+ Added@tatumio/shared-core@2.0.1-alpha.236(transitive)
- Removed@tatumio/api-client@2.0.1-alpha.235(transitive)
- Removed@tatumio/shared-abstract-sdk@2.0.1-alpha.235(transitive)
- Removed@tatumio/shared-core@2.0.1-alpha.235(transitive)