v0.11.0
Nullable description/successUrl on Product params + name ≤ 64
Aligns Create/Update Product params with backend product-service v2026.6.4.
Changed
CreateOnetimeProductParams.description/successUrl— typedstring | null(wasstring)UpdateOnetimeProductParams.description/successUrl— typedstring | nullCreateSubscriptionProductParams.description/successUrl— typedstring | nullUpdateSubscriptionProductParams.description/successUrl— typedstring | null
Migration
If you currently omit description / successUrl (or pass undefined), no change needed — the backend keeps the existing value. To explicitly clear a previously-set value:
-await client.onetimeProducts.update({ id, description: undefined }); // keeps existing value
+await client.onetimeProducts.update({ id, description: null }); // clears the fieldBackend also accepts "" for the same effect; SDK uses null as the canonical "clear" sentinel.
Note on name length
Backend now enforces name.length ≤ 64 (PSP goodsName cap). Existing names > 64 chars are rare (production scan found 1 internal test outlier). New attempts > 64 chars return 400 { errors: [{ message: "name must not exceed 64 characters", layer: "product" }] }.