@rebilly/instruments 16.3.0 → 16.4.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.3.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.2.0...instruments/core-v16.3.0) (2025-10-14)
1
+ ## [16.4.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.3.0...instruments/core-v16.4.0) (2025-10-15)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#15777](https://github.com/Rebilly/rebilly/issues/15777)) ([0e8f4fb](https://github.com/Rebilly/rebilly/commit/0e8f4fb305bab3a4c1f67e90674bb945f7c55ed3))
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#15810](https://github.com/Rebilly/rebilly/issues/15810)) ([731fbc6](https://github.com/Rebilly/rebilly/commit/731fbc63eac66ca85a0ee13f3d15428b3349acc8))
package/dist/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  /**
2
- * @vue/shared v3.5.16
2
+ * @vue/shared v3.5.22
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
5
  **/
6
- /*! #__NO_SIDE_EFFECTS__ */
7
6
  // @__NO_SIDE_EFFECTS__
8
7
  function makeMap(str) {
9
8
  const map = /* @__PURE__ */ Object.create(null);
@@ -68,6 +67,7 @@ function resetTracking() {
68
67
  shouldTrack = last === void 0 ? true : last;
69
68
  }
70
69
  class Dep {
70
+ // TODO isolatedDeclarations "__v_skip"
71
71
  constructor(computed2) {
72
72
  this.computed = computed2;
73
73
  this.version = 0;
@@ -76,6 +76,7 @@ class Dep {
76
76
  this.map = void 0;
77
77
  this.key = void 0;
78
78
  this.sc = 0;
79
+ this.__v_skip = true;
79
80
  }
80
81
  track(debugInfo) {
81
82
  {
@@ -246,7 +247,7 @@ const arrayInstrumentations = {
246
247
  join(separator) {
247
248
  return reactiveReadArray(this).join(separator);
248
249
  },
249
- // keys() iterator only reads `length`, no optimisation required
250
+ // keys() iterator only reads `length`, no optimization required
250
251
  lastIndexOf(...args) {
251
252
  return searchProxy(this, "lastIndexOf", args);
252
253
  },
@@ -298,7 +299,7 @@ function iterator$1(self2, method, wrapValue) {
298
299
  iter._next = iter.next;
299
300
  iter.next = () => {
300
301
  const result = iter._next();
301
- if (result.value) {
302
+ if (!result.done) {
302
303
  result.value = wrapValue(result.value);
303
304
  }
304
305
  return result;
@@ -424,7 +425,8 @@ class BaseReactiveHandler {
424
425
  return res;
425
426
  }
426
427
  if (isRef(res)) {
427
- return targetIsArray && isIntegerKey(key) ? res : res.value;
428
+ const value = targetIsArray && isIntegerKey(key) ? res : res.value;
429
+ return isReadonly2 && isObject$2(value) ? readonly(value) : value;
428
430
  }
429
431
  if (isObject$2(res)) {
430
432
  return isReadonly2 ? readonly(res) : reactive(res);
@@ -446,7 +448,7 @@ class MutableReactiveHandler extends BaseReactiveHandler {
446
448
  }
447
449
  if (!isArray$1(target) && isRef(oldValue) && !isRef(value)) {
448
450
  if (isOldValueReadonly) {
449
- return false;
451
+ return true;
450
452
  } else {
451
453
  oldValue.value = value;
452
454
  return true;
@@ -569,7 +571,7 @@ function createInstrumentations(readonly2, shallow) {
569
571
  get size() {
570
572
  const target = this["__v_raw"];
571
573
  !readonly2 && track(toRaw(target), "iterate", ITERATE_KEY);
572
- return Reflect.get(target, "size", target);
574
+ return target.size;
573
575
  },
574
576
  has(key) {
575
577
  const target = this["__v_raw"];
@@ -5178,7 +5180,7 @@ function C$1({ options: t2 }) {
5178
5180
  }
5179
5181
  function o2() {
5180
5182
  const i = {
5181
- "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@0e8f4fb`
5183
+ "REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@731fbc6`
5182
5184
  };
5183
5185
  return t2.apiKey && (i["REB-APIKEY"] = t2.apiKey), i;
5184
5186
  }