mezon-js 2.7.36 → 2.7.38
Sign up to get free protection for your applications and to get access to all the features.
- package/api.gen.ts +2 -0
- package/dist/api.gen.d.ts +1 -0
- 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/api.gen.ts
CHANGED
@@ -174,6 +174,8 @@ export interface ApiCategoryDescList {
|
|
174
174
|
|
175
175
|
/** */
|
176
176
|
export interface ApiChannelAttachment {
|
177
|
+
//The UNIX time (for gRPC clients) or ISO string (for REST clients) when the group was created.
|
178
|
+
create_time?: string;
|
177
179
|
//
|
178
180
|
filename?: string;
|
179
181
|
//
|
package/dist/api.gen.d.ts
CHANGED
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