customer-chat-sdk 1.0.0 → 1.0.1

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 +6 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -17,7 +17,7 @@
17
17
  ### CDN 引入
18
18
 
19
19
  ```html
20
- <script src="https://cdn.example.com/customer-sdk.min.js"></script>
20
+ <script src="https://cdn.jsdelivr.net/npm/customer-chat-sdk@1.0.1/dist/customer-sdk.min.js"></script>
21
21
  <script>
22
22
  CustomerSDK.init({
23
23
  agent: 'your_agent_id',
@@ -28,6 +28,11 @@
28
28
  </script>
29
29
  ```
30
30
 
31
+ **或者使用 unpkg:**
32
+ ```html
33
+ <script src="https://unpkg.com/customer-chat-sdk@1.0.1/dist/customer-sdk.min.js"></script>
34
+ ```
35
+
31
36
  ### NPM 安装
32
37
 
33
38
  ```bash
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "customer-chat-sdk",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Customer Service SDK - One-line integration for customer support chat",
5
5
  "main": "dist/customer-sdk.cjs.js",
6
6
  "module": "dist/customer-sdk.esm.js",
@@ -63,4 +63,4 @@
63
63
  },
64
64
  "packageManager": "pnpm@8.15.0",
65
65
  "type": "module"
66
- }
66
+ }