Skip to content

Commit bd27747

Browse files
committed
Fix naming inconsistnecy in WCP1Hello and WCP3Handshake
1 parent a696f63 commit bd27747

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

schemas/api/WCP1Hello.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"description": "The version of FDC3 API that the app supports.",
4242
"type": "string"
4343
},
44-
"resolver": {
44+
"intentResolver": {
4545
"title": "Intent Resolver Required",
4646
"description": "A flag that may be used to indicate that an intent resolver is or is not required. Set to false if no intents, or only targeted intents, are raised",
4747
"type": "boolean"

schemas/api/WCP3Handshake.schema.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"type": "string",
3030
"description": "The version of FDC3 API that the Desktop Agent will provide support for."
3131
},
32-
"resolver": {
32+
"intentResolverUrl": {
3333
"title": "Resolver URL",
3434
"description": "Indicates whether an intent resolver UI is required and the URL to use to do so. Set to `true` to use the default or `false` to disable the intent resolver (as the Desktop Agent will handle another way)",
3535
"oneOf": [
@@ -42,7 +42,7 @@
4242
}
4343
]
4444
},
45-
"channelSelector": {
45+
"channelSelectorUrl": {
4646
"title": "Channel Selector URL",
4747
"description": "Indicates whether a channel selector UI is required and the URL to use to do so. Set to `true` to use the default or `false` to disable the channel selector (as the Desktop Agent will handle another way)",
4848
"oneOf": [
@@ -59,8 +59,8 @@
5959
"additionalProperties": false,
6060
"required": [
6161
"fdc3Version",
62-
"resolver",
63-
"channelSelector"
62+
"intentResolverUrl",
63+
"channelSelectorUrl"
6464
]
6565
},
6666
"meta": true

src/api/BrowserTypes.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3599,7 +3599,7 @@ export interface WebConnectionProtocol1HelloPayload {
35993599
* A flag that may be used to indicate that an intent resolver is or is not required. Set to
36003600
* false if no intents, or only targeted intents, are raised
36013601
*/
3602-
resolver?: boolean;
3602+
intentResolver?: boolean;
36033603
[property: string]: any;
36043604
}
36053605

@@ -3672,7 +3672,7 @@ export interface WebConnectionProtocol3HandshakePayload {
36723672
* `true` to use the default or `false` to disable the channel selector (as the Desktop
36733673
* Agent will handle another way)
36743674
*/
3675-
channelSelector: boolean | string;
3675+
channelSelectorUrl: boolean | string;
36763676
/**
36773677
* The version of FDC3 API that the Desktop Agent will provide support for.
36783678
*/
@@ -3682,7 +3682,7 @@ export interface WebConnectionProtocol3HandshakePayload {
36823682
* `true` to use the default or `false` to disable the intent resolver (as the Desktop Agent
36833683
* will handle another way)
36843684
*/
3685-
resolver: boolean | string;
3685+
intentResolverUrl: boolean | string;
36863686
}
36873687

36883688
/**
@@ -5416,7 +5416,7 @@ const typeMap: any = {
54165416
{ json: "channelSelector", js: "channelSelector", typ: u(undefined, true) },
54175417
{ json: "fdc3Version", js: "fdc3Version", typ: "" },
54185418
{ json: "identityUrl", js: "identityUrl", typ: "" },
5419-
{ json: "resolver", js: "resolver", typ: u(undefined, true) },
5419+
{ json: "intentResolver", js: "intentResolver", typ: u(undefined, true) },
54205420
], "any"),
54215421
"WebConnectionProtocol2LoadURL": o([
54225422
{ json: "meta", js: "meta", typ: r("ConnectionStepMetadata") },
@@ -5432,9 +5432,9 @@ const typeMap: any = {
54325432
{ json: "type", js: "type", typ: r("WebConnectionProtocol3HandshakeType") },
54335433
], false),
54345434
"WebConnectionProtocol3HandshakePayload": o([
5435-
{ json: "channelSelector", js: "channelSelector", typ: u(true, "") },
5435+
{ json: "channelSelectorUrl", js: "channelSelectorUrl", typ: u(true, "") },
54365436
{ json: "fdc3Version", js: "fdc3Version", typ: "" },
5437-
{ json: "resolver", js: "resolver", typ: u(true, "") },
5437+
{ json: "intentResolverUrl", js: "intentResolverUrl", typ: u(true, "") },
54385438
], false),
54395439
"WebConnectionProtocol4ValidateAppIdentity": o([
54405440
{ json: "meta", js: "meta", typ: r("ConnectionStepMetadata") },

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import * as BrowserTypes from './api/BrowserTypes';
1010
import * as AppIdentifier from './api/AppIdentifier';
1111

1212
export * from './context/ContextTypes';
13+
1314
export { AppIdentifier };
1415
export * from './api/AppIntent';
1516
export * from './api/AppMetadata';
@@ -34,7 +35,6 @@ export * from './context/ContextType';
3435

3536
export * from './intents/Intents';
3637

37-
3838
/* Workaround for conflicts between bridging types, browser type and API types
3939
and prettier issue with `export * as`. */
4040
export { BridgingTypes };

0 commit comments

Comments
 (0)