@delopay/sdk 0.16.0 → 0.17.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-VQPHGGNQ.js → chunk-F6HWLDHA.js} +10 -1
- package/dist/{chunk-VQPHGGNQ.js.map → chunk-F6HWLDHA.js.map} +1 -1
- package/dist/index.cjs +9 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/internal.cjs +9 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/dist/internal.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -2412,6 +2412,15 @@ var FeatureMatrix = class {
|
|
|
2412
2412
|
async retrieve() {
|
|
2413
2413
|
return this.request("GET", "/feature_matrix");
|
|
2414
2414
|
}
|
|
2415
|
+
/**
|
|
2416
|
+
* Retrieve the feature matrix scoped to a merchant. Beta connectors
|
|
2417
|
+
* are filtered against the merchant's allowlist so the dashboard only
|
|
2418
|
+
* surfaces connectors the merchant can actually attach.
|
|
2419
|
+
* `GET /feature_matrix/{merchantId}`
|
|
2420
|
+
*/
|
|
2421
|
+
async retrieveForMerchant(merchantId) {
|
|
2422
|
+
return this.request("GET", `/feature_matrix/${encodeURIComponent(merchantId)}`);
|
|
2423
|
+
}
|
|
2415
2424
|
};
|
|
2416
2425
|
|
|
2417
2426
|
// src/resources/files.ts
|