@jazzmine-ui/sdk 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +5 -5
  2. package/package.json +9 -1
package/README.md CHANGED
@@ -5,7 +5,7 @@ Framework-agnostic TypeScript client for Jazzmine agentic backends.
5
5
  ## Install
6
6
 
7
7
  ```bash
8
- npm install @jazzmine/client
8
+ npm install @jazzmine-ui/sdk
9
9
  ```
10
10
 
11
11
  ## Quick Start
@@ -13,7 +13,7 @@ npm install @jazzmine/client
13
13
  ### 1) Basic chat
14
14
 
15
15
  ```ts
16
- import JazzmineClient from "@jazzmine/client";
16
+ import JazzmineClient from "@jazzmine-ui/sdk";
17
17
 
18
18
  const client = new JazzmineClient("https://your-jazzmine-api.example.com", {
19
19
  apiKey: "your-api-key",
@@ -26,7 +26,7 @@ console.log(reply.response);
26
26
  ### 2) Streaming chat
27
27
 
28
28
  ```ts
29
- import JazzmineClient from "@jazzmine/client";
29
+ import JazzmineClient from "@jazzmine-ui/sdk";
30
30
 
31
31
  const client = new JazzmineClient("https://your-jazzmine-api.example.com");
32
32
 
@@ -51,7 +51,7 @@ console.log(final.conversation_id);
51
51
  ### 3) Convenience sendMessage flow
52
52
 
53
53
  ```ts
54
- import JazzmineClient from "@jazzmine/client";
54
+ import JazzmineClient from "@jazzmine-ui/sdk";
55
55
 
56
56
  const client = new JazzmineClient("https://your-jazzmine-api.example.com", {
57
57
  defaultUserId: "alice",
@@ -128,7 +128,7 @@ class JazzmineClientError extends Error {
128
128
 
129
129
  ## Framework Compatibility
130
130
 
131
- `@jazzmine/client` is framework-agnostic and can be used from React, Vue, Svelte, Next.js, and vanilla JavaScript/TypeScript apps.
131
+ `@jazzmine-ui/sdk` is framework-agnostic and can be used from React, Vue, Svelte, Next.js, and vanilla JavaScript/TypeScript apps.
132
132
 
133
133
  ## Node.js Note
134
134
 
package/package.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "name": "@jazzmine-ui/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Framework-agnostic TypeScript client for Jazzmine agentic backends",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/AbderrazagB/jazzmine-ui-sdk.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/AbderrazagB/jazzmine-ui-sdk/issues"
12
+ },
13
+ "homepage": "https://github.com/AbderrazagB/jazzmine-ui-sdk#readme",
6
14
  "main": "./dist/index.cjs",
7
15
  "module": "./dist/index.js",
8
16
  "types": "./dist/index.d.ts",