Skip to content

Commit

Permalink
fix: 修改sdk内置的版本号
Browse files Browse the repository at this point in the history
  • Loading branch information
tangtaoit committed Mar 2, 2024
1 parent fb4ec56 commit 7300d30
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"process": "^0.11.10",
"vue": "^3.2.45",
"vue-router": "^4.0.13",
"wukongimjssdk": "^1.2.5"
"wukongimjssdk": "^1.2.7"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.0.0",
Expand Down
8 changes: 4 additions & 4 deletions examples/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -558,10 +558,10 @@ vue@^3.2.45:
"@vue/server-renderer" "3.3.4"
"@vue/shared" "3.3.4"

wukongimjssdk@^1.2.5:
version "1.2.5"
resolved "https://registry.yarnpkg.com/wukongimjssdk/-/wukongimjssdk-1.2.5.tgz#52dff419ff1f1ea0ebb69c12253559f0f022cb0d"
integrity sha512-uFFebNv9XA1T9jQu3b9hbr6xu1mkL2oS0wRRpcyIFWifYbeKpDDWotQPea7OHzrrHQopxGuBNpyOVsOka2LgEw==
wukongimjssdk@^1.2.7:
version "1.2.7"
resolved "https://registry.yarnpkg.com/wukongimjssdk/-/wukongimjssdk-1.2.7.tgz#db9af096efff467d6d1766c5ea50f16fe386662c"
integrity sha512-Okx+hTDLhMSDCicA2od9VBvSlfzNLtxMw4drbqaUx31hp09G5LSgthhWz9rfJl8AbmljhwPGo28B9bOZGjAgkw==
dependencies:
"@types/bignumber.js" "^5.0.0"
"@types/crypto-js" "^4.0.2"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wukongimjssdk",
"version": "1.2.6",
"version": "1.2.7",
"description": "",
"main": "lib/wukongimjssdk.cjs.js",
"module": "lib/wukongimjssdk.esm.js",
Expand Down
1 change: 0 additions & 1 deletion src/chat_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export class ChatManager {
packet.reddot = recvPacket.reddot
packet.messageID = recvPacket.messageID;
packet.messageSeq = recvPacket.messageSeq;
console.log("发送recvack------>", packet.messageSeq, packet.messageID)
WKSDK.shared().connectManager.sendPacket(packet)
}

Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class WKConfig {
heartbeatInterval: number = 60000; // 心跳频率 单位毫秒
provider!: Provider
receiptFlushInterval:number = 2000 // 回执flush间隔 单位为毫秒ms
sdkVersion = "1.0.0" // SDK版本号
sdkVersion = "1.2.7" // SDK版本号
platform?:any // 运行平台的全局对象,比如unapp的是 uni , 微信的是 wx
sendFrequency = 100 // 发送频率 单位为毫秒ms
sendCountOfEach = 5 // 每次同时发送消息数量
Expand Down

0 comments on commit 7300d30

Please sign in to comment.