@attlaz/client 1.102.0 → 1.102.1
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.
|
@@ -23,7 +23,9 @@ export class DataValueCollection extends JsonSerializable {
|
|
|
23
23
|
set(key, value) {
|
|
24
24
|
const existingIndex = this._values.findIndex((tag) => tag.key === key);
|
|
25
25
|
if (existingIndex !== -1) {
|
|
26
|
-
|
|
26
|
+
// The delete count is not optional here: `splice(i)` removes everything from `i` to the
|
|
27
|
+
// end, so overwriting a key used to drop every value stored after it.
|
|
28
|
+
this._values.splice(existingIndex, 1);
|
|
27
29
|
}
|
|
28
30
|
this._values.push(new DataValue(key, value));
|
|
29
31
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.102.0";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.
|
|
1
|
+
export const VERSION = "1.102.0";
|