@overmap-ai/core 1.0.53-fix-outbox.0 → 1.0.53-fix-outbox.1
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,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="@redux-offline/redux-offline" />
|
|
2
2
|
import { DepGraph } from "dependency-graph";
|
|
3
|
-
import
|
|
3
|
+
import { FullOfflineAction } from "../../store";
|
|
4
4
|
import { Outbox } from "@redux-offline/redux-offline/lib/types";
|
|
5
|
+
import { OvermapSDK } from "../sdk";
|
|
5
6
|
export declare class OutboxCoordinator {
|
|
6
7
|
graph: DepGraph<FullOfflineAction>;
|
|
7
8
|
requestAttemptCounter: Record<string, number>;
|
|
@@ -9,7 +10,7 @@ export declare class OutboxCoordinator {
|
|
|
9
10
|
/**
|
|
10
11
|
* Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
|
|
11
12
|
*/
|
|
12
|
-
static fromOutbox(outbox: Outbox): OutboxCoordinator;
|
|
13
|
+
static fromOutbox(outbox: Outbox, client: OvermapSDK): OutboxCoordinator;
|
|
13
14
|
_addDependency(from: string, to: string): void;
|
|
14
15
|
static _addDependency(from: string, to: string, graph: DepGraph<FullOfflineAction>): void;
|
|
15
16
|
/**
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Core functionality for Overmap",
|
|
4
4
|
"author": "Wôrdn Inc.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
|
-
"version": "1.0.53-fix-outbox.
|
|
6
|
+
"version": "1.0.53-fix-outbox.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"main": "dist/overmap-core.umd.cjs",
|
|
9
9
|
"module": "dist/overmap-core.js",
|