@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
|
@@ -105,8 +105,7 @@ var ApiKeys = class {
|
|
|
105
105
|
// JWT-authenticated routes under `/account/{merchantId}/profile/api-keys`.
|
|
106
106
|
// The caller's shop (business profile) comes from the JWT, never from the
|
|
107
107
|
// request, so a shop-scoped user can only mint/list/manage keys pinned to
|
|
108
|
-
// their own shop. Requires a backend with profile-scoped API key support
|
|
109
|
-
// (DeloPay-net/delopay-backend#344).
|
|
108
|
+
// their own shop. Requires a backend with profile-scoped API key support.
|
|
110
109
|
/**
|
|
111
110
|
* Create a new API key pinned to the caller's shop (business profile).
|
|
112
111
|
* `POST /account/{merchantId}/profile/api-keys`
|
|
@@ -5611,7 +5610,7 @@ var CheckoutSession = class {
|
|
|
5611
5610
|
* own types and runtime gates — hence the loose return type.
|
|
5612
5611
|
*
|
|
5613
5612
|
* `theme` is the route's one declared query parameter (a named checkout
|
|
5614
|
-
* variant
|
|
5613
|
+
* variant). `locale` travels as `Accept-Language` — the only
|
|
5615
5614
|
* channel the backend's locale resolution reads; a `?locale=` query is
|
|
5616
5615
|
* silently ignored by this route.
|
|
5617
5616
|
*
|
|
@@ -5766,10 +5765,17 @@ var CheckoutSession = class {
|
|
|
5766
5765
|
/**
|
|
5767
5766
|
* A short-lived VGS Collect session for browser-side card capture.
|
|
5768
5767
|
*
|
|
5769
|
-
*
|
|
5770
|
-
*
|
|
5771
|
-
*
|
|
5772
|
-
*
|
|
5768
|
+
* **Exactly one refusal means "this shop has no vault": a 400 carrying
|
|
5769
|
+
* `IR_19`.** Every other refusal means a vault exists and could not be used,
|
|
5770
|
+
* and answering it by falling back to the processor's own card pane sends an
|
|
5771
|
+
* unprotected card number to the very processor the shop pays to hide it
|
|
5772
|
+
* from — the bug this endpoint's error contract exists to prevent.
|
|
5773
|
+
*
|
|
5774
|
+
* A **404 is not benign.** The router answers it when the shop's vault
|
|
5775
|
+
* account cannot be found — the state a shop is left in when its vault
|
|
5776
|
+
* connector is deleted while the profile keeps naming the id: it still
|
|
5777
|
+
* reports the vault as enabled and still expects its cards cloaked. The same
|
|
5778
|
+
* status also covers a payment that does not exist.
|
|
5773
5779
|
*
|
|
5774
5780
|
* `GET /payment-link/{merchantId}/{paymentId}/vault/collect-session`
|
|
5775
5781
|
*/
|
|
@@ -6168,4 +6174,4 @@ export {
|
|
|
6168
6174
|
focusedCheckoutUrl,
|
|
6169
6175
|
CHECKOUT_EVENT_KINDS
|
|
6170
6176
|
};
|
|
6171
|
-
//# sourceMappingURL=chunk-
|
|
6177
|
+
//# sourceMappingURL=chunk-6ULG3SLG.js.map
|