@tinycloud/web-sdk 3.6.0-beta.3 → 3.6.0-beta.4
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/credentials/interpreter.d.ts +1 -26
- package/dist/credentials/transport.d.ts +1 -37
- package/dist/credentials/types.d.ts +4 -260
- package/dist/credentials-subpath.d.ts +6 -0
- package/dist/credentials.cjs +2 -0
- package/dist/credentials.cjs.LICENSE.txt +21 -0
- package/dist/credentials.mjs +2 -0
- package/dist/credentials.mjs.LICENSE.txt +21 -0
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +8 -3
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { CredentialAcquisitionTransport, CredentialProofSubject, CredentialSigningAdapter, InlineCredentialProofHandler, PrimitiveStepHandler } from "./types";
|
|
3
|
-
/** The mailbox named by an email requirement, which the issuer delivers the code to. */
|
|
4
|
-
export declare function mailboxSubject(requirement: CredentialRequirement): CredentialProofSubject | undefined;
|
|
5
|
-
/** Finite step interpreter. Dispatch is exclusively by registered primitive and version. */
|
|
6
|
-
export declare function interpretCredentialFlow(input: {
|
|
7
|
-
readonly descriptor: CredentialFlowDescriptor;
|
|
8
|
-
readonly requirement: CredentialRequirement;
|
|
9
|
-
readonly requestId: string;
|
|
10
|
-
readonly verifier: string;
|
|
11
|
-
readonly holderDid: string;
|
|
12
|
-
readonly descriptorDigest: string;
|
|
13
|
-
readonly requirementDigest: string;
|
|
14
|
-
readonly openerOrigin: string;
|
|
15
|
-
readonly transport: CredentialAcquisitionTransport;
|
|
16
|
-
readonly signing: CredentialSigningAdapter;
|
|
17
|
-
/**
|
|
18
|
-
* Fallback for a host-owned surface. It receives every declared proof step,
|
|
19
|
-
* including primitives added by a later protocol version.
|
|
20
|
-
*/
|
|
21
|
-
readonly proofHandler?: InlineCredentialProofHandler;
|
|
22
|
-
readonly handlers?: Partial<Record<"collect_input" | "mailbox_otp", PrimitiveStepHandler>>;
|
|
23
|
-
readonly signal?: AbortSignal;
|
|
24
|
-
readonly onProgress?: (event: CredentialProgressEvent) => void;
|
|
25
|
-
readonly onWait?: () => Promise<void>;
|
|
26
|
-
}): Promise<void>;
|
|
1
|
+
export { interpretCredentialFlow, mailboxSubject } from "@tinycloud/node-sdk/credentials-core";
|
|
27
2
|
//# sourceMappingURL=interpreter.d.ts.map
|
|
@@ -1,38 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { CredentialAcquisitionTransport, CredentialRequestState, PrimitiveStepResult } from "./types";
|
|
3
|
-
export declare class OpenCredentialsHttpTransport implements CredentialAcquisitionTransport {
|
|
4
|
-
private readonly descriptor;
|
|
5
|
-
private readonly fetchFn;
|
|
6
|
-
private readonly nonces;
|
|
7
|
-
private readonly bindings;
|
|
8
|
-
constructor(descriptor: CredentialFlowDescriptor, fetchFn?: typeof fetch);
|
|
9
|
-
private url;
|
|
10
|
-
private request;
|
|
11
|
-
create(input: {
|
|
12
|
-
descriptor: CredentialFlowDescriptor;
|
|
13
|
-
descriptorDigest: string;
|
|
14
|
-
requirement: CredentialRequirement;
|
|
15
|
-
requirementDigest: string;
|
|
16
|
-
holderDid: string;
|
|
17
|
-
openerOrigin: string;
|
|
18
|
-
completionVerifierChallenge: string;
|
|
19
|
-
inputs?: Readonly<Record<string, string>>;
|
|
20
|
-
signal?: AbortSignal;
|
|
21
|
-
}): Promise<{
|
|
22
|
-
requestId: string;
|
|
23
|
-
locator: string;
|
|
24
|
-
expiresAt: string;
|
|
25
|
-
correlationId: string;
|
|
26
|
-
}>;
|
|
27
|
-
private proofStep;
|
|
28
|
-
state(id: string, verifier: string, signal?: AbortSignal): Promise<CredentialRequestState>;
|
|
29
|
-
beginStep(id: string, verifier: string, stepId: "collect_input" | "mailbox_otp", signal?: AbortSignal): Promise<void>;
|
|
30
|
-
submitStep(id: string, verifier: string, stepId: string, proof: PrimitiveStepResult, signal?: AbortSignal): Promise<void>;
|
|
31
|
-
holderBinding(id: string, verifier: string, signal?: AbortSignal): Promise<CredentialHolderBinding>;
|
|
32
|
-
submitHolderSignature(id: string, verifier: string, signature: string, signal?: AbortSignal): Promise<void>;
|
|
33
|
-
issue(id: string, verifier: string, signal?: AbortSignal): Promise<void>;
|
|
34
|
-
result(id: string, verifier: string, signal?: AbortSignal): Promise<IssuedCredentialEnvelope>;
|
|
35
|
-
issuerMetadata(signal?: AbortSignal): Promise<CredentialIssuerMetadata>;
|
|
36
|
-
checkStatus(status: IssuedCredentialEnvelope["status"], _signal?: AbortSignal): Promise<boolean>;
|
|
37
|
-
}
|
|
1
|
+
export { OpenCredentialsHttpTransport } from "@tinycloud/node-sdk/credentials-core";
|
|
38
2
|
//# sourceMappingURL=transport.d.ts.map
|
|
@@ -1,266 +1,10 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
export interface
|
|
4
|
-
readonly sessionDid: string;
|
|
5
|
-
readonly credentialHolderDid: string;
|
|
6
|
-
readonly credentialHolderKid: string;
|
|
7
|
-
session(): ClientSession | undefined;
|
|
8
|
-
signSessionBytes(bytes: Uint8Array): Promise<Uint8Array>;
|
|
9
|
-
autoSignCredentialBytes?(bytes: Uint8Array): Promise<Uint8Array | undefined>;
|
|
10
|
-
approveCredentialBytes?(bytes: Uint8Array): Promise<Uint8Array>;
|
|
11
|
-
activateCompactRuntimeDelegation?(input: {
|
|
12
|
-
readonly authorization: string;
|
|
13
|
-
readonly cid: string;
|
|
14
|
-
readonly host: string;
|
|
15
|
-
}): Promise<ValidatedRuntimeDelegation>;
|
|
16
|
-
ensureOwnedSpaceHosted(name: string): Promise<string>;
|
|
17
|
-
credentialSpaceOwnerDid(spaceId: string): string;
|
|
18
|
-
kvForSpace(spaceId: string): IKVService;
|
|
19
|
-
/**
|
|
20
|
-
* Root authorization CID of the active account session. Exposed here rather
|
|
21
|
-
* than on {@link ClientSession} so the CID stays out of the public session.
|
|
22
|
-
*/
|
|
23
|
-
accountAuthorizationCid(): string;
|
|
24
|
-
/** Receiver-local credential custody. Its presence selects accountless mode. */
|
|
25
|
-
readonly receiverCredentialCustody?: ReceiverCredentialCustody;
|
|
26
|
-
}
|
|
27
|
-
export interface ReceiverCredentialCustody {
|
|
28
|
-
find(input: {
|
|
29
|
-
readonly requirement: CredentialRequirement;
|
|
30
|
-
readonly requirementDigest: string;
|
|
31
|
-
readonly holderDid: string;
|
|
32
|
-
readonly now?: Date;
|
|
33
|
-
}): Promise<StoredCredentialRecord | undefined>;
|
|
34
|
-
store(input: {
|
|
35
|
-
readonly verified: VerifiedCredential;
|
|
36
|
-
readonly requirement: CredentialRequirement;
|
|
37
|
-
readonly requirementDigest: string;
|
|
38
|
-
readonly holderDid: string;
|
|
39
|
-
readonly now?: Date;
|
|
40
|
-
}): Promise<StoredCredentialRecord>;
|
|
41
|
-
}
|
|
42
|
-
export interface CredentialSigningAdapter {
|
|
43
|
-
/** Return undefined when the existing exact-request auto-sign policy does not apply. */
|
|
44
|
-
readonly autoSign?: (binding: CredentialHolderBinding, bytes: Uint8Array, signal?: AbortSignal) => Promise<Uint8Array | undefined>;
|
|
45
|
-
/** Invoke the normal OpenKey approval surface. */
|
|
46
|
-
readonly requestApproval?: (binding: CredentialHolderBinding, bytes: Uint8Array, signal?: AbortSignal) => Promise<Uint8Array>;
|
|
47
|
-
}
|
|
48
|
-
export type PrimitiveStepResult = Readonly<Record<string, string | boolean>>;
|
|
49
|
-
export type PrimitiveStepHandler = (input: {
|
|
50
|
-
readonly descriptor: CredentialFlowDescriptor;
|
|
51
|
-
readonly requirement: CredentialRequirement;
|
|
52
|
-
readonly stepId: string;
|
|
53
|
-
readonly constraints: Readonly<Record<string, unknown>>;
|
|
54
|
-
readonly signal?: AbortSignal;
|
|
55
|
-
}) => Promise<PrimitiveStepResult>;
|
|
56
|
-
/**
|
|
57
|
-
* The bounded view a host-owned inline surface may receive. It deliberately
|
|
58
|
-
* excludes requirement values, which can contain private policy inputs.
|
|
59
|
-
*/
|
|
60
|
-
export interface InlineCredentialProofRequest {
|
|
61
|
-
readonly stepId: string;
|
|
62
|
-
readonly constraints: Readonly<Record<string, unknown>>;
|
|
63
|
-
readonly display: {
|
|
64
|
-
readonly title: string;
|
|
65
|
-
readonly description: string;
|
|
66
|
-
readonly consent: string;
|
|
67
|
-
readonly progressLabel: string;
|
|
68
|
-
readonly errorLiveRegion: "assertive";
|
|
69
|
-
};
|
|
70
|
-
readonly inputs: readonly {
|
|
71
|
-
readonly id: string;
|
|
72
|
-
readonly label: string;
|
|
73
|
-
readonly schema: CredentialFlowDescriptor["inputs"][number]["schema"];
|
|
74
|
-
}[];
|
|
75
|
-
/** Present when this step's previous proof was rejected and may be retried. */
|
|
76
|
-
readonly feedback?: {
|
|
77
|
-
readonly kind: "rejected";
|
|
78
|
-
readonly attemptsRemaining: number;
|
|
79
|
-
};
|
|
80
|
-
readonly signal?: AbortSignal;
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
* The mailbox a `mailbox_otp` code is sent to, copied from the digest-bound
|
|
84
|
-
* credential requirement. Only the SDK-owned inline view receives it; host
|
|
85
|
-
* proof handlers never see requirement values.
|
|
86
|
-
*/
|
|
87
|
-
export interface CredentialProofSubject {
|
|
88
|
-
readonly kind: "email";
|
|
89
|
-
readonly value: string;
|
|
90
|
-
}
|
|
91
|
-
export type InlineCredentialProofHandler = (input: InlineCredentialProofRequest) => Promise<PrimitiveStepResult>;
|
|
92
|
-
export type CredentialInteractionKind = "popup" | "redirect" | "headless" | "inline";
|
|
93
|
-
export interface CredentialInteractionSurface {
|
|
94
|
-
readonly wake: () => Promise<void>;
|
|
95
|
-
readonly close: () => void;
|
|
96
|
-
readonly closed: () => boolean;
|
|
97
|
-
/**
|
|
98
|
-
* A bounded, local UI callback for a declared primitive step. The adapter
|
|
99
|
-
* returns user-entered proof bytes to the SDK; it never receives an
|
|
100
|
-
* acquisition locator, request verifier, or transport capability.
|
|
101
|
-
*/
|
|
102
|
-
readonly requestProof?: InlineCredentialProofHandler;
|
|
103
|
-
/**
|
|
104
|
-
* Collects descriptor inputs the requirement does not already supply, such
|
|
105
|
-
* as the recipient's own mailbox for an email-domain requirement. It
|
|
106
|
-
* receives only the input schema and the public domain constraint.
|
|
107
|
-
*/
|
|
108
|
-
readonly requestInputs?: (request: CredentialInputRequest) => Promise<Readonly<Record<string, string>>>;
|
|
109
|
-
}
|
|
110
|
-
export interface CredentialInputRequest {
|
|
111
|
-
readonly inputs: readonly {
|
|
112
|
-
readonly id: string;
|
|
113
|
-
readonly label: string;
|
|
114
|
-
readonly schema: CredentialFlowDescriptor["inputs"][number]["schema"];
|
|
115
|
-
}[];
|
|
116
|
-
/** The exact canonical domain the entered mailbox must belong to. */
|
|
117
|
-
readonly mailboxDomain?: string;
|
|
118
|
-
readonly signal?: AbortSignal;
|
|
119
|
-
}
|
|
120
|
-
/** A browser-owned interaction that navigates to the OpenCredentials locator. */
|
|
121
|
-
export interface CredentialBrowserInteractionAdapter {
|
|
122
|
-
readonly kind: Exclude<CredentialInteractionKind, "inline">;
|
|
123
|
-
start(input: {
|
|
124
|
-
readonly interaction: CredentialFlowDescriptor["interaction"];
|
|
125
|
-
readonly locator: string;
|
|
126
|
-
readonly signal?: AbortSignal;
|
|
127
|
-
}): Promise<CredentialInteractionSurface>;
|
|
128
|
-
}
|
|
129
|
-
/**
|
|
130
|
-
* A host-owned, in-page acquisition surface. It intentionally receives no
|
|
131
|
-
* OpenCredentials locator, request verifier, or transport capability. The SDK
|
|
132
|
-
* owns every OpenCredentials request, including submission of returned proof.
|
|
133
|
-
*/
|
|
134
|
-
export interface CredentialInlineInteractionAdapter {
|
|
135
|
-
readonly kind: "inline";
|
|
136
|
-
start(input: {
|
|
137
|
-
readonly signal?: AbortSignal;
|
|
138
|
-
}): Promise<CredentialInteractionSurface>;
|
|
139
|
-
}
|
|
140
|
-
export type CredentialInteractionAdapter = CredentialBrowserInteractionAdapter | CredentialInlineInteractionAdapter;
|
|
141
|
-
export interface CredentialRedirectResumeState {
|
|
142
|
-
readonly type: "TinyCloudCredentialRedirectResume";
|
|
143
|
-
readonly version: 1;
|
|
144
|
-
readonly requestId: string;
|
|
145
|
-
readonly locator: string;
|
|
146
|
-
readonly verifier: string;
|
|
147
|
-
readonly expiresAt: string;
|
|
148
|
-
readonly correlationId: string;
|
|
149
|
-
readonly holderDid: string;
|
|
150
|
-
readonly descriptorDigest: string;
|
|
151
|
-
readonly requirementDigest: string;
|
|
152
|
-
readonly openerOrigin: string;
|
|
153
|
-
}
|
|
154
|
-
export interface CredentialRedirectStore {
|
|
155
|
-
load(): Promise<CredentialRedirectResumeState | undefined>;
|
|
156
|
-
save(state: CredentialRedirectResumeState): Promise<void>;
|
|
157
|
-
clear(): Promise<void>;
|
|
158
|
-
}
|
|
159
|
-
export interface CredentialRequestState {
|
|
160
|
-
readonly type: "OpenCredentialsAcquisitionState";
|
|
161
|
-
readonly version: 1;
|
|
162
|
-
readonly requestId: string;
|
|
163
|
-
readonly transitionId: string;
|
|
164
|
-
readonly state: "pending" | "ready_to_issue" | "issued" | "complete" | "expired" | "canceled" | "issuer_unready";
|
|
165
|
-
readonly nextStep?: {
|
|
166
|
-
readonly id: string;
|
|
167
|
-
readonly type: "collect_input" | "mailbox_otp" | "holder_signature";
|
|
168
|
-
readonly version: 1;
|
|
169
|
-
readonly constraints: Readonly<Record<string, unknown>>;
|
|
170
|
-
};
|
|
171
|
-
readonly retryAfterMs?: number;
|
|
172
|
-
readonly correlationId: string;
|
|
173
|
-
}
|
|
174
|
-
export interface CredentialAcquisitionTransport {
|
|
175
|
-
create(input: {
|
|
176
|
-
readonly descriptor: CredentialFlowDescriptor;
|
|
177
|
-
readonly descriptorDigest: string;
|
|
178
|
-
readonly requirement: CredentialRequirement;
|
|
179
|
-
readonly requirementDigest: string;
|
|
180
|
-
readonly holderDid: string;
|
|
181
|
-
readonly openerOrigin: string;
|
|
182
|
-
readonly completionVerifierChallenge: string;
|
|
183
|
-
readonly inputs?: Readonly<Record<string, string>>;
|
|
184
|
-
readonly signal?: AbortSignal;
|
|
185
|
-
}): Promise<{
|
|
186
|
-
readonly requestId: string;
|
|
187
|
-
readonly locator: string;
|
|
188
|
-
readonly expiresAt: string;
|
|
189
|
-
readonly correlationId: string;
|
|
190
|
-
}>;
|
|
191
|
-
state(requestId: string, verifier: string, signal?: AbortSignal): Promise<CredentialRequestState>;
|
|
192
|
-
beginStep(requestId: string, verifier: string, stepId: "collect_input" | "mailbox_otp", signal?: AbortSignal): Promise<void>;
|
|
193
|
-
submitStep(requestId: string, verifier: string, stepId: string, proof: PrimitiveStepResult, signal?: AbortSignal): Promise<void>;
|
|
194
|
-
holderBinding(requestId: string, verifier: string, signal?: AbortSignal): Promise<CredentialHolderBinding>;
|
|
195
|
-
submitHolderSignature(requestId: string, verifier: string, signature: string, signal?: AbortSignal): Promise<void>;
|
|
196
|
-
issue(requestId: string, verifier: string, signal?: AbortSignal): Promise<void>;
|
|
197
|
-
result(requestId: string, verifier: string, signal?: AbortSignal): Promise<IssuedCredentialEnvelope>;
|
|
198
|
-
issuerMetadata(signal?: AbortSignal): Promise<CredentialIssuerMetadata>;
|
|
199
|
-
checkStatus(status: IssuedCredentialEnvelope["status"], signal?: AbortSignal): Promise<boolean>;
|
|
200
|
-
}
|
|
201
|
-
export interface CredentialsOperationOptions {
|
|
202
|
-
readonly descriptor?: CredentialFlowDescriptor;
|
|
203
|
-
readonly discoveryUrl?: string;
|
|
204
|
-
readonly fetch?: typeof fetch;
|
|
205
|
-
readonly signal?: AbortSignal;
|
|
206
|
-
readonly timeoutMs?: number;
|
|
207
|
-
readonly onProgress?: (event: CredentialProgressEvent) => void;
|
|
208
|
-
readonly now?: () => Date;
|
|
209
|
-
}
|
|
210
|
-
export interface CredentialsAcquireOptions extends CredentialsOperationOptions {
|
|
211
|
-
/**
|
|
212
|
-
* `inline` mounts the first-party TinyCloud element unless a bounded local
|
|
213
|
-
* proof adapter is explicitly supplied.
|
|
214
|
-
*/
|
|
215
|
-
readonly interaction?: CredentialInteractionKind;
|
|
216
|
-
readonly browser?: CredentialInteractionAdapter;
|
|
1
|
+
import type { CredentialsAcquireOptions as CoreCredentialsAcquireOptions } from "@tinycloud/node-sdk/credentials-core";
|
|
2
|
+
/** Browser acquisition options. `mountTarget` is the SDK-owned UI's DOM anchor. */
|
|
3
|
+
export interface CredentialsAcquireOptions extends CoreCredentialsAcquireOptions {
|
|
217
4
|
/** An element or selector inside the current document for the SDK-owned UI. */
|
|
218
5
|
readonly mountTarget?: Element | string;
|
|
219
|
-
/** Presentation-only tokens. Security-critical copy and proof order are fixed by the descriptor. */
|
|
220
|
-
readonly theme?: CredentialAcquisitionTheme;
|
|
221
|
-
readonly transport?: CredentialAcquisitionTransport;
|
|
222
|
-
readonly signing?: CredentialSigningAdapter;
|
|
223
|
-
readonly stepHandlers?: Partial<Record<"collect_input" | "mailbox_otp", PrimitiveStepHandler>>;
|
|
224
|
-
readonly openerOrigin?: string;
|
|
225
|
-
/** Same-origin, request-scoped persistence used to resume a full-page redirect. */
|
|
226
|
-
readonly redirectStore?: CredentialRedirectStore;
|
|
227
|
-
/**
|
|
228
|
-
* Acquisition inputs the requirement does not carry (for example a
|
|
229
|
-
* recipient-chosen mailbox for an email-domain requirement). When omitted,
|
|
230
|
-
* an inline surface collects them.
|
|
231
|
-
*/
|
|
232
|
-
readonly inputs?: Readonly<Record<string, string>>;
|
|
233
|
-
}
|
|
234
|
-
export interface CredentialAcquisitionTheme {
|
|
235
|
-
readonly accentColor?: string;
|
|
236
|
-
readonly backgroundColor?: string;
|
|
237
|
-
readonly textColor?: string;
|
|
238
6
|
}
|
|
239
7
|
export interface CredentialsEnsureOptions extends CredentialsAcquireOptions {
|
|
240
8
|
}
|
|
241
|
-
export
|
|
242
|
-
readonly status: "reused" | "acquired";
|
|
243
|
-
readonly credential: VerifiedCredential;
|
|
244
|
-
readonly record: StoredCredentialRecord;
|
|
245
|
-
readonly receipt?: CredentialStorageReceipt;
|
|
246
|
-
}
|
|
247
|
-
export interface CredentialsPolicyAdmissionOptions {
|
|
248
|
-
readonly ensured: CredentialsEnsureResult;
|
|
249
|
-
readonly policy: UnifiedPolicyV2;
|
|
250
|
-
readonly policyCid: string;
|
|
251
|
-
readonly policyRootCid: string;
|
|
252
|
-
readonly enforcementRootCid: string;
|
|
253
|
-
readonly requirement: CredentialRequirement;
|
|
254
|
-
readonly requestedCapabilities: readonly UnifiedPolicyCapability[];
|
|
255
|
-
readonly nodeOrigin: string;
|
|
256
|
-
/** How long the minted session should last; see `admitPolicyCredentialV3`. */
|
|
257
|
-
readonly requestedExpiresAt?: string | null;
|
|
258
|
-
readonly fetch?: typeof fetch;
|
|
259
|
-
readonly signal?: AbortSignal;
|
|
260
|
-
readonly now?: Date;
|
|
261
|
-
readonly jti?: string;
|
|
262
|
-
}
|
|
263
|
-
export interface CredentialsPolicyAdmissionResult extends PolicyCredentialAdmissionV3 {
|
|
264
|
-
readonly installed: ValidatedRuntimeDelegation;
|
|
265
|
-
}
|
|
9
|
+
export type { CredentialAcquisitionTheme, CredentialAcquisitionTransport, CredentialBrowserInteractionAdapter, CredentialClient, CredentialInlineInteractionAdapter, CredentialInputRequest, CredentialInteractionAdapter, CredentialInteractionKind, CredentialInteractionSurface, CredentialProofSubject, CredentialRedirectResumeState, CredentialRedirectStore, CredentialRequestState, CredentialSigningAdapter, CredentialsEnsureResult, CredentialsOperationOptions, CredentialsPolicyAdmissionOptions, CredentialsPolicyAdmissionResult, InlineCredentialProofHandler, InlineCredentialProofRequest, PrimitiveStepHandler, PrimitiveStepResult, ReceiverCredentialCustody, } from "@tinycloud/node-sdk/credentials-core";
|
|
266
10
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { OpenCredentialsHttpTransport } from "@tinycloud/node-sdk/credentials";
|
|
2
|
+
export { interpretCredentialFlow } from "@tinycloud/node-sdk/credentials";
|
|
3
|
+
export type { CredentialAcquisitionTransport, CredentialRequestState, CredentialSigningAdapter, PrimitiveStepHandler, PrimitiveStepResult, } from "@tinycloud/node-sdk/credentials";
|
|
4
|
+
export { acquireEmailProof, completeEmailProof, createEd25519HolderSigner, createMemoryEmailProofPendingStore, EmailProofError, requestEmailProofCode, } from "@tinycloud/node-sdk/credentials";
|
|
5
|
+
export type { EmailProofAcquireInput, EmailProofAcquisition, EmailProofErrorCode, EmailProofOptions, EmailProofPending, EmailProofPendingStore, EmailProofProfileId, EmailProofRequestInput, EmailProofResult, EmailProofStep, HolderAlgorithm, HolderSigner, } from "@tinycloud/node-sdk/credentials";
|
|
6
|
+
//# sourceMappingURL=credentials-subpath.d.ts.map
|