@alia.onl/sdk 21.4.0 → 21.5.0
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/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/src/runtime/app-assertion.ts +1 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @alia.onl/sdk
|
|
2
2
|
|
|
3
|
+
## 21.5.0
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- **The SDK no longer ships every Oxy account screen to the app.** The host's app assertion
|
|
8
|
+
(`useAppAssertion`) was read from `@oxy.so/services/ui`, the only entry that exported it, and
|
|
9
|
+
that entry registers every account screen at import (with Bloom's phone flags and the rest), so
|
|
10
|
+
every app using the SDK carried them in its first-paint JS: +0.58 MiB in CrowdSource's reviewer.
|
|
11
|
+
It now comes from the lean `@oxy.so/services/ui/client`, like `useOxy` and `useAuth`.
|
|
12
|
+
`check:entries` refuses `@oxy.so/services/ui` from every entry, as it already refused the root.
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- The `@oxy.so/services` peer is `>=12.1.0`, the first release whose `ui/client` exports
|
|
17
|
+
`useAppAssertion`.
|
|
18
|
+
|
|
3
19
|
## 21.4.0
|
|
4
20
|
|
|
5
21
|
### Added
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alia.onl/sdk",
|
|
3
|
-
"version": "21.
|
|
3
|
+
"version": "21.5.0",
|
|
4
4
|
"description": "Alia AI chat SDK — the conversation runtime, chat UI, voice calls and dictation for Oxy apps",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@expo/vector-icons": "^15.1.1",
|
|
57
57
|
"@oxy.so/bloom": ">=10.21.0",
|
|
58
58
|
"@oxy.so/core": ">=3.0.0",
|
|
59
|
-
"@oxy.so/services": ">=
|
|
59
|
+
"@oxy.so/services": ">=12.1.0",
|
|
60
60
|
"@tanstack/react-query": "^5.101",
|
|
61
61
|
"@react-native-async-storage/async-storage": "^2.2.0",
|
|
62
62
|
"expo-blur": "^57.0.0 || ^58.0.0",
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
// `ui/client` does not export `useAppAssertion`.
|
|
3
|
-
import { useAppAssertion } from '@oxy.so/services/ui';
|
|
1
|
+
import { useAppAssertion } from '@oxy.so/services/ui/client';
|
|
4
2
|
import { useMemo } from 'react';
|
|
5
3
|
|
|
6
4
|
/**
|