@tileflow/static 0.1.0-alpha.19 → 0.1.0-alpha.20
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/README.md +2 -1
- package/dist/{chunk-43QGLF6K.js → chunk-QCR76BUO.js} +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/client.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -55,7 +55,8 @@ generated by application build or deploy workflows.
|
|
|
55
55
|
Create one idempotency key per intentional create/precache action and retain it across network
|
|
56
56
|
retries. Reusing the key with the same normalized scene returns the stored result; reusing it with a
|
|
57
57
|
different scene returns 409. A successful paid operation reports `unitCost: 15`, shared
|
|
58
|
-
`remainingUnits`, its durable `operationId`, cache reuse, hash, and immutable image URL.
|
|
58
|
+
`remainingUnits`, its durable `operationId`, cache reuse, hash, and immutable image URL. An
|
|
59
|
+
unbounded Starter service reports `remainingUnits: null`. A live
|
|
59
60
|
equal-hash render may return `202`; the helper polls with the same body/key within its bounded wait.
|
|
60
61
|
`maxWaitMs` is the total client completion budget, including network, response parsing, and polling
|
|
61
62
|
delays; `signal` cancels the same complete operation. The helper aborts in-flight work when either
|
|
@@ -16,7 +16,7 @@ var staticMapReadyResultSchema = z.object({
|
|
|
16
16
|
hash: z.string().regex(/^[A-Za-z0-9_-]{43}$/),
|
|
17
17
|
imageUrl: z.string().trim().url().max(2048).refine(isSafeHttpUrl, { message: "Expected an http(s) URL without credentials" }),
|
|
18
18
|
operationId: z.string().min(20).max(68),
|
|
19
|
-
remainingUnits: z.number().int().nonnegative(),
|
|
19
|
+
remainingUnits: z.number().int().nonnegative().nullable(),
|
|
20
20
|
status: z.literal("ready"),
|
|
21
21
|
unitCost: z.literal(15)
|
|
22
22
|
}).strict();
|
package/dist/client.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ declare const staticMapReadyResultSchema: z.ZodObject<{
|
|
|
32
32
|
hash: z.ZodString;
|
|
33
33
|
imageUrl: z.ZodString;
|
|
34
34
|
operationId: z.ZodString;
|
|
35
|
-
remainingUnits: z.ZodNumber
|
|
35
|
+
remainingUnits: z.ZodNullable<z.ZodNumber>;
|
|
36
36
|
status: z.ZodLiteral<"ready">;
|
|
37
37
|
unitCost: z.ZodLiteral<15>;
|
|
38
38
|
}, z.core.$strict>;
|
package/dist/client.js
CHANGED
package/dist/index.js
CHANGED