@wcstack/broadcast 1.32.0 → 2.0.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -261,5 +261,11 @@ declare const WCS_BROADCAST_ERROR_CODE: {
261
261
  readonly BroadcastError: "broadcast-error";
262
262
  };
263
263
 
264
+ declare global {
265
+ interface HTMLElementTagNameMap {
266
+ "wcs-broadcast": WcsBroadcast;
267
+ }
268
+ }
269
+
264
270
  export { BroadcastCore, WCS_BROADCAST_ERROR_CODE, WcsBroadcast, bootstrapBroadcast, getConfig };
265
271
  export type { IWritableConfig, IWritableTagNames, WcsBroadcastCommands, WcsBroadcastCoreCommands, WcsBroadcastCoreValues, WcsBroadcastErrorDetail, WcsBroadcastInputs, WcsBroadcastValues, WcsIoErrorInfo, WcsIoErrorPhase };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcstack/broadcast",
3
- "version": "1.32.0",
3
+ "version": "2.0.0",
4
4
  "description": "Declarative cross-tab messaging component for Web Components. Framework-agnostic BroadcastChannel primitive via wc-bindable-protocol.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.esm.js",