@lotics/app-sdk 0.122.5 → 0.122.7
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/index.js +1 -0
- package/dist/rpc.d.ts +2 -0
- package/dist/viewer.d.ts +2 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -29222,6 +29222,7 @@ function useAppContext() {
|
|
|
29222
29222
|
commentsEnabled: data?.comments_enabled ?? false,
|
|
29223
29223
|
recordingEnabled: data?.recording_enabled === true,
|
|
29224
29224
|
peekAppEnabled: data?.peek_app_enabled === true,
|
|
29225
|
+
hostNamesApp: data?.host_names_app === true,
|
|
29225
29226
|
timezone: data?.timezone,
|
|
29226
29227
|
currency: data?.default_currency,
|
|
29227
29228
|
resolved: data !== void 0,
|
package/dist/rpc.d.ts
CHANGED
|
@@ -74,6 +74,8 @@ export interface AppContext {
|
|
|
74
74
|
recording_enabled?: boolean;
|
|
75
75
|
/** True only from a host that serves `peekApp`; absent reads as false. */
|
|
76
76
|
peek_app_enabled?: boolean;
|
|
77
|
+
/** True only from a host whose own chrome names the app on screen; absent reads as false. */
|
|
78
|
+
host_names_app?: boolean;
|
|
77
79
|
/** This app's recordings the host still tracks, by alias. */
|
|
78
80
|
recordings?: Record<string, unknown>;
|
|
79
81
|
/** Who in the organization is away, or will be, and who stands in — absent from an older host and for a visitor from
|
package/dist/viewer.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export declare function useAppContext(): {
|
|
|
25
25
|
recordingEnabled: boolean;
|
|
26
26
|
/** The host draws another app's record in a sheet over this one (`peekApp`). */
|
|
27
27
|
peekAppEnabled: boolean;
|
|
28
|
+
/** The host's own chrome already names the app, so a screen need not title itself with the app's name. */
|
|
29
|
+
hostNamesApp: boolean;
|
|
28
30
|
timezone: string | undefined;
|
|
29
31
|
currency: string | undefined;
|
|
30
32
|
resolved: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotics/app-sdk",
|
|
3
|
-
"version": "0.122.
|
|
3
|
+
"version": "0.122.7",
|
|
4
4
|
"description": "The SDK a Lotics custom-code app reads and writes through — typed hooks over the host bridge, cell readers, mount() and AppRouter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@types/react-dom": "~19.2.2",
|
|
45
45
|
"@vitejs/plugin-react": "^6.1.2",
|
|
46
46
|
"esbuild": "^0.28.1",
|
|
47
|
-
"jsdom": "^
|
|
47
|
+
"jsdom": "^30.1.2",
|
|
48
48
|
"react": "^19.2.0",
|
|
49
49
|
"react-dom": "^19.2.0",
|
|
50
50
|
"react-router": "^7.18.2",
|