@shipstatic/types 2.4.0-beta.0 → 2.4.1-beta.0

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.
package/dist/index.d.ts CHANGED
@@ -258,8 +258,13 @@ export interface Account {
258
258
  readonly activated: number | null;
259
259
  /** Last 4 characters of the API key for identification, null when no key generated */
260
260
  readonly hint: string | null;
261
- /** Unix timestamp (seconds) of the API key's last use, null when never used or no key generated */
262
- readonly used: number | null;
261
+ /**
262
+ * Unix timestamp (seconds) of the API key's last use, null when never
263
+ * used or no key generated. Optional on the type by the additive-evolution
264
+ * law: published SDK versions may predate the field, so consumers read it
265
+ * when present rather than forcing a lockstep SDK release.
266
+ */
267
+ readonly used?: number | null;
263
268
  /** Grace period expiration (unix seconds), null if no grace period active */
264
269
  readonly grace: number | null;
265
270
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "2.4.0-beta.0",
3
+ "version": "2.4.1-beta.0",
4
4
  "description": "Shared types for ShipStatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -295,8 +295,13 @@ export interface Account {
295
295
  readonly activated: number | null;
296
296
  /** Last 4 characters of the API key for identification, null when no key generated */
297
297
  readonly hint: string | null;
298
- /** Unix timestamp (seconds) of the API key's last use, null when never used or no key generated */
299
- readonly used: number | null;
298
+ /**
299
+ * Unix timestamp (seconds) of the API key's last use, null when never
300
+ * used or no key generated. Optional on the type by the additive-evolution
301
+ * law: published SDK versions may predate the field, so consumers read it
302
+ * when present rather than forcing a lockstep SDK release.
303
+ */
304
+ readonly used?: number | null;
300
305
  /** Grace period expiration (unix seconds), null if no grace period active */
301
306
  readonly grace: number | null;
302
307
  }