@alia.onl/sdk 5.0.0 → 5.1.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @alia.onl/sdk
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Changed
6
+
7
+ - **The `@oxyhq/services` peer range now admits 24.x, 25.x and 26.x**
8
+ (`^23.0.1 || ^24.0.0 || ^25.0.0 || ^26.0.0`). An app on `@oxyhq/services@26`
9
+ previously got `warn: incorrect peer dependency` on every install, which reads
10
+ as a broken integration and is the reason this range is stated rather than
11
+ widened to `>=23.0.1`: each major in the union was audited, and a future one
12
+ will be too before it is added.
13
+
14
+ Nothing in this package changed, because nothing needed to. The whole surface
15
+ it consumes from `@oxyhq/services` is one import in four hooks — `useOxy`,
16
+ then `oxyServices.httpService.getAccessToken()` — and every link in that chain
17
+ is byte-identical across services 23.0.1 through 26.0.0 and the `@oxyhq/core`
18
+ 13 through 17 those versions pull in. Services 24.0.0 and 25.0.0 were majors
19
+ solely because they raised their own `@oxyhq/core` range; 26.0.0 is the
20
+ RFC 6749 token endpoint, whose `HttpService` changes are confined to
21
+ `URLSearchParams` request encoding and an `error_description` error field.
22
+
23
+ This is a compatibility declaration, not a deduplication fix. `@oxyhq/services`
24
+ is a peer dependency here and always has been, so an unsatisfied range emitted
25
+ a warning but never nested a second copy — verified on a clean install.
26
+
3
27
  ## 5.0.0
4
28
 
5
29
  ### Breaking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alia.onl/sdk",
3
- "version": "5.0.0",
3
+ "version": "5.1.0",
4
4
  "description": "Alia AI chat SDK — reusable chat UI, voice, and streaming components for Oxy apps",
5
5
  "main": "src/index.ts",
6
6
  "react-native": "src/index.ts",
@@ -41,7 +41,7 @@
41
41
  "peerDependencies": {
42
42
  "react": "^19.2.3",
43
43
  "react-native": "^0.86.0",
44
- "@oxyhq/services": "^23.0.1",
44
+ "@oxyhq/services": "^23.0.1 || ^24.0.0 || ^25.0.0 || ^26.0.0",
45
45
  "@react-native-async-storage/async-storage": "^2.2.0",
46
46
  "socket.io-client": "^4.8.3",
47
47
  "expo-font": "^57.0.0",