@corva/chat-core 0.1.2 → 0.1.3
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/README.md +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,6 +16,9 @@ It holds everything that is not UI: the Revolt/Stoat API and socket client, chat
|
|
|
16
16
|
- **No React.** Stores use `zustand/vanilla`; each app wraps them in its own hooks.
|
|
17
17
|
- **No UI dependencies** (`@corva/ui`, MUI, React Native).
|
|
18
18
|
|
|
19
|
+
Runtime dependencies must also resolve through a `main` field: the mobile app runs Metro with
|
|
20
|
+
package `exports` turned off, which is why `uuid` stays on v11 (v12+ ship only `exports`).
|
|
21
|
+
|
|
19
22
|
Hosts must provide a global `crypto.getRandomValues` for `uuid`: browsers have it, and the mobile
|
|
20
23
|
app installs it with `polyfillWebCrypto()` from `expo-standard-web-crypto` in its root layout.
|
|
21
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corva/chat-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Platform-agnostic core of Corva Team Chat, shared by the web and mobile apps",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@socket.io/component-emitter": "~3.1.0",
|
|
59
|
-
"uuid": "^
|
|
59
|
+
"uuid": "^11.1.0"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"zustand": "^4.5.0 || ^5.0.0"
|