@space3-npm/cybersoul-client 1.0.2 → 1.0.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/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { CyberSoulClientConfig, InteractParams, DispatcherIntent, InteractResponse, CharacterState, ImageGenerationParams, VoiceGenerationParams } from "./types";
1
+ import { CyberSoulClientConfig, InteractParams, DispatcherIntent, InteractResponse, CharacterState, ImageGenerationParams, VoiceGenerationParams } from "./types.js";
2
2
  export declare class CyberSoulClient {
3
3
  private config;
4
4
  private llm;
package/dist/client.js CHANGED
@@ -1,5 +1,5 @@
1
- import { robustJsonParse } from "./utils/json.utils";
2
- import { MinimaxProvider } from "./providers/minimax.provider";
1
+ import { robustJsonParse } from "./utils/json.utils.js";
2
+ import { MinimaxProvider } from "./providers/minimax.provider.js";
3
3
  export class CyberSoulClient {
4
4
  config;
5
5
  llm;
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- export * from './types';
2
- export * from './client';
3
- export * from './providers/minimax.provider';
1
+ export * from './types.js';
2
+ export * from './client.js';
3
+ export * from './providers/minimax.provider.js';
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
- export * from './types';
2
- export * from './client';
3
- export * from './providers/minimax.provider';
1
+ export * from './types.js';
2
+ export * from './client.js';
3
+ export * from './providers/minimax.provider.js';
@@ -1,4 +1,4 @@
1
- import { LLMConfig, BaseLLMProvider } from '../types';
1
+ import { LLMConfig, BaseLLMProvider } from '../types.js';
2
2
  export declare class MinimaxProvider implements BaseLLMProvider {
3
3
  private config;
4
4
  constructor(config: LLMConfig);
package/package.json CHANGED
@@ -1,10 +1,16 @@
1
1
  {
2
2
  "name": "@space3-npm/cybersoul-client",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
8
14
  "files": [
9
15
  "dist"
10
16
  ],