Comparing version 3.0.0-canary-20240327112154.41b44e512f6e15ec145801fa3fdc234a6131b6e1 to 3.0.0-canary-20240411060715.dfbcbf11ce896dc6289949296d1591f7de52efad
@@ -37,3 +37,3 @@ import { type GeneratedSchemaObject } from '../Schema'; | ||
/** | ||
* Remove internal data reference, allowing WeakRefs to be garbase collected. | ||
* Remove internal data reference, allowing WeakRefs to be garbage collected. | ||
* | ||
@@ -40,0 +40,0 @@ * For StrongRefs, calling this function has no effect. |
@@ -13,4 +13,4 @@ import type { ExecutionResult } from 'graphql'; | ||
*/ | ||
export declare const dedupePromise: <TData = Record<string, unknown>, TExtensions = Record<string, unknown>>(cache: Cache | undefined, hash: string, fetchOrSubscribe: () => Promise<void | ExecutionResult<TData, TExtensions>>) => Promise<ExecutionResult<TData, TExtensions>>; | ||
export declare const dedupePromise: <TData = Record<string, unknown>, TExtensions = Record<string, unknown>>(cache: Cache | undefined, hash: string, fetchOrSubscribe: () => Promise<ExecutionResult<TData, TExtensions> | void>) => Promise<ExecutionResult<TData, TExtensions>>; | ||
/** Retrieve active promises associated provided cache, useful for SSR. */ | ||
export declare const getActivePromises: (cache?: Cache) => Promise<ExecutionResult>[]; |
{ | ||
"name": "gqty", | ||
"version": "3.0.0-canary-20240327112154.41b44e512f6e15ec145801fa3fdc234a6131b6e1", | ||
"version": "3.0.0-canary-20240411060715.dfbcbf11ce896dc6289949296d1591f7de52efad", | ||
"description": "gqty client without queries", | ||
@@ -48,2 +48,3 @@ "sideEffects": false, | ||
".": { | ||
"types": "./index.d.ts", | ||
"require": "./index.js", | ||
@@ -53,2 +54,3 @@ "import": "./index.mjs" | ||
"./*": { | ||
"types": "./*.d.ts", | ||
"require": "./*.js", | ||
@@ -55,0 +57,0 @@ "import": "./*.mjs" |
282854