@cardanowall/sdk-ts 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/dist/client/index.cjs +1621 -1538
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +52 -52
- package/dist/client/index.d.ts +52 -52
- package/dist/client/index.js +1620 -1537
- package/dist/client/index.js.map +1 -1
- package/dist/conformance/cli.cjs +2367 -2106
- package/dist/conformance/cli.cjs.map +1 -1
- package/dist/conformance/cli.js +2367 -2106
- package/dist/conformance/cli.js.map +1 -1
- package/dist/identity/index.cjs +219 -104
- package/dist/identity/index.cjs.map +1 -1
- package/dist/identity/index.d.cts +1 -1
- package/dist/identity/index.d.ts +1 -1
- package/dist/identity/index.js +219 -104
- package/dist/identity/index.js.map +1 -1
- package/dist/ids/index.cjs.map +1 -1
- package/dist/ids/index.js.map +1 -1
- package/dist/index.cjs +2808 -2530
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2805 -2527
- package/dist/index.js.map +1 -1
- package/dist/merkle/index.cjs +1 -1
- package/dist/merkle/index.cjs.map +1 -1
- package/dist/merkle/index.js +1 -1
- package/dist/merkle/index.js.map +1 -1
- package/dist/{types-BQMtbRCb.d.cts → types-DGsZTMuZ.d.cts} +6 -6
- package/dist/{types-BQMtbRCb.d.ts → types-DGsZTMuZ.d.ts} +6 -6
- package/dist/verifier/index.cjs +2368 -2107
- package/dist/verifier/index.cjs.map +1 -1
- package/dist/verifier/index.d.cts +3 -3
- package/dist/verifier/index.d.ts +3 -3
- package/dist/verifier/index.js +2369 -2108
- package/dist/verifier/index.js.map +1 -1
- package/package.json +8 -8
|
@@ -16,7 +16,7 @@ declare function verifyTx(input: VerifyTxInput): Promise<VerifyReport>;
|
|
|
16
16
|
* Use this when you trust an upstream indexer for the (metadataCbor,
|
|
17
17
|
* blockTime, blockSlot, numConfirmations) tuple and want to skip the
|
|
18
18
|
* /tx_cbor + /tx_info round-trip. The caller is responsible for the
|
|
19
|
-
* confidence that the supplied bytes actually came from
|
|
19
|
+
* confidence that the supplied bytes actually came from the label-309
|
|
20
20
|
* metadata field of a confirmed Cardano transaction.
|
|
21
21
|
*/
|
|
22
22
|
declare function verifyResolved(input: {
|
|
@@ -86,7 +86,7 @@ interface ResolvedTx {
|
|
|
86
86
|
}
|
|
87
87
|
declare const KOIOS_MAINNET_URL = "https://api.koios.rest/api/v1";
|
|
88
88
|
declare const BLOCKFROST_MAINNET_HOST = "https://cardano-mainnet.blockfrost.io/api/v0";
|
|
89
|
-
declare class
|
|
89
|
+
declare class NotALabel309RecordError extends Error {
|
|
90
90
|
readonly code: "METADATA_NOT_FOUND";
|
|
91
91
|
constructor(message: string);
|
|
92
92
|
}
|
|
@@ -173,4 +173,4 @@ declare function fetchItemCiphertext(args: FetchItemCiphertextArgs): Promise<Uin
|
|
|
173
173
|
|
|
174
174
|
declare function verifyReportToDict(report: VerifyReport): Record<string, unknown>;
|
|
175
175
|
|
|
176
|
-
export { BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, DEFAULT_PROFILE, ExitCode, FetchOutbound, HttpCallRecord, KOIOS_MAINNET_URL,
|
|
176
|
+
export { BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, DEFAULT_PROFILE, ExitCode, FetchOutbound, HttpCallRecord, KOIOS_MAINNET_URL, NotALabel309RecordError, Profile, type ResolvedTx, type TxComponents, VerifyItemDecryption, VerifyMerkleCheck, VerifyRecordSignature, VerifyReport, VerifyTxInput, VerifyTxSummary, VerifyTxWitness, VerifyUriCheck, decodeTxSummary, decodeTxWitnesses, exitCodeForVerdict, extractLabel309Metadata, fetchItemCiphertext, planProfileSkips, profileImplements, resolveCardanoTx, sliceLabel309Value, sliceTxComponents, tryDecryptions, verifyMerkleCommitments, verifyRecordSignatures, verifyReportToDict, verifyResolved, verifyTx };
|
package/dist/verifier/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare function verifyTx(input: VerifyTxInput): Promise<VerifyReport>;
|
|
|
16
16
|
* Use this when you trust an upstream indexer for the (metadataCbor,
|
|
17
17
|
* blockTime, blockSlot, numConfirmations) tuple and want to skip the
|
|
18
18
|
* /tx_cbor + /tx_info round-trip. The caller is responsible for the
|
|
19
|
-
* confidence that the supplied bytes actually came from
|
|
19
|
+
* confidence that the supplied bytes actually came from the label-309
|
|
20
20
|
* metadata field of a confirmed Cardano transaction.
|
|
21
21
|
*/
|
|
22
22
|
declare function verifyResolved(input: {
|
|
@@ -86,7 +86,7 @@ interface ResolvedTx {
|
|
|
86
86
|
}
|
|
87
87
|
declare const KOIOS_MAINNET_URL = "https://api.koios.rest/api/v1";
|
|
88
88
|
declare const BLOCKFROST_MAINNET_HOST = "https://cardano-mainnet.blockfrost.io/api/v0";
|
|
89
|
-
declare class
|
|
89
|
+
declare class NotALabel309RecordError extends Error {
|
|
90
90
|
readonly code: "METADATA_NOT_FOUND";
|
|
91
91
|
constructor(message: string);
|
|
92
92
|
}
|
|
@@ -173,4 +173,4 @@ declare function fetchItemCiphertext(args: FetchItemCiphertextArgs): Promise<Uin
|
|
|
173
173
|
|
|
174
174
|
declare function verifyReportToDict(report: VerifyReport): Record<string, unknown>;
|
|
175
175
|
|
|
176
|
-
export { BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, DEFAULT_PROFILE, ExitCode, FetchOutbound, HttpCallRecord, KOIOS_MAINNET_URL,
|
|
176
|
+
export { BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, DEFAULT_PROFILE, ExitCode, FetchOutbound, HttpCallRecord, KOIOS_MAINNET_URL, NotALabel309RecordError, Profile, type ResolvedTx, type TxComponents, VerifyItemDecryption, VerifyMerkleCheck, VerifyRecordSignature, VerifyReport, VerifyTxInput, VerifyTxSummary, VerifyTxWitness, VerifyUriCheck, decodeTxSummary, decodeTxWitnesses, exitCodeForVerdict, extractLabel309Metadata, fetchItemCiphertext, planProfileSkips, profileImplements, resolveCardanoTx, sliceLabel309Value, sliceTxComponents, tryDecryptions, verifyMerkleCommitments, verifyRecordSignatures, verifyReportToDict, verifyResolved, verifyTx };
|