@knowlearning/agents 0.9.176 → 0.9.177

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.
@@ -127,7 +127,7 @@ export default function messageQueue({ token, sid, domain, Connection, watchers,
127
127
 
128
128
  if (!authed) {
129
129
  // TODO: credential refresh flow instead of forcing login
130
- if (message.error) return login()
130
+ if (message.error) alert('Authentication Error. Please try again.')
131
131
 
132
132
  authed = true
133
133
  if (!user) { // this is the first authed websocket connection
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowlearning/agents",
3
- "version": "0.9.176",
3
+ "version": "0.9.177",
4
4
  "description": "API for embedding applications in KnowLearning systems.",
5
5
  "main": "node.js",
6
6
  "browser": "browser.js",