@hanzo/rooms 0.1.49 → 0.1.50
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/dist/lib/signout.js +4 -2
- package/package.json +1 -1
package/dist/lib/signout.js
CHANGED
|
@@ -16,9 +16,11 @@ import { APEX } from './host.js';
|
|
|
16
16
|
/**
|
|
17
17
|
* The hosts that answer IAM's sign-in and sign-out calls on their own origin:
|
|
18
18
|
* every host this export is served on and signs in at (universe static-sites
|
|
19
|
-
* `iam-on-hanzo-ai`
|
|
19
|
+
* `iam-on-hanzo-ai` and cloud.yaml `iam-signin`), each network's own
|
|
20
|
+
* (test.hanzo.ai for testnet, dev.hanzo.ai for devnet), and the dev server's
|
|
21
|
+
* /v1 proxy.
|
|
20
22
|
*/
|
|
21
|
-
const HOSTS = new Set([...APEX, 'cloud.hanzo.ai', 'hanzo.bot', 'bot.hanzo.ai', 'localhost', '127.0.0.1']);
|
|
23
|
+
const HOSTS = new Set([...APEX, 'cloud.hanzo.ai', 'hanzo.bot', 'bot.hanzo.ai', 'test.hanzo.ai', 'dev.hanzo.ai', 'localhost', '127.0.0.1']);
|
|
22
24
|
/** Whether the page in front of us is on such an origin. */
|
|
23
25
|
export const here = () => typeof window !== 'undefined' && HOSTS.has(window.location.hostname);
|
|
24
26
|
/** The IAM client for this page; the token exchange at the callback shares its PKCE store. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/rooms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.50",
|
|
4
4
|
"description": "The workspace rooms — Home, Chat, Inbox, Contacts, Meet, Cal, Drive, Board, Work, Bots — and the frame that holds them, once, for every Hanzo surface.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|