@delopay/sdk 0.141.0 → 0.142.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-YZABVF2X.js → chunk-SV2BCXV6.js} +8 -4
- package/dist/chunk-SV2BCXV6.js.map +1 -0
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -8
- package/dist/index.d.ts +18 -8
- package/dist/index.js +1 -1
- package/dist/internal.cjs +15 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +12 -2
- package/dist/internal.d.ts +12 -2
- package/dist/internal.js +9 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-YZABVF2X.js.map +0 -1
|
@@ -640,7 +640,10 @@ var Connectors = class {
|
|
|
640
640
|
* revoke an account's ability to take payments while the credentials stay
|
|
641
641
|
* perfectly valid, and then a credential check reports healthy while every
|
|
642
642
|
* checkout silently stalls. This asks the account's own status instead, and
|
|
643
|
-
*
|
|
643
|
+
* does not create a payment. By default it reads a scheduler snapshot;
|
|
644
|
+
* `refresh: true` asks for a new probe and `stale` identifies an overdue result.
|
|
645
|
+
* `test_mode` selects the requested environment; `credential_source` identifies
|
|
646
|
+
* a sandbox, live or shared credential set. Not every provider reports chargeability.
|
|
644
647
|
*
|
|
645
648
|
* Connectors with no probe answer `state: 'unknown'` with
|
|
646
649
|
* `unknown_reason: 'connector_not_supported'`, rather than an error — every
|
|
@@ -650,10 +653,11 @@ var Connectors = class {
|
|
|
650
653
|
*
|
|
651
654
|
* `GET /account/{accountId}/connectors/{connectorId}/health`
|
|
652
655
|
*/
|
|
653
|
-
async health(accountId, connectorId) {
|
|
656
|
+
async health(accountId, connectorId, options) {
|
|
654
657
|
return this.request(
|
|
655
658
|
"GET",
|
|
656
|
-
`/account/${encodeURIComponent(accountId)}/connectors/${encodeURIComponent(connectorId)}/health
|
|
659
|
+
`/account/${encodeURIComponent(accountId)}/connectors/${encodeURIComponent(connectorId)}/health`,
|
|
660
|
+
{ query: options }
|
|
657
661
|
);
|
|
658
662
|
}
|
|
659
663
|
/** Verify connector credentials. `POST /account/connectors/verify` */
|
|
@@ -8119,4 +8123,4 @@ export {
|
|
|
8119
8123
|
decodeNativePanes,
|
|
8120
8124
|
encodeNativePanes
|
|
8121
8125
|
};
|
|
8122
|
-
//# sourceMappingURL=chunk-
|
|
8126
|
+
//# sourceMappingURL=chunk-SV2BCXV6.js.map
|