@quiltt/core 3.5.3 → 3.5.5

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.
Files changed (47) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/SubscriptionLink-client-B5Tmyqw7.js +300 -0
  3. package/dist/index-client-BY-d8Msy.js +561 -0
  4. package/dist/index.d.ts +395 -15
  5. package/dist/index.js +248 -11
  6. package/package.json +11 -11
  7. package/src/api/graphql/links/actioncable/logger.ts +3 -1
  8. package/src/api/graphql/links/actioncable/subscription_guarantor.ts +1 -1
  9. package/dist/AuthAPI-eba95598.d.ts +0 -70
  10. package/dist/Storage/index.cjs +0 -10
  11. package/dist/Storage/index.cjs.map +0 -1
  12. package/dist/Storage/index.d.ts +0 -2
  13. package/dist/Storage/index.js +0 -5
  14. package/dist/Storage/index.js.map +0 -1
  15. package/dist/VersionLink-b7dfbaba.d.ts +0 -56
  16. package/dist/api/graphql/index.cjs +0 -49
  17. package/dist/api/graphql/index.cjs.map +0 -1
  18. package/dist/api/graphql/index.d.ts +0 -9
  19. package/dist/api/graphql/index.js +0 -15
  20. package/dist/api/graphql/index.js.map +0 -1
  21. package/dist/api/graphql/links/actioncable/index.cjs +0 -18
  22. package/dist/api/graphql/links/actioncable/index.cjs.map +0 -1
  23. package/dist/api/graphql/links/actioncable/index.d.ts +0 -62
  24. package/dist/api/graphql/links/actioncable/index.js +0 -5
  25. package/dist/api/graphql/links/actioncable/index.js.map +0 -1
  26. package/dist/api/graphql/links/index.cjs +0 -28
  27. package/dist/api/graphql/links/index.cjs.map +0 -1
  28. package/dist/api/graphql/links/index.d.ts +0 -8
  29. package/dist/api/graphql/links/index.js +0 -14
  30. package/dist/api/graphql/links/index.js.map +0 -1
  31. package/dist/api/index.cjs +0 -54
  32. package/dist/api/index.cjs.map +0 -1
  33. package/dist/api/index.d.ts +0 -12
  34. package/dist/api/index.js +0 -16
  35. package/dist/api/index.js.map +0 -1
  36. package/dist/api/rest/index.cjs +0 -14
  37. package/dist/api/rest/index.cjs.map +0 -1
  38. package/dist/api/rest/index.d.ts +0 -2
  39. package/dist/api/rest/index.js +0 -7
  40. package/dist/api/rest/index.js.map +0 -1
  41. package/dist/browser-e775a2b2.d.ts +0 -66
  42. package/dist/client-abcf98d8.d.ts +0 -8
  43. package/dist/consumer-c13efb94.d.ts +0 -78
  44. package/dist/index-f53b61b3.d.ts +0 -129
  45. package/dist/index.cjs +0 -67
  46. package/dist/index.cjs.map +0 -1
  47. package/dist/index.js.map +0 -1
package/dist/index.d.ts CHANGED
@@ -1,18 +1,12 @@
1
- import { M as Maybe, O as Observer } from './index-f53b61b3.js';
2
- export { D as DeepPartial, f as DeepReadonly, E as Exact, G as GlobalStorage, I as InputMaybe, L as LocalStorage, d as MakeMaybe, c as MakeOptional, b as MemoryStorage, e as Mutable, N as Nullable, a as Observable, S as Storage } from './index-f53b61b3.js';
3
- export { C as ConnectorSDK, j as ConnectorSDKCallbackMetadata, b as ConnectorSDKCallbacks, k as ConnectorSDKConnectOptions, a as ConnectorSDKConnector, m as ConnectorSDKConnectorOptions, i as ConnectorSDKEventType, c as ConnectorSDKOnEventCallback, e as ConnectorSDKOnEventExitCallback, g as ConnectorSDKOnExitAbortCallback, h as ConnectorSDKOnExitErrorCallback, f as ConnectorSDKOnExitSuccessCallback, d as ConnectorSDKOnLoadCallback, l as ConnectorSDKReconnectOptions } from './browser-e775a2b2.js';
4
- export { A as AuthLink, B as BatchHttpLink, E as ErrorLink, F as ForwardableLink, H as HttpLink, R as RetryLink, S as SubscriptionLink, T as TerminatingLink, V as VersionLink } from './VersionLink-b7dfbaba.js';
5
- export { a as QuilttClient, Q as QuilttClientOptions } from './client-abcf98d8.js';
6
- export { c as AuthAPI, A as AuthStrategies, P as PasscodePayload, S as SessionResponse, a as UnprocessableData, b as UnprocessableResponse, U as UsernamePayload } from './AuthAPI-eba95598.js';
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { ApolloLink, Operation, NextLink, Observable as Observable$1, FetchResult, ApolloClientOptions, ApolloClient } from '@apollo/client/index.js';
7
3
  export { ApolloError, InMemoryCache, NormalizedCacheObject, OperationVariables, gql, useMutation, useQuery, useSubscription } from '@apollo/client/index.js';
8
- import 'react';
9
- import '@apollo/client/link/batch-http/index.js';
10
- import '@apollo/client';
11
- import '@apollo/client/link/http/index.js';
12
- import '@apollo/client/link/retry/index.js';
13
- import '@apollo/client/core/index.js';
14
- import './consumer-c13efb94.js';
15
- import 'axios';
4
+ import { BatchHttpLink as BatchHttpLink$1 } from '@apollo/client/link/batch-http/index.js';
5
+ import * as _apollo_client from '@apollo/client';
6
+ import { HttpLink as HttpLink$1 } from '@apollo/client/link/http/index.js';
7
+ import { RetryLink as RetryLink$1 } from '@apollo/client/link/retry/index.js';
8
+ import { ApolloLink as ApolloLink$1, Operation as Operation$1, NextLink as NextLink$1, Observable as Observable$2, FetchResult as FetchResult$1 } from '@apollo/client/core/index.js';
9
+ import { AxiosResponse } from 'axios';
16
10
 
17
11
  declare const debugging: boolean;
18
12
  declare const version: string;
@@ -21,6 +15,38 @@ declare const endpointAuth: string;
21
15
  declare const endpointGraphQL: string;
22
16
  declare const endpointWebsockets: string;
23
17
 
18
+ /** Utility types to extend default TS utilities */
19
+ type Maybe<T> = T | null;
20
+ type InputMaybe<T> = Maybe<T>;
21
+ type Exact<T extends {
22
+ [key: string]: unknown;
23
+ }> = {
24
+ [K in keyof T]: T[K];
25
+ };
26
+ type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
27
+ [SubKey in K]?: Maybe<T[SubKey]>;
28
+ };
29
+ type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
30
+ [SubKey in K]: Maybe<T[SubKey]>;
31
+ };
32
+ type Nullable<T> = {
33
+ [K in keyof T]: T[K] | null;
34
+ };
35
+ type Mutable<Type> = {
36
+ -readonly [Key in keyof Type]: Type[Key];
37
+ };
38
+ type DeepPartial<T> = T extends object ? {
39
+ [P in keyof T]?: DeepPartial<T[P]>;
40
+ } : T;
41
+ type DeepReadonly<T> = T extends object ? {
42
+ [P in keyof T]: DeepReadonly<T[P]>;
43
+ } : T;
44
+ declare global {
45
+ interface Window {
46
+ expo: any;
47
+ }
48
+ }
49
+
24
50
  type JsonWebToken<T> = {
25
51
  token: string;
26
52
  claims: Claims<T>;
@@ -45,6 +71,100 @@ type PrivateClaims = {
45
71
  type QuilttJWT = JsonWebToken<PrivateClaims>;
46
72
  declare const JsonWebTokenParse: <T>(token: Maybe<string> | undefined) => Maybe<JsonWebToken<T>> | undefined;
47
73
 
74
+ type Observer<T> = Dispatch<SetStateAction<Maybe<T> | undefined>>;
75
+ /**
76
+ * This is designed to support singletons to share the memory states across all
77
+ * instance of hooks to ensure that updates only process once, by storing a value
78
+ * then notifying all subscribers when it's updated.
79
+ */
80
+ declare class Observable<T> {
81
+ private state?;
82
+ private observers;
83
+ constructor(initalState?: Maybe<T>);
84
+ get: () => Maybe<T> | undefined;
85
+ set: (nextState: Maybe<T> | undefined) => void;
86
+ subscribe: (observer: Observer<T>) => void;
87
+ unsubscribe: (observer: Observer<T>) => void;
88
+ }
89
+
90
+ /**
91
+ * An error and type safe wrapper for localStorage.
92
+ * It allows you to subscribe to changes;
93
+ * but localStorage changes only fire with another
94
+ * window updates the record.
95
+ */
96
+ declare class LocalStorage<T> {
97
+ private observers;
98
+ constructor();
99
+ isEnabled: () => boolean;
100
+ isDisabled: () => boolean;
101
+ get: (key: string) => Maybe<T> | undefined;
102
+ set: (key: string, state: Maybe<T> | undefined) => void;
103
+ remove: (key: string) => void;
104
+ subscribe: (key: string, observer: Observer<T>) => void;
105
+ unsubscribe: (key: string, observer: Observer<T>) => void;
106
+ private handleStorageEvent;
107
+ }
108
+
109
+ /**
110
+ * This is designed to support effectively an in memory key value store singleton,
111
+ * similar to localstorage, but allows you to subscribe to changes within the current
112
+ * window.
113
+ */
114
+ declare class MemoryStorage<T> {
115
+ private observables;
116
+ get: (key: string) => Maybe<T> | undefined;
117
+ set: (key: string, state: Maybe<T> | undefined) => void;
118
+ subscribe: (key: string, observer: Observer<T>) => void;
119
+ unsubscribe: (key: string, observer: Observer<T>) => void;
120
+ }
121
+
122
+ /**
123
+ * This is wraps both local and memory storage to create a unified interface, that
124
+ * allows you to subscribe to all either changes made within this window, or changes
125
+ * made by other windows.
126
+ */
127
+ declare class Storage<T> {
128
+ private memoryStore;
129
+ private localStore;
130
+ private observers;
131
+ private monitors;
132
+ /**
133
+ * Checks memoryStorage before falling back to localStorage.
134
+ */
135
+ get: (key: string) => Maybe<T> | undefined;
136
+ /**
137
+ * We don't trust localStorage to always be present, so we can't rely on it to
138
+ * update memoryStorage based on emitted changes. So we manage our own
139
+ * emitting while using the underlying events to keep memoryStore in sync with
140
+ * localStore.
141
+ */
142
+ set: (key: string, newState: Maybe<T> | undefined) => void;
143
+ /**
144
+ * Allows you to subscribe to all changes in memory or local storage as a
145
+ * single event.
146
+ */
147
+ subscribe: (key: string, observer: Observer<T>) => void;
148
+ unsubscribe: (key: string, observer: Observer<T>) => void;
149
+ /**
150
+ * Sets bubble the changes down the stack starting with memoryStore and then
151
+ * localStore. memoryStore will emit changes to everything within the current
152
+ * window context, while localStore will emit changes to every other window
153
+ * context.
154
+ *
155
+ * To ensure that the other windows are updated correctly, changes to localStore
156
+ * need to be subscribed and updated to in memory store, which then may be subscribed
157
+ * to outside of storage.
158
+ */
159
+ private monitorLocalStorageChanges;
160
+ }
161
+
162
+ /**
163
+ * This is an singleton to share the memory states across all instances; This
164
+ * basically acts like shared memory when there is no localStorage.
165
+ */
166
+ declare const GlobalStorage: Storage<any>;
167
+
48
168
  /**
49
169
  * This is designed to support singletons to timeouts that can broadcast
50
170
  * to any observers, preventing race conditions with multiple timeouts.
@@ -57,4 +177,264 @@ declare class Timeoutable {
57
177
  private broadcast;
58
178
  }
59
179
 
60
- export { Claims, JsonWebToken, JsonWebTokenParse, Maybe, Observer, PrivateClaims, QuilttJWT, RegisteredClaims, Timeoutable, cdnBase, debugging, endpointAuth, endpointGraphQL, endpointWebsockets, version };
180
+ interface CallbackManager {
181
+ onEvent(callback: ConnectorSDKOnEventCallback): void;
182
+ onLoad(callback: ConnectorSDKOnLoadCallback): void;
183
+ onExit(callback: ConnectorSDKOnEventExitCallback): void;
184
+ onExitSuccess(callback: ConnectorSDKOnExitSuccessCallback): void;
185
+ onExitAbort(callback: ConnectorSDKOnExitAbortCallback): void;
186
+ onExitError(callback: ConnectorSDKOnExitErrorCallback): void;
187
+ offEvent(callback: ConnectorSDKOnEventCallback): void;
188
+ offLoad(callback: ConnectorSDKOnLoadCallback): void;
189
+ offExit(callback: ConnectorSDKOnEventExitCallback): void;
190
+ offExitSuccess(callback: ConnectorSDKOnExitSuccessCallback): void;
191
+ offExitAbort(callback: ConnectorSDKOnExitAbortCallback): void;
192
+ offExitError(callback: ConnectorSDKOnExitErrorCallback): void;
193
+ }
194
+ interface ConnectorSDK extends CallbackManager {
195
+ authenticate(token: string | null | undefined): void;
196
+ connect(connectorId: string, options?: ConnectorSDKConnectOptions): ConnectorSDKConnector;
197
+ reconnect(connectorId: string, options: ConnectorSDKReconnectOptions): ConnectorSDKConnector;
198
+ reset(): void;
199
+ }
200
+ interface ConnectorSDKConnector extends CallbackManager {
201
+ open(): void;
202
+ }
203
+ /**
204
+ * Types for optional callbacks in the ConnectorSDK.
205
+ *
206
+ * Leaf event nodes return only metadata.
207
+ * Internal nodes return both event type and metadata.
208
+ */
209
+ type ConnectorSDKCallbacks = {
210
+ onEvent?: ConnectorSDKOnEventCallback;
211
+ onLoad?: ConnectorSDKOnLoadCallback;
212
+ onExit?: ConnectorSDKOnEventExitCallback;
213
+ onExitSuccess?: ConnectorSDKOnExitSuccessCallback;
214
+ onExitAbort?: ConnectorSDKOnExitAbortCallback;
215
+ onExitError?: ConnectorSDKOnExitErrorCallback;
216
+ };
217
+ type ConnectorSDKOnEventCallback = (type: ConnectorSDKEventType, metadata: ConnectorSDKCallbackMetadata) => void;
218
+ type ConnectorSDKOnLoadCallback = (metadata: ConnectorSDKCallbackMetadata) => void;
219
+ type ConnectorSDKOnEventExitCallback = (type: ConnectorSDKEventType, metadata: ConnectorSDKCallbackMetadata) => void;
220
+ type ConnectorSDKOnExitSuccessCallback = (metadata: ConnectorSDKCallbackMetadata) => void;
221
+ type ConnectorSDKOnExitAbortCallback = (metadata: ConnectorSDKCallbackMetadata) => void;
222
+ type ConnectorSDKOnExitErrorCallback = (metadata: ConnectorSDKCallbackMetadata) => void;
223
+ declare enum ConnectorSDKEventType {
224
+ Load = "loaded",
225
+ ExitSuccess = "exited.successful",
226
+ ExitAbort = "exited.aborted",
227
+ ExitError = "exited.errored"
228
+ }
229
+ type ConnectorSDKCallbackMetadata = {
230
+ connectorId: string;
231
+ profileId?: string;
232
+ connectionId?: string;
233
+ };
234
+ type ConnectorSDKConnectOptions = ConnectorSDKCallbacks & {
235
+ institution?: string;
236
+ };
237
+ type ConnectorSDKReconnectOptions = ConnectorSDKCallbacks & {
238
+ connectionId: string;
239
+ };
240
+ type ConnectorSDKConnectorOptions = ConnectorSDKCallbacks & {
241
+ institution?: string;
242
+ connectionId?: string;
243
+ };
244
+
245
+ /**
246
+ * unauthorizedCallback only triggers in the event the token is present, and
247
+ * returns the token; This allows sessions to be forgotten without race conditions
248
+ * causing null sessions to kill valid sessions, or invalid sessions for killing
249
+ * valid sessions during rotation and networking weirdness.
250
+ */
251
+ declare class AuthLink extends ApolloLink {
252
+ request(operation: Operation, forward: NextLink): Observable$1<FetchResult> | null;
253
+ }
254
+
255
+ declare const BatchHttpLink: BatchHttpLink$1;
256
+
257
+ declare const ErrorLink: _apollo_client.ApolloLink;
258
+
259
+ declare const ForwardableLink: ApolloLink;
260
+
261
+ declare const HttpLink: HttpLink$1;
262
+
263
+ declare const RetryLink: RetryLink$1;
264
+
265
+ declare class Connection {
266
+ constructor(consumer: any);
267
+ send(data: any): boolean;
268
+ open(): boolean;
269
+ close({ allowReconnect }?: {
270
+ allowReconnect: boolean;
271
+ }): any;
272
+ reopen(): any;
273
+ getProtocol(): any;
274
+ isOpen(): boolean;
275
+ isActive(): boolean;
276
+ triedToReconnect(): boolean;
277
+ isProtocolSupported(): boolean;
278
+ isState(...states: any[]): boolean;
279
+ getState(): string | null;
280
+ installEventHandlers(): void;
281
+ uninstallEventHandlers(): void;
282
+ }
283
+
284
+ type Data = {
285
+ [id: string]: string | object | null | undefined;
286
+ };
287
+ declare class Subscription {
288
+ consumer: Consumer;
289
+ identifier: string;
290
+ constructor(consumer: Consumer, params: Data | undefined, mixin: Data);
291
+ perform(action: string, data?: Data): boolean;
292
+ send(data: object): boolean;
293
+ unsubscribe(): Subscription;
294
+ }
295
+
296
+ declare class SubscriptionGuarantor {
297
+ subscriptions: Subscriptions;
298
+ pendingSubscriptions: Array<Subscription>;
299
+ retryTimeout: ReturnType<typeof setTimeout> | undefined;
300
+ constructor(subscriptions: Subscriptions);
301
+ guarantee(subscription: Subscription): void;
302
+ forget(subscription: Subscription): void;
303
+ startGuaranteeing(): void;
304
+ stopGuaranteeing(): void;
305
+ retrySubscribing(): void;
306
+ }
307
+
308
+ declare class Subscriptions {
309
+ consumer: Consumer;
310
+ guarantor: SubscriptionGuarantor;
311
+ subscriptions: Array<Subscription>;
312
+ constructor(consumer: Consumer);
313
+ create(channelName: string, mixin: Data): Subscription;
314
+ add(subscription: Subscription): Subscription;
315
+ remove(subscription: Subscription): Subscription;
316
+ reject(identifier: string): Subscription[];
317
+ forget(subscription: Subscription): Subscription;
318
+ findAll(identifier: string): Subscription[];
319
+ reload(): void[];
320
+ notifyAll(callbackName: string, ...args: any[]): any[][];
321
+ notify(subscription: Subscription, callbackName: string, ...args: any[]): any[];
322
+ subscribe(subscription: Subscription): void;
323
+ confirmSubscription(identifier: string): void;
324
+ sendCommand(subscription: Subscription, command: string): boolean;
325
+ }
326
+
327
+ declare class Consumer {
328
+ _url: string;
329
+ subscriptions: Subscriptions;
330
+ connection: Connection;
331
+ subprotocols: Array<string>;
332
+ constructor(url: string);
333
+ get url(): string;
334
+ send(data: object): boolean;
335
+ connect(): boolean;
336
+ disconnect(): any;
337
+ ensureActiveConnection(): boolean | undefined;
338
+ addSubProtocol(subprotocol: string): void;
339
+ }
340
+
341
+ type RequestResult = FetchResult$1<{
342
+ [key: string]: unknown;
343
+ }, Record<string, unknown>, Record<string, unknown>>;
344
+ type ConnectionParams = object | ((operation: Operation$1) => object);
345
+ declare class ActionCableLink extends ApolloLink$1 {
346
+ cables: {
347
+ [id: string]: Consumer;
348
+ };
349
+ channelName: string;
350
+ actionName: string;
351
+ connectionParams: ConnectionParams;
352
+ constructor(options: {
353
+ channelName?: string;
354
+ actionName?: string;
355
+ connectionParams?: ConnectionParams;
356
+ });
357
+ request(operation: Operation$1, _next: NextLink$1): Observable$2<RequestResult> | null;
358
+ }
359
+
360
+ declare class SubscriptionLink extends ActionCableLink {
361
+ constructor();
362
+ }
363
+
364
+ declare const TerminatingLink: ApolloLink;
365
+
366
+ declare const VersionLink: ApolloLink;
367
+
368
+ type QuilttClientOptions<T> = Omit<ApolloClientOptions<T>, 'link'>;
369
+ declare class QuilttClient<T> extends ApolloClient<T> {
370
+ constructor(options: QuilttClientOptions<T>);
371
+ }
372
+
373
+ declare enum AuthStrategies {
374
+ Email = "email",
375
+ Phone = "phone"
376
+ }
377
+ interface EmailInput {
378
+ email: string;
379
+ phone?: never;
380
+ }
381
+ interface PhoneInput {
382
+ phone: string;
383
+ email?: never;
384
+ }
385
+ type UsernamePayload = EmailInput | PhoneInput;
386
+ type PasscodePayload = UsernamePayload & {
387
+ passcode: string;
388
+ };
389
+ type SessionData = {
390
+ token: string;
391
+ };
392
+ type NoContentData = void;
393
+ type UnauthorizedData = {
394
+ message: string;
395
+ instruction: string;
396
+ };
397
+ type UnprocessableData = {
398
+ [attribute: string]: Array<string>;
399
+ };
400
+ type Ping = SessionData | UnauthorizedData;
401
+ type Identify = SessionData | NoContentData | UnprocessableData;
402
+ type Authenticate = SessionData | UnauthorizedData | UnprocessableData;
403
+ type Revoke = NoContentData | UnauthorizedData;
404
+ type SessionResponse = AxiosResponse<SessionData>;
405
+ type UnprocessableResponse = AxiosResponse<UnprocessableData>;
406
+ declare class AuthAPI {
407
+ clientId: string | undefined;
408
+ constructor(clientId?: string | undefined);
409
+ /**
410
+ * Response Statuses:
411
+ * - 200: OK -> Session is Valid
412
+ * - 401: Unauthorized -> Session is Invalid
413
+ */
414
+ ping: (token: string) => Promise<AxiosResponse<Ping, any>>;
415
+ /**
416
+ * Response Statuses:
417
+ * - 201: Created -> Profile Created, New Session Returned
418
+ * - 202: Accepted -> Profile Found, MFA Code Sent for `authenticate`
419
+ * - 422: Unprocessable Entity -> Invalid Payload
420
+ */
421
+ identify: (payload: UsernamePayload) => Promise<AxiosResponse<Identify, any>>;
422
+ /**
423
+ * Response Statuses:
424
+ * - 201: Created -> MFA Validated, New Session Returned
425
+ * - 401: Unauthorized -> MFA Invalid
426
+ * - 422: Unprocessable Entity -> Invalid Payload
427
+ */
428
+ authenticate: (payload: PasscodePayload) => Promise<AxiosResponse<Authenticate, any>>;
429
+ /**
430
+ * Response Statuses:
431
+ * - 204: No Content -> Session Revoked
432
+ * - 401: Unauthorized -> Session Not Found
433
+ */
434
+ revoke: (token: string) => Promise<AxiosResponse<Revoke, any>>;
435
+ private config;
436
+ private validateStatus;
437
+ private body;
438
+ }
439
+
440
+ export { AuthAPI, AuthLink, AuthStrategies, BatchHttpLink, type Claims, type ConnectorSDK, type ConnectorSDKCallbackMetadata, type ConnectorSDKCallbacks, type ConnectorSDKConnectOptions, type ConnectorSDKConnector, type ConnectorSDKConnectorOptions, ConnectorSDKEventType, type ConnectorSDKOnEventCallback, type ConnectorSDKOnEventExitCallback, type ConnectorSDKOnExitAbortCallback, type ConnectorSDKOnExitErrorCallback, type ConnectorSDKOnExitSuccessCallback, type ConnectorSDKOnLoadCallback, type ConnectorSDKReconnectOptions, type DeepPartial, type DeepReadonly, ErrorLink, type Exact, ForwardableLink, GlobalStorage, HttpLink, type InputMaybe, type JsonWebToken, JsonWebTokenParse, LocalStorage, type MakeMaybe, type MakeOptional, type Maybe, MemoryStorage, type Mutable, type Nullable, Observable, type Observer, type PasscodePayload, type PrivateClaims, QuilttClient, type QuilttClientOptions, type QuilttJWT, type RegisteredClaims, RetryLink, type SessionResponse, Storage, SubscriptionLink, TerminatingLink, Timeoutable, type UnprocessableData, type UnprocessableResponse, type UsernamePayload, VersionLink, cdnBase, debugging, endpointAuth, endpointGraphQL, endpointWebsockets, version };