declastruct-stripe-sdk
Version:
declarative control of stripe constructs, via declastruct
16 lines • 572 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStripeCredentials = void 0;
const helpful_errors_1 = require("helpful-errors");
const getStripeCredentials = () => {
return {
stripe: {
api: {
secretKey: process.env.PREP_STRIPE_SECRET_KEY ??
helpful_errors_1.UnexpectedCodePathError.throw('env.PREP_STRIPE_SECRET_KEY was not declared'),
},
},
};
};
exports.getStripeCredentials = getStripeCredentials;
//# sourceMappingURL=getStripeCredentials.js.map