@nitida/asset-client 0.14.2 → 0.15.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/src/slots.ts CHANGED
@@ -53,6 +53,13 @@ export type SlotResolution = {
53
53
  const DEFAULT_TTL_MS = 60_000;
54
54
  const cache = new Map<string, { fetchedAt: number; value: SlotDTO | null }>();
55
55
 
56
+ // Deliberately the generated `run.app` URL, NOT the branded
57
+ // `api.nitida.gofuture.space` the docs publish — this is the fallback for a
58
+ // caller that configured nothing, so it should be the address with the fewest
59
+ // moving parts. Cloud Run guarantees the generated URL forever; the branded name
60
+ // is an additional domain mapping that depends on DNS and a managed certificate
61
+ // (and on 2026-08-17 we learned how many ways those two can go sideways —
62
+ // doc 242 §6.3). Both names hit the same service and return identical bodies.
56
63
  let endpoint = "https://aquienpz-asset-manager-nlchzy26qa-uc.a.run.app";
57
64
  let apiKey: string | null = null;
58
65
  let tenantCode: string | null = null;