ultron-ai-sdk 1.1.6 → 1.1.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.
- package/README.md +5 -5
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ npm install ultron-ai-sdk
|
|
|
24
24
|
let character
|
|
25
25
|
|
|
26
26
|
const init = async() => {
|
|
27
|
-
sceneCanvas = new SceneCanvas('target-html-element')
|
|
27
|
+
sceneCanvas = new SceneCanvas('target-html-element-id')
|
|
28
28
|
const initializationSetting= {
|
|
29
29
|
avatarId: "AVATAR_ID", // AvatarId and Request Id are same
|
|
30
30
|
config:{
|
|
@@ -62,7 +62,7 @@ npm install ultron-ai-sdk
|
|
|
62
62
|
let character
|
|
63
63
|
|
|
64
64
|
const init = async() => {
|
|
65
|
-
sceneCanvas = new SceneCanvas('target-html-element')
|
|
65
|
+
sceneCanvas = new SceneCanvas('target-html-element-id')
|
|
66
66
|
const initializationSetting= {
|
|
67
67
|
avatarId: "AVATAR_ID", // AvatarId and Request Id are same
|
|
68
68
|
config:{
|
|
@@ -113,7 +113,7 @@ Check out the sample app git repository: [🔗React SDK Sample](https://github.c
|
|
|
113
113
|
|
|
114
114
|
```html
|
|
115
115
|
|
|
116
|
-
<div id="target-html-element"></div>
|
|
116
|
+
<div id="target-html-element-id"></div>
|
|
117
117
|
|
|
118
118
|
```
|
|
119
119
|
|
|
@@ -123,7 +123,7 @@ Check out the sample app git repository: [🔗React SDK Sample](https://github.c
|
|
|
123
123
|
|
|
124
124
|
```javascript
|
|
125
125
|
|
|
126
|
-
let sceneCanvas = new SceneCanvas('target-html-element')
|
|
126
|
+
let sceneCanvas = new SceneCanvas('target-html-element-id')
|
|
127
127
|
|
|
128
128
|
await sceneCanvas.init({
|
|
129
129
|
avatarId: "AVATAR_ID",
|
|
@@ -328,7 +328,7 @@ ultronSDK.setAudioInputDevice(myDevice.deviceId)
|
|
|
328
328
|
let character
|
|
329
329
|
|
|
330
330
|
const init = async() => {
|
|
331
|
-
sceneCanvas = new SceneCanvas('target-html-element')
|
|
331
|
+
sceneCanvas = new SceneCanvas('target-html-element-id')
|
|
332
332
|
const initializationSetting= {
|
|
333
333
|
avatarId: "AVATAR_ID/REQUEST_ID",
|
|
334
334
|
config:{
|