@tanstack/query-async-storage-persister 5.0.0-alpha.23 → 5.0.0-alpha.24
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/build/lib/__tests__/asyncThrottle.test.d.ts +1 -0
- package/build/lib/__tests__/asyncThrottle.test.d.ts.map +1 -0
- package/build/lib/__tests__/utils.d.ts +1 -0
- package/build/lib/__tests__/utils.d.ts.map +1 -0
- package/build/lib/asyncThrottle.d.ts +1 -0
- package/build/lib/asyncThrottle.d.ts.map +1 -0
- package/build/lib/index.d.ts +1 -0
- package/build/lib/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asyncThrottle.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/asyncThrottle.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/__tests__/utils.ts"],"names":[],"mappings":"AAAA,wBAAgB,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAIpD"}
|
|
@@ -3,3 +3,4 @@ export interface AsyncThrottleOptions {
|
|
|
3
3
|
onError?: (error: unknown) => void;
|
|
4
4
|
}
|
|
5
5
|
export declare function asyncThrottle<Args extends readonly unknown[]>(func: (...args: Args) => Promise<void>, { interval, onError }?: AsyncThrottleOptions): (...args: Args) => void;
|
|
6
|
+
//# sourceMappingURL=asyncThrottle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"asyncThrottle.d.ts","sourceRoot":"","sources":["../../src/asyncThrottle.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;CACnC;AAMD,wBAAgB,aAAa,CAAC,IAAI,SAAS,SAAS,OAAO,EAAE,EAC3D,IAAI,EAAE,CAAC,GAAG,IAAI,EAAE,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC,EACtC,EAAE,QAAe,EAAE,OAAc,EAAE,GAAE,oBAAyB,aAoC7C,IAAI,UAUtB"}
|
package/build/lib/index.d.ts
CHANGED
|
@@ -34,3 +34,4 @@ interface CreateAsyncStoragePersisterOptions {
|
|
|
34
34
|
}
|
|
35
35
|
export declare const createAsyncStoragePersister: ({ storage, key, throttleTime, serialize, deserialize, retry, }: CreateAsyncStoragePersisterOptions) => Persister;
|
|
36
36
|
export {};
|
|
37
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,eAAe,EACf,SAAS,EACT,UAAU,EACX,MAAM,qCAAqC,CAAA;AAG5C,UAAU,YAAY;IACpB,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;IAChD,OAAO,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;IACzD,UAAU,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;CAC3C;AAED,oBAAY,mBAAmB,GAAG,CAAC,KAAK,EAAE;IACxC,eAAe,EAAE,eAAe,CAAA;IAChC,KAAK,EAAE,KAAK,CAAA;IACZ,UAAU,EAAE,MAAM,CAAA;CACnB,KAAK,UAAU,CAAC,eAAe,GAAG,SAAS,CAAC,CAAA;AAE7C,UAAU,kCAAkC;IAC1C;;;OAGG;IACH,OAAO,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI,CAAA;IACxC,4CAA4C;IAC5C,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ;gEAC4D;IAC5D,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,MAAM,CAAA;IAC/C;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,eAAe,CAAA;IAEvD,KAAK,CAAC,EAAE,mBAAmB,CAAA;CAC5B;AAED,eAAO,MAAM,2BAA2B,mEAOrC,kCAAkC,KAAG,SAoDvC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/query-async-storage-persister",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.24",
|
|
4
4
|
"description": "A persister for asynchronous storages, to be used with TanStack/Query",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"src"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@tanstack/query-persist-client-core": "5.0.0-alpha.
|
|
31
|
+
"@tanstack/query-persist-client-core": "5.0.0-alpha.24"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"clean": "rimraf ./build",
|