oblien 1.0.3 → 1.0.5

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/index.js +14 -3
  2. package/package.json +3 -9
package/index.js CHANGED
@@ -3,15 +3,26 @@
3
3
  * Server-side SDK for Oblien AI Platform
4
4
  */
5
5
 
6
- export { OblienClient } from './src/client.js';
7
- export { OblienChat, ChatSession } from './src/chat/index.js';
8
- export {
6
+ import { OblienClient } from './src/client.js';
7
+ import { OblienChat, ChatSession } from './src/chat/index.js';
8
+ import {
9
9
  GuestManager,
10
10
  NodeCacheStorage,
11
11
  InMemoryStorage,
12
12
  RedisStorage
13
13
  } from './src/utils/guest-manager.js';
14
14
 
15
+ // Re-export as named exports
16
+ export { OblienClient };
17
+ export { OblienChat, ChatSession };
18
+ export {
19
+ GuestManager,
20
+ NodeCacheStorage,
21
+ InMemoryStorage,
22
+ RedisStorage
23
+ };
24
+
25
+ // Default export
15
26
  export default {
16
27
  OblienClient,
17
28
  OblienChat,
package/package.json CHANGED
@@ -1,19 +1,13 @@
1
1
  {
2
2
  "name": "oblien",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Server-side SDK for Oblien AI Platform - Build AI-powered applications with chat, agents, and workflows",
5
5
  "main": "index.js",
6
6
  "type": "module",
7
7
  "types": "index.d.ts",
8
8
  "exports": {
9
- ".": {
10
- "import": "./index.js",
11
- "default": "./index.js"
12
- },
13
- "./chat": "./chat.js",
14
- "./agents": "./agents.js",
15
- "./workflows": "./workflows.js",
16
- "./guest": "./src/utils/guest-manager.js"
9
+ ".": "./index.js",
10
+ "./chat": "./chat.js"
17
11
  },
18
12
  "scripts": {
19
13
  "test": "node --test tests/**/*.test.js"