@vaam-apps/vpay-stripe-js 0.5.0 → 0.6.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/types.d.ts +7 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -61,11 +61,16 @@ export interface LastPaymentError {
|
|
|
61
61
|
message: string;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
-
* `vpay_api::model::PaymentIntentWithSecret`:
|
|
65
|
-
*
|
|
64
|
+
* `vpay_api::model::PaymentIntentWithSecret`: `PaymentIntentObject`'s keys —
|
|
65
|
+
* pinned server-side at thirteen by
|
|
66
66
|
* `every_documented_key_is_present_including_the_null_ones` — plus the
|
|
67
67
|
* `client_secret` the browser surface flattens in alongside them (D2).
|
|
68
68
|
*
|
|
69
|
+
* **Twelve of the thirteen are declared here.** `customer` (`cus_…` or
|
|
70
|
+
* `null`, on the wire since 2026-09-06) is not: it arrives and is simply
|
|
71
|
+
* untyped. This comment said "the twelve keys of `PaymentIntentObject`"
|
|
72
|
+
* until 2026-09-23, which was the server's count before `customer`.
|
|
73
|
+
*
|
|
69
74
|
* `client_secret` is `string`, not Stripe's `string | null`: the browser
|
|
70
75
|
* routes are reachable *only* by presenting one, so a response that omitted
|
|
71
76
|
* it would be a server bug rather than a case to model.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaam-apps/vpay-stripe-js",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "A Stripe.js-shaped browser client for vpay's payer surface: payment intents, embedded and hosted Checkout, zero runtime dependencies.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|