@oma3/omatrust 0.1.0-alpha.11 → 0.1.0-alpha.12
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 +3 -0
- package/dist/app-registry/index.cjs +53 -0
- package/dist/app-registry/index.cjs.map +1 -1
- package/dist/app-registry/index.js +53 -0
- package/dist/app-registry/index.js.map +1 -1
- package/dist/identity/index.cjs +643 -164
- package/dist/identity/index.cjs.map +1 -1
- package/dist/identity/index.d.cts +2 -2
- package/dist/identity/index.d.ts +2 -2
- package/dist/identity/index.js +616 -165
- package/dist/identity/index.js.map +1 -1
- package/dist/{index-QueRiudB.d.cts → index-B5OC9_8B.d.cts} +155 -4
- package/dist/index-Bu-xxcv9.d.ts +407 -0
- package/dist/{index-C2w5EvFH.d.ts → index-C6WNgPRx.d.ts} +155 -4
- package/dist/index-C7odEbp6.d.cts +407 -0
- package/dist/index.cjs +1000 -185
- 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 +981 -185
- package/dist/index.js.map +1 -1
- package/dist/reputation/index.browser.cjs +153 -148
- package/dist/reputation/index.browser.cjs.map +1 -1
- package/dist/reputation/index.browser.js +153 -148
- package/dist/reputation/index.browser.js.map +1 -1
- package/dist/reputation/index.cjs +477 -140
- package/dist/reputation/index.cjs.map +1 -1
- package/dist/reputation/index.d.cts +2 -2
- package/dist/reputation/index.d.ts +2 -2
- package/dist/reputation/index.js +475 -141
- package/dist/reputation/index.js.map +1 -1
- package/dist/{types-dpYxRq8N.d.cts → types-Dn0OwaNj.d.cts} +37 -11
- package/dist/{types-dpYxRq8N.d.ts → types-Dn0OwaNj.d.ts} +37 -11
- package/dist/widgets/index.cjs.map +1 -1
- package/dist/widgets/index.d.cts +3 -0
- package/dist/widgets/index.d.ts +3 -0
- package/dist/widgets/index.js.map +1 -1
- package/package.json +4 -2
- package/dist/index-BOvk-7Ku.d.cts +0 -235
- package/dist/index-R78TpAhN.d.ts +0 -235
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as GetControllerAuthorizationParams, d as ControllerAuthorizationResult, D as Did, aV as VerifyDnsTxtControllerDidOptions, A as AttestationQueryResult, a as AttestationValidationError, B as BuildDelegatedTypedDataFromEncodedParams, C as CallControllerWitnessParams, b as CallControllerWitnessResult, c as ChainConstants, aW as ContractOwnershipProvider, e as ControllerWitnessEvidence, f as CreatePopEip712ProofParams, g as CreatePopJwsProofParams, h as DnsTxtRecordResult, aX as EIP1967_ADMIN_SLOT, E as EvidencePointerProof, i as EvmOwnershipProvider, G as GetAttestationParams, j as GetAttestationsByAttesterParams, l as GetLatestAttestationsParams, H as Hex, L as ListAttestationsParams, aY as OWNERSHIP_PATTERNS, P as PopEip712Proof, m as PopJwsProof, n as PrepareDelegatedAttestationParams, o as PrepareDelegatedAttestationResult, p as ProofPurpose, q as ProofType,
|
|
2
|
-
import { R as ResolveKeyOptions, c as JwsVerificationResult, b as JwsVerificationFailure } from './types-
|
|
1
|
+
import { k as GetControllerAuthorizationParams, d as ControllerAuthorizationResult, D as Did, aV as VerifyDnsTxtControllerDidOptions, r as ProofWrapper, A as AttestationQueryResult, a as AttestationValidationError, B as BuildDelegatedTypedDataFromEncodedParams, C as CallControllerWitnessParams, b as CallControllerWitnessResult, c as ChainConstants, aW as ContractOwnershipProvider, e as ControllerWitnessEvidence, f as CreatePopEip712ProofParams, g as CreatePopJwsProofParams, h as DnsTxtRecordResult, aX as EIP1967_ADMIN_SLOT, E as EvidencePointerProof, i as EvmOwnershipProvider, G as GetAttestationParams, j as GetAttestationsByAttesterParams, l as GetLatestAttestationsParams, H as Hex, L as ListAttestationsParams, aY as OWNERSHIP_PATTERNS, P as PopEip712Proof, m as PopJwsProof, n as PrepareDelegatedAttestationParams, o as PrepareDelegatedAttestationResult, p as ProofPurpose, q as ProofType, R as RelayErrorDetails, s as RelayMetadata, t as RequestControllerWitnessParams, u as RequestControllerWitnessResult, v as RevokeAttestationParams, w as RevokeAttestationResult, S as SchemaField, x as SubjectOwnershipVerificationMethod, y as SubjectOwnershipVerificationResult, z as SubmitAttestationParams, F as SubmitAttestationResult, I as SubmitDelegatedAttestationParams, J as SubmitDelegatedAttestationResult, T as TxEncodedValueProof, K as TxInteractionProof, V as VerifyAttestationParams, M as VerifyAttestationResult, N as VerifyDidJsonControllerDidOptions, O as VerifyDidPkhOwnershipParams, Q as VerifyDidWebOwnershipParams, U as VerifyProofParams, W as VerifyProofResult, X as VerifySubjectOwnershipParams, Y as W3CKeyPurpose, Z as X402OfferProof, _ as X402ReceiptProof, $ as buildDelegatedAttestationTypedData, a0 as buildDelegatedTypedDataFromEncoded, a1 as buildDnsTxtRecord, a2 as buildEip712Domain, a3 as calculateAverageUserReviewRating, a4 as calculateTransferAmount, a5 as calculateTransferAmountFromAddresses, a6 as callControllerWitness, a7 as constructSeed, a8 as createEvidencePointerProof, a9 as createPopEip712Proof, aa as createPopJwsProof, ab as createTxEncodedValueProof, ac as createTxInteractionProof, ad as createX402OfferProof, ae as createX402ReceiptProof, af as decodeAttestationData, ag as deduplicateReviews, aZ as discoverContractOwner, a_ as discoverControllingWalletDid, ah as encodeAttestationData, ai as extractEvmAddressesFromDidDocument, aj as extractExpirationTime, ak as extractJwksFromDidDocument, al as fetchDidDocument, am as formatSchemaUid, an as formatTransferAmount, ao as getAttestation, ap as getAttestationsByAttester, aq as getAttestationsForDid, ar as getChainConstants, as as getExplorerAddressUrl, at as getExplorerTxUrl, au as getLatestAttestations, av as getMajorVersion, aw as getOmaTrustProofEip712Types, ax as getSchemaDetails, ay as getSupportedChainIds, az as hashSeed, aA as isChainSupported, aB as listAttestations, aC as normalizeSchema, aD as parseDnsTxtRecord, aE as prepareDelegatedAttestation, a$ as readOwnerFromContract, aF as requestControllerWitness, aG as revokeAttestation, aH as schemaToString, aI as splitSignature, aJ as submitAttestation, aK as submitDelegatedAttestation, aL as validateAttestationData, aM as verifyAttestation, aN as verifyDidDocumentControllerDid, aO as verifyDidJsonControllerDid, aP as verifyDidPkhOwnership, aQ as verifyDidWebOwnership, aR as verifyEip712Signature, aS as verifyProof, aT as verifySchemaExists, aU as verifySubjectOwnership, b0 as verifyTransferProof } from './subject-ownership-B7cFlm8c.cjs';
|
|
2
|
+
import { R as ResolveKeyOptions, c as JwsVerificationResult, b as JwsVerificationFailure } from './types-Dn0OwaNj.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Controller Authorization — verifies the time window during which a controller
|
|
@@ -184,12 +184,151 @@ declare function verifyX402Eip712Offer(artifact: X402Eip712Artifact): Eip712Veri
|
|
|
184
184
|
*/
|
|
185
185
|
declare function verifyX402Eip712Receipt(artifact: X402Eip712Artifact): Eip712VerificationResult | Eip712VerificationFailure;
|
|
186
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Unified x402 Artifact Verification
|
|
189
|
+
*
|
|
190
|
+
* Auto-detects format (JWS or EIP-712) and artifact type (offer or receipt),
|
|
191
|
+
* then delegates to the appropriate verifier.
|
|
192
|
+
*
|
|
193
|
+
* This is the recommended entry point for callers who receive an x402 artifact
|
|
194
|
+
* and don't want to branch on format themselves.
|
|
195
|
+
*/
|
|
196
|
+
|
|
197
|
+
/** Any x402 artifact envelope (JWS or EIP-712) */
|
|
198
|
+
type X402Artifact = X402JwsArtifact | X402Eip712Artifact | {
|
|
199
|
+
format: string;
|
|
200
|
+
[key: string]: unknown;
|
|
201
|
+
};
|
|
202
|
+
/** Options for unified x402 verification */
|
|
203
|
+
interface VerifyX402Options {
|
|
204
|
+
/**
|
|
205
|
+
* Artifact type: "offer" or "receipt".
|
|
206
|
+
* Required so the verifier knows which payload fields to validate.
|
|
207
|
+
*/
|
|
208
|
+
artifactType: "offer" | "receipt";
|
|
209
|
+
/**
|
|
210
|
+
* Options for JWS DID URL key resolution (only used for JWS format with kid).
|
|
211
|
+
*/
|
|
212
|
+
resolveOptions?: X402JwsVerifyOptions["resolveOptions"];
|
|
213
|
+
}
|
|
214
|
+
/** Successful result from unified verification */
|
|
215
|
+
type X402VerificationSuccess = JwsVerificationResult | Eip712VerificationResult;
|
|
216
|
+
/** Failed result from unified verification */
|
|
217
|
+
type X402VerificationFailure = JwsVerificationFailure | Eip712VerificationFailure;
|
|
218
|
+
/** Result from unified verification */
|
|
219
|
+
type X402VerificationResult = X402VerificationSuccess | X402VerificationFailure;
|
|
220
|
+
/**
|
|
221
|
+
* Verify an x402 artifact, auto-detecting format (JWS or EIP-712).
|
|
222
|
+
*
|
|
223
|
+
* This is the recommended single entry point for x402 verification.
|
|
224
|
+
* It inspects the `format` field and delegates to the appropriate verifier.
|
|
225
|
+
*
|
|
226
|
+
* @param artifact - The x402 artifact object (must have a `format` field)
|
|
227
|
+
* @param options - Must specify `artifactType` ("offer" or "receipt")
|
|
228
|
+
* @returns Verification result (success or failure, format-specific)
|
|
229
|
+
*
|
|
230
|
+
* @example
|
|
231
|
+
* ```ts
|
|
232
|
+
* const result = await verifyX402Artifact(receiptFromServer, { artifactType: "receipt" });
|
|
233
|
+
* if (result.valid) {
|
|
234
|
+
* // JWS: result.publicKeyDid is the did:jwk for authorization
|
|
235
|
+
* // EIP-712: result.signer is the recovered address
|
|
236
|
+
* }
|
|
237
|
+
* ```
|
|
238
|
+
*/
|
|
239
|
+
declare function verifyX402Artifact(artifact: X402Artifact, options: VerifyX402Options): Promise<X402VerificationResult>;
|
|
240
|
+
|
|
187
241
|
declare function verifyDnsTxtControllerDid(domain: string, expectedControllerDid: Did, options?: VerifyDnsTxtControllerDidOptions): Promise<{
|
|
188
242
|
valid: boolean;
|
|
189
243
|
record?: string;
|
|
190
244
|
reason?: string;
|
|
191
245
|
}>;
|
|
192
246
|
|
|
247
|
+
/**
|
|
248
|
+
* Schema-Aware Proof Verification
|
|
249
|
+
*
|
|
250
|
+
* Provides higher-level proof verification that understands attestation schema semantics.
|
|
251
|
+
* Unlike the generic verifyProof() which validates proof structure and signatures,
|
|
252
|
+
* these functions verify that proof signers match the claimed identities in the attestation.
|
|
253
|
+
*
|
|
254
|
+
* - verifyLinkedIdentifierProofs: Verifies that proofs demonstrate shared control
|
|
255
|
+
* between subject and linkedId
|
|
256
|
+
* - verifyKeyBindingProofs: Verifies that proofs demonstrate the subject authorized
|
|
257
|
+
* the keyId binding
|
|
258
|
+
*/
|
|
259
|
+
|
|
260
|
+
/** Attestation data for a Linked Identifier schema */
|
|
261
|
+
interface LinkedIdentifierData {
|
|
262
|
+
subject: Did;
|
|
263
|
+
linkedId: Did;
|
|
264
|
+
proofs: ProofWrapper[];
|
|
265
|
+
attester?: string;
|
|
266
|
+
}
|
|
267
|
+
/** Attestation data for a Key Binding schema */
|
|
268
|
+
interface KeyBindingData {
|
|
269
|
+
subject: Did;
|
|
270
|
+
keyId: Did;
|
|
271
|
+
publicKeyJwk?: Record<string, unknown>;
|
|
272
|
+
proofs: ProofWrapper[];
|
|
273
|
+
attester?: string;
|
|
274
|
+
}
|
|
275
|
+
/** Result of schema-aware proof verification */
|
|
276
|
+
interface SchemaProofVerificationResult {
|
|
277
|
+
/** Whether all required proof checks passed */
|
|
278
|
+
valid: boolean;
|
|
279
|
+
/** Individual check results */
|
|
280
|
+
checks: SchemaProofCheck[];
|
|
281
|
+
/** Human-readable reasons for any failures */
|
|
282
|
+
reasons: string[];
|
|
283
|
+
}
|
|
284
|
+
/** Individual proof check result */
|
|
285
|
+
interface SchemaProofCheck {
|
|
286
|
+
/** Which proof (by index) was checked */
|
|
287
|
+
proofIndex: number;
|
|
288
|
+
/** The proof type */
|
|
289
|
+
proofType: string;
|
|
290
|
+
/** What the check verified */
|
|
291
|
+
checkType: "signer-is-subject" | "signer-is-linkedId" | "signer-is-keyId" | "signer-is-subject-for-key";
|
|
292
|
+
/** Whether this check passed */
|
|
293
|
+
valid: boolean;
|
|
294
|
+
/** Failure reason if not valid */
|
|
295
|
+
reason?: string;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Verify proofs for a Linked Identifier attestation.
|
|
299
|
+
*
|
|
300
|
+
* A Linked Identifier attestation asserts that subject and linkedId are controlled
|
|
301
|
+
* by the same entity. The proof semantics require:
|
|
302
|
+
*
|
|
303
|
+
* - At least one proof where the signer IS the subject (subject proves control)
|
|
304
|
+
* - At least one proof where the signer IS the linkedId (linkedId proves control)
|
|
305
|
+
*
|
|
306
|
+
* OR (for non-signer identities like handles):
|
|
307
|
+
* - Evidence-pointer proofs at locations controlled by the identity
|
|
308
|
+
*
|
|
309
|
+
* The combination demonstrates mutual agreement / shared control.
|
|
310
|
+
*
|
|
311
|
+
* @param data - The linked identifier attestation data
|
|
312
|
+
* @returns Verification result with individual check details
|
|
313
|
+
*/
|
|
314
|
+
declare function verifyLinkedIdentifierProofs(data: LinkedIdentifierData): SchemaProofVerificationResult;
|
|
315
|
+
/**
|
|
316
|
+
* Verify proofs for a Key Binding attestation.
|
|
317
|
+
*
|
|
318
|
+
* A Key Binding attestation asserts that the subject authorized a specific key (keyId).
|
|
319
|
+
* The proof semantics require:
|
|
320
|
+
*
|
|
321
|
+
* - At least one proof where the signer IS the subject (subject authorized the binding)
|
|
322
|
+
* AND the proof's authorizedEntity/aud references the keyId
|
|
323
|
+
*
|
|
324
|
+
* Optionally, if publicKeyJwk is provided:
|
|
325
|
+
* - The proof's signer key material should match publicKeyJwk for did:jwk keyIds
|
|
326
|
+
*
|
|
327
|
+
* @param data - The key binding attestation data
|
|
328
|
+
* @returns Verification result with individual check details
|
|
329
|
+
*/
|
|
330
|
+
declare function verifyKeyBindingProofs(data: KeyBindingData): SchemaProofVerificationResult;
|
|
331
|
+
|
|
193
332
|
declare const index_AttestationQueryResult: typeof AttestationQueryResult;
|
|
194
333
|
declare const index_AttestationValidationError: typeof AttestationValidationError;
|
|
195
334
|
declare const index_BuildDelegatedTypedDataFromEncodedParams: typeof BuildDelegatedTypedDataFromEncodedParams;
|
|
@@ -213,6 +352,8 @@ declare const index_GetAttestationsByAttesterParams: typeof GetAttestationsByAtt
|
|
|
213
352
|
declare const index_GetControllerAuthorizationParams: typeof GetControllerAuthorizationParams;
|
|
214
353
|
declare const index_GetLatestAttestationsParams: typeof GetLatestAttestationsParams;
|
|
215
354
|
declare const index_Hex: typeof Hex;
|
|
355
|
+
type index_KeyBindingData = KeyBindingData;
|
|
356
|
+
type index_LinkedIdentifierData = LinkedIdentifierData;
|
|
216
357
|
declare const index_ListAttestationsParams: typeof ListAttestationsParams;
|
|
217
358
|
declare const index_OWNERSHIP_PATTERNS: typeof OWNERSHIP_PATTERNS;
|
|
218
359
|
declare const index_PopEip712Proof: typeof PopEip712Proof;
|
|
@@ -229,6 +370,8 @@ declare const index_RequestControllerWitnessResult: typeof RequestControllerWitn
|
|
|
229
370
|
declare const index_RevokeAttestationParams: typeof RevokeAttestationParams;
|
|
230
371
|
declare const index_RevokeAttestationResult: typeof RevokeAttestationResult;
|
|
231
372
|
declare const index_SchemaField: typeof SchemaField;
|
|
373
|
+
type index_SchemaProofCheck = SchemaProofCheck;
|
|
374
|
+
type index_SchemaProofVerificationResult = SchemaProofVerificationResult;
|
|
232
375
|
declare const index_SubjectOwnershipVerificationMethod: typeof SubjectOwnershipVerificationMethod;
|
|
233
376
|
declare const index_SubjectOwnershipVerificationResult: typeof SubjectOwnershipVerificationResult;
|
|
234
377
|
declare const index_SubmitAttestationParams: typeof SubmitAttestationParams;
|
|
@@ -246,12 +389,17 @@ declare const index_VerifyDnsTxtControllerDidOptions: typeof VerifyDnsTxtControl
|
|
|
246
389
|
declare const index_VerifyProofParams: typeof VerifyProofParams;
|
|
247
390
|
declare const index_VerifyProofResult: typeof VerifyProofResult;
|
|
248
391
|
declare const index_VerifySubjectOwnershipParams: typeof VerifySubjectOwnershipParams;
|
|
392
|
+
type index_VerifyX402Options = VerifyX402Options;
|
|
249
393
|
declare const index_W3CKeyPurpose: typeof W3CKeyPurpose;
|
|
394
|
+
type index_X402Artifact = X402Artifact;
|
|
250
395
|
type index_X402Eip712Artifact = X402Eip712Artifact;
|
|
251
396
|
type index_X402JwsArtifact = X402JwsArtifact;
|
|
252
397
|
type index_X402JwsVerifyOptions = X402JwsVerifyOptions;
|
|
253
398
|
declare const index_X402OfferProof: typeof X402OfferProof;
|
|
254
399
|
declare const index_X402ReceiptProof: typeof X402ReceiptProof;
|
|
400
|
+
type index_X402VerificationFailure = X402VerificationFailure;
|
|
401
|
+
type index_X402VerificationResult = X402VerificationResult;
|
|
402
|
+
type index_X402VerificationSuccess = X402VerificationSuccess;
|
|
255
403
|
declare const index_buildDelegatedAttestationTypedData: typeof buildDelegatedAttestationTypedData;
|
|
256
404
|
declare const index_buildDelegatedTypedDataFromEncoded: typeof buildDelegatedTypedDataFromEncoded;
|
|
257
405
|
declare const index_buildDnsTxtRecord: typeof buildDnsTxtRecord;
|
|
@@ -312,10 +460,13 @@ declare const index_verifyDidPkhOwnership: typeof verifyDidPkhOwnership;
|
|
|
312
460
|
declare const index_verifyDidWebOwnership: typeof verifyDidWebOwnership;
|
|
313
461
|
declare const index_verifyDnsTxtControllerDid: typeof verifyDnsTxtControllerDid;
|
|
314
462
|
declare const index_verifyEip712Signature: typeof verifyEip712Signature;
|
|
463
|
+
declare const index_verifyKeyBindingProofs: typeof verifyKeyBindingProofs;
|
|
464
|
+
declare const index_verifyLinkedIdentifierProofs: typeof verifyLinkedIdentifierProofs;
|
|
315
465
|
declare const index_verifyProof: typeof verifyProof;
|
|
316
466
|
declare const index_verifySchemaExists: typeof verifySchemaExists;
|
|
317
467
|
declare const index_verifySubjectOwnership: typeof verifySubjectOwnership;
|
|
318
468
|
declare const index_verifyTransferProof: typeof verifyTransferProof;
|
|
469
|
+
declare const index_verifyX402Artifact: typeof verifyX402Artifact;
|
|
319
470
|
declare const index_verifyX402Eip712Artifact: typeof verifyX402Eip712Artifact;
|
|
320
471
|
declare const index_verifyX402Eip712Offer: typeof verifyX402Eip712Offer;
|
|
321
472
|
declare const index_verifyX402Eip712Receipt: typeof verifyX402Eip712Receipt;
|
|
@@ -323,7 +474,7 @@ declare const index_verifyX402JwsArtifact: typeof verifyX402JwsArtifact;
|
|
|
323
474
|
declare const index_verifyX402JwsOffer: typeof verifyX402JwsOffer;
|
|
324
475
|
declare const index_verifyX402JwsReceipt: typeof verifyX402JwsReceipt;
|
|
325
476
|
declare namespace index {
|
|
326
|
-
export { index_AttestationQueryResult as AttestationQueryResult, index_AttestationValidationError as AttestationValidationError, index_BuildDelegatedTypedDataFromEncodedParams as BuildDelegatedTypedDataFromEncodedParams, index_CallControllerWitnessParams as CallControllerWitnessParams, index_CallControllerWitnessResult as CallControllerWitnessResult, index_ChainConstants as ChainConstants, index_ContractOwnershipProvider as ContractOwnershipProvider, index_ControllerAuthorizationResult as ControllerAuthorizationResult, index_ControllerWitnessEvidence as ControllerWitnessEvidence, index_CreatePopEip712ProofParams as CreatePopEip712ProofParams, index_CreatePopJwsProofParams as CreatePopJwsProofParams, index_Did as Did, index_DnsTxtRecordResult as DnsTxtRecordResult, index_EIP1967_ADMIN_SLOT as EIP1967_ADMIN_SLOT, type index_Eip712VerificationFailure as Eip712VerificationFailure, type index_Eip712VerificationResult as Eip712VerificationResult, index_EvidencePointerProof as EvidencePointerProof, index_EvmOwnershipProvider as EvmOwnershipProvider, index_GetAttestationParams as GetAttestationParams, index_GetAttestationsByAttesterParams as GetAttestationsByAttesterParams, index_GetControllerAuthorizationParams as GetControllerAuthorizationParams, index_GetLatestAttestationsParams as GetLatestAttestationsParams, index_Hex as Hex, index_ListAttestationsParams as ListAttestationsParams, index_OWNERSHIP_PATTERNS as OWNERSHIP_PATTERNS, index_PopEip712Proof as PopEip712Proof, index_PopJwsProof as PopJwsProof, index_PrepareDelegatedAttestationParams as PrepareDelegatedAttestationParams, index_PrepareDelegatedAttestationResult as PrepareDelegatedAttestationResult, index_ProofPurpose as ProofPurpose, index_ProofType as ProofType, index_ProofWrapper as ProofWrapper, index_RelayErrorDetails as RelayErrorDetails, index_RelayMetadata as RelayMetadata, index_RequestControllerWitnessParams as RequestControllerWitnessParams, index_RequestControllerWitnessResult as RequestControllerWitnessResult, index_RevokeAttestationParams as RevokeAttestationParams, index_RevokeAttestationResult as RevokeAttestationResult, index_SchemaField as SchemaField, index_SubjectOwnershipVerificationMethod as SubjectOwnershipVerificationMethod, index_SubjectOwnershipVerificationResult as SubjectOwnershipVerificationResult, index_SubmitAttestationParams as SubmitAttestationParams, index_SubmitAttestationResult as SubmitAttestationResult, index_SubmitDelegatedAttestationParams as SubmitDelegatedAttestationParams, index_SubmitDelegatedAttestationResult as SubmitDelegatedAttestationResult, index_TxEncodedValueProof as TxEncodedValueProof, index_TxInteractionProof as TxInteractionProof, index_VerifyAttestationParams as VerifyAttestationParams, index_VerifyAttestationResult as VerifyAttestationResult, index_VerifyDidJsonControllerDidOptions as VerifyDidJsonControllerDidOptions, index_VerifyDidPkhOwnershipParams as VerifyDidPkhOwnershipParams, index_VerifyDidWebOwnershipParams as VerifyDidWebOwnershipParams, index_VerifyDnsTxtControllerDidOptions as VerifyDnsTxtControllerDidOptions, index_VerifyProofParams as VerifyProofParams, index_VerifyProofResult as VerifyProofResult, index_VerifySubjectOwnershipParams as VerifySubjectOwnershipParams, index_W3CKeyPurpose as W3CKeyPurpose, type index_X402Eip712Artifact as X402Eip712Artifact, type index_X402JwsArtifact as X402JwsArtifact, type index_X402JwsVerifyOptions as X402JwsVerifyOptions, index_X402OfferProof as X402OfferProof, index_X402ReceiptProof as X402ReceiptProof, index_buildDelegatedAttestationTypedData as buildDelegatedAttestationTypedData, index_buildDelegatedTypedDataFromEncoded as buildDelegatedTypedDataFromEncoded, index_buildDnsTxtRecord as buildDnsTxtRecord, index_buildEip712Domain as buildEip712Domain, index_calculateAverageUserReviewRating as calculateAverageUserReviewRating, index_calculateTransferAmount as calculateTransferAmount, index_calculateTransferAmountFromAddresses as calculateTransferAmountFromAddresses, index_callControllerWitness as callControllerWitness, index_constructSeed as constructSeed, index_createEvidencePointerProof as createEvidencePointerProof, index_createPopEip712Proof as createPopEip712Proof, index_createPopJwsProof as createPopJwsProof, index_createTxEncodedValueProof as createTxEncodedValueProof, index_createTxInteractionProof as createTxInteractionProof, index_createX402OfferProof as createX402OfferProof, index_createX402ReceiptProof as createX402ReceiptProof, index_decodeAttestationData as decodeAttestationData, index_deduplicateReviews as deduplicateReviews, index_discoverContractOwner as discoverContractOwner, index_discoverControllingWalletDid as discoverControllingWalletDid, index_encodeAttestationData as encodeAttestationData, index_extractEvmAddressesFromDidDocument as extractEvmAddressesFromDidDocument, index_extractExpirationTime as extractExpirationTime, index_extractJwksFromDidDocument as extractJwksFromDidDocument, index_fetchDidDocument as fetchDidDocument, index_formatSchemaUid as formatSchemaUid, index_formatTransferAmount as formatTransferAmount, index_getAttestation as getAttestation, index_getAttestationsByAttester as getAttestationsByAttester, index_getAttestationsForDid as getAttestationsForDid, index_getChainConstants as getChainConstants, index_getControllerAuthorization as getControllerAuthorization, index_getExplorerAddressUrl as getExplorerAddressUrl, index_getExplorerTxUrl as getExplorerTxUrl, index_getLatestAttestations as getLatestAttestations, index_getMajorVersion as getMajorVersion, index_getOmaTrustProofEip712Types as getOmaTrustProofEip712Types, index_getSchemaDetails as getSchemaDetails, index_getSupportedChainIds as getSupportedChainIds, index_hashSeed as hashSeed, index_isChainSupported as isChainSupported, index_listAttestations as listAttestations, index_normalizeSchema as normalizeSchema, index_parseDnsTxtRecord as parseDnsTxtRecord, index_prepareDelegatedAttestation as prepareDelegatedAttestation, index_readOwnerFromContract as readOwnerFromContract, index_requestControllerWitness as requestControllerWitness, index_revokeAttestation as revokeAttestation, index_schemaToString as schemaToString, index_splitSignature as splitSignature, index_submitAttestation as submitAttestation, index_submitDelegatedAttestation as submitDelegatedAttestation, index_validateAttestationData as validateAttestationData, index_verifyAttestation as verifyAttestation, index_verifyDidDocumentControllerDid as verifyDidDocumentControllerDid, index_verifyDidJsonControllerDid as verifyDidJsonControllerDid, index_verifyDidPkhOwnership as verifyDidPkhOwnership, index_verifyDidWebOwnership as verifyDidWebOwnership, index_verifyDnsTxtControllerDid as verifyDnsTxtControllerDid, index_verifyEip712Signature as verifyEip712Signature, index_verifyProof as verifyProof, index_verifySchemaExists as verifySchemaExists, index_verifySubjectOwnership as verifySubjectOwnership, index_verifyTransferProof as verifyTransferProof, index_verifyX402Eip712Artifact as verifyX402Eip712Artifact, index_verifyX402Eip712Offer as verifyX402Eip712Offer, index_verifyX402Eip712Receipt as verifyX402Eip712Receipt, index_verifyX402JwsArtifact as verifyX402JwsArtifact, index_verifyX402JwsOffer as verifyX402JwsOffer, index_verifyX402JwsReceipt as verifyX402JwsReceipt };
|
|
477
|
+
export { index_AttestationQueryResult as AttestationQueryResult, index_AttestationValidationError as AttestationValidationError, index_BuildDelegatedTypedDataFromEncodedParams as BuildDelegatedTypedDataFromEncodedParams, index_CallControllerWitnessParams as CallControllerWitnessParams, index_CallControllerWitnessResult as CallControllerWitnessResult, index_ChainConstants as ChainConstants, index_ContractOwnershipProvider as ContractOwnershipProvider, index_ControllerAuthorizationResult as ControllerAuthorizationResult, index_ControllerWitnessEvidence as ControllerWitnessEvidence, index_CreatePopEip712ProofParams as CreatePopEip712ProofParams, index_CreatePopJwsProofParams as CreatePopJwsProofParams, index_Did as Did, index_DnsTxtRecordResult as DnsTxtRecordResult, index_EIP1967_ADMIN_SLOT as EIP1967_ADMIN_SLOT, type index_Eip712VerificationFailure as Eip712VerificationFailure, type index_Eip712VerificationResult as Eip712VerificationResult, index_EvidencePointerProof as EvidencePointerProof, index_EvmOwnershipProvider as EvmOwnershipProvider, index_GetAttestationParams as GetAttestationParams, index_GetAttestationsByAttesterParams as GetAttestationsByAttesterParams, index_GetControllerAuthorizationParams as GetControllerAuthorizationParams, index_GetLatestAttestationsParams as GetLatestAttestationsParams, index_Hex as Hex, type index_KeyBindingData as KeyBindingData, type index_LinkedIdentifierData as LinkedIdentifierData, index_ListAttestationsParams as ListAttestationsParams, index_OWNERSHIP_PATTERNS as OWNERSHIP_PATTERNS, index_PopEip712Proof as PopEip712Proof, index_PopJwsProof as PopJwsProof, index_PrepareDelegatedAttestationParams as PrepareDelegatedAttestationParams, index_PrepareDelegatedAttestationResult as PrepareDelegatedAttestationResult, index_ProofPurpose as ProofPurpose, index_ProofType as ProofType, index_ProofWrapper as ProofWrapper, index_RelayErrorDetails as RelayErrorDetails, index_RelayMetadata as RelayMetadata, index_RequestControllerWitnessParams as RequestControllerWitnessParams, index_RequestControllerWitnessResult as RequestControllerWitnessResult, index_RevokeAttestationParams as RevokeAttestationParams, index_RevokeAttestationResult as RevokeAttestationResult, index_SchemaField as SchemaField, type index_SchemaProofCheck as SchemaProofCheck, type index_SchemaProofVerificationResult as SchemaProofVerificationResult, index_SubjectOwnershipVerificationMethod as SubjectOwnershipVerificationMethod, index_SubjectOwnershipVerificationResult as SubjectOwnershipVerificationResult, index_SubmitAttestationParams as SubmitAttestationParams, index_SubmitAttestationResult as SubmitAttestationResult, index_SubmitDelegatedAttestationParams as SubmitDelegatedAttestationParams, index_SubmitDelegatedAttestationResult as SubmitDelegatedAttestationResult, index_TxEncodedValueProof as TxEncodedValueProof, index_TxInteractionProof as TxInteractionProof, index_VerifyAttestationParams as VerifyAttestationParams, index_VerifyAttestationResult as VerifyAttestationResult, index_VerifyDidJsonControllerDidOptions as VerifyDidJsonControllerDidOptions, index_VerifyDidPkhOwnershipParams as VerifyDidPkhOwnershipParams, index_VerifyDidWebOwnershipParams as VerifyDidWebOwnershipParams, index_VerifyDnsTxtControllerDidOptions as VerifyDnsTxtControllerDidOptions, index_VerifyProofParams as VerifyProofParams, index_VerifyProofResult as VerifyProofResult, index_VerifySubjectOwnershipParams as VerifySubjectOwnershipParams, type index_VerifyX402Options as VerifyX402Options, index_W3CKeyPurpose as W3CKeyPurpose, type index_X402Artifact as X402Artifact, type index_X402Eip712Artifact as X402Eip712Artifact, type index_X402JwsArtifact as X402JwsArtifact, type index_X402JwsVerifyOptions as X402JwsVerifyOptions, index_X402OfferProof as X402OfferProof, index_X402ReceiptProof as X402ReceiptProof, type index_X402VerificationFailure as X402VerificationFailure, type index_X402VerificationResult as X402VerificationResult, type index_X402VerificationSuccess as X402VerificationSuccess, index_buildDelegatedAttestationTypedData as buildDelegatedAttestationTypedData, index_buildDelegatedTypedDataFromEncoded as buildDelegatedTypedDataFromEncoded, index_buildDnsTxtRecord as buildDnsTxtRecord, index_buildEip712Domain as buildEip712Domain, index_calculateAverageUserReviewRating as calculateAverageUserReviewRating, index_calculateTransferAmount as calculateTransferAmount, index_calculateTransferAmountFromAddresses as calculateTransferAmountFromAddresses, index_callControllerWitness as callControllerWitness, index_constructSeed as constructSeed, index_createEvidencePointerProof as createEvidencePointerProof, index_createPopEip712Proof as createPopEip712Proof, index_createPopJwsProof as createPopJwsProof, index_createTxEncodedValueProof as createTxEncodedValueProof, index_createTxInteractionProof as createTxInteractionProof, index_createX402OfferProof as createX402OfferProof, index_createX402ReceiptProof as createX402ReceiptProof, index_decodeAttestationData as decodeAttestationData, index_deduplicateReviews as deduplicateReviews, index_discoverContractOwner as discoverContractOwner, index_discoverControllingWalletDid as discoverControllingWalletDid, index_encodeAttestationData as encodeAttestationData, index_extractEvmAddressesFromDidDocument as extractEvmAddressesFromDidDocument, index_extractExpirationTime as extractExpirationTime, index_extractJwksFromDidDocument as extractJwksFromDidDocument, index_fetchDidDocument as fetchDidDocument, index_formatSchemaUid as formatSchemaUid, index_formatTransferAmount as formatTransferAmount, index_getAttestation as getAttestation, index_getAttestationsByAttester as getAttestationsByAttester, index_getAttestationsForDid as getAttestationsForDid, index_getChainConstants as getChainConstants, index_getControllerAuthorization as getControllerAuthorization, index_getExplorerAddressUrl as getExplorerAddressUrl, index_getExplorerTxUrl as getExplorerTxUrl, index_getLatestAttestations as getLatestAttestations, index_getMajorVersion as getMajorVersion, index_getOmaTrustProofEip712Types as getOmaTrustProofEip712Types, index_getSchemaDetails as getSchemaDetails, index_getSupportedChainIds as getSupportedChainIds, index_hashSeed as hashSeed, index_isChainSupported as isChainSupported, index_listAttestations as listAttestations, index_normalizeSchema as normalizeSchema, index_parseDnsTxtRecord as parseDnsTxtRecord, index_prepareDelegatedAttestation as prepareDelegatedAttestation, index_readOwnerFromContract as readOwnerFromContract, index_requestControllerWitness as requestControllerWitness, index_revokeAttestation as revokeAttestation, index_schemaToString as schemaToString, index_splitSignature as splitSignature, index_submitAttestation as submitAttestation, index_submitDelegatedAttestation as submitDelegatedAttestation, index_validateAttestationData as validateAttestationData, index_verifyAttestation as verifyAttestation, index_verifyDidDocumentControllerDid as verifyDidDocumentControllerDid, index_verifyDidJsonControllerDid as verifyDidJsonControllerDid, index_verifyDidPkhOwnership as verifyDidPkhOwnership, index_verifyDidWebOwnership as verifyDidWebOwnership, index_verifyDnsTxtControllerDid as verifyDnsTxtControllerDid, index_verifyEip712Signature as verifyEip712Signature, index_verifyKeyBindingProofs as verifyKeyBindingProofs, index_verifyLinkedIdentifierProofs as verifyLinkedIdentifierProofs, index_verifyProof as verifyProof, index_verifySchemaExists as verifySchemaExists, index_verifySubjectOwnership as verifySubjectOwnership, index_verifyTransferProof as verifyTransferProof, index_verifyX402Artifact as verifyX402Artifact, index_verifyX402Eip712Artifact as verifyX402Eip712Artifact, index_verifyX402Eip712Offer as verifyX402Eip712Offer, index_verifyX402Eip712Receipt as verifyX402Eip712Receipt, index_verifyX402JwsArtifact as verifyX402JwsArtifact, index_verifyX402JwsOffer as verifyX402JwsOffer, index_verifyX402JwsReceipt as verifyX402JwsReceipt };
|
|
327
478
|
}
|
|
328
479
|
|
|
329
|
-
export { type Eip712VerificationFailure as E, type
|
|
480
|
+
export { type Eip712VerificationFailure as E, type KeyBindingData as K, type LinkedIdentifierData as L, type SchemaProofCheck as S, type VerifyX402Options as V, type X402Artifact as X, type Eip712VerificationResult as a, type SchemaProofVerificationResult as b, type X402Eip712Artifact as c, type X402JwsArtifact as d, type X402JwsVerifyOptions as e, type X402VerificationFailure as f, type X402VerificationResult as g, type X402VerificationSuccess as h, index as i, getControllerAuthorization as j, verifyKeyBindingProofs as k, verifyLinkedIdentifierProofs as l, verifyX402Artifact as m, verifyX402Eip712Artifact as n, verifyX402Eip712Offer as o, verifyX402Eip712Receipt as p, verifyX402JwsArtifact as q, verifyX402JwsOffer as r, verifyX402JwsReceipt as s, verifyDnsTxtControllerDid as v };
|