@stvor/sdk 2.3.0 → 2.3.1
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/facade/app.d.ts +3 -0
- package/dist/facade/app.js +3 -0
- package/package.json +1 -1
package/dist/facade/app.d.ts
CHANGED
|
@@ -69,6 +69,9 @@ export declare class StvorFacadeClient {
|
|
|
69
69
|
* Register a handler that fires when a new user becomes available.
|
|
70
70
|
* This is triggered when we receive a user's public key announcement.
|
|
71
71
|
*
|
|
72
|
+
* **Edge-triggered**: Fires only ONCE per user, on first key discovery.
|
|
73
|
+
* Will NOT fire again if user reconnects with same identity.
|
|
74
|
+
*
|
|
72
75
|
* @example
|
|
73
76
|
* ```typescript
|
|
74
77
|
* client.onUserAvailable((userId) => {
|
package/dist/facade/app.js
CHANGED
|
@@ -175,6 +175,9 @@ export class StvorFacadeClient {
|
|
|
175
175
|
* Register a handler that fires when a new user becomes available.
|
|
176
176
|
* This is triggered when we receive a user's public key announcement.
|
|
177
177
|
*
|
|
178
|
+
* **Edge-triggered**: Fires only ONCE per user, on first key discovery.
|
|
179
|
+
* Will NOT fire again if user reconnects with same identity.
|
|
180
|
+
*
|
|
178
181
|
* @example
|
|
179
182
|
* ```typescript
|
|
180
183
|
* client.onUserAvailable((userId) => {
|