@genesislcap/foundation-fdc3 14.192.2-fdc3-enhancements.2 → 14.192.2-fdc3-enhancements.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,8 +44,9 @@ export interface FDC3 {
44
44
  /**
45
45
  * Observable which emits the current channel
46
46
  * When a new channel is joined a new value is emitted
47
+ * @public
47
48
  */
48
- currentChannel$: Observable<FDC3Channel>;
49
+ currentChannelObs: Observable<FDC3Channel>;
49
50
  /**
50
51
  * Adds intent listeners for the specified intents.
51
52
  * @public
@@ -127,7 +128,7 @@ export interface FDC3 {
127
128
  export declare class DefaultFDC3 implements FDC3 {
128
129
  isReady: boolean;
129
130
  private _currentChannel$;
130
- currentChannel$: Observable<Channel>;
131
+ currentChannelObs: Observable<Channel>;
131
132
  constructor();
132
133
  private connect;
133
134
  addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
@@ -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,EAAW,MAAM,MAAM,CAAC;AAI3C;;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,e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AAC,aAAa,EAAE,CAAC;IAKpE,WAAW,CAAC,OAAO,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,oBAAoB,CAAC;IAchF,WAAW,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAQnD,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC;IAKrD,kBAAkB,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAKlF,yBAAyB,CAAC,OAAO,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAKrE,8BAA8B,CAAC,WAAW,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,eAC1D,GAAG;IAOT,kBAAkB,CAC7B,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,CAAC,GAAG,KAAA,KAAK,IAAI;IAOZ,iBAAiB,IAAI,OAAO,CAAC,OAAO,CAAC;IAIlD,OAAO,CAAC,yBAAyB;CAUlC;AAED;;;GAGG;AACH,eAAO,MAAM,IAAI,4DAA4D,CAAC"}
package/dist/esm/fdc3.js CHANGED
@@ -16,7 +16,7 @@ export class DefaultFDC3 {
16
16
  constructor() {
17
17
  this.isReady = false;
18
18
  this._currentChannel$ = new Subject();
19
- this.currentChannel$ = this._currentChannel$.asObservable();
19
+ this.currentChannelObs = this._currentChannel$.asObservable();
20
20
  this.connect();
21
21
  }
22
22
  connect() {
@@ -47,7 +47,7 @@ let Fdc3Listener = class Fdc3Listener extends LifecycleMixin(FoundationElement)
47
47
  this.fdc3.addChannelListener(c.channelName, c.channelType, c.callback);
48
48
  }
49
49
  else {
50
- this.channelSubscription.add(this.fdc3.currentChannel$.subscribe((channel) => {
50
+ this.channelSubscription.add(this.fdc3.currentChannelObs.subscribe((channel) => {
51
51
  this.fdc3.addChannelListener(channel.id, c.channelType, c.callback);
52
52
  }));
53
53
  }
@@ -583,12 +583,12 @@
583
583
  },
584
584
  {
585
585
  "kind": "PropertySignature",
586
- "canonicalReference": "@genesislcap/foundation-fdc3!FDC3#currentChannel$:member",
587
- "docComment": "/**\n * Observable which emits the current channel When a new channel is joined a new value is emitted\n */\n",
586
+ "canonicalReference": "@genesislcap/foundation-fdc3!FDC3#currentChannelObs:member",
587
+ "docComment": "/**\n * Observable which emits the current channel When a new channel is joined a new value is emitted\n *\n * @public\n */\n",
588
588
  "excerptTokens": [
589
589
  {
590
590
  "kind": "Content",
591
- "text": "currentChannel$: "
591
+ "text": "currentChannelObs: "
592
592
  },
593
593
  {
594
594
  "kind": "Reference",
@@ -616,7 +616,7 @@
616
616
  "isReadonly": false,
617
617
  "isOptional": false,
618
618
  "releaseTag": "Public",
619
- "name": "currentChannel$",
619
+ "name": "currentChannelObs",
620
620
  "propertyTypeTokenRange": {
621
621
  "startIndex": 1,
622
622
  "endIndex": 5
@@ -35,7 +35,7 @@ export declare interface ChannelConfig {
35
35
  export declare class DefaultFDC3 implements FDC3 {
36
36
  isReady: boolean;
37
37
  private _currentChannel$;
38
- currentChannel$: Observable<Channel>;
38
+ currentChannelObs: Observable<Channel>;
39
39
  constructor();
40
40
  private connect;
41
41
  addIntentListeners(listeners: Map<FDC3Intents, FDC3ContextHandler>): void;
@@ -65,8 +65,9 @@ export declare interface FDC3 {
65
65
  /**
66
66
  * Observable which emits the current channel
67
67
  * When a new channel is joined a new value is emitted
68
+ * @public
68
69
  */
69
- currentChannel$: Observable<FDC3Channel>;
70
+ currentChannelObs: Observable<FDC3Channel>;
70
71
  /**
71
72
  * Adds intent listeners for the specified intents.
72
73
  * @public
@@ -1,13 +1,13 @@
1
1
  <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
2
 
3
- [Home](./index.md) &gt; [@genesislcap/foundation-fdc3](./foundation-fdc3.md) &gt; [FDC3](./foundation-fdc3.fdc3.md) &gt; [currentChannel$](./foundation-fdc3.fdc3.currentchannel_.md)
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-fdc3](./foundation-fdc3.md) &gt; [FDC3](./foundation-fdc3.fdc3.md) &gt; [currentChannelObs](./foundation-fdc3.fdc3.currentchannelobs.md)
4
4
 
5
- ## FDC3.currentChannel$ property
5
+ ## FDC3.currentChannelObs property
6
6
 
7
7
  Observable which emits the current channel When a new channel is joined a new value is emitted
8
8
 
9
9
  **Signature:**
10
10
 
11
11
  ```typescript
12
- currentChannel$: Observable<FDC3Channel>;
12
+ currentChannelObs: Observable<FDC3Channel>;
13
13
  ```
@@ -16,7 +16,7 @@ export interface FDC3
16
16
 
17
17
  | Property | Modifiers | Type | Description |
18
18
  | --- | --- | --- | --- |
19
- | [currentChannel$](./foundation-fdc3.fdc3.currentchannel_.md) | | Observable&lt;[FDC3Channel](./foundation-fdc3.fdc3channel.md)<!-- -->&gt; | Observable which emits the current channel When a new channel is joined a new value is emitted |
19
+ | [currentChannelObs](./foundation-fdc3.fdc3.currentchannelobs.md) | | Observable&lt;[FDC3Channel](./foundation-fdc3.fdc3channel.md)<!-- -->&gt; | Observable which emits the current channel When a new channel is joined a new value is emitted |
20
20
  | [isReady](./foundation-fdc3.fdc3.isready.md) | | boolean | Whether the FDC3 API is ready. |
21
21
 
22
22
  ## Methods
@@ -50,7 +50,7 @@ export class DefaultFDC3 implements FDC3 {
50
50
  // (undocumented)
51
51
  broadcastOnCurrentChannel(payload: any, type?: string): Promise<void>;
52
52
  // (undocumented)
53
- currentChannel$: Observable<Channel>;
53
+ currentChannelObs: Observable<Channel>;
54
54
  // (undocumented)
55
55
  findIntent(intent: FDC3Intents, context?: FDC3Context): Promise<FDC3AppIntent>;
56
56
  // (undocumented)
@@ -76,7 +76,7 @@ export interface FDC3 {
76
76
  broadcastOnChannel(channelName: string, type: string, payload: any): Promise<void>;
77
77
  broadcastOnChannelEventHandler(channelName: string, type: string): Promise<(e: any) => Promise<void>>;
78
78
  broadcastOnCurrentChannel(payload: any, type?: string): Promise<void>;
79
- currentChannel$: Observable<FDC3Channel>;
79
+ currentChannelObs: Observable<FDC3Channel>;
80
80
  findIntent(intent: FDC3Intents, context?: FDC3Context): Promise<FDC3AppIntent>;
81
81
  findIntentsByContext(context: FDC3Context): Promise<FDC3AppIntent[]>;
82
82
  getCurrentChannel(): Promise<Channel>;
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.2",
4
+ "version": "14.192.2-fdc3-enhancements.3",
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.2",
63
- "@genesislcap/genx": "14.192.2-fdc3-enhancements.2",
64
- "@genesislcap/rollup-builder": "14.192.2-fdc3-enhancements.2",
65
- "@genesislcap/ts-builder": "14.192.2-fdc3-enhancements.2",
66
- "@genesislcap/uvu-playwright-builder": "14.192.2-fdc3-enhancements.2",
67
- "@genesislcap/vite-builder": "14.192.2-fdc3-enhancements.2",
68
- "@genesislcap/webpack-builder": "14.192.2-fdc3-enhancements.2",
62
+ "@genesislcap/foundation-testing": "14.192.2-fdc3-enhancements.3",
63
+ "@genesislcap/genx": "14.192.2-fdc3-enhancements.3",
64
+ "@genesislcap/rollup-builder": "14.192.2-fdc3-enhancements.3",
65
+ "@genesislcap/ts-builder": "14.192.2-fdc3-enhancements.3",
66
+ "@genesislcap/uvu-playwright-builder": "14.192.2-fdc3-enhancements.3",
67
+ "@genesislcap/vite-builder": "14.192.2-fdc3-enhancements.3",
68
+ "@genesislcap/webpack-builder": "14.192.2-fdc3-enhancements.3",
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.2",
74
- "@genesislcap/foundation-notifications": "14.192.2-fdc3-enhancements.2",
75
- "@genesislcap/foundation-ui": "14.192.2-fdc3-enhancements.2",
76
- "@genesislcap/foundation-utils": "14.192.2-fdc3-enhancements.2",
77
- "@genesislcap/web-core": "14.192.2-fdc3-enhancements.2",
73
+ "@genesislcap/foundation-logger": "14.192.2-fdc3-enhancements.3",
74
+ "@genesislcap/foundation-notifications": "14.192.2-fdc3-enhancements.3",
75
+ "@genesislcap/foundation-ui": "14.192.2-fdc3-enhancements.3",
76
+ "@genesislcap/foundation-utils": "14.192.2-fdc3-enhancements.3",
77
+ "@genesislcap/web-core": "14.192.2-fdc3-enhancements.3",
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": "7bb553d39e11fcfdb835a9238d5e7cfc162b5fc3"
92
+ "gitHead": "48c1539e9542d91c58f9ea72decc26952aa0ad2c"
93
93
  }