@interncom/diplomatic 0.0.51 → 0.0.53

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,6 +1,6 @@
1
1
  import { type DBSchema } from "idb";
2
- import { Applier } from "./types";
3
- import { GroupID } from "./shared/types";
2
+ import type { Applier } from "./types";
3
+ import { type GroupID } from "./shared/types";
4
4
  import { StateManager } from "./state";
5
5
  export declare const entityTableName = "entities";
6
6
  export declare const typeIndexName = "entity_type_created_at";
package/dist/index.mjs CHANGED
@@ -11775,6 +11775,7 @@ var applier = async (op) => {
11775
11775
  if (new Date(op.ts) > (curr?.updatedAt ?? "")) {
11776
11776
  await db2.put("entities", {
11777
11777
  eid: op.eid,
11778
+ gid: op.gid,
11778
11779
  type: op.type,
11779
11780
  createdAt: curr?.createdAt ?? /* @__PURE__ */ new Date(),
11780
11781
  updatedAt: new Date(op.ts),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@interncom/diplomatic",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "type": "module",
5
5
  "description": "Secure sync layer",
6
6
  "main": "dist/index.mjs",