mezon-js 2.7.37 → 2.7.38
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/mezon-js.cjs.js +1 -1
- package/dist/mezon-js.esm.mjs +1 -1
- package/package.json +1 -1
- package/socket.ts +3 -1
package/dist/mezon-js.cjs.js
CHANGED
@@ -4251,7 +4251,7 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4251
4251
|
};
|
4252
4252
|
this.adapter.onError = (evt) => {
|
4253
4253
|
reject(evt);
|
4254
|
-
this.
|
4254
|
+
this.onerror(evt);
|
4255
4255
|
};
|
4256
4256
|
setTimeout(() => {
|
4257
4257
|
reject("The socket timed out when trying to connect.");
|
package/dist/mezon-js.esm.mjs
CHANGED
@@ -4222,7 +4222,7 @@ var _DefaultSocket = class _DefaultSocket {
|
|
4222
4222
|
};
|
4223
4223
|
this.adapter.onError = (evt) => {
|
4224
4224
|
reject(evt);
|
4225
|
-
this.
|
4225
|
+
this.onerror(evt);
|
4226
4226
|
};
|
4227
4227
|
setTimeout(() => {
|
4228
4228
|
reject("The socket timed out when trying to connect.");
|
package/package.json
CHANGED
package/socket.ts
CHANGED