@yorkie-js/react 0.6.13 → 0.6.14

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.
@@ -5,7 +5,7 @@ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  import { createContext, useMemo, useState, useEffect, useContext, useCallback } from "react";
7
7
  const name$1 = "@yorkie-js/react";
8
- const version$1 = "0.6.13";
8
+ const version$1 = "0.6.14";
9
9
  const pkg$1 = {
10
10
  name: name$1,
11
11
  version: version$1
@@ -17437,8 +17437,12 @@ class CRDTRoot {
17437
17437
  });
17438
17438
  addDataSizes(this.docSize.live, element.getDataSize());
17439
17439
  if (element instanceof CRDTContainer) {
17440
- element.getDescendants((elem, parent2) => {
17441
- this.registerElement(elem, parent2);
17440
+ element.getDescendants((elem, par) => {
17441
+ this.elementPairMapByCreatedAt.set(elem.getCreatedAt().toIDString(), {
17442
+ parent: par,
17443
+ element: elem
17444
+ });
17445
+ addDataSizes(this.docSize.live, elem.getDataSize());
17442
17446
  return false;
17443
17447
  });
17444
17448
  }
@@ -20742,7 +20746,7 @@ function createAuthInterceptor(apiKey, token) {
20742
20746
  };
20743
20747
  }
20744
20748
  const name = "@yorkie-js/sdk";
20745
- const version = "0.6.13";
20749
+ const version = "0.6.14";
20746
20750
  const pkg = {
20747
20751
  name,
20748
20752
  version