@supatype/svelte 0.3.0 → 0.3.2

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.
@@ -1,4 +1,4 @@
1
1
 
2
- > @supatype/svelte@0.3.0 build /home/runner/work/supatype/supatype/packages/svelte
2
+ > @supatype/svelte@0.3.2 build /home/runner/work/supatype/supatype/packages/svelte
3
3
  > tsc --project tsconfig.json
4
4
 
@@ -1,4 +1,4 @@
1
1
 
2
- > @supatype/svelte@0.3.0 typecheck /home/runner/work/supatype/supatype/packages/svelte
2
+ > @supatype/svelte@0.3.2 typecheck /home/runner/work/supatype/supatype/packages/svelte
3
3
  > tsc --project tsconfig.json --noEmit
4
4
 
package/dist/context.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { SupatypeClient, AnyDatabase } from "@supatype/client";
1
+ import type { AugmentedDatabase, SupatypeClient, AnyDatabase } from "@supatype/client";
2
2
  /**
3
3
  * Generic in the database, like its getter.
4
4
  *
@@ -7,6 +7,6 @@ import type { SupatypeClient, AnyDatabase } from "@supatype/client";
7
7
  * call every Svelte app makes. The only way through was a cast in user code, which then threw away
8
8
  * the row types the client was carrying.
9
9
  */
10
- export declare function setSupatypeClient<TDatabase extends AnyDatabase = AnyDatabase>(client: SupatypeClient<TDatabase>): void;
11
- export declare function getSupatypeClient<TDatabase extends AnyDatabase = AnyDatabase>(): SupatypeClient<TDatabase>;
10
+ export declare function setSupatypeClient<TDatabase extends AnyDatabase = AugmentedDatabase>(client: SupatypeClient<TDatabase>): void;
11
+ export declare function getSupatypeClient<TDatabase extends AnyDatabase = AugmentedDatabase>(): SupatypeClient<TDatabase>;
12
12
  //# sourceMappingURL=context.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAInE;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,SAAS,WAAW,GAAG,WAAW,EAC3E,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC,GAChC,IAAI,CAEN;AAED,wBAAgB,iBAAiB,CAAC,SAAS,SAAS,WAAW,GAAG,WAAW,KAAK,cAAc,CAAC,SAAS,CAAC,CAM1G"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../src/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAItF;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjF,MAAM,EAAE,cAAc,CAAC,SAAS,CAAC,GAChC,IAAI,CAEN;AAED,wBAAgB,iBAAiB,CAAC,SAAS,SAAS,WAAW,GAAG,iBAAiB,KAAK,cAAc,CAAC,SAAS,CAAC,CAMhH"}
@@ -1,5 +1,5 @@
1
1
  import { type Readable } from "svelte/store";
2
- import type { AnyDatabase, SupatypeError, User, Session } from "@supatype/client";
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError, User, Session } from "@supatype/client";
3
3
  export interface AuthStore {
4
4
  user: Readable<User | null>;
5
5
  session: Readable<Session | null>;
@@ -20,5 +20,5 @@ export interface AuthStore {
20
20
  error: SupatypeError | null;
21
21
  }>;
22
22
  }
23
- export declare function createAuth<TDatabase extends AnyDatabase = AnyDatabase>(): AuthStore;
23
+ export declare function createAuth<TDatabase extends AnyDatabase = AugmentedDatabase>(): AuthStore;
24
24
  //# sourceMappingURL=createAuth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createAuth.d.ts","sourceRoot":"","sources":["../src/createAuth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,IAAI,EAAE,OAAO,EAAmB,MA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,GAAG,IAAI,CAAC,CAAA;IAC3B,OAAO,EAAE,QAAQ,CAAC,OAAO,GAAG,IAAI,CAAC,CAAA;IACjC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC1B,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACrF,MAAM,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACrF,OAAO,EAAE,MAAM,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IACvD,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAC/E,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC;QAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;CAC3E;AAED,wBAAgB,UAAU,CAAC,SAAS,SAAS,WAAW,GAAG,iBAAiB,KAAK,SAAS,CA8DzF"}
@@ -1,5 +1,5 @@
1
1
  import { type Readable } from "svelte/store";
2
- import type { AnyDatabase, SupatypeError } from "@supatype/client";
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client";
3
3
  export interface FunctionStore<TResponse> {
4
4
  invoke: (body?: unknown) => Promise<{
5
5
  data: TResponse | null;
@@ -9,5 +9,5 @@ export interface FunctionStore<TResponse> {
9
9
  error: Readable<SupatypeError | null>;
10
10
  loading: Readable<boolean>;
11
11
  }
12
- export declare function createFunction<TResponse = unknown, TDatabase extends AnyDatabase = AnyDatabase>(functionName: string): FunctionStore<TResponse>;
12
+ export declare function createFunction<TResponse = unknown, TDatabase extends AnyDatabase = AugmentedDatabase>(functionName: string): FunctionStore<TResponse>;
13
13
  //# sourceMappingURL=createFunction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFunction.d.ts","sourceRoot":"","sources":["../src/createFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGlE,MAAM,WAAW,aAAa,CAAC,SAAS;IACtC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAC5F,IAAI,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAChC,KAAK,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IACrC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;CAC3B;AAED,wBAAgB,cAAc,CAC5B,SAAS,GAAG,OAAO,EACnB,SAAS,SAAS,WAAW,GAAG,WAAW,EAE3C,YAAY,EAAE,MAAM,GACnB,aAAa,CAAC,SAAS,CAAC,CA0B1B"}
1
+ {"version":3,"file":"createFunction.d.ts","sourceRoot":"","sources":["../src/createFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGrF,MAAM,WAAW,aAAa,CAAC,SAAS;IACtC,MAAM,EAAE,CAAC,IAAI,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;QAAE,IAAI,EAAE,SAAS,GAAG,IAAI,CAAC;QAAC,KAAK,EAAE,aAAa,GAAG,IAAI,CAAA;KAAE,CAAC,CAAA;IAC5F,IAAI,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC,CAAA;IAChC,KAAK,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IACrC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;CAC3B;AAED,wBAAgB,cAAc,CAC5B,SAAS,GAAG,OAAO,EACnB,SAAS,SAAS,WAAW,GAAG,iBAAiB,EAEjD,YAAY,EAAE,MAAM,GACnB,aAAa,CAAC,SAAS,CAAC,CA0B1B"}
@@ -1,5 +1,5 @@
1
1
  import { type Readable } from "svelte/store";
2
- import type { AnyDatabase, SupatypeError } from "@supatype/client";
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client";
3
3
  export type MutationOperation = "insert" | "update" | "delete" | "upsert";
4
4
  export interface MutationOptions {
5
5
  filter?: Record<string, unknown> | undefined;
@@ -12,5 +12,5 @@ export interface MutationStore<TRow> {
12
12
  loading: Readable<boolean>;
13
13
  error: Readable<SupatypeError | null>;
14
14
  }
15
- export declare function createMutation<TDatabase extends AnyDatabase = AnyDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, operation: MutationOperation): MutationStore<TRow>;
15
+ export declare function createMutation<TDatabase extends AnyDatabase = AugmentedDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, operation: MutationOperation): MutationStore<TRow>;
16
16
  //# sourceMappingURL=createMutation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createMutation.d.ts","sourceRoot":"","sources":["../src/createMutation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,KAAK,EAAE,W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Database, AnyDatabase, SupatypeError } from "@supatype/client";
3
3
  export interface QueryOptions {
4
4
  columns?: string | undefined;
5
5
  filter?: Record<string, unknown> | undefined;
@@ -17,5 +17,5 @@ export interface QueryStore<TRow> {
17
17
  loading: Readable<boolean>;
18
18
  refetch: () => Promise<void>;
19
19
  }
20
- export declare function createQuery<TDatabase extends AnyDatabase = AnyDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, options?: QueryOptions | undefined): QueryStore<TRow>;
20
+ export declare function createQuery<TDatabase extends AnyDatabase = AugmentedDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, options?: QueryOptions | undefined): QueryStore<TRow>;
21
21
  //# sourceMappingURL=createQuery.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createQuery.d.ts","sourceRoot":"","sources":["../src/createQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAGlE,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;IAC5C,KAAK,CAAC,EAAE;QAAE,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,SAAS,CAAA;IAC3D,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B;AAED,MAAM,WAAW,UAA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AG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B;AAED,MAAM,WAAW,UAAU,CAAC,IAAI;IAC9B,IAAI,EAAE,QAAQ,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC,CAAA;IAC7B,KAAK,EAAE,QAAQ,CAAC,aAAa,GAAG,IAAI,CAAC,CAAA;IACrC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAA;IAC1B,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC7B;AAED,wBAAgB,WAAW,CACzB,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjD,MAAM,SAAS,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,EAC1G,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAEnD,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GACjC,UAAU,CAAC,IAAI,CAAC,CAgElB"}
@@ -1,4 +1,6 @@
1
+ import { onDestroy } from "svelte";
1
2
  import { writable } from "svelte/store";
3
+ import { onIdentityChange } from "@supatype/client";
2
4
  import { getSupatypeClient } from "./context.js";
3
5
  export function createQuery(table, options) {
4
6
  const client = getSupatypeClient();
@@ -44,6 +46,12 @@ export function createQuery(table, options) {
44
46
  };
45
47
  // Auto-fetch on creation
46
48
  fetchData();
49
+ // Re-run when the signed-in identity changes. See `onIdentityChange` for which changes count,
50
+ // and why the fetch above is not enough on its own.
51
+ //
52
+ // `onDestroy` is safe here for the same reason `getSupatypeClient()` above is: both need a
53
+ // component's init, and this store is read out of context, so it already had one.
54
+ onDestroy(onIdentityChange(client.auth, () => void fetchData()));
47
55
  return {
48
56
  data: { subscribe: data.subscribe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AS,EAAE;QACnC,KAAK,EAAE,EAAE,SAAS,EAAE,KAAK,CAAC,SAAS,EAAE;QACrC,OAAO,EAAE,EAAE,SAAS,EAAE,OAAO,CAAC,SAAS,EAAE;QACzC,OAAO,EAAE,SAAS;KACnB,CAAA;AACH,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type Readable } from "svelte/store";
2
- import type { AnyDatabase, SupatypeError, RealtimeEvent } from "@supatype/client";
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError, RealtimeEvent } from "@supatype/client";
3
3
  export interface SubscriptionOptions {
4
4
  event?: RealtimeEvent | undefined;
5
5
  filter?: string | undefined;
@@ -9,5 +9,5 @@ export interface SubscriptionStore<TRow> {
9
9
  error: Readable<SupatypeError | null>;
10
10
  status: Readable<"connecting" | "connected" | "disconnected" | "error">;
11
11
  }
12
- export declare function createSubscription<TDatabase extends AnyDatabase = AnyDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, options?: SubscriptionOptions | undefined): SubscriptionStore<TRow>;
12
+ export declare function createSubscription<TDatabase extends AnyDatabase = AugmentedDatabase, TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string, TRow = TDatabase["public"]["Tables"][TTable]["Row"]>(table: TTable, options?: SubscriptionOptions | undefined): SubscriptionStore<TRow>;
13
13
  //# sourceMappingURL=createSubscription.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createSubscription.d.ts","sourceRoot":"","sources":["../src/createSubscription.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAA;AAEtD,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAmB,aAAa,EAAiB,MAAM,kBAAkB,CAAA;AAGjH,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,aAAa,GAAG,SAAS,CAAA;IACjC,MA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G,IAAI,CAAC,CAAA;IACrC,MAAM,EAAE,QAAQ,CAAC,YAAY,GAAG,WAAW,GAAG,cAAc,GAAG,OAAO,CAAC,CAAA;CACxE;AAED,wBAAgB,kBAAkB,CAChC,SAAS,SAAS,WAAW,GAAG,iBAAiB,EACjD,MAAM,SAAS,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,GAAG,MAAM,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,GAAG,MAAM,EAC1G,IAAI,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,EAEnD,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,GACxC,iBAAiB,CAAC,IAAI,CAAC,CA+DzB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supatype/svelte",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "license": "MIT",
5
5
  "description": "Svelte stores for Supatype, createQuery, createMutation, createAuth, createSubscription",
6
6
  "type": "module",
@@ -14,12 +14,12 @@
14
14
  },
15
15
  "peerDependencies": {
16
16
  "svelte": "^5.0.0",
17
- "@supatype/client": "0.3.0"
17
+ "@supatype/client": "0.3.2"
18
18
  },
19
19
  "devDependencies": {
20
20
  "typescript": "^5",
21
21
  "svelte": "^5.0.0",
22
- "@supatype/client": "0.3.0"
22
+ "@supatype/client": "0.3.2"
23
23
  },
24
24
  "scripts": {
25
25
  "build": "tsc --project tsconfig.json",
package/src/context.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { getContext, setContext } from "svelte"
2
- import type { SupatypeClient, AnyDatabase } from "@supatype/client"
2
+ import type { AugmentedDatabase, SupatypeClient, AnyDatabase } from "@supatype/client"
3
3
 
4
4
  const SUPATYPE_KEY = Symbol("supatype")
5
5
 
@@ -11,13 +11,13 @@ const SUPATYPE_KEY = Symbol("supatype")
11
11
  * call every Svelte app makes. The only way through was a cast in user code, which then threw away
12
12
  * the row types the client was carrying.
13
13
  */
14
- export function setSupatypeClient<TDatabase extends AnyDatabase = AnyDatabase>(
14
+ export function setSupatypeClient<TDatabase extends AnyDatabase = AugmentedDatabase>(
15
15
  client: SupatypeClient<TDatabase>,
16
16
  ): void {
17
17
  setContext(SUPATYPE_KEY, client)
18
18
  }
19
19
 
20
- export function getSupatypeClient<TDatabase extends AnyDatabase = AnyDatabase>(): SupatypeClient<TDatabase> {
20
+ export function getSupatypeClient<TDatabase extends AnyDatabase = AugmentedDatabase>(): SupatypeClient<TDatabase> {
21
21
  const client = getContext<SupatypeClient<TDatabase> | undefined>(SUPATYPE_KEY)
22
22
  if (!client) {
23
23
  throw new Error("getSupatypeClient() requires setSupatypeClient() to be called in a parent component.")
package/src/createAuth.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { writable, type Readable } from "svelte/store"
2
2
  import { onDestroy } from "svelte"
3
- import type { AnyDatabase, SupatypeError, User, Session, AuthChangeEvent } from "@supatype/client"
3
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError, User, Session, AuthChangeEvent } from "@supatype/client"
4
4
  import { getSupatypeClient } from "./context.js"
5
5
 
6
6
  export interface AuthStore {
@@ -14,7 +14,7 @@ export interface AuthStore {
14
14
  resetPassword: (email: string) => Promise<{ error: SupatypeError | null }>
15
15
  }
16
16
 
17
- export function createAuth<TDatabase extends AnyDatabase = AnyDatabase>(): AuthStore {
17
+ export function createAuth<TDatabase extends AnyDatabase = AugmentedDatabase>(): AuthStore {
18
18
  const client = getSupatypeClient<TDatabase>()
19
19
  const user = writable<User | null>(null)
20
20
  const session = writable<Session | null>(null)
@@ -1,5 +1,5 @@
1
1
  import { writable, type Readable } from "svelte/store"
2
- import type { AnyDatabase, SupatypeError } from "@supatype/client"
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
3
3
  import { getSupatypeClient } from "./context.js"
4
4
 
5
5
  export interface FunctionStore<TResponse> {
@@ -11,7 +11,7 @@ export interface FunctionStore<TResponse> {
11
11
 
12
12
  export function createFunction<
13
13
  TResponse = unknown,
14
- TDatabase extends AnyDatabase = AnyDatabase,
14
+ TDatabase extends AnyDatabase = AugmentedDatabase,
15
15
  >(
16
16
  functionName: string,
17
17
  ): FunctionStore<TResponse> {
@@ -1,5 +1,5 @@
1
1
  import { writable, type Readable } from "svelte/store"
2
- import type { AnyDatabase, SupatypeError } from "@supatype/client"
2
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
3
3
  import { getSupatypeClient } from "./context.js"
4
4
 
5
5
  export type MutationOperation = "insert" | "update" | "delete" | "upsert"
@@ -18,7 +18,7 @@ export interface MutationStore<TRow> {
18
18
  }
19
19
 
20
20
  export function createMutation<
21
- TDatabase extends AnyDatabase = AnyDatabase,
21
+ TDatabase extends AnyDatabase = AugmentedDatabase,
22
22
  TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string,
23
23
  TRow = TDatabase["public"]["Tables"][TTable]["Row"],
24
24
  >(
@@ -1,5 +1,7 @@
1
+ import { onDestroy } from "svelte"
1
2
  import { writable, type Readable } from "svelte/store"
2
- import type { AnyDatabase, SupatypeError } from "@supatype/client"
3
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError } from "@supatype/client"
4
+ import { onIdentityChange } from "@supatype/client"
3
5
  import { getSupatypeClient } from "./context.js"
4
6
 
5
7
  export interface QueryOptions {
@@ -19,7 +21,7 @@ export interface QueryStore<TRow> {
19
21
  }
20
22
 
21
23
  export function createQuery<
22
- TDatabase extends AnyDatabase = AnyDatabase,
24
+ TDatabase extends AnyDatabase = AugmentedDatabase,
23
25
  TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string,
24
26
  TRow = TDatabase["public"]["Tables"][TTable]["Row"],
25
27
  >(
@@ -76,6 +78,13 @@ export function createQuery<
76
78
  // Auto-fetch on creation
77
79
  fetchData()
78
80
 
81
+ // Re-run when the signed-in identity changes. See `onIdentityChange` for which changes count,
82
+ // and why the fetch above is not enough on its own.
83
+ //
84
+ // `onDestroy` is safe here for the same reason `getSupatypeClient()` above is: both need a
85
+ // component's init, and this store is read out of context, so it already had one.
86
+ onDestroy(onIdentityChange(client.auth, () => void fetchData()))
87
+
79
88
  return {
80
89
  data: { subscribe: data.subscribe },
81
90
  error: { subscribe: error.subscribe },
@@ -1,6 +1,6 @@
1
1
  import { writable, type Readable } from "svelte/store"
2
2
  import { onDestroy } from "svelte"
3
- import type { AnyDatabase, SupatypeError, RealtimePayload, RealtimeEvent, ChannelStatus } from "@supatype/client"
3
+ import type { AugmentedDatabase, AnyDatabase, SupatypeError, RealtimePayload, RealtimeEvent, ChannelStatus } from "@supatype/client"
4
4
  import { getSupatypeClient } from "./context.js"
5
5
 
6
6
  export interface SubscriptionOptions {
@@ -15,7 +15,7 @@ export interface SubscriptionStore<TRow> {
15
15
  }
16
16
 
17
17
  export function createSubscription<
18
- TDatabase extends AnyDatabase = AnyDatabase,
18
+ TDatabase extends AnyDatabase = AugmentedDatabase,
19
19
  TTable extends keyof TDatabase["public"]["Tables"] & string = keyof TDatabase["public"]["Tables"] & string,
20
20
  TRow = TDatabase["public"]["Tables"][TTable]["Row"],
21
21
  >(
@@ -1 +1 @@
1
- {"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/lib.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/parser-options.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/index.d.ts","../../node_modules/.pnpm/esrap@2.2.4/node_modules/esrap/types/index.d.ts","../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.d.mts","../../node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","../../node_modules/.pnpm/locate-character@3.0.0/node_modules/locate-character/types/index.d.ts","../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/types/index.d.ts","../client/dist/query-cache.d.ts","../client/dist/types.d.ts","../client/dist/auth.d.ts","../client/dist/query.d.ts","../client/dist/storage.d.ts","../client/dist/realtime.d.ts","../client/dist/pkce.d.ts","../client/dist/errors.d.ts","../client/dist/fetch-with-retry.d.ts","../client/dist/retry.d.ts","../client/dist/error-codes-doc.d.ts","../client/dist/serverless-docs.d.ts","../client/dist/preview.d.ts","../client/dist/index.d.ts","./src/context.ts","./src/createAuth.ts","./src/createFunction.ts","./src/createMutation.ts","./src/createQuery.ts","./src/createSubscription.ts","./src/index.ts"],"fileIdsList":[[59],[60,61,62,63],[59,61],[60,63],[64,65],[65,66,67,68,69],[71],[70,71,72,73,74,75,76,77,78,79,80,81,82],[70,71],[78],[70],[69,83],[69,83,84],[84,85,86,87,88,89]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"e134052a6b1ded61693b4037f615dc72f14e2881e79c1ddbff6c514c8a516b05","impliedFormat":1},{"version":"33a1caf57a6f7318c7ce2c8a8a35137bd7c064d140f324e8f47b94cd129305b5","impliedFormat":1},{"version":"cc512139c85c41ba2dc95076b1ce05786c98129bcfe875017946ba2c82607ef1","impliedFormat":1},{"version":"12bffdbf179bfe787334d1aa31393bac5b79a84d2285ad94bcf36c1cce9eed57","impliedFormat":1},{"version":"e81484fc62d5e6add90882339bb2cdba0c87b85ca4002add438d0771ce2fdfa7","impliedFormat":1},{"version":"92ebc3261b20037c4e078cd3d26bccedb719b3eec653925e103b6ced4a936c0d","impliedFormat":1},{"version":"d8f8d36a0350f1b4e25f0d6c8cab7fb484a770cb02c4c92b8215ad421615d248","impliedFormat":99},{"version":"2be2227c3810dfd84e46674fd33b8d09a4a28ad9cb633ed536effd411665ea1e","impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"ecd7b4429a2b12f50ef619043fca298eb99a9b7f9e8edabd60c9bbb7fa8f036b","impliedFormat":99},{"version":"c5c4280379b7f36801b1419663fe3d4f53cb1400bea8df529b20ae58cbf13ea8","affectsGlobalScope":true,"impliedFormat":99},{"version":"b6f5d9d457ba7e8dcbab9cfde2f3e3260da0bb17906c1c4bc493e470d454ddd2","impliedFormat":99},{"version":"3d5a5a2c8ebcf9844b2e1462c9d53531391bdd7ccdc455dd58f6c80876a096a9","impliedFormat":99},{"version":"1a16e10f5d17d14149467d377c183e1a978e385934b3efa05230dbb9de21f3c6","impliedFormat":99},{"version":"10d72ba29271b99a552e5baee5a626b079763c00d98fc46bcacba538f2ff28f6","impliedFormat":99},{"version":"cbed3d0f4f98f6d4625f689bb9d860360eec1c80f844fa2ac6e3804ea34d80a8","impliedFormat":99},{"version":"00f9fbcf8c7f9957b087eb4922fc153085c112d7f386c2cc211995a47fe7e07e","impliedFormat":99},{"version":"5e42b1db10cc88f088e5e4749e97e57bad97d0e1bb963110f6dc2ea0b8c954ca","impliedFormat":99},{"version":"2590a1c2be99e2e3767588ce4ccc76bcc229cfe95d2132685cc22a5c4253206e","impliedFormat":99},{"version":"ccbb4f957666793ea28e67b0748ba838841e641330b661bae31a5974612c73fd","impliedFormat":99},{"version":"9143a4409f10ae9f6362706e00e3b7ed082d4b2af0125aab31ecd30a6fefab13","impliedFormat":99},{"version":"0a1cc7a231379fab5652cc44ccc109a1efec0f92b68273b306d259f228d52fe9","impliedFormat":99},{"version":"2d177f86bfbb9344d4545d4db67f3c55f8c2d4d669a2be4e32eeb439aae7b1b8","impliedFormat":99},{"version":"4cb0a2644a82e5603500af9888ebcc963abf982c86ab614baf94dbf4ccade688","impliedFormat":99},{"version":"b4d820b00faa73748d4278fc088d1a1eb1b58e8fc51a597948be11437a8c2df1","impliedFormat":99},{"version":"dea687ceeb933d1e711234e099eb8bbe04018b7628db176c61c7e5a5895d30cb","signature":"e9cecf4d6b427208ee735d9ea30b3afaf3137978e743f7f3adabaec8a912b59b","impliedFormat":99},{"version":"901a0a90f5cba4f9a4ea329d6ce3aa4560874a4e4c21ab99384a15d1b519ee65","signature":"6dbbae2ee80eca51e85ef5a8da02df6ce118207b0f3fc894d502c728e9be5608","impliedFormat":99},{"version":"b07fc5eeca1a0cd524b2c5a81a16dfb4aec94dc81de5169517457aea90769ddd","signature":"f0a5cc14bcb4523551b95804d18cbb0b371f21365d1581fdcb40a00b9583a9a5","impliedFormat":99},{"version":"3cd1637b43aa20f4f5400621a324e32d810fcd0e5fc0e8410102a95ec9d7c097","signature":"7cab0b53f45d89e9870dc69e6f9b0e790ce5c4b94d46acae89b5d782e373ff24","impliedFormat":99},{"version":"b4a3026562fe4f24b1e2907d325a1eb86c9c3a2b9b50cc7525015481f65adf44","signature":"c0da4115e5f21395a5f2794e4bf0e44341a58c383d2ec2c2f8e35d1f464ba5e7","impliedFormat":99},{"version":"ecdef68d1cd7534b9299b121a7ff286818888e27e72da2072b41f972523ba27f","signature":"724261d9068dc0c733f09e3ee39cef2bbac3d973bd12da3bab7300aaa7b2892f","impliedFormat":99},{"version":"0716a36dffb7905ce91f186c05b6b77f350c5da0bd6cdfc9915270b4ad7d0afc","signature":"2d6dd4853cf329d0b317aff87bc2d76afc219924d0dbaa0587fc03759fc43002","impliedFormat":99}],"root":[[84,90]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[60,1],[64,2],[62,3],[63,4],[65,5],[69,6],[72,7],[83,8],[70,7],[73,9],[79,10],[74,7],[71,11],[84,12],[85,13],[86,13],[87,13],[88,13],[89,13],[90,14]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}
1
+ {"fileNames":["../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.array.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.object.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.string.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/generated/ast-spec.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/lib.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/parser-options.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/ts-estree.d.ts","../../node_modules/.pnpm/@typescript-eslint+types@8.57.1/node_modules/@typescript-eslint/types/dist/index.d.ts","../../node_modules/.pnpm/esrap@2.2.4/node_modules/esrap/types/index.d.ts","../../node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.d.mts","../../node_modules/.pnpm/@types+estree@1.0.8/node_modules/@types/estree/index.d.ts","../../node_modules/.pnpm/locate-character@3.0.0/node_modules/locate-character/types/index.d.ts","../../node_modules/.pnpm/svelte@5.54.0/node_modules/svelte/types/index.d.ts","../client/dist/query-cache.d.ts","../client/dist/types.d.ts","../client/dist/auth.d.ts","../client/dist/query.d.ts","../client/dist/storage.d.ts","../client/dist/realtime.d.ts","../client/dist/pkce.d.ts","../client/dist/identity.d.ts","../client/dist/errors.d.ts","../client/dist/exact-values.d.ts","../client/dist/field-kinds-registry.d.ts","../client/dist/fetch-with-retry.d.ts","../client/dist/retry.d.ts","../client/dist/error-codes-doc.d.ts","../client/dist/serverless-docs.d.ts","../client/dist/preview.d.ts","../client/dist/index.d.ts","./src/context.ts","./src/createAuth.ts","./src/createFunction.ts","./src/createMutation.ts","./src/createQuery.ts","./src/createSubscription.ts","./src/index.ts"],"fileIdsList":[[59],[60,61,62,63],[59,61],[60,63],[64,65],[65,66,67,68,69],[71],[79],[72],[70,71,72,73,74,75,76,77,78,80,81,82,83,84,85],[70,71],[73],[81],[70],[69,86],[69,86,87],[87,88,89,90,91,92]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"080941d9f9ff9307f7e27a83bcd888b7c8270716c39af943532438932ec1d0b9","affectsGlobalScope":true,"impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"e134052a6b1ded61693b4037f615dc72f14e2881e79c1ddbff6c514c8a516b05","impliedFormat":1},{"version":"33a1caf57a6f7318c7ce2c8a8a35137bd7c064d140f324e8f47b94cd129305b5","impliedFormat":1},{"version":"cc512139c85c41ba2dc95076b1ce05786c98129bcfe875017946ba2c82607ef1","impliedFormat":1},{"version":"12bffdbf179bfe787334d1aa31393bac5b79a84d2285ad94bcf36c1cce9eed57","impliedFormat":1},{"version":"e81484fc62d5e6add90882339bb2cdba0c87b85ca4002add438d0771ce2fdfa7","impliedFormat":1},{"version":"92ebc3261b20037c4e078cd3d26bccedb719b3eec653925e103b6ced4a936c0d","impliedFormat":1},{"version":"d8f8d36a0350f1b4e25f0d6c8cab7fb484a770cb02c4c92b8215ad421615d248","impliedFormat":99},{"version":"2be2227c3810dfd84e46674fd33b8d09a4a28ad9cb633ed536effd411665ea1e","impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"ecd7b4429a2b12f50ef619043fca298eb99a9b7f9e8edabd60c9bbb7fa8f036b","impliedFormat":99},{"version":"c5c4280379b7f36801b1419663fe3d4f53cb1400bea8df529b20ae58cbf13ea8","affectsGlobalScope":true,"impliedFormat":99},{"version":"6d811b90bfadc04ebeec6bb19fc2166f54bd527e5857893b9715546f27a7598f","impliedFormat":99},{"version":"6950a997ae1e2f8fecd954ee0ab79a18a38812fd09006ab2967b64aeb5effa0b","impliedFormat":99},{"version":"a7d21a74613ecd461885c8cf29ee6b3eb47aeeb0d807b56067ad93bf6239c108","impliedFormat":99},{"version":"04df4cf619cbff7652bec40ff8d23cb1834b40430c1e14353db27bcf6fb55658","impliedFormat":99},{"version":"4356ae6f3922d70d3f57614e5367a44131bb1cb4521b951ff5bc07724377c384","impliedFormat":99},{"version":"585f133ba460e1b4abfda871f22c6b623d763f65351949b91107c0c6a2c628b0","impliedFormat":99},{"version":"5e42b1db10cc88f088e5e4749e97e57bad97d0e1bb963110f6dc2ea0b8c954ca","impliedFormat":99},{"version":"545f86d2cfc0dd394875274312e038bacc2c6ae32c9b4c51b3fb80deea3ef987","impliedFormat":99},{"version":"2590a1c2be99e2e3767588ce4ccc76bcc229cfe95d2132685cc22a5c4253206e","impliedFormat":99},{"version":"917a6221a45e3ce278e2e968e90a0da7926aa7334e91a43d737cb3209f88ccda","impliedFormat":99},{"version":"5fde5727aa1a9fc43005eb2a9c37c21c9f7608e99346fae2d29957ed2c3f5b27","impliedFormat":99},{"version":"ccbb4f957666793ea28e67b0748ba838841e641330b661bae31a5974612c73fd","impliedFormat":99},{"version":"9143a4409f10ae9f6362706e00e3b7ed082d4b2af0125aab31ecd30a6fefab13","impliedFormat":99},{"version":"0a1cc7a231379fab5652cc44ccc109a1efec0f92b68273b306d259f228d52fe9","impliedFormat":99},{"version":"2d177f86bfbb9344d4545d4db67f3c55f8c2d4d669a2be4e32eeb439aae7b1b8","impliedFormat":99},{"version":"4cb0a2644a82e5603500af9888ebcc963abf982c86ab614baf94dbf4ccade688","impliedFormat":99},{"version":"954a6ced6b0293b4044d67b2efe6ad33ef8d2152c28de2e9b44759a2e23f37f4","impliedFormat":99},{"version":"2839affda53bd5ae680f0ac0c89fe73badb7fff7609a8ed2c2849d0070122bbb","signature":"b73a68a2041f80f82a6962b17e6277d615ea3814f872382e766e13c7511aa727","impliedFormat":99},{"version":"52bb36fb0abc9c762033e6e19f16453f779e570c7d4eb8ccde628f2e6e8cc4bc","signature":"31a3c4bb7848ca462292098bb39eeafa9c932e57e9e528eddf5cdbc170e96f33","impliedFormat":99},{"version":"e2b4539bfef02d1115e2039b34c7987a2fd889b0a49583c5f89ce671c4a5ee69","signature":"650484199d93a2ccc5a14caed6f4082934f5bf79061f46a1802b84ed5c4086f5","impliedFormat":99},{"version":"97a4b3116caf91bab5ade41f55708b7d371f4bbfce782e910eba43bf96e84f13","signature":"49160075137a544bfccea491133ab2b24b484c8e2f2e4b03e6417cb95aeb5690","impliedFormat":99},{"version":"e4374cfa73d34f5363b0e2ffc9931ddb2a86d0d38ec8aa929f83100dc90408ee","signature":"40028786bf0fe36a63abff9a3e2d08ae30c00ce3c04f10d82cbbe354ee51839b","impliedFormat":99},{"version":"5dd45de5fc0552e30f663fd31e0fb35647e47b0828bbe2ddc60ada1a3fa2813c","signature":"df88bd242f6015145597fe208ce556da7f10136d07476701645e87daf1df21fb","impliedFormat":99},{"version":"0716a36dffb7905ce91f186c05b6b77f350c5da0bd6cdfc9915270b4ad7d0afc","signature":"2d6dd4853cf329d0b317aff87bc2d76afc219924d0dbaa0587fc03759fc43002","impliedFormat":99}],"root":[[87,93]],"options":{"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noUncheckedIndexedAccess":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"target":9},"referencedMap":[[60,1],[64,2],[62,3],[63,4],[65,5],[69,6],[72,7],[80,8],[77,9],[86,10],[70,7],[73,11],[75,12],[82,13],[74,7],[71,14],[87,15],[88,16],[89,16],[90,16],[91,16],[92,16],[93,17]],"latestChangedDtsFile":"./dist/index.d.ts","version":"5.9.3"}