ultron-ai-sdk 1.0.5 → 1.0.6

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 CHANGED
@@ -28,7 +28,6 @@ npm install ultron-ai-sdk
28
28
  const initializationSetting= {
29
29
  avatarId: "AVATAR_ID", // AvatarId and Request Id are same
30
30
  config:{
31
- accessToken: 'YOUR_CURRENT_AUTH_TOKEN', // Can be accessed from your app.ultronai.me localstorage data
32
31
  apiKey: "YOUR_ULTRON_API_KEY"
33
32
  },
34
33
  options:{
@@ -67,7 +66,6 @@ npm install ultron-ai-sdk
67
66
  const initializationSetting= {
68
67
  avatarId: "AVATAR_ID", // AvatarId and Request Id are same
69
68
  config:{
70
- accessToken: 'YOUR_CURRENT_AUTH_TOKEN', // Can be accessed from your app.ultronai.me localstorage data
71
69
  apiKey: "YOUR_ULTRON_API_KEY" // Not required if you can create and access "sessionId"
72
70
  // sessionId: "SESSION_ID_FOR_CURRENT_USER" // Recomended method for secure access
73
71
  },
@@ -127,7 +125,6 @@ sceneCanvas.init({sessionId: "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx"})
127
125
 
128
126
  | Option | Description |
129
127
  |-------------|--------------|
130
- | `accessToken` (optional) | accessToken current logged in Account |
131
128
  | `sessionId` (optional) | Session Id obtained using API key |
132
129
  | `apiKey` | You ultron key which can be found in your profile in Ultron App |
133
130
 
@@ -309,7 +306,7 @@ ultronSDK.setAudioInputDevice(myDevice.deviceId)
309
306
  const initializationSetting= {
310
307
  avatarId: "AVATAR_ID/REQUEST_ID",
311
308
  config:{
312
- apiKey: "YOUR_ULTRON_API_KEY"
309
+ sessionId: "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxx"
313
310
  },
314
311
  options:{
315
312
  alwaysListen: false // For Push to talk conversation