@rebilly/instruments 16.3.0 → 16.5.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 +2 -2
- package/dist/index.js +10 -8
- package/dist/index.min.js +3 -4
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [16.
|
|
1
|
+
## [16.5.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.4.0...instruments/core-v16.5.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 ([#
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#15815](https://github.com/Rebilly/rebilly/issues/15815)) ([e311730](https://github.com/Rebilly/rebilly/commit/e3117309335d0798202a8aabc92ae4d72c2e956d))
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/shared v3.5.
|
|
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
|
|
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.
|
|
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
|
-
|
|
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
|
|
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
|
|
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("/")}@
|
|
5183
|
+
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@e311730`
|
|
5182
5184
|
};
|
|
5183
5185
|
return t2.apiKey && (i["REB-APIKEY"] = t2.apiKey), i;
|
|
5184
5186
|
}
|