@interopio/browser 4.5.0 → 4.6.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.
- package/changelog.md +2 -0
- package/dist/browser.es.js +10 -5
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.umd.js +10 -5
- package/dist/browser.umd.js.map +1 -1
- package/dist/browser.umd.min.js +1 -1
- package/package.json +6 -6
package/dist/browser.umd.js
CHANGED
|
@@ -2213,7 +2213,7 @@
|
|
|
2213
2213
|
const appManagerOperationTypesDecoder = oneOf$1(constant$2("appHello"), constant$2("appDirectoryStateChange"), constant$2("instanceStarted"), constant$2("instanceStopped"), constant$2("applicationStart"), constant$2("instanceStop"), constant$2("clear"), constant$2("operationCheck"));
|
|
2214
2214
|
const layoutsOperationTypesDecoder = oneOf$1(constant$2("layoutAdded"), constant$2("layoutChanged"), constant$2("layoutRemoved"), constant$2("layoutRenamed"), constant$2("get"), constant$2("getAll"), constant$2("getLayoutContents"), constant$2("export"), constant$2("import"), constant$2("remove"), constant$2("rename"), constant$2("clientSaveRequest"), constant$2("getGlobalPermissionState"), constant$2("checkGlobalActivated"), constant$2("requestGlobalPermission"), constant$2("getDefaultGlobal"), constant$2("setDefaultGlobal"), constant$2("clearDefaultGlobal"), constant$2("updateMetadata"), constant$2("operationCheck"), constant$2("getCurrent"), constant$2("defaultLayoutChanged"), constant$2("layoutRestored"));
|
|
2215
2215
|
const notificationsOperationTypesDecoder = oneOf$1(constant$2("raiseNotification"), constant$2("requestPermission"), constant$2("notificationShow"), constant$2("notificationClick"), constant$2("getPermission"), constant$2("list"), constant$2("notificationRaised"), constant$2("notificationClosed"), constant$2("click"), constant$2("clear"), constant$2("clearAll"), constant$2("configure"), constant$2("getConfiguration"), constant$2("configurationChanged"), constant$2("setState"), constant$2("clearOld"), constant$2("activeCountChange"), constant$2("stateChange"), constant$2("operationCheck"), constant$2("getActiveCount"));
|
|
2216
|
-
const systemOperationTypesDecoder = oneOf$1(constant$2("getEnvironment"), constant$2("getBase"), constant$2("platformShutdown"), constant$2("isFdc3DataWrappingSupported"), constant$2("clientError"), constant$2("systemHello"), constant$2("operationCheck"));
|
|
2216
|
+
const systemOperationTypesDecoder = oneOf$1(constant$2("getEnvironment"), constant$2("getBase"), constant$2("platformShutdown"), constant$2("isFdc3DataWrappingSupported"), constant$2("isChannelsMetadataSupported"), constant$2("clientError"), constant$2("systemHello"), constant$2("operationCheck"));
|
|
2217
2217
|
const windowRelativeDirectionDecoder = oneOf$1(constant$2("top"), constant$2("left"), constant$2("right"), constant$2("bottom"));
|
|
2218
2218
|
const windowBoundsDecoder = object$2({
|
|
2219
2219
|
top: number$2(),
|
|
@@ -5002,13 +5002,13 @@
|
|
|
5002
5002
|
operationCheck: { name: "operationCheck" }
|
|
5003
5003
|
};
|
|
5004
5004
|
|
|
5005
|
-
/* @ts-self-types="./index.d.ts" */
|
|
5006
5005
|
let urlAlphabet$1 =
|
|
5007
5006
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
5007
|
+
|
|
5008
5008
|
let nanoid$1 = (size = 21) => {
|
|
5009
5009
|
let id = '';
|
|
5010
5010
|
let i = size | 0;
|
|
5011
|
-
while (i--) {
|
|
5011
|
+
while (i-- > 0) {
|
|
5012
5012
|
id += urlAlphabet$1[(Math.random() * 64) | 0];
|
|
5013
5013
|
}
|
|
5014
5014
|
return id
|
|
@@ -6424,6 +6424,7 @@
|
|
|
6424
6424
|
getBase: { name: "getBase", resultDecoder: anyDecoder },
|
|
6425
6425
|
platformShutdown: { name: "platformShutdown" },
|
|
6426
6426
|
isFdc3DataWrappingSupported: { name: "isFdc3DataWrappingSupported" },
|
|
6427
|
+
isChannelsMetadataSupported: { name: "isChannelsMetadataSupported" },
|
|
6427
6428
|
clientError: { name: "clientError", dataDecoder: clientErrorDataDecoder },
|
|
6428
6429
|
systemHello: { name: "systemHello", resultDecoder: systemHelloSuccessDecoder },
|
|
6429
6430
|
operationCheck: { name: "operationCheck" }
|
|
@@ -6446,7 +6447,7 @@
|
|
|
6446
6447
|
const systemHelloSuccess = await this.bridge.send("system", operations$4.systemHello, undefined, undefined, { includeOperationCheck: true });
|
|
6447
6448
|
isClientErrorOperationSupported = systemHelloSuccess.isClientErrorOperationSupported;
|
|
6448
6449
|
}
|
|
6449
|
-
catch
|
|
6450
|
+
catch {
|
|
6450
6451
|
this.logger.warn("The platform of this client is outdated and does not support some system operations.");
|
|
6451
6452
|
}
|
|
6452
6453
|
this.errorPort.onmessage = async (event) => {
|
|
@@ -6486,12 +6487,16 @@
|
|
|
6486
6487
|
addOperationsExecutors() {
|
|
6487
6488
|
operations$4.platformShutdown.execute = this.processPlatformShutdown.bind(this);
|
|
6488
6489
|
operations$4.isFdc3DataWrappingSupported.execute = this.handleIsFdc3DataWrappingSupported.bind(this);
|
|
6490
|
+
operations$4.isChannelsMetadataSupported.execute = this.handleIsChannelsMetadataSupported.bind(this);
|
|
6489
6491
|
operations$4.operationCheck.execute = async (config) => handleOperationCheck(this.supportedOperationsNames, config.operation);
|
|
6490
6492
|
this.supportedOperationsNames = getSupportedOperationsNames(operations$4);
|
|
6491
6493
|
}
|
|
6492
6494
|
async handleIsFdc3DataWrappingSupported() {
|
|
6493
6495
|
return { isSupported: true };
|
|
6494
6496
|
}
|
|
6497
|
+
async handleIsChannelsMetadataSupported() {
|
|
6498
|
+
return { isSupported: false };
|
|
6499
|
+
}
|
|
6495
6500
|
}
|
|
6496
6501
|
|
|
6497
6502
|
class Notification {
|
|
@@ -7822,7 +7827,7 @@
|
|
|
7822
7827
|
}
|
|
7823
7828
|
}
|
|
7824
7829
|
|
|
7825
|
-
var version$1 = "4.
|
|
7830
|
+
var version$1 = "4.6.0";
|
|
7826
7831
|
|
|
7827
7832
|
const setupGlobalSystem = (io, bridge) => {
|
|
7828
7833
|
return {
|