@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/changelog.md
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
4.6.0
|
|
2
|
+
feat: G4E-11120 add `isChannelsMetadataSupported` system method to check if Channels API supports `metadata`.
|
|
1
3
|
4.5.0
|
|
2
4
|
feat: G4E-10515 add support for iframes-api
|
|
3
5
|
feat: G4E-10030 Add a layouts API method that returns lists of applications, workspaces and workspace windows
|
package/dist/browser.es.js
CHANGED
|
@@ -2207,7 +2207,7 @@ const windowOperationTypesDecoder = oneOf$1(constant$2("openWindow"), constant$2
|
|
|
2207
2207
|
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"));
|
|
2208
2208
|
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"));
|
|
2209
2209
|
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"));
|
|
2210
|
-
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"));
|
|
2210
|
+
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"));
|
|
2211
2211
|
const windowRelativeDirectionDecoder = oneOf$1(constant$2("top"), constant$2("left"), constant$2("right"), constant$2("bottom"));
|
|
2212
2212
|
const windowBoundsDecoder = object$2({
|
|
2213
2213
|
top: number$2(),
|
|
@@ -4996,13 +4996,13 @@ const operations$7 = {
|
|
|
4996
4996
|
operationCheck: { name: "operationCheck" }
|
|
4997
4997
|
};
|
|
4998
4998
|
|
|
4999
|
-
/* @ts-self-types="./index.d.ts" */
|
|
5000
4999
|
let urlAlphabet$1 =
|
|
5001
5000
|
'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict';
|
|
5001
|
+
|
|
5002
5002
|
let nanoid$1 = (size = 21) => {
|
|
5003
5003
|
let id = '';
|
|
5004
5004
|
let i = size | 0;
|
|
5005
|
-
while (i--) {
|
|
5005
|
+
while (i-- > 0) {
|
|
5006
5006
|
id += urlAlphabet$1[(Math.random() * 64) | 0];
|
|
5007
5007
|
}
|
|
5008
5008
|
return id
|
|
@@ -6418,6 +6418,7 @@ const operations$4 = {
|
|
|
6418
6418
|
getBase: { name: "getBase", resultDecoder: anyDecoder },
|
|
6419
6419
|
platformShutdown: { name: "platformShutdown" },
|
|
6420
6420
|
isFdc3DataWrappingSupported: { name: "isFdc3DataWrappingSupported" },
|
|
6421
|
+
isChannelsMetadataSupported: { name: "isChannelsMetadataSupported" },
|
|
6421
6422
|
clientError: { name: "clientError", dataDecoder: clientErrorDataDecoder },
|
|
6422
6423
|
systemHello: { name: "systemHello", resultDecoder: systemHelloSuccessDecoder },
|
|
6423
6424
|
operationCheck: { name: "operationCheck" }
|
|
@@ -6440,7 +6441,7 @@ class SystemController {
|
|
|
6440
6441
|
const systemHelloSuccess = await this.bridge.send("system", operations$4.systemHello, undefined, undefined, { includeOperationCheck: true });
|
|
6441
6442
|
isClientErrorOperationSupported = systemHelloSuccess.isClientErrorOperationSupported;
|
|
6442
6443
|
}
|
|
6443
|
-
catch
|
|
6444
|
+
catch {
|
|
6444
6445
|
this.logger.warn("The platform of this client is outdated and does not support some system operations.");
|
|
6445
6446
|
}
|
|
6446
6447
|
this.errorPort.onmessage = async (event) => {
|
|
@@ -6480,12 +6481,16 @@ class SystemController {
|
|
|
6480
6481
|
addOperationsExecutors() {
|
|
6481
6482
|
operations$4.platformShutdown.execute = this.processPlatformShutdown.bind(this);
|
|
6482
6483
|
operations$4.isFdc3DataWrappingSupported.execute = this.handleIsFdc3DataWrappingSupported.bind(this);
|
|
6484
|
+
operations$4.isChannelsMetadataSupported.execute = this.handleIsChannelsMetadataSupported.bind(this);
|
|
6483
6485
|
operations$4.operationCheck.execute = async (config) => handleOperationCheck(this.supportedOperationsNames, config.operation);
|
|
6484
6486
|
this.supportedOperationsNames = getSupportedOperationsNames(operations$4);
|
|
6485
6487
|
}
|
|
6486
6488
|
async handleIsFdc3DataWrappingSupported() {
|
|
6487
6489
|
return { isSupported: true };
|
|
6488
6490
|
}
|
|
6491
|
+
async handleIsChannelsMetadataSupported() {
|
|
6492
|
+
return { isSupported: false };
|
|
6493
|
+
}
|
|
6489
6494
|
}
|
|
6490
6495
|
|
|
6491
6496
|
class Notification {
|
|
@@ -7816,7 +7821,7 @@ class IoC {
|
|
|
7816
7821
|
}
|
|
7817
7822
|
}
|
|
7818
7823
|
|
|
7819
|
-
var version$1 = "4.
|
|
7824
|
+
var version$1 = "4.6.0";
|
|
7820
7825
|
|
|
7821
7826
|
const setupGlobalSystem = (io, bridge) => {
|
|
7822
7827
|
return {
|