@interopio/browser 3.1.1 → 3.1.2
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/browser.d.ts +35 -10
- package/changelog.md +4 -0
- package/dist/browser.es.js +8 -6
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.umd.js +8 -6
- package/dist/browser.umd.js.map +1 -1
- package/dist/browser.umd.min.js +1 -1
- package/package.json +3 -3
package/dist/browser.umd.js
CHANGED
|
@@ -1952,7 +1952,7 @@
|
|
|
1952
1952
|
mergeBaseAppDataWithGlueManifest(baseAppData, hostManifestDefinition) {
|
|
1953
1953
|
let baseApplicationDefinition = baseAppData;
|
|
1954
1954
|
if (hostManifestDefinition.details) {
|
|
1955
|
-
const details = hostManifestDefinition.details;
|
|
1955
|
+
const details = Object.assign(Object.assign({}, baseAppData.createOptions), hostManifestDefinition.details);
|
|
1956
1956
|
baseApplicationDefinition.createOptions = details;
|
|
1957
1957
|
baseApplicationDefinition.userProperties.details = details;
|
|
1958
1958
|
}
|
|
@@ -1965,8 +1965,7 @@
|
|
|
1965
1965
|
return baseApplicationDefinition;
|
|
1966
1966
|
}
|
|
1967
1967
|
mergeDesktopConfigWithGlueManifest(config, desktopDefinition) {
|
|
1968
|
-
|
|
1969
|
-
appConfig = Object.assign(Object.assign({}, config), desktopDefinition);
|
|
1968
|
+
const appConfig = Object.assign({}, config, desktopDefinition, { details: Object.assign(Object.assign({}, config.details), desktopDefinition.details) });
|
|
1970
1969
|
if (Array.isArray(desktopDefinition.intents)) {
|
|
1971
1970
|
appConfig.intents = (config.intents || []).concat(desktopDefinition.intents);
|
|
1972
1971
|
}
|
|
@@ -4780,7 +4779,8 @@
|
|
|
4780
4779
|
}
|
|
4781
4780
|
registerPromise = this.interop.register({ name: methodName, flags: { intent: intentFlag } }, (args) => {
|
|
4782
4781
|
if (this.myIntents.has(intentName)) {
|
|
4783
|
-
|
|
4782
|
+
const rest = __rest$2(args, ["_initialCallerId"]);
|
|
4783
|
+
return handler(rest);
|
|
4784
4784
|
}
|
|
4785
4785
|
});
|
|
4786
4786
|
registerPromise.catch(err => {
|
|
@@ -4811,7 +4811,9 @@
|
|
|
4811
4811
|
try {
|
|
4812
4812
|
yield this.interop.register({ name: methodName, flags: { intent: intentFlag } }, (args) => {
|
|
4813
4813
|
if (this.myIntents.has(intentName)) {
|
|
4814
|
-
|
|
4814
|
+
const { _initialCallerId } = args, rest = __rest$2(args, ["_initialCallerId"]);
|
|
4815
|
+
const caller = this.interop.servers().find((server) => server.instance === _initialCallerId);
|
|
4816
|
+
return handler(rest, caller);
|
|
4815
4817
|
}
|
|
4816
4818
|
});
|
|
4817
4819
|
}
|
|
@@ -6122,7 +6124,7 @@
|
|
|
6122
6124
|
}
|
|
6123
6125
|
}
|
|
6124
6126
|
|
|
6125
|
-
var version$2 = "3.1.
|
|
6127
|
+
var version$2 = "3.1.2";
|
|
6126
6128
|
|
|
6127
6129
|
const createFactoryFunction = (coreFactoryFunction) => {
|
|
6128
6130
|
return (userConfig) => __awaiter$1(void 0, void 0, void 0, function* () {
|