kritzel-react 0.1.54 → 0.1.56

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.
@@ -47,7 +47,8 @@ export const KritzelEditor = /*@__PURE__*/ createComponent({
47
47
  onThemeChange: 'themeChange',
48
48
  onViewportChange: 'viewportChange',
49
49
  onLogout: 'logout',
50
- onLinkShareChange: 'linkShareChange'
50
+ onLinkShareChange: 'linkShareChange',
51
+ onAwarenessChange: 'awarenessChange'
51
52
  },
52
53
  defineCustomElement: defineKritzelEditor
53
54
  });
@@ -36,6 +36,7 @@ export type KritzelEditorEvents = {
36
36
  onViewportChange: EventName<KritzelEditorCustomEvent<KritzelViewportState>>;
37
37
  onLogout: EventName<KritzelEditorCustomEvent<void>>;
38
38
  onLinkShareChange: EventName<KritzelEditorCustomEvent<IKritzelLinkShareChangedEvent>>;
39
+ onAwarenessChange: EventName<KritzelEditorCustomEvent<Map<number, Record<string, any>>>>;
39
40
  };
40
41
  export declare const KritzelEditor: StencilReactComponent<KritzelEditorElement, KritzelEditorEvents>;
41
42
  export type KritzelExportEvents = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kritzel-react",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "homepage": "https://gitlab.com/kasual1/kritzel#readme",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "@stencil/react-output-target": "^1.2.0"
21
21
  },
22
22
  "peerDependencies": {
23
- "kritzel-stencil": "^0.1.54"
23
+ "kritzel-stencil": "^0.1.56"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",