@widgetic/chat 0.1.48 → 0.1.49

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.
@@ -1403,7 +1403,10 @@
1403
1403
  onUpgradePlans();
1404
1404
  return;
1405
1405
  }
1406
- window.location.assign('/workspaces/personal/settings/billing');
1406
+ // The chat does not know which workspace it is open in, and there is no personal workspace to stand in for it: the person
1407
+ // picks the workspace on the site's chooser and goes on to its billing from there. (The widget creator, which does know,
1408
+ // passes its own `onUpgradePlans`.)
1409
+ window.location.assign('/workspaces');
1407
1410
  }
1408
1411
 
1409
1412
  function turnIsDesignCardOnly(turn: ChatTurn): boolean {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@widgetic/chat",
3
- "version": "0.1.48",
3
+ "version": "0.1.49",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",