UNPKG

@stripe/ui-extension-sdk

Version:

The suite of functionality available to UI extensions in Stripe apps

15 lines 467 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.stripeApiFetch = void 0; const _endpoint_1 = require("./_endpoint"); const stripeApiFetch = (path, req) => { try { return (0, _endpoint_1.getHostEndpoint)().call.stripeApiFetch(path, req); } catch (e) { console.error('error calling stripe fetch', e); throw e; } }; exports.stripeApiFetch = stripeApiFetch; //# sourceMappingURL=apiFetch.js.map