@signalwire/js 3.25.0 → 3.25.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.esm.js +8 -10
- package/dist/index.esm.js.map +3 -3
- package/dist/index.js +10 -12
- package/dist/index.js.map +3 -3
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/js/src/chat/index.d.ts +4 -6
- package/dist/js/src/chat/index.d.ts.map +1 -1
- package/dist/js/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/chat/index.ts +29 -10
package/dist/index.esm.js
CHANGED
|
@@ -1650,7 +1650,7 @@ var JWTSession = class extends BaseJWTSession {
|
|
|
1650
1650
|
this.options = options;
|
|
1651
1651
|
__publicField(this, "WebSocketConstructor", WebSocket);
|
|
1652
1652
|
__publicField(this, "CloseEventConstructor", SwCloseEvent);
|
|
1653
|
-
__publicField(this, "agent", "@signalwire/js/browser/3.25.
|
|
1653
|
+
__publicField(this, "agent", "@signalwire/js/browser/3.25.1");
|
|
1654
1654
|
__publicField(this, "tokenTyp");
|
|
1655
1655
|
this.tokenTyp = (_a = decodedJwt.typ) != null ? _a : "VRT";
|
|
1656
1656
|
}
|
|
@@ -2531,13 +2531,6 @@ __export(chat_exports, {
|
|
|
2531
2531
|
ChatMessage: () => ChatMessage,
|
|
2532
2532
|
Client: () => Client3
|
|
2533
2533
|
});
|
|
2534
|
-
import { Chat } from "@signalwire/core";
|
|
2535
|
-
|
|
2536
|
-
// src/utils/interfaces.ts
|
|
2537
|
-
import { INTERNAL_MEMBER_UPDATABLE_PROPS } from "@signalwire/core";
|
|
2538
|
-
var INTERNAL_MEMBER_UPDATED_EVENTS = Object.keys(INTERNAL_MEMBER_UPDATABLE_PROPS).map((key) => {
|
|
2539
|
-
return `member.updated.${key}`;
|
|
2540
|
-
});
|
|
2541
2534
|
|
|
2542
2535
|
// src/chat/Client.ts
|
|
2543
2536
|
var INTERCEPTED_METHODS = [
|
|
@@ -2575,8 +2568,7 @@ var Client3 = function(chatOptions) {
|
|
|
2575
2568
|
};
|
|
2576
2569
|
|
|
2577
2570
|
// src/chat/index.ts
|
|
2578
|
-
|
|
2579
|
-
var ChatMessage = Chat.ChatMessage;
|
|
2571
|
+
import { ChatMember, ChatMessage } from "@signalwire/core";
|
|
2580
2572
|
|
|
2581
2573
|
// src/pubSub/index.ts
|
|
2582
2574
|
var pubSub_exports = {};
|
|
@@ -2586,6 +2578,12 @@ __export(pubSub_exports, {
|
|
|
2586
2578
|
});
|
|
2587
2579
|
import { PubSub } from "@signalwire/core";
|
|
2588
2580
|
|
|
2581
|
+
// src/utils/interfaces.ts
|
|
2582
|
+
import { INTERNAL_MEMBER_UPDATABLE_PROPS } from "@signalwire/core";
|
|
2583
|
+
var INTERNAL_MEMBER_UPDATED_EVENTS = Object.keys(INTERNAL_MEMBER_UPDATABLE_PROPS).map((key) => {
|
|
2584
|
+
return `member.updated.${key}`;
|
|
2585
|
+
});
|
|
2586
|
+
|
|
2589
2587
|
// src/pubSub/Client.ts
|
|
2590
2588
|
var INTERCEPTED_METHODS2 = [
|
|
2591
2589
|
"getAllowedChannels",
|