@tak-ps/cloudtak 13.25.2 → 13.25.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.
|
@@ -221,10 +221,5 @@ export type DatabaseType = Dexie & {
|
|
|
221
221
|
};
|
|
222
222
|
export declare const db: DatabaseType;
|
|
223
223
|
export declare function ensureDatabase(): Promise<void>;
|
|
224
|
-
/**
|
|
225
|
-
* Returns true for the transient IndexedDB errors that occur when an iOS
|
|
226
|
-
* WebView is suspended in the background and later resumed. The middleware
|
|
227
|
-
* already retries these automatically; use this helper to suppress them
|
|
228
|
-
* in global error handlers so users are not shown stale error banners.
|
|
229
|
-
*/
|
|
230
224
|
export declare function isTransientDbError(err: unknown): boolean;
|
|
225
|
+
export declare function withDbRetry<T>(fn: () => Promise<T>, attempts?: number): Promise<T>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tak-ps/cloudtak",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "13.25.
|
|
4
|
+
"version": "13.25.4",
|
|
5
5
|
"types": "dist/types/plugin.d.ts",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/types"
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"@capacitor/status-bar": "^8.0.2",
|
|
45
45
|
"@capgo/background-geolocation": "^8.0.39",
|
|
46
46
|
"@capgo/capacitor-compass": "^8.1.17",
|
|
47
|
+
"@capgo/capacitor-updater": "^8.50.1",
|
|
47
48
|
"@mapbox/tile-cover": "^3.0.2",
|
|
48
49
|
"@simplewebauthn/browser": "^13.3.0",
|
|
49
50
|
"@tabler/core": "^1.4.0",
|