@fayz-ai/shop 0.43.0 → 0.43.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkout-gateways.d.ts","sourceRoot":"","sources":["../../src/data/checkout-gateways.ts"],"names":[],"mappings":"AAsBA,wFAAwF;AACxF,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAA;IACZ,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;;;;;;;OAeG;IACH,IAAI,EAAE,OAAO,CAAA;IACb;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,EAAE,OAAO,CAAA;IACb;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;
|
|
1
|
+
{"version":3,"file":"checkout-gateways.d.ts","sourceRoot":"","sources":["../../src/data/checkout-gateways.ts"],"names":[],"mappings":"AAsBA,wFAAwF;AACxF,MAAM,WAAW,eAAe;IAC9B,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAA;IACZ,kFAAkF;IAClF,MAAM,EAAE,MAAM,CAAA;IACd;;;;;;;;;;;;;;;OAeG;IACH,IAAI,EAAE,OAAO,CAAA;IACb;;;;;;;;;;;;;;;;OAgBG;IACH,IAAI,EAAE,OAAO,CAAA;IACb;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;CACd;AA2BD;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB,EAAE,SAAS,MAAM,EAAyC,CAAA;AAE3F,wDAAwD;AACxD,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEjF;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEhF;AAED;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,CAEzE;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,GAAG,IAAI,CAE/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,eAAe,GAAG,IAAI,CAI3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACnC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GACpC,MAAM,CAKR"}
|
package/dist/index.js
CHANGED
|
@@ -234,7 +234,12 @@ var GATEWAYS = Object.freeze({
|
|
|
234
234
|
// The first acquirer here that charges a card IN THE STORE: Mercado Pago
|
|
235
235
|
// tokenises in the browser, so no PAN crosses the pool and card needs no
|
|
236
236
|
// hosted page. `link: false` because nothing mints a shareable URL yet.
|
|
237
|
-
mercadopago: Object.freeze({ open: "mercadopago-checkout-open", settle: "mercadopago-checkout-settle", link: false, card: true, label: "Mercado Pago" })
|
|
237
|
+
mercadopago: Object.freeze({ open: "mercadopago-checkout-open", settle: "mercadopago-checkout-settle", link: false, card: true, label: "Mercado Pago" }),
|
|
238
|
+
// Stripe: card, Pix and boleto are all paid on Stripe's hosted Checkout
|
|
239
|
+
// page, and a page URL is a shareable link for up to 24 hours. Keyed by the
|
|
240
|
+
// ConnectorDefinition id, which carries the "-connect" the catalogue slug
|
|
241
|
+
// does not.
|
|
242
|
+
"stripe-connect": Object.freeze({ open: "stripe-checkout-open", settle: "stripe-checkout-settle", link: true, card: true, label: "Stripe" })
|
|
238
243
|
});
|
|
239
244
|
var CHARGEABLE_PROVIDERS = Object.freeze(Object.keys(GATEWAYS));
|
|
240
245
|
function isChargeableProvider(provider) {
|