@overmap-ai/core 1.0.53-fix-outbox.1 → 1.0.53-fix-outbox.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.
@@ -2,7 +2,6 @@
2
2
  import { DepGraph } from "dependency-graph";
3
3
  import { FullOfflineAction } from "../../store";
4
4
  import { Outbox } from "@redux-offline/redux-offline/lib/types";
5
- import { OvermapSDK } from "../sdk";
6
5
  export declare class OutboxCoordinator {
7
6
  graph: DepGraph<FullOfflineAction>;
8
7
  requestAttemptCounter: Record<string, number>;
@@ -10,7 +9,7 @@ export declare class OutboxCoordinator {
10
9
  /**
11
10
  * Used when the app is loaded. Reconstructs the dependency graph based on an outbox from the redux-offline store.
12
11
  */
13
- static fromOutbox(outbox: Outbox, client: OvermapSDK): OutboxCoordinator;
12
+ static _fromOutbox(outbox: Outbox): OutboxCoordinator;
14
13
  _addDependency(from: string, to: string): void;
15
14
  static _addDependency(from: string, to: string, graph: DepGraph<FullOfflineAction>): void;
16
15
  /**
@@ -2,8 +2,8 @@
2
2
  import { AnyAction, Reducer } from "redux";
3
3
  import { Config, OfflineAction, OfflineMetadata, OfflineState } from "@redux-offline/redux-offline/lib/types";
4
4
  import request from "superagent";
5
- import { type OfflineMetaEffect, type OvermapSDK, RequestDetails } from "../sdk";
6
- import { AuthState, CategoryState, ComponentStageCompletionState, ComponentStageState, ComponentState, ComponentTypeState, DocumentState, EmailDomainState, FileState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, FormState, FormRevisionState, FormSubmissionState, UserState, WorkspaceState, TeamState, AgentsState } from "./slices";
5
+ import { type OfflineMetaEffect, OutboxCoordinator, type OvermapSDK, RequestDetails } from "../sdk";
6
+ import { AgentsState, AuthState, CategoryState, ComponentStageCompletionState, ComponentStageState, ComponentState, ComponentTypeState, DocumentState, EmailDomainState, FileState, FormRevisionState, FormState, FormSubmissionState, IssueState, IssueTypeState, LicenseState, MapState, OrganizationAccessState, OrganizationState, OutboxState, ProjectAccessState, ProjectFileState, ProjectState, RehydratedState, SettingState, TeamState, UserState, WorkspaceState } from "./slices";
7
7
  import { VersioningState } from "./slices/versioningSlice";
8
8
  import { RootState } from "../typings";
9
9
  export declare const overmapReducers: {
@@ -79,6 +79,7 @@ export interface FullOfflineAction extends OfflineAction {
79
79
  };
80
80
  payload: RequestDetails;
81
81
  }
82
+ export declare function getOutboxCoordinator(): OutboxCoordinator;
82
83
  export declare const enqueue: Config["queue"]["enqueue"];
83
84
  export declare const dequeue: Config["queue"]["dequeue"];
84
85
  /**
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.1",
6
+ "version": "1.0.53-fix-outbox.2",
7
7
  "type": "module",
8
8
  "main": "dist/overmap-core.umd.cjs",
9
9
  "module": "dist/overmap-core.js",