@cardanowall/sdk-ts 0.4.0 → 0.5.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/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ export { DenyHostsFetchOptions, HttpCall, denyHostsFetch } from './fetch/index.c
3
3
  export { C as ContentCheck, D as DecryptionCredential, a as DecryptionOutcome, E as EXIT_CODE_FOR_VERDICT, b as ExitCode, I as ItemReportEntry, M as MerkleReportEntry, P as PROFILE_RANK, c as Profile, S as SignatureFailureReason, d as SignatureVerdict, e as SignerType, V as Verdict, f as VerifyRecordSignature, g as VerifyReport, h as VerifyResolvedInput, i as VerifyTxInput, j as VerifyTxOutput, k as VerifyTxSummary, l as VerifyTxWitness } from './types-Cexm4VH9.cjs';
4
4
  export { ARWEAVE_GATEWAY_DEFAULTS, BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, CidBindingOutcome, DEFAULT_PROFILE, IssuePath, IssueSink, KOIOS_MAINNET_URL, ParsedCid, ResolveFailureCode, ResolveOutcome, ResolvedTx, TxBindingResult, TxComponents, UnwrappedAuxiliaryData, auxiliaryDataHashFromTxBody, bindTransactionBytes, compareIssuePaths, decodeTxSummary, decodeTxWitnesses, detectConformanceProfile, exitCodeForVerdict, issueOf, parseCid, planProfileSkips, profileImplements, resolveCardanoTx, sliceTxComponents, sortIssues, unwrapAuxiliaryData, verifyIpfsCidBinding, verifyRecordSignatures, verifyReportToDict, verifyResolved, verifyTx } from './verifier/index.cjs';
5
5
  export { AccountNamespace, AssembleCoseSign1Args, AssembleCoseSign1Result, BatchEmptyError, BatchTooLargeError, DEFAULT_RESUMABLE_CHUNK_BYTES, DEFAULT_RESUMABLE_THRESHOLD_BYTES, ForbiddenError, IdempotencyConflictError, InsufficientFundsError, InsufficientScopeError, InternalServerError, InvalidBodyError, InvalidClientConfigError, Label309Client, Label309HttpError, Label309HttpErrorInit, MalformedCborError, NotFoundError, OffHostSignError, OffHostSignErrorCode, PartialUploadError, PoeNamespace, PrepareSigStructureArgs, PrepareSigStructureHashedResult, PrepareSigStructureResult, ProblemDetails, ProblemErrorEntry, PublishError, QuoteAlreadyConsumedError, QuoteExpiredError, QuoteNotFoundError, RateLimitedError, RecordNotFoundError, RecordsNamespace, ResumableUploadError, ServiceUnavailableError, UnauthorizedError, ValidationFailedError, assembleCoseSign1, assembleCoseSign1Hashed, buildToSign, parseHttpError, prepareSigStructure, prepareSigStructureHashed } from './client/index.cjs';
6
- export { A as AccountBalance, C as ConformanceProfile, F as FetchImpl, L as Label309ClientConfig, P as PoeItemResponse, a as PoeStatus, b as PoeVerifyInput, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, f as PublishBatchInput, g as PublishBatchResponse, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, j as PublishContentInput, k as PublishInput, l as PublishMerkleInput, m as PublishMerkleResponse, n as PublishPrehashedInput, o as PublishResponse, p as PublishSealedInput, Q as QuoteInput, q as QuoteResponse, R as RecordResource, r as RecordScheme, s as RecordSignature, t as RecordStatus, u as RecordsListInput, v as RecordsListResponse, w as ResumableSource, x as ResumableSourceInput, S as Signer, y as StorageTarget, z as SupportedHashAlg, U as UploadAttemptCommitted, B as UploadAttemptReleaseReason, D as UploadAttemptReleased, E as UploadAttemptReserved, G as UploadAttemptState, H as UploadAttemptStatus, I as UploadEntry, J as UploadFailureEntry, K as UploadResumableInput, M as UploadResumableResult, N as UploadSessionAcceptedResponse, O as UploadSessionChunkResponse, T as UploadSessionCompleteResponse, V as UploadSessionCompletedResponse, W as UploadSessionCreateRequest, X as UploadSessionCreateResponse, Y as UploadSessionDeduplicatedResponse, Z as UploadSessionState, _ as UploadSessionStatus, $ as UploadSuccessEntry, a0 as UploadsInput, a1 as UploadsResponse, a2 as toResumableSource } from './types-Dp4wUSFI.cjs';
6
+ export { A as AccountBalance, C as ConformanceProfile, F as FetchImpl, L as Label309ClientConfig, P as PoeItemResponse, a as PoeStatus, b as PoeVerifyInput, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, f as PublishBatchInput, g as PublishBatchResponse, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, j as PublishContentInput, k as PublishInput, l as PublishMerkleInput, m as PublishMerkleResponse, n as PublishPrehashedInput, o as PublishResponse, p as PublishSealedInput, Q as QuoteInput, q as QuoteResponse, R as RecordResource, r as RecordScheme, s as RecordSignature, t as RecordStatus, u as RecordsListInput, v as RecordsListResponse, w as ResumableSource, x as ResumableSourceInput, S as Signer, y as StorageTarget, z as SupportedHashAlg, U as UploadAttemptCommitted, B as UploadAttemptReleaseReason, D as UploadAttemptReleased, E as UploadAttemptReserved, G as UploadAttemptState, H as UploadAttemptStatus, I as UploadEntry, J as UploadFailureEntry, K as UploadResumableInput, M as UploadResumableResult, N as UploadSessionAcceptedResponse, O as UploadSessionChunkResponse, T as UploadSessionCompleteResponse, V as UploadSessionCompletedResponse, W as UploadSessionCreateRequest, X as UploadSessionCreateResponse, Y as UploadSessionDeduplicatedResponse, Z as UploadSessionState, _ as UploadSessionStatus, $ as UploadSuccessEntry, a0 as UploadsInput, a1 as UploadsResponse, a2 as toResumableSource } from './types-DNu_IrWZ.cjs';
7
7
  export { CROCKFORD_ENCODED_LENGTH_FOR_UUID, POE_ID_PATTERN, POE_ID_PREFIX, PoeIdSchema, PrefixedId, decodeCrockfordBase32, decodePrefixedId, encodeBytesVariableLength, encodeCrockfordBase32, encodePrefixedId, isPrefixedId } from './ids/index.cjs';
8
8
  export { i as merkle } from './index-Cg1QqVmA.cjs';
9
9
  export { i as hash } from './index-BhnlWJAY.cjs';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { DenyHostsFetchOptions, HttpCall, denyHostsFetch } from './fetch/index.j
3
3
  export { C as ContentCheck, D as DecryptionCredential, a as DecryptionOutcome, E as EXIT_CODE_FOR_VERDICT, b as ExitCode, I as ItemReportEntry, M as MerkleReportEntry, P as PROFILE_RANK, c as Profile, S as SignatureFailureReason, d as SignatureVerdict, e as SignerType, V as Verdict, f as VerifyRecordSignature, g as VerifyReport, h as VerifyResolvedInput, i as VerifyTxInput, j as VerifyTxOutput, k as VerifyTxSummary, l as VerifyTxWitness } from './types-CgoBub9J.js';
4
4
  export { ARWEAVE_GATEWAY_DEFAULTS, BLOCKFROST_MAINNET_HOST, CONFIRMATION_DEPTH_THRESHOLD_DEFAULT, CidBindingOutcome, DEFAULT_PROFILE, IssuePath, IssueSink, KOIOS_MAINNET_URL, ParsedCid, ResolveFailureCode, ResolveOutcome, ResolvedTx, TxBindingResult, TxComponents, UnwrappedAuxiliaryData, auxiliaryDataHashFromTxBody, bindTransactionBytes, compareIssuePaths, decodeTxSummary, decodeTxWitnesses, detectConformanceProfile, exitCodeForVerdict, issueOf, parseCid, planProfileSkips, profileImplements, resolveCardanoTx, sliceTxComponents, sortIssues, unwrapAuxiliaryData, verifyIpfsCidBinding, verifyRecordSignatures, verifyReportToDict, verifyResolved, verifyTx } from './verifier/index.js';
5
5
  export { AccountNamespace, AssembleCoseSign1Args, AssembleCoseSign1Result, BatchEmptyError, BatchTooLargeError, DEFAULT_RESUMABLE_CHUNK_BYTES, DEFAULT_RESUMABLE_THRESHOLD_BYTES, ForbiddenError, IdempotencyConflictError, InsufficientFundsError, InsufficientScopeError, InternalServerError, InvalidBodyError, InvalidClientConfigError, Label309Client, Label309HttpError, Label309HttpErrorInit, MalformedCborError, NotFoundError, OffHostSignError, OffHostSignErrorCode, PartialUploadError, PoeNamespace, PrepareSigStructureArgs, PrepareSigStructureHashedResult, PrepareSigStructureResult, ProblemDetails, ProblemErrorEntry, PublishError, QuoteAlreadyConsumedError, QuoteExpiredError, QuoteNotFoundError, RateLimitedError, RecordNotFoundError, RecordsNamespace, ResumableUploadError, ServiceUnavailableError, UnauthorizedError, ValidationFailedError, assembleCoseSign1, assembleCoseSign1Hashed, buildToSign, parseHttpError, prepareSigStructure, prepareSigStructureHashed } from './client/index.js';
6
- export { A as AccountBalance, C as ConformanceProfile, F as FetchImpl, L as Label309ClientConfig, P as PoeItemResponse, a as PoeStatus, b as PoeVerifyInput, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, f as PublishBatchInput, g as PublishBatchResponse, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, j as PublishContentInput, k as PublishInput, l as PublishMerkleInput, m as PublishMerkleResponse, n as PublishPrehashedInput, o as PublishResponse, p as PublishSealedInput, Q as QuoteInput, q as QuoteResponse, R as RecordResource, r as RecordScheme, s as RecordSignature, t as RecordStatus, u as RecordsListInput, v as RecordsListResponse, w as ResumableSource, x as ResumableSourceInput, S as Signer, y as StorageTarget, z as SupportedHashAlg, U as UploadAttemptCommitted, B as UploadAttemptReleaseReason, D as UploadAttemptReleased, E as UploadAttemptReserved, G as UploadAttemptState, H as UploadAttemptStatus, I as UploadEntry, J as UploadFailureEntry, K as UploadResumableInput, M as UploadResumableResult, N as UploadSessionAcceptedResponse, O as UploadSessionChunkResponse, T as UploadSessionCompleteResponse, V as UploadSessionCompletedResponse, W as UploadSessionCreateRequest, X as UploadSessionCreateResponse, Y as UploadSessionDeduplicatedResponse, Z as UploadSessionState, _ as UploadSessionStatus, $ as UploadSuccessEntry, a0 as UploadsInput, a1 as UploadsResponse, a2 as toResumableSource } from './types-Dp4wUSFI.js';
6
+ export { A as AccountBalance, C as ConformanceProfile, F as FetchImpl, L as Label309ClientConfig, P as PoeItemResponse, a as PoeStatus, b as PoeVerifyInput, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, f as PublishBatchInput, g as PublishBatchResponse, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, j as PublishContentInput, k as PublishInput, l as PublishMerkleInput, m as PublishMerkleResponse, n as PublishPrehashedInput, o as PublishResponse, p as PublishSealedInput, Q as QuoteInput, q as QuoteResponse, R as RecordResource, r as RecordScheme, s as RecordSignature, t as RecordStatus, u as RecordsListInput, v as RecordsListResponse, w as ResumableSource, x as ResumableSourceInput, S as Signer, y as StorageTarget, z as SupportedHashAlg, U as UploadAttemptCommitted, B as UploadAttemptReleaseReason, D as UploadAttemptReleased, E as UploadAttemptReserved, G as UploadAttemptState, H as UploadAttemptStatus, I as UploadEntry, J as UploadFailureEntry, K as UploadResumableInput, M as UploadResumableResult, N as UploadSessionAcceptedResponse, O as UploadSessionChunkResponse, T as UploadSessionCompleteResponse, V as UploadSessionCompletedResponse, W as UploadSessionCreateRequest, X as UploadSessionCreateResponse, Y as UploadSessionDeduplicatedResponse, Z as UploadSessionState, _ as UploadSessionStatus, $ as UploadSuccessEntry, a0 as UploadsInput, a1 as UploadsResponse, a2 as toResumableSource } from './types-DNu_IrWZ.js';
7
7
  export { CROCKFORD_ENCODED_LENGTH_FOR_UUID, POE_ID_PATTERN, POE_ID_PREFIX, PoeIdSchema, PrefixedId, decodeCrockfordBase32, decodePrefixedId, encodeBytesVariableLength, encodeCrockfordBase32, encodePrefixedId, isPrefixedId } from './ids/index.js';
8
8
  export { i as merkle } from './index-Cg1QqVmA.js';
9
9
  export { i as hash } from './index-BhnlWJAY.js';
package/dist/index.js CHANGED
@@ -9556,8 +9556,12 @@ var RecordsNamespace = class {
9556
9556
  * between.
9557
9557
  *
9558
9558
  * Auth required (Bearer with `poe:read` scope, or NextAuth session
9559
- * cookie). Optional `verify_uris` toggles URI hash-equivalence checks;
9560
- * `decryption[]` drives trial-decrypt of sealed envelopes per item.
9559
+ * cookie). This is the hosted PUBLIC verifier: it accepts no decryption
9560
+ * credentials, and sealed items report as unverifiable without decryption.
9561
+ * To verify as a recipient (decrypt + plaintext-hash recheck), run the
9562
+ * `verifier` module locally with its `decryption` input — keys never leave
9563
+ * the process. Optional `fetch_content: false` skips content re-fetching;
9564
+ * affected claims report `not_checked`.
9561
9565
  */
9562
9566
  async verify(txHash, input) {
9563
9567
  const response = await this.config.fetch(