@delopay/sdk 0.141.0 → 0.143.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.
@@ -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
- * is a plain read — it costs the merchant nothing and is safe to call twice.
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-YZABVF2X.js.map
8126
+ //# sourceMappingURL=chunk-SV2BCXV6.js.map