@nangohq/types 0.69.37 → 0.69.39

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,20 +1,18 @@
1
1
  /**
2
2
  * Allowed types for checkpoint values.
3
3
  * Only flat key-value structures are supported (no nested objects or arrays).
4
- * Date values are automatically converted to ISO strings when stored.
5
4
  */
6
- export type CheckpointValue = string | number | boolean | Date;
5
+ export type CheckpointValue = string | number | boolean;
7
6
  /**
8
7
  * A checkpoint is a flat key-value object that can be used to store
9
8
  * progress or state during function execution.
10
- * Date values are automatically converted to ISO strings when stored.
11
9
  *
12
10
  * @example
13
11
  * ```typescript
14
12
  * const checkpoint: Checkpoint = {
15
13
  * lastProcessedPage: 5,
16
14
  * lastCursor: "abc123",
17
- * lastRunAt: new Date(), // stored as ISO string
15
+ * lastRunAt: "2024-01-15T00:00:00Z",
18
16
  * };
19
17
  * ```
20
18
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nangohq/types",
3
- "version": "0.69.37",
3
+ "version": "0.69.39",
4
4
  "description": "Types used in Nango applications",
5
5
  "type": "module",
6
6
  "typings": "dist/index.d.ts",