@pepperdash/mobile-control-react-app-core 1.3.0 → 1.4.0

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.
@@ -1,5 +1,6 @@
1
1
  export * from './interfaceNames';
2
2
  export * from './useIHasPowerControl';
3
3
  export * from './useIRunDirectRouteAction';
4
+ export * from './useMobileControlTouchpanelController';
4
5
  export * from './useTwoWayDisplayBase';
5
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { MobileControlTouchpanelState } from "src/lib/types/state/state/MobileControlTouchpanelState";
2
+ export declare function useMobileControlTouchpanelController(key: string): MobileControlTouchpanelControllerReturn | undefined;
3
+ interface MobileControlTouchpanelControllerReturn {
4
+ touchpanelState: MobileControlTouchpanelState;
5
+ appControl: {
6
+ hideApp: () => void;
7
+ openApp: () => void;
8
+ closeApp: () => void;
9
+ };
10
+ zoomControl: {
11
+ endCall: () => void;
12
+ };
13
+ }
14
+ export {};
15
+ //# sourceMappingURL=useMobileControlTouchpanelController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMobileControlTouchpanelController.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useMobileControlTouchpanelController.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,wDAAwD,CAAC;AAGtG,wBAAgB,oCAAoC,CAClD,GAAG,EAAE,MAAM,GACV,uCAAuC,GAAG,SAAS,CA+BrD;AAED,UAAU,uCAAuC;IAC/C,eAAe,EAAE,4BAA4B,CAAC;IAC9C,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,OAAO,EAAE,MAAM,IAAI,CAAC;QACpB,QAAQ,EAAE,MAAM,IAAI,CAAC;KACtB,CAAC;IACF,WAAW,EAAE;QACX,OAAO,EAAE,MAAM,IAAI,CAAC;KACrB,CAAC;CACH"}
@@ -1,9 +1,13 @@
1
- import { DisplayState } from 'src/lib/types';
2
- import { IHasPowerWithFeedbackProps } from './useIHasPowerControl';
3
- export declare function useTwoWayDisplayBase(key: string): TwoWayDisplayBaseReturn;
1
+ import { DisplayState } from "src/lib/types";
2
+ import { IHasPowerWithFeedbackProps } from "./useIHasPowerControl";
3
+ export declare function useTwoWayDisplayBase(key: string): TwoWayDisplayBaseReturn | undefined;
4
4
  interface TwoWayDisplayBaseReturn {
5
- state: DisplayState;
5
+ displayState: DisplayState;
6
6
  powerControl: IHasPowerWithFeedbackProps;
7
+ powerFb: {
8
+ powerOnFb: boolean;
9
+ powerOffFb: boolean;
10
+ };
7
11
  }
8
12
  export {};
9
13
  //# sourceMappingURL=useTwoWayDisplayBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useTwoWayDisplayBase.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useTwoWayDisplayBase.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EAAE,0BAA0B,EAAuB,MAAM,uBAAuB,CAAC;AAExF,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,GAAG,uBAAuB,CAMzE;AAED,UAAU,uBAAuB;IAC/B,KAAK,EAAE,YAAY,CAAC;IACpB,YAAY,EAAE,0BAA0B,CAAC;CAC1C"}
1
+ {"version":3,"file":"useTwoWayDisplayBase.d.ts","sourceRoot":"","sources":["../../../../src/lib/shared/hooks/interfaces/useTwoWayDisplayBase.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,0BAA0B,EAE3B,MAAM,uBAAuB,CAAC;AAG/B,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,MAAM,GACV,uBAAuB,GAAG,SAAS,CAmBrC;AAED,UAAU,uBAAuB;IAC/B,YAAY,EAAE,YAAY,CAAC;IAC3B,YAAY,EAAE,0BAA0B,CAAC;IACzC,OAAO,EAAE;QAAE,SAAS,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,CAAC;CACtD"}
@@ -1 +1 @@
1
- {"version":3,"file":"useGetDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D;;GAEG;AACH,eAAO,MAAM,yCAAyC;YAAuB,iBAAiB,GAAG,SAAS;UAkCzG,CAAC"}
1
+ {"version":3,"file":"useGetDeviceStateFromRoomConfiguration.d.ts","sourceRoot":"","sources":["../../../src/lib/shared/hooks/useGetDeviceStateFromRoomConfiguration.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAI9D;;GAEG;AACH,eAAO,MAAM,yCAAyC;YAAuB,iBAAiB,GAAG,SAAS;UAsCzG,CAAC"}
@@ -27,18 +27,7 @@ export declare const devicesActions: import("@reduxjs/toolkit").CaseReducerActio
27
27
  isOnline: boolean;
28
28
  status: import("../../types").MonitorStatus;
29
29
  } | undefined;
30
- } | ({
31
- key: string;
32
- name: string;
33
- messageType?: string | undefined;
34
- eventType?: string | undefined;
35
- content?: unknown;
36
- interfaces: string[];
37
- commMonitor?: {
38
- isOnline: boolean;
39
- status: import("../../types").MonitorStatus;
40
- } | undefined;
41
- } & DeviceState);
30
+ };
42
31
  } | undefined;
43
32
  }, "devices">;
44
33
  export declare const devicesReducer: import("redux").Reducer<Record<string, DeviceState>>;
@@ -1 +1 @@
1
- {"version":3,"file":"devices.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/devices/devices.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAoCtD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;eA3BU,cAAc,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;aA2BT,CAAC;AACnD,eAAO,MAAM,cAAc,sDAAwB,CAAC"}
1
+ {"version":3,"file":"devices.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/devices/devices.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE9D,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAoCtD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;eA3BU,cAAc,OAAO,CAAC;;;;;;;;;;;;;;aA2BT,CAAC;AACnD,eAAO,MAAM,cAAc,sDAAwB,CAAC"}
@@ -1,3 +1,12 @@
1
- export declare const useGetAllDevices: () => import("../..").DeviceState[];
2
- export declare const useGetDevice: (deviceKey: string) => import("../..").DeviceState;
1
+ /**
2
+ * Memoized selector to get all devices
3
+ * @returns all devices
4
+ */
5
+ export declare const useGetAllDevices: () => import("../..").DeviceState[] | undefined;
6
+ /**
7
+ * Selector for a single device
8
+ * @param deviceKey
9
+ * @returns DeviceState or undefined
10
+ */
11
+ export declare const useGetDevice: (deviceKey: string) => import("../..").DeviceState | undefined;
3
12
  //# sourceMappingURL=devicesSelectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"devicesSelectors.d.ts","sourceRoot":"","sources":["../../../src/lib/store/devices/devicesSelectors.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,qCAE5B,CAAA;AAED,eAAO,MAAM,YAAY,cAAe,MAAM,gCAE7C,CAAA"}
1
+ {"version":3,"file":"devicesSelectors.d.ts","sourceRoot":"","sources":["../../../src/lib/store/devices/devicesSelectors.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,eAAO,MAAM,gBAAgB,iDAK5B,CAAA;AAID;;;;GAIG;AACH,eAAO,MAAM,YAAY,cAAe,MAAM,4CAC8C,CAAC"}
@@ -49,6 +49,8 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
49
49
  userCanChangeShareMode?: boolean | undefined;
50
50
  videoCodecIsZoomRoom?: boolean | undefined;
51
51
  videoCodecKey?: string | undefined;
52
+ touchpanelKeys?: string[] | undefined;
53
+ zoomRoomControllerKey?: string | undefined;
52
54
  } | undefined;
53
55
  isCoolingDown?: boolean | undefined;
54
56
  isInCall?: boolean | undefined;
@@ -142,6 +144,8 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
142
144
  userCanChangeShareMode?: boolean | undefined;
143
145
  videoCodecIsZoomRoom?: boolean | undefined;
144
146
  videoCodecKey?: string | undefined;
147
+ touchpanelKeys?: string[] | undefined;
148
+ zoomRoomControllerKey?: string | undefined;
145
149
  } | undefined;
146
150
  isCoolingDown?: boolean | undefined;
147
151
  isInCall?: boolean | undefined;
@@ -187,98 +191,7 @@ export declare const roomsActions: import("@reduxjs/toolkit").CaseReducerActions
187
191
  isOnline: boolean;
188
192
  status: import("../../types/state/index").MonitorStatus;
189
193
  } | undefined;
190
- } | ({
191
- activityMode?: number | undefined;
192
- advancedSharingActive?: boolean | undefined;
193
- configuration?: {
194
- audioCodecKey?: string | undefined;
195
- defaultDisplayKey?: string | undefined;
196
- defaultPresentationSourceKey: string;
197
- displayKeys: string[];
198
- environmentalDevices: {
199
- deviceKey?: string | undefined;
200
- deviceType?: import("../../types/state/index").EnvironmentalDeviceTypes | undefined;
201
- }[];
202
- hasAudioConferencing?: boolean | undefined;
203
- hasEnvironmentalControls?: boolean | undefined;
204
- hasVideoConferencing?: boolean | undefined;
205
- helpMessage?: string | undefined;
206
- sourceList: {
207
- [x: string]: {
208
- disableCodecSharing: boolean;
209
- disableRoutedSharing: boolean;
210
- key: string;
211
- sourceKey: string;
212
- order: number;
213
- type: string;
214
- icon: string;
215
- sourceDevice: {
216
- key: string;
217
- name: string;
218
- type: string;
219
- group: string;
220
- id: string;
221
- properties: unknown;
222
- };
223
- preferredName: string;
224
- includeInSourceList: boolean;
225
- isControllable: boolean;
226
- isAudioSource: boolean;
227
- };
228
- };
229
- supportsAdvancedSharing?: boolean | undefined;
230
- uiBehavior?: {
231
- disableActivityButtonsWhileWarmingCooling: boolean;
232
- } | undefined;
233
- userCanChangeShareMode?: boolean | undefined;
234
- videoCodecIsZoomRoom?: boolean | undefined;
235
- videoCodecKey?: string | undefined;
236
- } | undefined;
237
- isCoolingDown?: boolean | undefined;
238
- isInCall?: boolean | undefined;
239
- isOn?: boolean | undefined;
240
- isWarmingUp?: boolean | undefined;
241
- selectedSourceKey?: string | undefined;
242
- share?: {
243
- currentShareText: string;
244
- enabled: boolean;
245
- isSharing: boolean;
246
- } | undefined;
247
- volumes?: {
248
- master: {
249
- key: string;
250
- level: number;
251
- muted: boolean;
252
- hasMute?: boolean | undefined;
253
- hasPrivacyMute?: boolean | undefined;
254
- privacyMuted: boolean;
255
- muteIconName?: string | undefined;
256
- label: string;
257
- };
258
- auxFaders: {
259
- [x: string]: {
260
- key: string;
261
- level: number;
262
- muted: boolean;
263
- hasMute?: boolean | undefined;
264
- hasPrivacyMute?: boolean | undefined;
265
- privacyMuted: boolean;
266
- muteIconName?: string | undefined;
267
- label: string;
268
- };
269
- };
270
- } | undefined;
271
- key: string;
272
- name: string;
273
- messageType?: string | undefined;
274
- eventType?: string | undefined;
275
- content?: unknown;
276
- interfaces: string[];
277
- commMonitor?: {
278
- isOnline: boolean;
279
- status: import("../../types/state/index").MonitorStatus;
280
- } | undefined;
281
- } & RoomState);
194
+ };
282
195
  } | undefined;
283
196
  }, "rooms">;
284
197
  export declare const roomsReducer: import("redux").Reducer<Record<string, RoomState>>;
@@ -1 +1 @@
1
- {"version":3,"file":"rooms.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAwCzD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA/BU,cAAc,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA+BX,CAAC;AAC/C,eAAO,MAAM,YAAY,oDAAsB,CAAC"}
1
+ {"version":3,"file":"rooms.slice.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/rooms.slice.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAE7D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAA;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAwCzD,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eA/BU,cAAc,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WA+BX,CAAC;AAC/C,eAAO,MAAM,YAAY,oDAAsB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { DisplayState } from 'src/lib/types/state/state';
1
+ import { DisplayState } from "src/lib/types/state/state";
2
2
  export declare const useRoomConfiguration: (roomKey: string) => import("src/lib/types/state/state").RoomConfiguration | undefined;
3
3
  export declare const useRoomState: (roomKey: string) => import("src/lib/types/state/state").RoomState | undefined;
4
4
  export declare const useRoomName: (roomKey: string) => string | undefined;
@@ -11,5 +11,11 @@ export declare const useRoomIsCoolingDown: (roomKey: string) => boolean | undefi
11
11
  export declare const useRoomIsOn: (roomKey: string) => boolean | undefined;
12
12
  export declare const useRoomAdvancedSharingActive: (roomKey: string) => boolean | undefined;
13
13
  export declare const useRoomShareState: (roomKey: string) => import("src/lib/types/state/state").ShareState | undefined;
14
+ /**
15
+ * Get the display states for the room
16
+ * @param roomKey
17
+ * @returns the display states for the room's displays
18
+ */
14
19
  export declare const useGetRoomDisplays: (roomKey: string) => DisplayState[] | undefined;
20
+ export declare const useGetZoomRoomControllerKey: (roomKey: string) => string | undefined;
15
21
  //# sourceMappingURL=roomsSelectors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"roomsSelectors.d.ts","sourceRoot":"","sources":["../../../src/lib/store/rooms/roomsSelectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAGzD,eAAO,MAAM,oBAAoB,YAAa,MAAM,sEAGjD,CAAC;AAEJ,eAAO,MAAM,YAAY,YAAa,MAAM,8DAGz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AO,MAAM,WAAW,YAAa,MAAM,wBAGxC,CAAC;AAEJ,eAAO,MAAM,4BAA4B,YAAa,MAAM,wBAKzD,CAAC;AAEJ,eAAO,MAAM,iBAAiB,YAAa,MAAM,+DAG9C,CAAC;AAEJ;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,YAAa,MAAM,+BAW9C,CAAC;AAEL,eAAO,MAAM,2BAA2B,YAAa,MAAM,uBAKxD,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { DeviceState } from './DeviceState';
2
+ export interface MobileControlTouchpanelState extends DeviceState, ITswAppControlMessengerState, ITswZoomControlMessengerState {
3
+ }
4
+ interface ITswAppControlMessengerState {
5
+ appOpen?: boolean;
6
+ }
7
+ interface ITswZoomControlMessengerState {
8
+ inCall?: boolean;
9
+ incomingCall?: boolean;
10
+ }
11
+ export {};
12
+ //# sourceMappingURL=MobileControlTouchpanelState.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MobileControlTouchpanelState.d.ts","sourceRoot":"","sources":["../../../../src/lib/types/state/state/MobileControlTouchpanelState.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,4BAA6B,SAAQ,WAAW,EAAE,4BAA4B,EAAE,6BAA6B;CAE7H;AAED,UAAU,4BAA4B;IACpC,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,UAAU,6BAA6B;IACrC,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB"}
@@ -31,6 +31,8 @@ export declare class RoomConfiguration {
31
31
  userCanChangeShareMode?: boolean;
32
32
  videoCodecIsZoomRoom?: boolean;
33
33
  videoCodecKey?: string;
34
+ touchpanelKeys?: string[];
35
+ zoomRoomControllerKey?: string;
34
36
  }
35
37
  export interface EssentialsRoomUiBehaviorConfiguration {
36
38
  disableActivityButtonsWhileWarmingCooling: boolean;
@@ -1 +1 @@
1
- {"version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AAoB,EAAE,gCAAgC,EAAE,CAAM;IAC9D,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAM;IAChD,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,UAAU,CAAC,EAAE,qCAAqC,CAAC;IACnD,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,qCAAqC;IACpD,yCAAyC,EAAE,OAAO,CAAC;CACpD;AAED,qBAAa,gCAAgC;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,UAAU,CAAC,EAAE,wBAAwB,CAAC;CACvC;AAED,MAAM,MAAM,wBAAwB,GAAG,UAAU,GAAG,OAAO,GAAG,iBAAiB,CAAC"}
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
+ export declare function useWebsocketContext(): WebsocketContextType;
2
3
  interface WebsocketContextType {
3
4
  sendMessage: (type: string, payload: unknown) => void;
4
5
  }
5
6
  declare const WebsocketContext: import("react").Context<WebsocketContextType>;
6
- export declare function useWebsocketContext(): WebsocketContextType;
7
7
  export default WebsocketContext;
8
8
  //# sourceMappingURL=useWebsocketContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useWebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/useWebsocketContext.ts"],"names":[],"mappings":";AAEA,UAAU,oBAAoB;IAC5B,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,QAAA,MAAM,gBAAgB,+CAEpB,CAAC;AAEH,wBAAgB,mBAAmB,yBAElC;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"useWebsocketContext.d.ts","sourceRoot":"","sources":["../../src/lib/utils/useWebsocketContext.ts"],"names":[],"mappings":";AAEA,wBAAgB,mBAAmB,yBAElC;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD;AAED,QAAA,MAAM,gBAAgB,+CAEpB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pepperdash/mobile-control-react-app-core",
3
3
  "private": false,
4
- "version": "1.3.0",
4
+ "version": "1.4.0",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",