@colyseus/sdk 0.17.20 → 0.17.21

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.
Files changed (53) hide show
  1. package/build/3rd_party/discord.cjs +1 -1
  2. package/build/3rd_party/discord.mjs +1 -1
  3. package/build/Auth.cjs +1 -1
  4. package/build/Auth.mjs +1 -1
  5. package/build/Client.cjs +1 -1
  6. package/build/Client.cjs.map +1 -1
  7. package/build/Client.d.ts +9 -9
  8. package/build/Client.mjs +1 -1
  9. package/build/Client.mjs.map +1 -1
  10. package/build/Connection.cjs +1 -1
  11. package/build/Connection.mjs +1 -1
  12. package/build/HTTP.cjs +1 -1
  13. package/build/HTTP.mjs +1 -1
  14. package/build/Room.cjs +2 -2
  15. package/build/Room.cjs.map +1 -1
  16. package/build/Room.d.ts +2 -2
  17. package/build/Room.mjs +2 -2
  18. package/build/Room.mjs.map +1 -1
  19. package/build/Storage.cjs +1 -1
  20. package/build/Storage.mjs +1 -1
  21. package/build/core/nanoevents.cjs +1 -1
  22. package/build/core/nanoevents.mjs +1 -1
  23. package/build/core/signal.cjs +1 -1
  24. package/build/core/signal.mjs +1 -1
  25. package/build/core/utils.cjs +1 -1
  26. package/build/core/utils.mjs +1 -1
  27. package/build/debug.cjs +1 -1
  28. package/build/debug.mjs +1 -1
  29. package/build/errors/Errors.cjs +1 -1
  30. package/build/errors/Errors.mjs +1 -1
  31. package/build/index.cjs +1 -1
  32. package/build/index.mjs +1 -1
  33. package/build/legacy.cjs +1 -1
  34. package/build/legacy.mjs +1 -1
  35. package/build/serializer/NoneSerializer.cjs +1 -1
  36. package/build/serializer/NoneSerializer.mjs +1 -1
  37. package/build/serializer/SchemaSerializer.cjs +1 -1
  38. package/build/serializer/SchemaSerializer.mjs +1 -1
  39. package/build/serializer/Serializer.cjs +1 -1
  40. package/build/serializer/Serializer.mjs +1 -1
  41. package/build/transport/H3Transport.cjs +1 -1
  42. package/build/transport/H3Transport.mjs +1 -1
  43. package/build/transport/WebSocketTransport.cjs +1 -1
  44. package/build/transport/WebSocketTransport.mjs +1 -1
  45. package/dist/colyseus-cocos-creator.js +2 -2
  46. package/dist/colyseus-cocos-creator.js.map +1 -1
  47. package/dist/colyseus.js +2 -2
  48. package/dist/colyseus.js.map +1 -1
  49. package/dist/debug.js +2 -2
  50. package/dist/debug.js.map +1 -1
  51. package/package.json +4 -4
  52. package/src/Client.ts +21 -21
  53. package/src/Room.ts +11 -3
package/dist/colyseus.js CHANGED
@@ -3,7 +3,7 @@
3
3
  // This software is released under the MIT License.
4
4
  // https://opensource.org/license/MIT
5
5
  //
6
- // colyseus.js@0.17.20 - @colyseus/schema 4.0.5
6
+ // colyseus.js@0.17.21 - @colyseus/schema 4.0.5
7
7
  (function (global, factory) {
8
8
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
9
9
  typeof define === 'function' && define.amd ? define('@colyseus/sdk', ['exports'], factory) :
@@ -8567,7 +8567,7 @@
8567
8567
  this.joinedAtTime = 0;
8568
8568
  this.onMessageHandlers = createNanoEvents();
8569
8569
  _Room_lastPingTime.set(this, 0);
8570
- _Room_pingCallback.set(this, void 0);
8570
+ _Room_pingCallback.set(this, undefined);
8571
8571
  this.name = name;
8572
8572
  this.packr = new Packr();
8573
8573
  // msgpackr workaround: force buffer to be created.