@tmlmobilidade/external 20260910.1203.15 → 20260910.1808.28

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,4 +1,5 @@
1
1
  /* * */
2
+ import { UnixSecondsSchema } from '@tmlmobilidade/go-types-shared';
2
3
  import https from 'node:https';
3
4
  import { mlAuthClient } from './auth.js';
4
5
  /* * */
@@ -179,7 +180,7 @@ export const MlClient = Object.freeze({
179
180
  header: {
180
181
  gtfs_realtime_version: '2.0',
181
182
  incrementality: 'FULL_DATASET',
182
- timestamp: now,
183
+ timestamp: UnixSecondsSchema.parse(now / 100),
183
184
  },
184
185
  };
185
186
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/external",
3
- "version": "20260910.1203.15",
3
+ "version": "20260910.1808.28",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"
@@ -38,6 +38,7 @@
38
38
  "dependencies": {
39
39
  "@tmlmobilidade/go-clients-ssh": "*",
40
40
  "@tmlmobilidade/go-types-gtfs-rt": "*",
41
+ "@tmlmobilidade/go-types-shared": "*",
41
42
  "@tmlmobilidade/gtfs-rt": "*",
42
43
  "@tmlmobilidade/logger": "*",
43
44
  "@tmlmobilidade/types": "*",