@stacksjs/payments 0.58.28 → 0.58.44

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -16,9 +16,6 @@ var __toESM = (mod, isNodeMode, target) => {
16
16
  return to;
17
17
  };
18
18
  var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
19
- var __require = (id) => {
20
- return import.meta.require(id);
21
- };
22
19
  var __export = (target, all) => {
23
20
  for (var name in all)
24
21
  __defProp(target, name, {
@@ -5899,7 +5896,7 @@ function createWebhooks(platformFunctions) {
5899
5896
  });
5900
5897
  }
5901
5898
  throw new StripeSignatureVerificationError(header, payload, {
5902
- message: "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n" + docsLocation + "\n" + whitespaceMessage
5899
+ message: "No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? \n If a webhook request is being forwarded by a third-party tool, ensure that the exact request body, including JSON formatting and new line style, is preserved.\n" + docsLocation + "\n" + whitespaceMessage
5903
5900
  });
5904
5901
  }
5905
5902
  const timestampAge = Math.floor((typeof receivedAt === "number" ? receivedAt : Date.now()) / 1000) - details.timestamp;
@@ -5941,7 +5938,7 @@ function createWebhooks(platformFunctions) {
5941
5938
 
5942
5939
  // /home/runner/work/stacks/stacks/node_modules/stripe/esm/stripe.core.js
5943
5940
  function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
5944
- Stripe.PACKAGE_VERSION = "14.12.0";
5941
+ Stripe.PACKAGE_VERSION = "14.14.0";
5945
5942
  Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: "node", publisher: "stripe", uname: null, typescript: false }, determineProcessUserAgentProperties());
5946
5943
  Stripe.StripeResource = StripeResource;
5947
5944
  Stripe.resources = exports_resources;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/payments",
3
3
  "type": "module",
4
- "version": "0.58.28",
4
+ "version": "0.58.44",
5
5
  "description": "The Stacks payments package. Currently supporting Stripe.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -50,8 +50,8 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@stacksjs/utils": "workspace:*",
53
- "@stripe/stripe-js": "^2.3.0",
54
- "stripe": "^14.12.0"
53
+ "@stripe/stripe-js": "^2.4.0",
54
+ "stripe": "^14.14.0"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@stacksjs/config": "workspace:*",