anear-js-api 0.3.25 → 0.3.26

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.
@@ -120,8 +120,8 @@ class AnearEvent extends JsonApiResource {
120
120
  return !this.hasFlag("no_spectators")
121
121
  }
122
122
 
123
- get spectatorCount() {
124
- return this.messaging.getSpectatorCount(this)
123
+ async spectatorCount() {
124
+ return await this.messaging.getSpectatorCount(this)
125
125
  }
126
126
 
127
127
  async createdEventCallback(participantCreator) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anear-js-api",
3
- "version": "0.3.25",
3
+ "version": "0.3.26",
4
4
  "description": "Javascript Developer API for Anear Apps",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {