@yorkie-js/react 0.6.38 → 0.6.40

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.
@@ -67,10 +67,11 @@ declare type DocumentContextType<R, P extends Indexable = Indexable> = {
67
67
  * This component must be under a `YorkieProvider` component to initialize the
68
68
  * Yorkie client properly.
69
69
  */
70
- export declare const DocumentProvider: <R, P extends Indexable = Indexable>({ docKey, initialRoot, initialPresence, children, }: {
70
+ export declare const DocumentProvider: <R, P extends Indexable = Indexable>({ docKey, initialRoot, initialPresence, enableDevtools, children, }: {
71
71
  docKey: string;
72
72
  initialRoot?: R | undefined;
73
73
  initialPresence?: P | undefined;
74
+ enableDevtools?: boolean | undefined;
74
75
  children?: default_2.ReactNode;
75
76
  }) => JSX.Element;
76
77
 
@@ -159,6 +160,7 @@ export declare const useRoot: <R>() => {
159
160
  export declare function useYorkieDoc<R, P extends Indexable = Indexable>(apiKey: string, docKey: string, opts?: Omit<ClientOptions, 'apiKey'> & {
160
161
  initialRoot?: R;
161
162
  initialPresence?: P;
163
+ enableDevtools?: boolean;
162
164
  }): {
163
165
  root: R;
164
166
  presences: Array<{