@pgpmjs/migrate-client 1.21.40 → 1.21.42

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.
@@ -48,8 +48,6 @@ export interface SubscriptionEvent<T> {
48
48
  data: T | null;
49
49
  /** Previous field values (populated on UPDATE when available) */
50
50
  previousValues?: Partial<T>;
51
- /** Server-side timestamp of when the change occurred */
52
- timestamp: string;
53
51
  }
54
52
  /**
55
53
  * Options for creating a subscription.
@@ -44,7 +44,6 @@ export class RealtimeManager {
44
44
  operation: payload.event ?? 'UPDATE',
45
45
  data: payload[meta.dataFieldName] ?? null,
46
46
  previousValues: payload.previousValues,
47
- timestamp: payload.timestamp ?? new Date().toISOString(),
48
47
  };
49
48
  options.onEvent(event);
50
49
  },
@@ -48,8 +48,6 @@ export interface SubscriptionEvent<T> {
48
48
  data: T | null;
49
49
  /** Previous field values (populated on UPDATE when available) */
50
50
  previousValues?: Partial<T>;
51
- /** Server-side timestamp of when the change occurred */
52
- timestamp: string;
53
51
  }
54
52
  /**
55
53
  * Options for creating a subscription.
@@ -47,7 +47,6 @@ class RealtimeManager {
47
47
  operation: payload.event ?? 'UPDATE',
48
48
  data: payload[meta.dataFieldName] ?? null,
49
49
  previousValues: payload.previousValues,
50
- timestamp: payload.timestamp ?? new Date().toISOString(),
51
50
  };
52
51
  options.onEvent(event);
53
52
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/migrate-client",
3
- "version": "1.21.40",
3
+ "version": "1.21.42",
4
4
  "author": "Constructive <developers@constructive.io>",
5
5
  "description": "Typed GraphQL ORM client for the Constructive Migrate API (db_migrate schema)",
6
6
  "main": "index.js",
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@0no-co/graphql.web": "^1.3.3",
43
- "@constructive-io/graphql-query": "^4.24.16",
43
+ "@constructive-io/graphql-query": "^4.24.18",
44
44
  "@constructive-io/graphql-types": "^3.36.4",
45
45
  "gql-ast": "^3.26.0",
46
46
  "graphql": "16.13.0"
@@ -50,5 +50,5 @@
50
50
  "makage": "^0.8.0",
51
51
  "typescript": "^6.0.3"
52
52
  },
53
- "gitHead": "bdfb8311c08b63ef0ed431dd4652c09e2805f37b"
53
+ "gitHead": "bb542c4fbc549dc8a5cced5214da5141fc480cd3"
54
54
  }