@proappstore/sdk 1.16.38 → 1.16.39

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 (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -136,7 +136,7 @@ Cross-user counters for votes, views, leaderboards.
136
136
 
137
137
  ```ts
138
138
  await app.counters.increment('views')
139
- await app.counters.decrement('likes')
139
+ await app.counters.increment('likes', -1) // decrement — pass a negative amount
140
140
  const all = await app.counters.list()
141
141
  ```
142
142
 
@@ -147,7 +147,7 @@ const room = app.rooms.join('lobby')
147
147
  room.send({ text: 'hello' })
148
148
  room.onMessage((msg) => console.log(msg))
149
149
  room.onPeers((peers) => console.log(peers))
150
- room.leave()
150
+ room.close()
151
151
  ```
152
152
 
153
153
  ### Proxy (Secret-injecting API proxy)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proappstore/sdk",
3
- "version": "1.16.38",
3
+ "version": "1.16.39",
4
4
  "description": "Browser SDK for paid apps on proappstore.online — subscriptions, license keys, premium modules.",
5
5
  "license": "MIT",
6
6
  "type": "module",