@genesislcap/foundation-fdc3 14.192.2-fdc3-enhancements.9 → 14.192.2-fdc3-enhancements.11
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/fdc3.d.ts.map +1 -1
- package/dist/esm/fdc3.js +17 -10
- package/package.json +14 -14
package/dist/dts/fdc3.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"fdc3.d.ts","sourceRoot":"","sources":["../../src/fdc3.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,SAAS,EACT,OAAO,EACP,OAAO,EACP,cAAc,EAOd,OAAO,EACP,gBAAgB,EAKjB,MAAM,aAAa,CAAC;AAGrB,OAAO,EAAE,UAAU,EAAiB,MAAM,MAAM,CAAC;AAIjD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,OAAO,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC;AAEhD;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,SAAS;CAAG;AAEnD;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;CAAG;AAE/C;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAAQ,gBAAgB;CAAG;AAEjE;;GAEG;AACH,MAAM,WAAW,WAAY,SAAQ,OAAO;CAAG;AAE/C;;;GAGG;AACH,MAAM,WAAW,IAAI;IACnB;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;;OAGG;IACH,aAAa,EAAE,MAAM,OAAO,CAAC;IAE7B;;;;OAIG;IACH,iBAAiB,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IAE3C;;;;OAIG;IACH,kBAAkB,CAAC,SAAS,EAAE,GAAG,CAAC,WAAW,EAAE,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAE1E;;;;;;OAMG;IACH,UAAU,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;IAE/E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fdc3.js
CHANGED
@@ -67,15 +67,20 @@ export class DefaultFDC3 {
|
|
67
67
|
return findIntentsByContext(context);
|
68
68
|
}
|
69
69
|
raiseIntent(context, intent) {
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
71
|
+
if (intent) {
|
72
|
+
logger.debug(`fdc3 raiseIntent '${intent}' '${context}'`);
|
73
|
+
return raiseIntent(intent, context);
|
74
|
+
}
|
75
|
+
if (getInfo) {
|
76
|
+
const fdc3Metadata = yield Promise.resolve(getInfo());
|
77
|
+
if (fdc3Metadata && versionIsAtLeast(fdc3Metadata, '1.2')) {
|
78
|
+
logger.debug(`fdc3 raiseIntentForContext '${context}'`);
|
79
|
+
return raiseIntentForContext(context);
|
80
|
+
}
|
81
|
+
}
|
82
|
+
logger.error(`fdc3 unable to raiseIntent using context '${context}' and intent '${intent}'.`);
|
83
|
+
});
|
79
84
|
}
|
80
85
|
joinChannel(channelId) {
|
81
86
|
var _a;
|
@@ -104,7 +109,9 @@ export class DefaultFDC3 {
|
|
104
109
|
broadcastOnCurrentChannel(payload, type) {
|
105
110
|
return __awaiter(this, void 0, void 0, function* () {
|
106
111
|
const channel = yield getCurrentChannel();
|
107
|
-
|
112
|
+
if (channel) {
|
113
|
+
this.broadcastMessageOnChannel(channel, payload, type);
|
114
|
+
}
|
108
115
|
});
|
109
116
|
}
|
110
117
|
broadcastOnChannelEventHandler(channelName, type) {
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-fdc3",
|
3
3
|
"description": "Genesis Foundation FDC3",
|
4
|
-
"version": "14.192.2-fdc3-enhancements.
|
4
|
+
"version": "14.192.2-fdc3-enhancements.11",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -59,22 +59,22 @@
|
|
59
59
|
}
|
60
60
|
},
|
61
61
|
"devDependencies": {
|
62
|
-
"@genesislcap/foundation-testing": "14.192.2-fdc3-enhancements.
|
63
|
-
"@genesislcap/genx": "14.192.2-fdc3-enhancements.
|
64
|
-
"@genesislcap/rollup-builder": "14.192.2-fdc3-enhancements.
|
65
|
-
"@genesislcap/ts-builder": "14.192.2-fdc3-enhancements.
|
66
|
-
"@genesislcap/uvu-playwright-builder": "14.192.2-fdc3-enhancements.
|
67
|
-
"@genesislcap/vite-builder": "14.192.2-fdc3-enhancements.
|
68
|
-
"@genesislcap/webpack-builder": "14.192.2-fdc3-enhancements.
|
62
|
+
"@genesislcap/foundation-testing": "14.192.2-fdc3-enhancements.11",
|
63
|
+
"@genesislcap/genx": "14.192.2-fdc3-enhancements.11",
|
64
|
+
"@genesislcap/rollup-builder": "14.192.2-fdc3-enhancements.11",
|
65
|
+
"@genesislcap/ts-builder": "14.192.2-fdc3-enhancements.11",
|
66
|
+
"@genesislcap/uvu-playwright-builder": "14.192.2-fdc3-enhancements.11",
|
67
|
+
"@genesislcap/vite-builder": "14.192.2-fdc3-enhancements.11",
|
68
|
+
"@genesislcap/webpack-builder": "14.192.2-fdc3-enhancements.11",
|
69
69
|
"rimraf": "^5.0.0"
|
70
70
|
},
|
71
71
|
"dependencies": {
|
72
72
|
"@finos/fdc3": "^1.2.0",
|
73
|
-
"@genesislcap/foundation-logger": "14.192.2-fdc3-enhancements.
|
74
|
-
"@genesislcap/foundation-notifications": "14.192.2-fdc3-enhancements.
|
75
|
-
"@genesislcap/foundation-ui": "14.192.2-fdc3-enhancements.
|
76
|
-
"@genesislcap/foundation-utils": "14.192.2-fdc3-enhancements.
|
77
|
-
"@genesislcap/web-core": "14.192.2-fdc3-enhancements.
|
73
|
+
"@genesislcap/foundation-logger": "14.192.2-fdc3-enhancements.11",
|
74
|
+
"@genesislcap/foundation-notifications": "14.192.2-fdc3-enhancements.11",
|
75
|
+
"@genesislcap/foundation-ui": "14.192.2-fdc3-enhancements.11",
|
76
|
+
"@genesislcap/foundation-utils": "14.192.2-fdc3-enhancements.11",
|
77
|
+
"@genesislcap/web-core": "14.192.2-fdc3-enhancements.11",
|
78
78
|
"@interopio/desktop": "^6.3.1",
|
79
79
|
"@microsoft/fast-element": "^1.12.0",
|
80
80
|
"@microsoft/fast-foundation": "^2.49.4",
|
@@ -89,5 +89,5 @@
|
|
89
89
|
"publishConfig": {
|
90
90
|
"access": "public"
|
91
91
|
},
|
92
|
-
"gitHead": "
|
92
|
+
"gitHead": "8f278a065cb6e9ddcd2458d9036922b40828dfd0"
|
93
93
|
}
|