Skip to content

Commit c853fae

Browse files
jackshen310shenxiaojie.316
andauthored
fix: Remove type: module from package.json files (#165)
* fix: Remove type: module from package.json files * chore: Publish fix/bug * chore: Publish fix/bug * chore: Publish fix/bug * chore: Publish fix/bug --------- Co-authored-by: shenxiaojie.316 <[email protected]>
1 parent 0a2a887 commit c853fae

File tree

7 files changed

+38
-6
lines changed

7 files changed

+38
-6
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@coze/api",
5+
"comment": "Remove type: module from package.json files",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@coze/api",
10+
"email": "[email protected]"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@coze/api",
5+
"comment": "Remove type: module from package.json files",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@coze/api",
10+
"email": "[email protected]"
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@coze/realtime-api",
5+
"comment": "Remove type: module from package.json files",
6+
"type": "patch"
7+
}
8+
],
9+
"packageName": "@coze/realtime-api",
10+
"email": "[email protected]"
11+
}

examples/coze-js-node/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "coze-api node example",
55
"license": "ISC",
66
"author": "",
7-
"type": "module",
7+
"type": "commonjs",
88
"scripts": {
99
"postinstall": "node scripts/postinstall.cjs",
1010
"lint": "eslint ./ --cache --quiet",

packages/coze-js/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coze/api",
3-
"version": "1.1.0-beta.4",
3+
"version": "1.1.0-beta.6",
44
"description": "Official Coze Node.js SDK for seamless AI integration into your applications | 扣子官方 Node.js SDK,助您轻松集成 AI 能力到应用中",
55
"keywords": [
66
"coze",
@@ -21,7 +21,6 @@
2121
},
2222
"license": "MIT",
2323
"author": "Leeight <[email protected]>",
24-
"type": "module",
2524
"exports": {
2625
".": "./src/index.ts",
2726
"./ws-tools": "./src/ws-tools/index.ts"

packages/realtime-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@coze/realtime-api",
3-
"version": "1.1.0",
3+
"version": "1.1.0-beta.2",
44
"description": "A powerful real-time communication SDK for voice interactions with Coze AI bots | 扣子官方实时通信 SDK,用于与 Coze AI bots 进行语音交互",
55
"keywords": [
66
"coze",
@@ -74,4 +74,4 @@
7474
"module": "dist/esm/index.js",
7575
"typings": "dist/types/index.d.ts"
7676
}
77-
}
77+
}

packages/realtime-api/src/event-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export enum EventNames {
115115
* en: Audio speech stopped
116116
* zh: 停止说话
117117
*/
118-
AUDIO_SPEECH_STOPPED = 'server.audio.speech_stopped',
118+
AUDIO_AGENT_SPEECH_STOPPED = 'server.audio.agent.speech_stopped',
119119
/**
120120
* en: Server error
121121
* zh: 服务端错误

0 commit comments

Comments
 (0)