@stratasync/core 0.2.0 → 0.2.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.
@@ -5,7 +5,7 @@ export interface ChangeSnapshot {
5
5
  original: Record<string, unknown>;
6
6
  }
7
7
  /**
8
- * Base model class for Done models.
8
+ * Base model class.
9
9
  */
10
10
  export declare class Model {
11
11
  private readonly modifiedProperties;
@@ -2,7 +2,7 @@ import { ModelRegistry } from "../schema/registry.js";
2
2
  import { captureArchiveState, createArchivePayload, } from "../transaction/archive.js";
3
3
  import { CachedPromise } from "./cached-promise.js";
4
4
  /**
5
- * Base model class for Done models.
5
+ * Base model class.
6
6
  */
7
7
  export class Model {
8
8
  // ── Tracking infrastructure (must initialize before any decorated field) ──
@@ -1,6 +1,6 @@
1
1
  import type { ModelConstructor, ModelDefinition, ModelMetadata, ModelRegistrySnapshot, PropertyMetadata, SchemaDefinition } from "./types.js";
2
2
  /**
3
- * Runtime registry for model metadata (Done).
3
+ * Runtime registry for model metadata for model metadata.
4
4
  *
5
5
  * Static methods operate on the global decorator-driven registry, populated at
6
6
  * import time by @ClientModel/@Property decorators.
@@ -2,7 +2,7 @@ import { assignOptionalFields } from "../utils/assign.js";
2
2
  import { computeSchemaHash } from "./hash.js";
3
3
  import { isRegistrySnapshot, schemaToSnapshot, snapshotToSchemaDefinition, } from "./normalize.js";
4
4
  /**
5
- * Runtime registry for model metadata (Done).
5
+ * Runtime registry for model metadata for model metadata.
6
6
  *
7
7
  * Static methods operate on the global decorator-driven registry, populated at
8
8
  * import time by @ClientModel/@Property decorators.
@@ -29,7 +29,7 @@ export interface SyncAction {
29
29
  clientId?: string;
30
30
  /** Timestamp when the change was created */
31
31
  createdAt?: Date;
32
- /** Class name marker (Done payloads include __class) */
32
+ /** Class name marker (sync payloads include __class) */
33
33
  __class?: "SyncAction";
34
34
  }
35
35
  /**
package/package.json CHANGED
@@ -1,6 +1,11 @@
1
1
  {
2
2
  "name": "@stratasync/core",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "https://github.com/stratasync/stratasync",
7
+ "directory": "packages/core"
8
+ },
4
9
  "files": [
5
10
  "dist"
6
11
  ],