@stacksjs/browser 0.70.16 → 0.70.18

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 +5 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -365,12 +365,12 @@ async function loop(times, callback) {
365
365
  Array.from({ length: times }).forEach(async (_, i) => await callback(i));
366
366
  }
367
367
  // ../../../../node_modules/@stripe/stripe-js/dist/index.mjs
368
- var RELEASE_TRAIN = "v3";
368
+ var RELEASE_TRAIN = "acacia";
369
369
  var runtimeVersionToUrlVersion = function runtimeVersionToUrlVersion2(version) {
370
370
  return version === 3 ? "v3" : version;
371
371
  };
372
372
  var ORIGIN = "https://js.stripe.com";
373
- var STRIPE_JS_URL = "".concat(ORIGIN, "/v3");
373
+ var STRIPE_JS_URL = "".concat(ORIGIN, "/").concat(RELEASE_TRAIN, "/stripe.js");
374
374
  var V3_URL_REGEX = /^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/;
375
375
  var STRIPE_JS_URL_REGEX = /^https:\/\/js\.stripe\.com\/(v3|[a-z]+)\/stripe\.js(\?.*)?$/;
376
376
  var EXISTING_SCRIPT_MESSAGE = "loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used";
@@ -405,7 +405,7 @@ var registerWrapper = function registerWrapper2(stripe, startTime) {
405
405
  }
406
406
  stripe._registerWrapper({
407
407
  name: "stripe-js",
408
- version: "5.10.0",
408
+ version: "6.1.0",
409
409
  startTime
410
410
  });
411
411
  };
@@ -480,7 +480,7 @@ var initStripe = function initStripe2(maybeStripe, args, startTime) {
480
480
  var version = runtimeVersionToUrlVersion(maybeStripe.version);
481
481
  var expectedVersion = RELEASE_TRAIN;
482
482
  if (isTestKey && version !== expectedVersion) {
483
- console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("5.10.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
483
+ console.warn("Stripe.js@".concat(version, " was loaded on the page, but @stripe/stripe-js@").concat("6.1.0", " expected Stripe.js@").concat(expectedVersion, ". This may result in unexpected behavior. For more information, see https://docs.stripe.com/sdks/stripejs-versioning"));
484
484
  }
485
485
  var stripe = maybeStripe.apply(undefined, args);
486
486
  registerWrapper(stripe, startTime);
@@ -15102,7 +15102,7 @@ function resolveTitleTemplate(template2, title) {
15102
15102
  return template2;
15103
15103
  }
15104
15104
 
15105
- // ../../../../node_modules/@unhead/dom/dist/index.mjs
15105
+ // ../../../../node_modules/@vueuse/head/node_modules/@unhead/dom/dist/index.mjs
15106
15106
  async function renderDOMHead(head, options = {}) {
15107
15107
  const dom = options.document || head.resolvedOptions.document;
15108
15108
  if (!dom || !head.dirty)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/browser",
3
3
  "type": "module",
4
- "version": "0.70.16",
4
+ "version": "0.70.18",
5
5
  "description": "Stacks core frontend/browser functionalities.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": ["Chris Breuer <chris@stacksjs.org>"],
@@ -34,7 +34,7 @@
34
34
  "prepublishOnly": "bun run build"
35
35
  },
36
36
  "devDependencies": {
37
- "@stacksjs/development": "0.70.11",
38
- "@stacksjs/utils": "0.70.11"
37
+ "@stacksjs/development": "0.70.16",
38
+ "@stacksjs/utils": "0.70.16"
39
39
  }
40
40
  }