@jokio/sdk 0.0.7 → 0.0.8

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 +4 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ Provides tts ai model integrations, realtime p2p communication & crypto encrypti
9
9
 
10
10
  # Examples
11
11
 
12
- ## Auth
12
+ ## Authentication
13
13
 
14
14
  ```ts
15
15
  import { jok } from '@jokio/sdk'
@@ -19,11 +19,12 @@ import { jok } from '@jokio/sdk'
19
19
  const userData = await jok.auth.requestPasskeyLogin(displayName)
20
20
  }
21
21
 
22
- // email - request otp code
22
+ // email
23
23
  {
24
+ // 1. request otp code
24
25
  const isSent = await jok.auth.requestEmailLogin(email)
25
26
 
26
- // email - complete process
27
+ // 2. complete process
27
28
  const userData = await jok.auth.completeEmailLogin(email, otpCode)
28
29
  }
29
30
  ```
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.7",
4
+ "version": "0.0.8",
5
5
  "license": "MIT",
6
6
  "main": "dist/jokio.sdk.umd.js",
7
7
  "keywords": [