anear-js-api 0.3.2 → 0.3.3
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/lib/models/AnearEvent.js +2 -2
- package/package.json +2 -2
package/lib/models/AnearEvent.js
CHANGED
|
@@ -207,13 +207,13 @@ class AnearEvent extends JsonApiResource {
|
|
|
207
207
|
|
|
208
208
|
this.participants.add(this, participant) // update the participants entry
|
|
209
209
|
|
|
210
|
-
this.anearStateMachine.sendRefreshEvent({participant
|
|
210
|
+
this.anearStateMachine.sendRefreshEvent({ participant })
|
|
211
211
|
|
|
212
212
|
await participant.update()
|
|
213
213
|
} else {
|
|
214
214
|
this.participants.add(this, participant) // add the participants entry
|
|
215
215
|
|
|
216
|
-
this.anearStateMachine.sendJoinEvent({participant
|
|
216
|
+
this.anearStateMachine.sendJoinEvent({ participant })
|
|
217
217
|
|
|
218
218
|
await participant.persist()
|
|
219
219
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "anear-js-api",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.3",
|
|
4
4
|
"description": "Javascript Developer API for Anear Apps",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"homepage": "https://github.com/machvee/anear-js-api#readme",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"ably": "^1.2.
|
|
20
|
+
"ably": "^1.2.18",
|
|
21
21
|
"async-mutex": "^0.3.2",
|
|
22
22
|
"async-redis": "^2.0.0",
|
|
23
23
|
"cross-fetch": "^3.1.5",
|