@stacksjs/payments 0.58.52 → 0.58.53
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/index.js +1 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -5956,7 +5956,7 @@ function createWebhooks(platformFunctions) {
|
|
|
5956
5956
|
|
|
5957
5957
|
// /home/runner/work/stacks/stacks/node_modules/stripe/esm/stripe.core.js
|
|
5958
5958
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
5959
|
-
Stripe.PACKAGE_VERSION = "14.
|
|
5959
|
+
Stripe.PACKAGE_VERSION = "14.15.0";
|
|
5960
5960
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: "node", publisher: "stripe", uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
5961
5961
|
Stripe.StripeResource = StripeResource;
|
|
5962
5962
|
Stripe.resources = exports_resources;
|
|
@@ -5983,9 +5983,6 @@ function createStripe(platformFunctions, requestSender = defaultRequestSenderFac
|
|
|
5983
5983
|
this.on = this._emitter.on.bind(this._emitter);
|
|
5984
5984
|
this.once = this._emitter.once.bind(this._emitter);
|
|
5985
5985
|
this.off = this._emitter.removeListener.bind(this._emitter);
|
|
5986
|
-
if (props.protocol && props.protocol !== "https" && (!props.host || /\.stripe\.com$/.test(props.host))) {
|
|
5987
|
-
throw new Error("The `https` protocol must be used when sending requests to `*.stripe.com`");
|
|
5988
|
-
}
|
|
5989
5986
|
const agent = props.httpAgent || null;
|
|
5990
5987
|
this._api = {
|
|
5991
5988
|
auth: null,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/payments",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.58.
|
|
4
|
+
"version": "0.58.53",
|
|
5
5
|
"description": "The Stacks payments package. Currently supporting Stripe.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"license": "MIT",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@stacksjs/utils": "latest",
|
|
54
54
|
"@stripe/stripe-js": "^2.4.0",
|
|
55
|
-
"stripe": "^14.
|
|
55
|
+
"stripe": "^14.15.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@stacksjs/config": "latest",
|