@yorkie-js/react 0.6.13 → 0.6.15
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/dist/yorkie-js-react.js
CHANGED
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
7
7
|
|
|
8
8
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i;
|
|
9
9
|
const name$1 = "@yorkie-js/react";
|
|
10
|
-
const version$1 = "0.6.
|
|
10
|
+
const version$1 = "0.6.15";
|
|
11
11
|
const pkg$1 = {
|
|
12
12
|
name: name$1,
|
|
13
13
|
version: version$1
|
|
@@ -17439,8 +17439,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
17439
17439
|
});
|
|
17440
17440
|
addDataSizes(this.docSize.live, element.getDataSize());
|
|
17441
17441
|
if (element instanceof CRDTContainer) {
|
|
17442
|
-
element.getDescendants((elem,
|
|
17443
|
-
this.
|
|
17442
|
+
element.getDescendants((elem, par) => {
|
|
17443
|
+
this.elementPairMapByCreatedAt.set(elem.getCreatedAt().toIDString(), {
|
|
17444
|
+
parent: par,
|
|
17445
|
+
element: elem
|
|
17446
|
+
});
|
|
17447
|
+
addDataSizes(this.docSize.live, elem.getDataSize());
|
|
17444
17448
|
return false;
|
|
17445
17449
|
});
|
|
17446
17450
|
}
|
|
@@ -20744,7 +20748,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
20744
20748
|
};
|
|
20745
20749
|
}
|
|
20746
20750
|
const name = "@yorkie-js/sdk";
|
|
20747
|
-
const version = "0.6.
|
|
20751
|
+
const version = "0.6.15";
|
|
20748
20752
|
const pkg = {
|
|
20749
20753
|
name,
|
|
20750
20754
|
version
|
|
@@ -20872,7 +20876,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
20872
20876
|
clientKey: this.key,
|
|
20873
20877
|
metadata: this.metadata
|
|
20874
20878
|
},
|
|
20875
|
-
{ headers: { "x-shard-key": this.apiKey } }
|
|
20879
|
+
{ headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
|
|
20876
20880
|
);
|
|
20877
20881
|
this.id = res.clientId;
|
|
20878
20882
|
this.status = "activated";
|
|
@@ -20906,7 +20910,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
20906
20910
|
try {
|
|
20907
20911
|
await this.rpcClient.deactivateClient(
|
|
20908
20912
|
{ clientId: this.id },
|
|
20909
|
-
{ headers: { "x-shard-key": this.apiKey } }
|
|
20913
|
+
{ headers: { "x-shard-key": `${this.apiKey}/${this.key}` } }
|
|
20910
20914
|
);
|
|
20911
20915
|
this.deactivateInternal();
|
|
20912
20916
|
logger.info(`[DC] c"${this.getKey()}" deactivated`);
|