@trainly/react 1.5.1 → 1.6.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/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { TrainlyProvider } from "./TrainlyProvider";
|
|
2
2
|
export { useTrainly } from "./useTrainly";
|
|
3
|
+
export { TrainlyClient } from "./api/TrainlyClient";
|
|
3
4
|
export { TrainlyChat } from "./components/TrainlyChat";
|
|
4
5
|
export { TrainlyUpload } from "./components/TrainlyUpload";
|
|
5
6
|
export { TrainlyStatus } from "./components/TrainlyStatus";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
// Main exports for @trainly/react SDK
|
|
2
2
|
export { TrainlyProvider } from "./TrainlyProvider";
|
|
3
3
|
export { useTrainly } from "./useTrainly";
|
|
4
|
+
// Core client (for non-React usage)
|
|
5
|
+
export { TrainlyClient } from "./api/TrainlyClient";
|
|
4
6
|
// Pre-built components
|
|
5
7
|
export { TrainlyChat } from "./components/TrainlyChat";
|
|
6
8
|
export { TrainlyUpload } from "./components/TrainlyUpload";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trainly/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"description": "Dead simple RAG integration for React apps with OAuth authentication and custom scopes",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
"dev": "tsc --watch",
|
|
10
10
|
"clean": "rm -rf dist",
|
|
11
11
|
"prepublishOnly": "npm run clean && npm run build",
|
|
12
|
-
"test": "
|
|
12
|
+
"test": "node test_package.js",
|
|
13
|
+
"test:package": "node test_package.js"
|
|
13
14
|
},
|
|
14
15
|
"keywords": [
|
|
15
16
|
"rag",
|