@stripe/ui-extension-sdk
Version:
The suite of functionality available to UI extensions in Stripe apps
10 lines (9 loc) • 367 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.stripeApiFetch = void 0;
const api_1 = require("./api");
const stripeApiFetch = async (path, options) => {
const preferredFetchMethod = await (0, api_1.selectPreferredStripeApiFetch)();
return preferredFetchMethod(path, options);
};
exports.stripeApiFetch = stripeApiFetch;