@scalemule/sdk 0.0.5 → 0.0.6
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2906,7 +2906,8 @@ var RealtimeService = class extends ServiceModule {
|
|
|
2906
2906
|
});
|
|
2907
2907
|
}
|
|
2908
2908
|
handleMessage(msg) {
|
|
2909
|
-
|
|
2909
|
+
const type = msg.type;
|
|
2910
|
+
switch (type) {
|
|
2910
2911
|
case "auth_success":
|
|
2911
2912
|
this.authenticated = true;
|
|
2912
2913
|
this.setStatus("connected");
|
package/dist/index.mjs
CHANGED
|
@@ -2554,7 +2554,8 @@ var RealtimeService = class extends ServiceModule {
|
|
|
2554
2554
|
});
|
|
2555
2555
|
}
|
|
2556
2556
|
handleMessage(msg) {
|
|
2557
|
-
|
|
2557
|
+
const type = msg.type;
|
|
2558
|
+
switch (type) {
|
|
2558
2559
|
case "auth_success":
|
|
2559
2560
|
this.authenticated = true;
|
|
2560
2561
|
this.setStatus("connected");
|