@melony/react 0.1.9 → 0.1.11

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/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
- import { ClientState, Client } from 'melony/client';
4
- import { Role, Event, UINode } from 'melony';
3
+ import { ClientState, Client } from '@melony/core/client';
4
+ import { Role, Event, UINode } from '@melony/core';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
 
7
7
  interface User {
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as React$1 from 'react';
2
2
  import React__default, { ReactNode } from 'react';
3
- import { ClientState, Client } from 'melony/client';
4
- import { Role, Event, UINode } from 'melony';
3
+ import { ClientState, Client } from '@melony/core/client';
4
+ import { Role, Event, UINode } from '@melony/core';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
6
6
 
7
7
  interface User {
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import { createContext, useState, useEffect, useCallback, useMemo, useContext, u
3
3
  import { clsx } from 'clsx';
4
4
  import { twMerge } from 'tailwind-merge';
5
5
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
6
- import { generateId } from 'melony/client';
6
+ import { generateId } from '@melony/core/client';
7
7
  import { Separator as Separator$1 } from '@base-ui/react/separator';
8
8
  import * as ICONS from '@tabler/icons-react';
9
9
  import { IconArrowUp, IconPlus, IconMessage, IconTrash, IconArrowLeft, IconHistory, IconX, IconUser, IconLogout, IconBrandGoogle, IconSelector, IconCheck, IconChevronUp, IconChevronDown } from '@tabler/icons-react';
@@ -43,7 +43,9 @@ function groupEventsToMessages(events) {
43
43
  }
44
44
  return messages;
45
45
  }
46
- var MelonyContext = createContext(void 0);
46
+ var MelonyContext = createContext(
47
+ void 0
48
+ );
47
49
  var MelonyProvider = ({
48
50
  children,
49
51
  client