@hanzo/rooms 0.1.28 → 0.1.29
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/Contacts.js +1 -1
- package/dist/lib/api.d.ts +1 -1
- package/dist/lib/api.js +1 -1
- package/dist/lib/host.js +2 -2
- package/package.json +1 -1
package/dist/Contacts.js
CHANGED
|
@@ -80,7 +80,7 @@ function Note({ children }) {
|
|
|
80
80
|
* The directory itself.
|
|
81
81
|
*
|
|
82
82
|
* SPLIT OUT because `usePeople` needs an owner and a hook cannot be called
|
|
83
|
-
* conditionally — the same reason Home
|
|
83
|
+
* conditionally — the same reason Home splits its own.
|
|
84
84
|
*/
|
|
85
85
|
function Roster({ owner }) {
|
|
86
86
|
const ai = useAi();
|
package/dist/lib/api.d.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* else could reach it: seven other modules wrote their own
|
|
6
6
|
* `process.env.NEXT_PUBLIC_HANZO_API_URL || 'https://api.hanzo.ai'` — reach.ts,
|
|
7
7
|
* team.ts, coding.ts, referrals.ts, useTiers.ts, Settings.tsx, Directory.tsx,
|
|
8
|
-
*
|
|
8
|
+
* and every one of them got the local case wrong in the same way.
|
|
9
9
|
*
|
|
10
10
|
* THE LOCAL CASE IS THE WHOLE POINT. api.hanzo.ai admits an origin by allowlist
|
|
11
11
|
* and by an https, portless DNS proof; localhost satisfies neither, so a
|
package/dist/lib/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* else could reach it: seven other modules wrote their own
|
|
6
6
|
* `process.env.NEXT_PUBLIC_HANZO_API_URL || 'https://api.hanzo.ai'` — reach.ts,
|
|
7
7
|
* team.ts, coding.ts, referrals.ts, useTiers.ts, Settings.tsx, Directory.tsx,
|
|
8
|
-
*
|
|
8
|
+
* and every one of them got the local case wrong in the same way.
|
|
9
9
|
*
|
|
10
10
|
* THE LOCAL CASE IS THE WHOLE POINT. api.hanzo.ai admits an origin by allowlist
|
|
11
11
|
* and by an https, portless DNS proof; localhost satisfies neither, so a
|
package/dist/lib/host.js
CHANGED
|
@@ -70,8 +70,8 @@ const SLUG = /^[a-z0-9](?:[a-z0-9-]{0,38}[a-z0-9])?$/;
|
|
|
70
70
|
* another address.
|
|
71
71
|
*/
|
|
72
72
|
export const dev = (ref) => site(!ref ? DEV : SESSION.test(ref) ? `${DEV}?run=${ref}` : SLUG.test(ref) ? `${DEV}?project=${ref}` : DEV);
|
|
73
|
-
/** The routes under app/(app) the apex keeps: the app — /chat, a chat shared by link, and /dev
|
|
74
|
-
const KEPT = new Set(['/chat', '/chat/shared', '/dev'
|
|
73
|
+
/** The routes under app/(app) the apex keeps: the app — /chat, a chat shared by link, and /dev. */
|
|
74
|
+
const KEPT = new Set(['/chat', '/chat/shared', '/dev']);
|
|
75
75
|
/** Settings, and every page under it: the person's and the organization's, served wherever the app is. */
|
|
76
76
|
const SETTINGS = '/settings';
|
|
77
77
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzo/rooms",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.29",
|
|
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",
|