@jokio/sdk 0.1.3 → 0.1.5
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/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,7 +66,7 @@ import { jok } from '@jokio/sdk'
|
|
|
66
66
|
await jok.nats.connect()
|
|
67
67
|
|
|
68
68
|
await jok.nats.on('dev.test', (data, ctx) => {
|
|
69
|
-
// in `ctx` you will
|
|
69
|
+
// in `ctx` you will receive caller's userId and sessionId
|
|
70
70
|
console.log('Received event', data, ctx)
|
|
71
71
|
})
|
|
72
72
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jokio/sdk",
|
|
3
3
|
"description": "pure js/ts sdk for building decentralised localfirst web apps. Provides tts ai model integrations, realtime p2p communication & crypto encryptions.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/jokio.sdk.umd.js",
|
|
7
7
|
"keywords": [
|