@naturalpay/sdk 1.6.42 → 1.6.43
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/cardSessions/client/requests/CreateCardSessionsRequest.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.6.
|
|
47
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
46
|
+
"X-Fern-SDK-Version": "1.6.43",
|
|
47
|
+
"User-Agent": "@naturalpay/sdk/1.6.43",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -28,6 +28,6 @@ export interface CreateCardSessionsRequest {
|
|
|
28
28
|
purchase?: Natural.CreateCardSessionsRequestPurchase;
|
|
29
29
|
/** Your own reference for the session, such as your checkout or task ID. Not unique: filter GET /card-sessions by it to find the session again. */
|
|
30
30
|
reference?: string;
|
|
31
|
-
/** Cards the user added only, for a USD purchase. Set it when the checkout won't take the card through the proxy, for example when it collects the card in its own payment iframe. While approving, the user is also asked to approve agent payments on the card; agentToken.mandateId then says whether you can pay with an agent token. Defaults to false. */
|
|
31
|
+
/** Cards the user added only, for a USD purchase of at most $999,999.99. Set it when the checkout won't take the card through the proxy, for example when it collects the card in its own payment iframe. While approving, the user is also asked to approve agent payments on the card; agentToken.mandateId then says whether you can pay with an agent token. Defaults to false. */
|
|
32
32
|
requestAgentToken?: boolean;
|
|
33
33
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.43";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "@naturalpay/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.6.
|
|
10
|
-
"User-Agent": "@naturalpay/sdk/1.6.
|
|
9
|
+
"X-Fern-SDK-Version": "1.6.43",
|
|
10
|
+
"User-Agent": "@naturalpay/sdk/1.6.43",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"X-Instance-ID": options === null || options === void 0 ? void 0 : options.instanceId,
|
|
@@ -28,6 +28,6 @@ export interface CreateCardSessionsRequest {
|
|
|
28
28
|
purchase?: Natural.CreateCardSessionsRequestPurchase;
|
|
29
29
|
/** Your own reference for the session, such as your checkout or task ID. Not unique: filter GET /card-sessions by it to find the session again. */
|
|
30
30
|
reference?: string;
|
|
31
|
-
/** Cards the user added only, for a USD purchase. Set it when the checkout won't take the card through the proxy, for example when it collects the card in its own payment iframe. While approving, the user is also asked to approve agent payments on the card; agentToken.mandateId then says whether you can pay with an agent token. Defaults to false. */
|
|
31
|
+
/** Cards the user added only, for a USD purchase of at most $999,999.99. Set it when the checkout won't take the card through the proxy, for example when it collects the card in its own payment iframe. While approving, the user is also asked to approve agent payments on the card; agentToken.mandateId then says whether you can pay with an agent token. Defaults to false. */
|
|
32
32
|
requestAgentToken?: boolean;
|
|
33
33
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.6.
|
|
1
|
+
export declare const SDK_VERSION = "1.6.43";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.6.
|
|
1
|
+
export const SDK_VERSION = "1.6.43";
|