@delopay/sdk 0.100.0 → 0.100.2
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/{chunk-HK4S2SQB.js → chunk-6ULG3SLG.js} +14 -8
- package/dist/chunk-6ULG3SLG.js.map +1 -0
- package/dist/index.cjs +13 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -10
- package/dist/index.d.ts +17 -10
- package/dist/index.js +1 -1
- package/dist/internal.cjs +13 -7
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/package.json +17 -18
- package/dist/chunk-HK4S2SQB.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -219,8 +219,7 @@ var ApiKeys = class {
|
|
|
219
219
|
// JWT-authenticated routes under `/account/{merchantId}/profile/api-keys`.
|
|
220
220
|
// The caller's shop (business profile) comes from the JWT, never from the
|
|
221
221
|
// request, so a shop-scoped user can only mint/list/manage keys pinned to
|
|
222
|
-
// their own shop. Requires a backend with profile-scoped API key support
|
|
223
|
-
// (DeloPay-net/delopay-backend#344).
|
|
222
|
+
// their own shop. Requires a backend with profile-scoped API key support.
|
|
224
223
|
/**
|
|
225
224
|
* Create a new API key pinned to the caller's shop (business profile).
|
|
226
225
|
* `POST /account/{merchantId}/profile/api-keys`
|
|
@@ -5725,7 +5724,7 @@ var CheckoutSession = class {
|
|
|
5725
5724
|
* own types and runtime gates — hence the loose return type.
|
|
5726
5725
|
*
|
|
5727
5726
|
* `theme` is the route's one declared query parameter (a named checkout
|
|
5728
|
-
* variant
|
|
5727
|
+
* variant). `locale` travels as `Accept-Language` — the only
|
|
5729
5728
|
* channel the backend's locale resolution reads; a `?locale=` query is
|
|
5730
5729
|
* silently ignored by this route.
|
|
5731
5730
|
*
|
|
@@ -5880,10 +5879,17 @@ var CheckoutSession = class {
|
|
|
5880
5879
|
/**
|
|
5881
5880
|
* A short-lived VGS Collect session for browser-side card capture.
|
|
5882
5881
|
*
|
|
5883
|
-
*
|
|
5884
|
-
*
|
|
5885
|
-
*
|
|
5886
|
-
*
|
|
5882
|
+
* **Exactly one refusal means "this shop has no vault": a 400 carrying
|
|
5883
|
+
* `IR_19`.** Every other refusal means a vault exists and could not be used,
|
|
5884
|
+
* and answering it by falling back to the processor's own card pane sends an
|
|
5885
|
+
* unprotected card number to the very processor the shop pays to hide it
|
|
5886
|
+
* from — the bug this endpoint's error contract exists to prevent.
|
|
5887
|
+
*
|
|
5888
|
+
* A **404 is not benign.** The router answers it when the shop's vault
|
|
5889
|
+
* account cannot be found — the state a shop is left in when its vault
|
|
5890
|
+
* connector is deleted while the profile keeps naming the id: it still
|
|
5891
|
+
* reports the vault as enabled and still expects its cards cloaked. The same
|
|
5892
|
+
* status also covers a payment that does not exist.
|
|
5887
5893
|
*
|
|
5888
5894
|
* `GET /payment-link/{merchantId}/{paymentId}/vault/collect-session`
|
|
5889
5895
|
*/
|