@jokio/sdk 0.0.6 → 0.0.7

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 +8 -10
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -15,19 +15,17 @@ Provides tts ai model integrations, realtime p2p communication & crypto encrypti
15
15
  import { jok } from '@jokio/sdk'
16
16
 
17
17
  // passkeys
18
- const userData = await jok.auth.requestPasskeyLogin(displayName)
19
-
20
- return userData
18
+ {
19
+ const userData = await jok.auth.requestPasskeyLogin(displayName)
20
+ }
21
21
 
22
22
  // email - request otp code
23
- const isSent = await jok.auth.requestEmailLogin(email)
24
-
25
- return isSent
26
-
27
- // email - complete process
28
- const userData = await jok.auth.completeEmailLogin(email, otpCode)
23
+ {
24
+ const isSent = await jok.auth.requestEmailLogin(email)
29
25
 
30
- return userData
26
+ // email - complete process
27
+ const userData = await jok.auth.completeEmailLogin(email, otpCode)
28
+ }
31
29
  ```
32
30
 
33
31
  ## Text to speech (TTS)
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.0.6",
4
+ "version": "0.0.7",
5
5
  "license": "MIT",
6
6
  "main": "dist/jokio.sdk.umd.js",
7
7
  "keywords": [