@genesislcap/foundation-broadcast-channel 14.303.0 → 14.303.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/package.json +11 -11
- package/docs/api-report.md +0 -47
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/foundation-broadcast-channel",
|
|
3
3
|
"description": "Genesis Broadcast Channel",
|
|
4
|
-
"version": "14.303.
|
|
4
|
+
"version": "14.303.2",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
|
7
7
|
"main": "dist/esm/index.js",
|
|
@@ -24,17 +24,17 @@
|
|
|
24
24
|
}
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@genesislcap/foundation-testing": "14.303.
|
|
28
|
-
"@genesislcap/genx": "14.303.
|
|
29
|
-
"@genesislcap/rollup-builder": "14.303.
|
|
30
|
-
"@genesislcap/ts-builder": "14.303.
|
|
31
|
-
"@genesislcap/uvu-playwright-builder": "14.303.
|
|
32
|
-
"@genesislcap/vite-builder": "14.303.
|
|
33
|
-
"@genesislcap/webpack-builder": "14.303.
|
|
27
|
+
"@genesislcap/foundation-testing": "14.303.2",
|
|
28
|
+
"@genesislcap/genx": "14.303.2",
|
|
29
|
+
"@genesislcap/rollup-builder": "14.303.2",
|
|
30
|
+
"@genesislcap/ts-builder": "14.303.2",
|
|
31
|
+
"@genesislcap/uvu-playwright-builder": "14.303.2",
|
|
32
|
+
"@genesislcap/vite-builder": "14.303.2",
|
|
33
|
+
"@genesislcap/webpack-builder": "14.303.2"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@genesislcap/foundation-events": "14.303.
|
|
37
|
-
"@genesislcap/foundation-logger": "14.303.
|
|
36
|
+
"@genesislcap/foundation-events": "14.303.2",
|
|
37
|
+
"@genesislcap/foundation-logger": "14.303.2",
|
|
38
38
|
"@microsoft/fast-element": "1.14.0",
|
|
39
39
|
"@microsoft/fast-foundation": "2.49.6"
|
|
40
40
|
},
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "f556f123bafe956a7ba9328bb3f78f4d7d2495ba"
|
|
50
50
|
}
|
package/docs/api-report.md
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
## API Report File for "@genesislcap/foundation-broadcast-channel"
|
|
2
|
-
|
|
3
|
-
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
|
|
7
|
-
import { EventDetailMap } from '@genesislcap/foundation-events';
|
|
8
|
-
import { InterfaceSymbol } from '@microsoft/fast-foundation';
|
|
9
|
-
import { Logger } from '@genesislcap/foundation-logger';
|
|
10
|
-
|
|
11
|
-
// @public
|
|
12
|
-
export const createTypedBroadcastChannel: <TEventDetailMap extends EventDetailMap>(name: string) => DefaultTypedBroadcastChannel<TEventDetailMap>;
|
|
13
|
-
|
|
14
|
-
// @public
|
|
15
|
-
export class DefaultTypedBroadcastChannel<TEventDetailMap extends EventDetailMap> extends BroadcastChannel implements TypedBroadcastChannel<TEventDetailMap> {
|
|
16
|
-
isMessageType: <T extends keyof TEventDetailMap>(type: T, event: TypedMessageEvent<TEventDetailMap, keyof TEventDetailMap>) => event is TypedMessageEvent<TEventDetailMap, T>;
|
|
17
|
-
// Warning: (ae-forgotten-export) The symbol "PostMessage" needs to be exported by the entry point index.d.ts
|
|
18
|
-
postMessage: PostMessage<TEventDetailMap>;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
// @public (undocumented)
|
|
22
|
-
export const logger: Logger;
|
|
23
|
-
|
|
24
|
-
// @public
|
|
25
|
-
export const registerTypedBroadcastChannel: <TEventDetailMap extends EventDetailMap>(name: string) => InterfaceSymbol<TypedBroadcastChannel<TEventDetailMap>>;
|
|
26
|
-
|
|
27
|
-
// @public
|
|
28
|
-
export interface TypedBroadcastChannel<TEventDetailMap extends EventDetailMap> extends Omit<BroadcastChannel, 'postMessage' | 'onmessage' | 'onmessageerror'> {
|
|
29
|
-
isMessageType<T extends keyof TEventDetailMap>(type: T, event: TypedMessageEvent<TEventDetailMap, keyof TEventDetailMap>): event is TypedMessageEvent<TEventDetailMap, T>;
|
|
30
|
-
// Warning: (ae-forgotten-export) The symbol "OnMessage" needs to be exported by the entry point index.d.ts
|
|
31
|
-
onmessage: OnMessage<TEventDetailMap>;
|
|
32
|
-
// Warning: (ae-forgotten-export) The symbol "OnMessageError" needs to be exported by the entry point index.d.ts
|
|
33
|
-
//
|
|
34
|
-
// (undocumented)
|
|
35
|
-
onmessageerror: OnMessageError<TEventDetailMap>;
|
|
36
|
-
postMessage: PostMessage<TEventDetailMap>;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
// @public
|
|
40
|
-
export type TypedMessageEvent<TEventDetailMap extends EventDetailMap, T extends keyof TEventDetailMap> = MessageEvent<{
|
|
41
|
-
type: T;
|
|
42
|
-
detail: TEventDetailMap[T];
|
|
43
|
-
}>;
|
|
44
|
-
|
|
45
|
-
// (No @packageDocumentation comment for this package)
|
|
46
|
-
|
|
47
|
-
```
|