@delopay/sdk 0.171.0 → 0.172.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/{chunk-ZBNUOFNR.js → chunk-AI4BVO55.js} +22 -4
- package/dist/chunk-AI4BVO55.js.map +1 -0
- package/dist/index.cjs +21 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +85 -5
- package/dist/index.d.ts +85 -5
- package/dist/index.js +1 -1
- package/dist/internal.cjs +56 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +16 -3
- package/dist/internal.d.ts +16 -3
- package/dist/internal.js +36 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-ZBNUOFNR.js.map +0 -1
|
@@ -5022,6 +5022,24 @@ var ProcessorCosts = class {
|
|
|
5022
5022
|
}
|
|
5023
5023
|
};
|
|
5024
5024
|
|
|
5025
|
+
// src/resources/checkoutBrowserInfo.ts
|
|
5026
|
+
var CheckoutBrowserInfo = class {
|
|
5027
|
+
constructor(request) {
|
|
5028
|
+
this.request = request;
|
|
5029
|
+
}
|
|
5030
|
+
/** Read the merchant's own setting and effective collection policy. */
|
|
5031
|
+
async retrieve(merchantId) {
|
|
5032
|
+
return this.request("GET", "/checkout-browser-info", { query: { merchant_id: merchantId } });
|
|
5033
|
+
}
|
|
5034
|
+
/** Replace the merchant setting. An admin refusal still wins; changes are audited. */
|
|
5035
|
+
async update(merchantId, body) {
|
|
5036
|
+
return this.request("PUT", "/checkout-browser-info", {
|
|
5037
|
+
query: { merchant_id: merchantId },
|
|
5038
|
+
body
|
|
5039
|
+
});
|
|
5040
|
+
}
|
|
5041
|
+
};
|
|
5042
|
+
|
|
5025
5043
|
// src/resources/checkoutMethods.ts
|
|
5026
5044
|
var CheckoutMethods = class {
|
|
5027
5045
|
constructor(request) {
|
|
@@ -6111,6 +6129,7 @@ var Delopay = class {
|
|
|
6111
6129
|
this.externalRecords = new ExternalRecords(request);
|
|
6112
6130
|
this.products = new Products(request);
|
|
6113
6131
|
this.processorCosts = new ProcessorCosts(request);
|
|
6132
|
+
this.checkoutBrowserInfo = new CheckoutBrowserInfo(request);
|
|
6114
6133
|
this.checkoutMethods = new CheckoutMethods(request);
|
|
6115
6134
|
this.analytics = new Analytics(request);
|
|
6116
6135
|
this.analyticsDashboard = new AnalyticsDashboard(request);
|
|
@@ -9127,9 +9146,8 @@ var CheckoutSession = class {
|
|
|
9127
9146
|
*
|
|
9128
9147
|
* Deliberately unauthenticated: a `pay_` link bootstraps before any
|
|
9129
9148
|
* credential exists, so no credential header is ever attached (caller
|
|
9130
|
-
* extras are still stripped of credentials).
|
|
9131
|
-
*
|
|
9132
|
-
* own types and runtime gates — hence the loose return type.
|
|
9149
|
+
* extras are still stripped of credentials). Core fields and the collection
|
|
9150
|
+
* policy are typed; provider-specific fields remain available as unknown.
|
|
9133
9151
|
*
|
|
9134
9152
|
* `theme` (a named checkout variant) and `country` are the route's declared
|
|
9135
9153
|
* query parameters. `country` is a manual override of the buyer country the
|
|
@@ -10186,4 +10204,4 @@ export {
|
|
|
10186
10204
|
decodeNativePanes,
|
|
10187
10205
|
encodeNativePanes
|
|
10188
10206
|
};
|
|
10189
|
-
//# sourceMappingURL=chunk-
|
|
10207
|
+
//# sourceMappingURL=chunk-AI4BVO55.js.map
|