@hanzo/rooms 0.1.52 → 0.1.53

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.
@@ -130,8 +130,9 @@ export declare const WEB = "https://hanzo.ai/chat";
130
130
  export declare const guest: (hostname: string) => boolean;
131
131
  /**
132
132
  * Whether a host is the devnet's: its production twin with `-dev` on the one
133
- * label under hanzo.ai (app-dev.hanzo.ai, api-dev.hanzo.ai, id-dev.hanzo.ai).
134
- * A deeper name (a.b-dev.hanzo.ai) is not one, and neither is a name that only
135
- * contains the suffix (app-dev.hanzo.ai.example.com).
133
+ * label under hanzo.ai (app-dev.hanzo.ai, api-dev.hanzo.ai, id-dev.hanzo.ai),
134
+ * and dev.hanzo.ai, the devnet's sandbox checkout. A deeper name
135
+ * (a.b-dev.hanzo.ai) is not one, and neither is a name that only contains the
136
+ * suffix (app-dev.hanzo.ai.example.com).
136
137
  */
137
138
  export declare function devnet(hostname: string): boolean;
package/dist/lib/host.js CHANGED
@@ -201,11 +201,14 @@ export const guest = (hostname) => hostname === 'hanzo.app' || hostname.endsWith
201
201
  const DEVNET = '-dev.hanzo.ai';
202
202
  /**
203
203
  * Whether a host is the devnet's: its production twin with `-dev` on the one
204
- * label under hanzo.ai (app-dev.hanzo.ai, api-dev.hanzo.ai, id-dev.hanzo.ai).
205
- * A deeper name (a.b-dev.hanzo.ai) is not one, and neither is a name that only
206
- * contains the suffix (app-dev.hanzo.ai.example.com).
204
+ * label under hanzo.ai (app-dev.hanzo.ai, api-dev.hanzo.ai, id-dev.hanzo.ai),
205
+ * and dev.hanzo.ai, the devnet's sandbox checkout. A deeper name
206
+ * (a.b-dev.hanzo.ai) is not one, and neither is a name that only contains the
207
+ * suffix (app-dev.hanzo.ai.example.com).
207
208
  */
208
209
  export function devnet(hostname) {
210
+ if (hostname === 'dev.hanzo.ai')
211
+ return true;
209
212
  if (!hostname.endsWith(DEVNET))
210
213
  return false;
211
214
  const label = hostname.slice(0, -'.hanzo.ai'.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzo/rooms",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
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",