@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 CHANGED
@@ -2906,7 +2906,8 @@ var RealtimeService = class extends ServiceModule {
2906
2906
  });
2907
2907
  }
2908
2908
  handleMessage(msg) {
2909
- switch (msg.type) {
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
- switch (msg.type) {
2557
+ const type = msg.type;
2558
+ switch (type) {
2558
2559
  case "auth_success":
2559
2560
  this.authenticated = true;
2560
2561
  this.setStatus("connected");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scalemule/sdk",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Official TypeScript/JavaScript SDK for ScaleMule Backend-as-a-Service",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",