UNPKG

@dfinity/ledger-icrc

Version:

A library for interfacing with ICRC ledgers on the Internet Computer.

8 lines (7 loc) 1.54 kB
{ "version": 3, "sources": ["../src/index.ts"], "sourcesContent": ["import type {\n IcrcIndexDid,\n IcrcLedgerDid,\n} from \"@icp-sdk/canisters/ledger/icrc\";\n\nexport type Icrc3Value = IcrcLedgerDid.ICRC3Value;\nexport type IcrcAllowance = IcrcLedgerDid.Allowance;\nexport type IcrcApproveError = IcrcLedgerDid.ApproveError;\nexport type IcrcBlockIndex = IcrcLedgerDid.BlockIndex;\nexport type IcrcCandidAccount = IcrcLedgerDid.Account;\nexport type IcrcGetBlocksArgs = IcrcLedgerDid.GetBlocksArgs;\nexport type IcrcGetBlocksResult = IcrcLedgerDid.GetBlocksResult;\nexport type IcrcStandardRecord = IcrcLedgerDid.StandardRecord;\nexport type IcrcSubaccount = IcrcLedgerDid.Subaccount;\nexport type IcrcTimestamp = IcrcLedgerDid.Timestamp;\nexport type IcrcTokens = IcrcLedgerDid.Tokens;\nexport type IcrcTransferArg = IcrcLedgerDid.TransferArg;\nexport type IcrcTransferFromError = IcrcLedgerDid.TransferFromError;\nexport type IcrcTransferVariantError = IcrcLedgerDid.TransferError;\nexport type IcrcValue = IcrcLedgerDid.Value;\n\nexport type IcrcIndexNgGetTransactions = IcrcIndexDid.GetTransactions;\nexport type IcrcIndexNgTransaction = IcrcIndexDid.Transaction;\nexport type IcrcIndexNgTransactionWithId = IcrcIndexDid.TransactionWithId;\nexport type IcrcNgStatus = IcrcIndexDid.Status;\nexport type IcrcNgTxId = IcrcIndexDid.BlockIndex;\n\n/**\n * @deprecated Use \"@icp-sdk/canisters/ledger/icrc\" directly instead\n */\nexport * from \"@icp-sdk/canisters/ledger/icrc\";\n"], "mappings": ";;AA8BA,WAAc", "names": [] }