@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/client/index.cjs +6 -2
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +8 -4
- package/dist/client/index.d.ts +8 -4
- package/dist/client/index.js +6 -2
- package/dist/client/index.js.map +1 -1
- package/dist/identity/index.d.cts +1 -1
- package/dist/identity/index.d.ts +1 -1
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/dist/{types-Dp4wUSFI.d.cts → types-DNu_IrWZ.d.cts} +16 -6
- package/dist/{types-Dp4wUSFI.d.ts → types-DNu_IrWZ.d.ts} +16 -6
- package/package.json +3 -3
package/dist/client/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PoeRecord, SigEntry } from '@cardanowall/poe-standard';
|
|
2
|
-
import { F as FetchImpl, A as AccountBalance, Q as QuoteInput, q as QuoteResponse, a0 as UploadsInput, a1 as UploadsResponse, K as UploadResumableInput, M as UploadResumableResult, k as PublishInput, o as PublishResponse, f as PublishBatchInput, g as PublishBatchResponse, j as PublishContentInput, n as PublishPrehashedInput, p as PublishSealedInput, l as PublishMerkleInput, m as PublishMerkleResponse, u as RecordsListInput, v as RecordsListResponse, R as RecordResource, b as PoeVerifyInput, L as Label309ClientConfig, J as UploadFailureEntry } from '../types-
|
|
3
|
-
export { C as ConformanceProfile, P as PoeItemResponse, a as PoeStatus, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, r as RecordScheme, s as RecordSignature, t as RecordStatus, 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, 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, a2 as toResumableSource } from '../types-
|
|
2
|
+
import { F as FetchImpl, A as AccountBalance, Q as QuoteInput, q as QuoteResponse, a0 as UploadsInput, a1 as UploadsResponse, K as UploadResumableInput, M as UploadResumableResult, k as PublishInput, o as PublishResponse, f as PublishBatchInput, g as PublishBatchResponse, j as PublishContentInput, n as PublishPrehashedInput, p as PublishSealedInput, l as PublishMerkleInput, m as PublishMerkleResponse, u as RecordsListInput, v as RecordsListResponse, R as RecordResource, b as PoeVerifyInput, L as Label309ClientConfig, J as UploadFailureEntry } from '../types-DNu_IrWZ.cjs';
|
|
3
|
+
export { C as ConformanceProfile, P as PoeItemResponse, a as PoeStatus, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, r as RecordScheme, s as RecordSignature, t as RecordStatus, 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, 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, a2 as toResumableSource } from '../types-DNu_IrWZ.cjs';
|
|
4
4
|
import { g as VerifyReport } from '../types-Cexm4VH9.cjs';
|
|
5
5
|
import '../fetch-outbound-dOK3ZxYa.cjs';
|
|
6
6
|
|
|
@@ -219,8 +219,12 @@ declare class RecordsNamespace {
|
|
|
219
219
|
* between.
|
|
220
220
|
*
|
|
221
221
|
* Auth required (Bearer with `poe:read` scope, or NextAuth session
|
|
222
|
-
* cookie).
|
|
223
|
-
*
|
|
222
|
+
* cookie). This is the hosted PUBLIC verifier: it accepts no decryption
|
|
223
|
+
* credentials, and sealed items report as unverifiable without decryption.
|
|
224
|
+
* To verify as a recipient (decrypt + plaintext-hash recheck), run the
|
|
225
|
+
* `verifier` module locally with its `decryption` input — keys never leave
|
|
226
|
+
* the process. Optional `fetch_content: false` skips content re-fetching;
|
|
227
|
+
* affected claims report `not_checked`.
|
|
224
228
|
*/
|
|
225
229
|
verify(txHash: string, input?: PoeVerifyInput): Promise<VerifyReport>;
|
|
226
230
|
}
|
package/dist/client/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PoeRecord, SigEntry } from '@cardanowall/poe-standard';
|
|
2
|
-
import { F as FetchImpl, A as AccountBalance, Q as QuoteInput, q as QuoteResponse, a0 as UploadsInput, a1 as UploadsResponse, K as UploadResumableInput, M as UploadResumableResult, k as PublishInput, o as PublishResponse, f as PublishBatchInput, g as PublishBatchResponse, j as PublishContentInput, n as PublishPrehashedInput, p as PublishSealedInput, l as PublishMerkleInput, m as PublishMerkleResponse, u as RecordsListInput, v as RecordsListResponse, R as RecordResource, b as PoeVerifyInput, L as Label309ClientConfig, J as UploadFailureEntry } from '../types-
|
|
3
|
-
export { C as ConformanceProfile, P as PoeItemResponse, a as PoeStatus, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, r as RecordScheme, s as RecordSignature, t as RecordStatus, 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, 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, a2 as toResumableSource } from '../types-
|
|
2
|
+
import { F as FetchImpl, A as AccountBalance, Q as QuoteInput, q as QuoteResponse, a0 as UploadsInput, a1 as UploadsResponse, K as UploadResumableInput, M as UploadResumableResult, k as PublishInput, o as PublishResponse, f as PublishBatchInput, g as PublishBatchResponse, j as PublishContentInput, n as PublishPrehashedInput, p as PublishSealedInput, l as PublishMerkleInput, m as PublishMerkleResponse, u as RecordsListInput, v as RecordsListResponse, R as RecordResource, b as PoeVerifyInput, L as Label309ClientConfig, J as UploadFailureEntry } from '../types-DNu_IrWZ.js';
|
|
3
|
+
export { C as ConformanceProfile, P as PoeItemResponse, a as PoeStatus, c as PublishBatchEntry, d as PublishBatchFailureEntry, e as PublishBatchFailureError, h as PublishBatchResultEntry, i as PublishBatchSuccessEntry, r as RecordScheme, s as RecordSignature, t as RecordStatus, 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, 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, a2 as toResumableSource } from '../types-DNu_IrWZ.js';
|
|
4
4
|
import { g as VerifyReport } from '../types-CgoBub9J.js';
|
|
5
5
|
import '../fetch-outbound-dOK3ZxYa.js';
|
|
6
6
|
|
|
@@ -219,8 +219,12 @@ declare class RecordsNamespace {
|
|
|
219
219
|
* between.
|
|
220
220
|
*
|
|
221
221
|
* Auth required (Bearer with `poe:read` scope, or NextAuth session
|
|
222
|
-
* cookie).
|
|
223
|
-
*
|
|
222
|
+
* cookie). This is the hosted PUBLIC verifier: it accepts no decryption
|
|
223
|
+
* credentials, and sealed items report as unverifiable without decryption.
|
|
224
|
+
* To verify as a recipient (decrypt + plaintext-hash recheck), run the
|
|
225
|
+
* `verifier` module locally with its `decryption` input — keys never leave
|
|
226
|
+
* the process. Optional `fetch_content: false` skips content re-fetching;
|
|
227
|
+
* affected claims report `not_checked`.
|
|
224
228
|
*/
|
|
225
229
|
verify(txHash: string, input?: PoeVerifyInput): Promise<VerifyReport>;
|
|
226
230
|
}
|
package/dist/client/index.js
CHANGED
|
@@ -3423,8 +3423,12 @@ var RecordsNamespace = class {
|
|
|
3423
3423
|
* between.
|
|
3424
3424
|
*
|
|
3425
3425
|
* Auth required (Bearer with `poe:read` scope, or NextAuth session
|
|
3426
|
-
* cookie).
|
|
3427
|
-
*
|
|
3426
|
+
* cookie). This is the hosted PUBLIC verifier: it accepts no decryption
|
|
3427
|
+
* credentials, and sealed items report as unverifiable without decryption.
|
|
3428
|
+
* To verify as a recipient (decrypt + plaintext-hash recheck), run the
|
|
3429
|
+
* `verifier` module locally with its `decryption` input — keys never leave
|
|
3430
|
+
* the process. Optional `fetch_content: false` skips content re-fetching;
|
|
3431
|
+
* affected claims report `not_checked`.
|
|
3428
3432
|
*/
|
|
3429
3433
|
async verify(txHash, input) {
|
|
3430
3434
|
const response = await this.config.fetch(
|