@g9tm/app-diagnostic 0.2.2 → 0.3.1
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/package.json +1 -1
- package/src/live/bundle.ts +6 -0
- package/src/live/channel.ts +6 -1
- package/src/live/handlers.ts +9 -2
- package/src/live/models.ts +17 -0
- package/src/live/upload.ts +3 -0
- package/src/tester/engine.ts +854 -854
- package/src/wire.ts +9 -1
package/src/wire.ts
CHANGED
|
@@ -86,6 +86,7 @@ export const DeviceHubMethods = {
|
|
|
86
86
|
pushSyncCacheCleared: 'PushSyncCacheCleared',
|
|
87
87
|
pushSyncRunResult: 'PushSyncRunResult',
|
|
88
88
|
pushNfcWriteResult: 'PushNfcWriteResult',
|
|
89
|
+
pushAdminLiveResult: 'PushAdminLiveResult',
|
|
89
90
|
pushRestoreResult: 'PushRestoreResult',
|
|
90
91
|
pushRestoreReady: 'PushRestoreReady',
|
|
91
92
|
backupUploadInit: 'BackupUploadInit',
|
|
@@ -118,6 +119,7 @@ export const DeviceHubListeners = {
|
|
|
118
119
|
clearSyncCacheRequest: 'OnClearSyncCacheRequestAsync',
|
|
119
120
|
runSyncRequest: 'OnRunSyncRequestAsync',
|
|
120
121
|
nfcWriteRequest: 'OnNfcWriteRequestAsync',
|
|
122
|
+
adminLiveRequest: 'OnAdminLiveRequestAsync',
|
|
121
123
|
qaCommand: 'OnQaCommandAsync',
|
|
122
124
|
deviceSettingsChanged: 'OnDeviceSettingsChangedAsync',
|
|
123
125
|
} as const;
|
|
@@ -126,7 +128,13 @@ export const DeviceHubListeners = {
|
|
|
126
128
|
* What this client build serves (DeviceCapabilities.Current). The contract: absent = the client predates the tag = not
|
|
127
129
|
* capable, so a request it cannot answer fails fast at the gateway instead of timing out.
|
|
128
130
|
*/
|
|
129
|
-
export const DeviceCapabilities = {
|
|
131
|
+
export const DeviceCapabilities = {
|
|
132
|
+
logFiles: 'logfiles',
|
|
133
|
+
/** The main admin's direct live session (OnAdminLiveRequestAsync). Served by the .NET client; not by this one yet. */
|
|
134
|
+
adminLive: 'adminlive',
|
|
135
|
+
/** The APP's backup honours sqliteChangedRowsOnly; the app adds it (channel options), never this package. */
|
|
136
|
+
backupChangedRows: 'backup-changed-rows',
|
|
137
|
+
} as const;
|
|
130
138
|
export const CURRENT_CAPABILITIES: readonly string[] = [DeviceCapabilities.logFiles];
|
|
131
139
|
|
|
132
140
|
/** The archive upload over the hub (x-transfer): 256 KiB per stream item, 4 MiB per stream call. */
|