@rebilly/instruments 16.175.1 → 16.177.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [16.175.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.175.0...instruments/core-v16.175.1) (2026-08-19)
1
+ ## [16.177.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.176.0...instruments/core-v16.177.0) (2026-08-25)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * **instruments:** Preserve quantity 0 when mapping storefront items ([#25004](https://github.com/Rebilly/rebilly/issues/25004)) ([478cde4](https://github.com/Rebilly/rebilly/commit/478cde47b6a6e0667c7a45b740555af064c6a6d3))
6
+ * **framepay:** Update customer validation schemas ([#25151](https://github.com/Rebilly/rebilly/issues/25151)) ([43427bc](https://github.com/Rebilly/rebilly/commit/43427bcd9d7194dadfd09535219082780fa9460b))
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @vue/shared v3.5.22
2
+ * @vue/shared v3.5.41
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
@@ -103,13 +103,13 @@ class Dep {
103
103
  }
104
104
  }
105
105
  const targetMap = /* @__PURE__ */ new WeakMap();
106
- const ITERATE_KEY = Symbol(
106
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
107
107
  ""
108
108
  );
109
- const MAP_KEY_ITERATE_KEY = Symbol(
109
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
110
110
  ""
111
111
  );
112
- const ARRAY_ITERATE_KEY = Symbol(
112
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
113
113
  ""
114
114
  );
115
115
  function track(target, type, key) {
@@ -191,19 +191,25 @@ function trigger(target, type, key, newValue, oldValue, oldTarget) {
191
191
  endBatch();
192
192
  }
193
193
  function reactiveReadArray(array) {
194
- const raw = toRaw(array);
194
+ const raw = /* @__PURE__ */ toRaw(array);
195
195
  if (raw === array) return raw;
196
196
  track(raw, "iterate", ARRAY_ITERATE_KEY);
197
- return isShallow(array) ? raw : raw.map(toReactive);
197
+ return /* @__PURE__ */ isShallow(array) ? raw : raw.map(toReactive);
198
198
  }
199
199
  function shallowReadArray(arr) {
200
- track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
200
+ track(arr = /* @__PURE__ */ toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
201
201
  return arr;
202
202
  }
203
+ function toWrapped(target, item) {
204
+ if (/* @__PURE__ */ isReadonly(target)) {
205
+ return /* @__PURE__ */ isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
206
+ }
207
+ return toReactive(item);
208
+ }
203
209
  const arrayInstrumentations = {
204
210
  __proto__: null,
205
211
  [Symbol.iterator]() {
206
- return iterator$1(this, Symbol.iterator, toReactive);
212
+ return iterator$1(this, Symbol.iterator, (item) => toWrapped(this, item));
207
213
  },
208
214
  concat(...args) {
209
215
  return reactiveReadArray(this).concat(
@@ -212,7 +218,7 @@ const arrayInstrumentations = {
212
218
  },
213
219
  entries() {
214
220
  return iterator$1(this, "entries", (value) => {
215
- value[1] = toReactive(value[1]);
221
+ value[1] = toWrapped(this, value[1]);
216
222
  return value;
217
223
  });
218
224
  },
@@ -220,16 +226,37 @@ const arrayInstrumentations = {
220
226
  return apply(this, "every", fn, thisArg, void 0, arguments);
221
227
  },
222
228
  filter(fn, thisArg) {
223
- return apply(this, "filter", fn, thisArg, (v) => v.map(toReactive), arguments);
229
+ return apply(
230
+ this,
231
+ "filter",
232
+ fn,
233
+ thisArg,
234
+ (v) => v.map((item) => toWrapped(this, item)),
235
+ arguments
236
+ );
224
237
  },
225
238
  find(fn, thisArg) {
226
- return apply(this, "find", fn, thisArg, toReactive, arguments);
239
+ return apply(
240
+ this,
241
+ "find",
242
+ fn,
243
+ thisArg,
244
+ (item) => toWrapped(this, item),
245
+ arguments
246
+ );
227
247
  },
228
248
  findIndex(fn, thisArg) {
229
249
  return apply(this, "findIndex", fn, thisArg, void 0, arguments);
230
250
  },
231
251
  findLast(fn, thisArg) {
232
- return apply(this, "findLast", fn, thisArg, toReactive, arguments);
252
+ return apply(
253
+ this,
254
+ "findLast",
255
+ fn,
256
+ thisArg,
257
+ (item) => toWrapped(this, item),
258
+ arguments
259
+ );
233
260
  },
234
261
  findLastIndex(fn, thisArg) {
235
262
  return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
@@ -289,13 +316,13 @@ const arrayInstrumentations = {
289
316
  return noTracking(this, "unshift", args);
290
317
  },
291
318
  values() {
292
- return iterator$1(this, "values", toReactive);
319
+ return iterator$1(this, "values", (item) => toWrapped(this, item));
293
320
  }
294
321
  };
295
322
  function iterator$1(self2, method, wrapValue) {
296
323
  const arr = shallowReadArray(self2);
297
324
  const iter = arr[method]();
298
- if (arr !== self2 && !isShallow(self2)) {
325
+ if (arr !== self2 && !/* @__PURE__ */ isShallow(self2)) {
299
326
  iter._next = iter.next;
300
327
  iter.next = () => {
301
328
  const result = iter._next();
@@ -310,7 +337,7 @@ function iterator$1(self2, method, wrapValue) {
310
337
  const arrayProto = Array.prototype;
311
338
  function apply(self2, method, fn, thisArg, wrappedRetFn, args) {
312
339
  const arr = shallowReadArray(self2);
313
- const needsWrap = arr !== self2 && !isShallow(self2);
340
+ const needsWrap = arr !== self2 && !/* @__PURE__ */ isShallow(self2);
314
341
  const methodFn = arr[method];
315
342
  if (methodFn !== arrayProto[method]) {
316
343
  const result2 = methodFn.apply(self2, args);
@@ -320,7 +347,7 @@ function apply(self2, method, fn, thisArg, wrappedRetFn, args) {
320
347
  if (arr !== self2) {
321
348
  if (needsWrap) {
322
349
  wrappedFn = function(item, index2) {
323
- return fn.call(this, toReactive(item), index2, self2);
350
+ return fn.call(this, toWrapped(self2, item), index2, self2);
324
351
  };
325
352
  } else if (fn.length > 2) {
326
353
  wrappedFn = function(item, index2) {
@@ -333,11 +360,18 @@ function apply(self2, method, fn, thisArg, wrappedRetFn, args) {
333
360
  }
334
361
  function reduce(self2, method, fn, args) {
335
362
  const arr = shallowReadArray(self2);
363
+ const needsWrap = arr !== self2 && !/* @__PURE__ */ isShallow(self2);
336
364
  let wrappedFn = fn;
365
+ let wrapInitialAccumulator = false;
337
366
  if (arr !== self2) {
338
- if (!isShallow(self2)) {
367
+ if (needsWrap) {
368
+ wrapInitialAccumulator = args.length === 0;
339
369
  wrappedFn = function(acc, item, index2) {
340
- return fn.call(this, acc, toReactive(item), index2, self2);
370
+ if (wrapInitialAccumulator) {
371
+ wrapInitialAccumulator = false;
372
+ acc = toWrapped(self2, acc);
373
+ }
374
+ return fn.call(this, acc, toWrapped(self2, item), index2, self2);
341
375
  };
342
376
  } else if (fn.length > 3) {
343
377
  wrappedFn = function(acc, item, index2) {
@@ -345,14 +379,15 @@ function reduce(self2, method, fn, args) {
345
379
  };
346
380
  }
347
381
  }
348
- return arr[method](wrappedFn, ...args);
382
+ const result = arr[method](wrappedFn, ...args);
383
+ return wrapInitialAccumulator ? toWrapped(self2, result) : result;
349
384
  }
350
385
  function searchProxy(self2, method, args) {
351
- const arr = toRaw(self2);
386
+ const arr = /* @__PURE__ */ toRaw(self2);
352
387
  track(arr, "iterate", ARRAY_ITERATE_KEY);
353
388
  const res = arr[method](...args);
354
- if ((res === -1 || res === false) && isProxy(args[0])) {
355
- args[0] = toRaw(args[0]);
389
+ if ((res === -1 || res === false) && /* @__PURE__ */ isProxy(args[0])) {
390
+ args[0] = /* @__PURE__ */ toRaw(args[0]);
356
391
  return arr[method](...args);
357
392
  }
358
393
  return res;
@@ -360,7 +395,7 @@ function searchProxy(self2, method, args) {
360
395
  function noTracking(self2, method, args = []) {
361
396
  pauseTracking();
362
397
  startBatch();
363
- const res = toRaw(self2)[method].apply(self2, args);
398
+ const res = (/* @__PURE__ */ toRaw(self2))[method].apply(self2, args);
364
399
  endBatch();
365
400
  resetTracking();
366
401
  return res;
@@ -371,7 +406,7 @@ const builtInSymbols = new Set(
371
406
  );
372
407
  function hasOwnProperty$1(key) {
373
408
  if (!isSymbol(key)) key = String(key);
374
- const obj = toRaw(this);
409
+ const obj = /* @__PURE__ */ toRaw(this);
375
410
  track(obj, "has", key);
376
411
  return obj.hasOwnProperty(key);
377
412
  }
@@ -413,7 +448,7 @@ class BaseReactiveHandler {
413
448
  // if this is a proxy wrapping a ref, return methods using the raw ref
414
449
  // as receiver so that we don't have to call `toRaw` on the ref in all
415
450
  // its class methods
416
- isRef(target) ? target : receiver
451
+ /* @__PURE__ */ isRef(target) ? target : receiver
417
452
  );
418
453
  if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
419
454
  return res;
@@ -424,12 +459,12 @@ class BaseReactiveHandler {
424
459
  if (isShallow2) {
425
460
  return res;
426
461
  }
427
- if (isRef(res)) {
462
+ if (/* @__PURE__ */ isRef(res)) {
428
463
  const value = targetIsArray && isIntegerKey(key) ? res : res.value;
429
- return isReadonly2 && isObject$2(value) ? readonly(value) : value;
464
+ return isReadonly2 && isObject$2(value) ? /* @__PURE__ */ readonly(value) : value;
430
465
  }
431
466
  if (isObject$2(res)) {
432
- return isReadonly2 ? readonly(res) : reactive(res);
467
+ return isReadonly2 ? /* @__PURE__ */ readonly(res) : /* @__PURE__ */ reactive(res);
433
468
  }
434
469
  return res;
435
470
  }
@@ -440,13 +475,14 @@ class MutableReactiveHandler extends BaseReactiveHandler {
440
475
  }
441
476
  set(target, key, value, receiver) {
442
477
  let oldValue = target[key];
478
+ const isArrayWithIntegerKey = isArray$1(target) && isIntegerKey(key);
443
479
  if (!this._isShallow) {
444
- const isOldValueReadonly = isReadonly(oldValue);
445
- if (!isShallow(value) && !isReadonly(value)) {
446
- oldValue = toRaw(oldValue);
447
- value = toRaw(value);
480
+ const isOldValueReadonly = /* @__PURE__ */ isReadonly(oldValue);
481
+ if (!/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) {
482
+ oldValue = /* @__PURE__ */ toRaw(oldValue);
483
+ value = /* @__PURE__ */ toRaw(value);
448
484
  }
449
- if (!isArray$1(target) && isRef(oldValue) && !isRef(value)) {
485
+ if (!isArrayWithIntegerKey && /* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
450
486
  if (isOldValueReadonly) {
451
487
  return true;
452
488
  } else {
@@ -455,14 +491,14 @@ class MutableReactiveHandler extends BaseReactiveHandler {
455
491
  }
456
492
  }
457
493
  }
458
- const hadKey = isArray$1(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);
494
+ const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : hasOwn(target, key);
459
495
  const result = Reflect.set(
460
496
  target,
461
497
  key,
462
498
  value,
463
- isRef(target) ? target : receiver
499
+ /* @__PURE__ */ isRef(target) ? target : receiver
464
500
  );
465
- if (target === toRaw(receiver)) {
501
+ if (target === /* @__PURE__ */ toRaw(receiver) && result) {
466
502
  if (!hadKey) {
467
503
  trigger(target, "add", key, value);
468
504
  } else if (hasChanged(value, oldValue)) {
@@ -514,7 +550,7 @@ const getProto = (v) => Reflect.getPrototypeOf(v);
514
550
  function createIterableMethod(method, isReadonly2, isShallow2) {
515
551
  return function(...args) {
516
552
  const target = this["__v_raw"];
517
- const rawTarget = toRaw(target);
553
+ const rawTarget = /* @__PURE__ */ toRaw(target);
518
554
  const targetIsMap = isMap(rawTarget);
519
555
  const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
520
556
  const isKeyOnly = method === "keys" && targetIsMap;
@@ -525,20 +561,20 @@ function createIterableMethod(method, isReadonly2, isShallow2) {
525
561
  "iterate",
526
562
  isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
527
563
  );
528
- return {
529
- // iterator protocol
530
- next() {
531
- const { value, done } = innerIterator.next();
532
- return done ? { value, done } : {
533
- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
534
- done
535
- };
536
- },
537
- // iterable protocol
538
- [Symbol.iterator]() {
539
- return this;
564
+ return extend$1(
565
+ // inheriting all iterator properties
566
+ Object.create(innerIterator),
567
+ {
568
+ // iterator protocol
569
+ next() {
570
+ const { value, done } = innerIterator.next();
571
+ return done ? { value, done } : {
572
+ value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
573
+ done
574
+ };
575
+ }
540
576
  }
541
- };
577
+ );
542
578
  };
543
579
  }
544
580
  function createReadonlyMethod(type) {
@@ -550,8 +586,8 @@ function createInstrumentations(readonly2, shallow) {
550
586
  const instrumentations = {
551
587
  get(key) {
552
588
  const target = this["__v_raw"];
553
- const rawTarget = toRaw(target);
554
- const rawKey = toRaw(key);
589
+ const rawTarget = /* @__PURE__ */ toRaw(target);
590
+ const rawKey = /* @__PURE__ */ toRaw(key);
555
591
  if (!readonly2) {
556
592
  if (hasChanged(key, rawKey)) {
557
593
  track(rawTarget, "get", key);
@@ -570,13 +606,13 @@ function createInstrumentations(readonly2, shallow) {
570
606
  },
571
607
  get size() {
572
608
  const target = this["__v_raw"];
573
- !readonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
609
+ !readonly2 && track(/* @__PURE__ */ toRaw(target), "iterate", ITERATE_KEY);
574
610
  return target.size;
575
611
  },
576
612
  has(key) {
577
613
  const target = this["__v_raw"];
578
- const rawTarget = toRaw(target);
579
- const rawKey = toRaw(key);
614
+ const rawTarget = /* @__PURE__ */ toRaw(target);
615
+ const rawKey = /* @__PURE__ */ toRaw(key);
580
616
  if (!readonly2) {
581
617
  if (hasChanged(key, rawKey)) {
582
618
  track(rawTarget, "has", key);
@@ -588,7 +624,7 @@ function createInstrumentations(readonly2, shallow) {
588
624
  forEach(callback, thisArg) {
589
625
  const observed = this;
590
626
  const target = observed["__v_raw"];
591
- const rawTarget = toRaw(target);
627
+ const rawTarget = /* @__PURE__ */ toRaw(target);
592
628
  const wrap = shallow ? toShallow : readonly2 ? toReadonly : toReactive;
593
629
  !readonly2 && track(rawTarget, "iterate", ITERATE_KEY);
594
630
  return target.forEach((value, key) => {
@@ -605,27 +641,26 @@ function createInstrumentations(readonly2, shallow) {
605
641
  clear: createReadonlyMethod("clear")
606
642
  } : {
607
643
  add(value) {
608
- if (!shallow && !isShallow(value) && !isReadonly(value)) {
609
- value = toRaw(value);
610
- }
611
- const target = toRaw(this);
644
+ const target = /* @__PURE__ */ toRaw(this);
612
645
  const proto = getProto(target);
613
- const hadKey = proto.has.call(target, value);
646
+ const rawValue = /* @__PURE__ */ toRaw(value);
647
+ const valueToAdd = !shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value) ? rawValue : value;
648
+ const hadKey = proto.has.call(target, valueToAdd) || hasChanged(value, valueToAdd) && proto.has.call(target, value) || hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);
614
649
  if (!hadKey) {
615
- target.add(value);
616
- trigger(target, "add", value, value);
650
+ target.add(valueToAdd);
651
+ trigger(target, "add", valueToAdd, valueToAdd);
617
652
  }
618
653
  return this;
619
654
  },
620
655
  set(key, value) {
621
- if (!shallow && !isShallow(value) && !isReadonly(value)) {
622
- value = toRaw(value);
656
+ if (!shallow && !/* @__PURE__ */ isShallow(value) && !/* @__PURE__ */ isReadonly(value)) {
657
+ value = /* @__PURE__ */ toRaw(value);
623
658
  }
624
- const target = toRaw(this);
659
+ const target = /* @__PURE__ */ toRaw(this);
625
660
  const { has, get } = getProto(target);
626
661
  let hadKey = has.call(target, key);
627
662
  if (!hadKey) {
628
- key = toRaw(key);
663
+ key = /* @__PURE__ */ toRaw(key);
629
664
  hadKey = has.call(target, key);
630
665
  }
631
666
  const oldValue = get.call(target, key);
@@ -638,11 +673,11 @@ function createInstrumentations(readonly2, shallow) {
638
673
  return this;
639
674
  },
640
675
  delete(key) {
641
- const target = toRaw(this);
676
+ const target = /* @__PURE__ */ toRaw(this);
642
677
  const { has, get } = getProto(target);
643
678
  let hadKey = has.call(target, key);
644
679
  if (!hadKey) {
645
- key = toRaw(key);
680
+ key = /* @__PURE__ */ toRaw(key);
646
681
  hadKey = has.call(target, key);
647
682
  }
648
683
  get ? get.call(target, key) : void 0;
@@ -653,7 +688,7 @@ function createInstrumentations(readonly2, shallow) {
653
688
  return result;
654
689
  },
655
690
  clear() {
656
- const target = toRaw(this);
691
+ const target = /* @__PURE__ */ toRaw(this);
657
692
  const hadItems = target.size !== 0;
658
693
  const result = target.clear();
659
694
  if (hadItems) {
@@ -720,11 +755,9 @@ function targetTypeMap(rawType) {
720
755
  return 0;
721
756
  }
722
757
  }
723
- function getTargetType(value) {
724
- return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));
725
- }
758
+ // @__NO_SIDE_EFFECTS__
726
759
  function reactive(target) {
727
- if (isReadonly(target)) {
760
+ if (/* @__PURE__ */ isReadonly(target)) {
728
761
  return target;
729
762
  }
730
763
  return createReactiveObject(
@@ -735,6 +768,7 @@ function reactive(target) {
735
768
  reactiveMap
736
769
  );
737
770
  }
771
+ // @__NO_SIDE_EFFECTS__
738
772
  function readonly(target) {
739
773
  return createReactiveObject(
740
774
  target,
@@ -751,14 +785,17 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
751
785
  if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
752
786
  return target;
753
787
  }
754
- const targetType = getTargetType(target);
755
- if (targetType === 0) {
788
+ if (target["__v_skip"] || !Object.isExtensible(target)) {
756
789
  return target;
757
790
  }
758
791
  const existingProxy = proxyMap.get(target);
759
792
  if (existingProxy) {
760
793
  return existingProxy;
761
794
  }
795
+ const targetType = targetTypeMap(toRawType(target));
796
+ if (targetType === 0) {
797
+ return target;
798
+ }
762
799
  const proxy = new Proxy(
763
800
  target,
764
801
  targetType === 2 ? collectionHandlers : baseHandlers
@@ -766,21 +803,33 @@ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandl
766
803
  proxyMap.set(target, proxy);
767
804
  return proxy;
768
805
  }
806
+ // @__NO_SIDE_EFFECTS__
807
+ function isReactive(value) {
808
+ if (/* @__PURE__ */ isReadonly(value)) {
809
+ return /* @__PURE__ */ isReactive(value["__v_raw"]);
810
+ }
811
+ return !!(value && value["__v_isReactive"]);
812
+ }
813
+ // @__NO_SIDE_EFFECTS__
769
814
  function isReadonly(value) {
770
815
  return !!(value && value["__v_isReadonly"]);
771
816
  }
817
+ // @__NO_SIDE_EFFECTS__
772
818
  function isShallow(value) {
773
819
  return !!(value && value["__v_isShallow"]);
774
820
  }
821
+ // @__NO_SIDE_EFFECTS__
775
822
  function isProxy(value) {
776
823
  return value ? !!value["__v_raw"] : false;
777
824
  }
825
+ // @__NO_SIDE_EFFECTS__
778
826
  function toRaw(observed) {
779
827
  const raw = observed && observed["__v_raw"];
780
- return raw ? toRaw(raw) : observed;
828
+ return raw ? /* @__PURE__ */ toRaw(raw) : observed;
781
829
  }
782
- const toReactive = (value) => isObject$2(value) ? reactive(value) : value;
783
- const toReadonly = (value) => isObject$2(value) ? readonly(value) : value;
830
+ const toReactive = (value) => isObject$2(value) ? /* @__PURE__ */ reactive(value) : value;
831
+ const toReadonly = (value) => isObject$2(value) ? /* @__PURE__ */ readonly(value) : value;
832
+ // @__NO_SIDE_EFFECTS__
784
833
  function isRef(r) {
785
834
  return r ? r["__v_isRef"] === true : false;
786
835
  }
@@ -1309,14 +1358,14 @@ const state = (() => {
1309
1358
  },
1310
1359
  reset() {
1311
1360
  if (state2 !== null) {
1312
- state2 = reactive({ ...defaultState });
1361
+ state2 = /* @__PURE__ */ reactive({ ...defaultState });
1313
1362
  }
1314
1363
  }
1315
1364
  };
1316
1365
  return {
1317
1366
  getInstance() {
1318
1367
  if (state2 === null) {
1319
- state2 = reactive({ ...defaultState });
1368
+ state2 = /* @__PURE__ */ reactive({ ...defaultState });
1320
1369
  }
1321
1370
  return state2;
1322
1371
  }
@@ -6175,7 +6224,7 @@ function O$1({ options: e }) {
6175
6224
  }
6176
6225
  function o() {
6177
6226
  const g = {
6178
- "REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@478cde4`
6227
+ "REB-API-CONSUMER": `${["Rebilly", e.appName, "js-sdk"].filter((m2) => m2).join("/")}@43427bcd`
6179
6228
  };
6180
6229
  return e.apiKey && (g["REB-APIKEY"] = e.apiKey), g;
6181
6230
  }
@@ -11264,7 +11313,7 @@ function mapItemsQuantities(items) {
11264
11313
  function createQuantitiesMap(items) {
11265
11314
  return items.reduce((map, item) => {
11266
11315
  if (!item.planId || !item.quantity) return map;
11267
- map.set(item.planId, toRaw(item.quantity));
11316
+ map.set(item.planId, /* @__PURE__ */ toRaw(item.quantity));
11268
11317
  return map;
11269
11318
  }, /* @__PURE__ */ new Map());
11270
11319
  }