@hautechai/sdk 2.0.1 → 2.1.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.
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -14042,6 +14042,7 @@ var WsClient = class {
|
|
|
14042
14042
|
getSocket() {
|
|
14043
14043
|
if (!this.socket) {
|
|
14044
14044
|
this.socket = io(this.config.baseWsUrl, {
|
|
14045
|
+
...this.config.wsConfig || {},
|
|
14045
14046
|
auth: (cb) => {
|
|
14046
14047
|
Promise.resolve(this.config.authToken()).then((token) => {
|
|
14047
14048
|
cb({
|