@jokio/sdk 0.1.8 → 0.1.10
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 +2 -2
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
[](https://www.npmjs.com/package/@jokio/sdk)
|
|
6
6
|
|
|
7
7
|
SDK for building decentralised localfirst web apps.
|
|
8
|
-
Provides tts ai model integrations, realtime
|
|
8
|
+
Provides authentication (guest, passkeys, email), tts ai model integrations, realtime communication & crypto encryptions.
|
|
9
9
|
|
|
10
10
|
# Examples
|
|
11
11
|
|
|
@@ -125,7 +125,7 @@ You can use directly into html as well:
|
|
|
125
125
|
<script type="module">
|
|
126
126
|
import { jok } from 'https://esm.run/@jokio/sdk'
|
|
127
127
|
|
|
128
|
-
function textToAudio() {
|
|
128
|
+
async function textToAudio() {
|
|
129
129
|
const audio = await jok.tts.getAudio(
|
|
130
130
|
'Hello there, how are you?',
|
|
131
131
|
'en-US-AvaNeural',
|
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.10",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/jokio.sdk.umd.js",
|
|
7
7
|
"keywords": [
|
|
@@ -13,7 +13,10 @@
|
|
|
13
13
|
"ai",
|
|
14
14
|
"realtime",
|
|
15
15
|
"communication",
|
|
16
|
-
"auth"
|
|
16
|
+
"auth",
|
|
17
|
+
"nats",
|
|
18
|
+
"passkeys",
|
|
19
|
+
"webauthn"
|
|
17
20
|
],
|
|
18
21
|
"module": "dist/jokio.sdk.es.js",
|
|
19
22
|
"types": "dist/index.d.ts",
|