livedesk 0.1.610 → 0.1.612
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/hub/src/remote-clipboard-contract.mjs +4 -2
- package/package.json +1 -1
- package/web/dist/app.webmanifest +1 -1
- package/web/dist/assets/LiveDeskApp-CNqqEwIj.js +179 -0
- package/web/dist/assets/{index-Dzx6WcDO.js → index-B1AoayYG.js} +2 -2
- package/web/dist/index.html +1 -1
- package/web/dist/livedesk-build-evidence.json +18 -18
- package/web/dist/sw.js +1 -1
- package/web/dist/assets/LiveDeskApp-Dr77Bkmu.js +0 -179
|
@@ -465,8 +465,10 @@ export function normalizeRemoteClipboardCommandResult(action, operationId, value
|
|
|
465
465
|
response.manifest = normalizeRemoteClipboardManifest(result.manifest, operationId);
|
|
466
466
|
response.kind = response.manifest.contentKind;
|
|
467
467
|
} else {
|
|
468
|
-
const
|
|
469
|
-
|
|
468
|
+
const explicitContentKind = String(result.contentKind || '').trim().toLowerCase();
|
|
469
|
+
const legacyKind = String(result.kind || '').trim().toLowerCase();
|
|
470
|
+
if (explicitContentKind) response.kind = normalizeContentKind(explicitContentKind);
|
|
471
|
+
else if (['text', 'image', 'files'].includes(legacyKind)) response.kind = legacyKind;
|
|
470
472
|
}
|
|
471
473
|
for (const key of ['receivedBytes', 'totalBytes']) {
|
|
472
474
|
if (result[key] !== undefined) {
|
package/package.json
CHANGED
package/web/dist/app.webmanifest
CHANGED