@textbus/collaborate 2.5.7 → 2.5.9

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.
@@ -25,7 +25,7 @@ export declare class CollaborateCursor {
25
25
  private nativeSelection;
26
26
  private scheduler;
27
27
  private selection;
28
- private awarenessDelegate;
28
+ private awarenessDelegate?;
29
29
  private host;
30
30
  private canvasContainer;
31
31
  private canvas;
@@ -35,7 +35,7 @@ export declare class CollaborateCursor {
35
35
  private subscription;
36
36
  private currentSelection;
37
37
  private container;
38
- constructor(injector: Injector, nativeSelection: SelectionBridge, scheduler: Scheduler, selection: Selection, awarenessDelegate?: CollaborateSelectionAwarenessDelegate | null);
38
+ constructor(injector: Injector, nativeSelection: SelectionBridge, scheduler: Scheduler, selection: Selection, awarenessDelegate?: CollaborateSelectionAwarenessDelegate | undefined);
39
39
  refresh(): void;
40
40
  destroy(): void;
41
41
  draw(paths: RemoteSelection[]): void;
@@ -37,7 +37,7 @@ function __metadata(metadataKey, metadataValue) {
37
37
  class CollaborateSelectionAwarenessDelegate {
38
38
  }
39
39
  let CollaborateCursor = class CollaborateCursor {
40
- constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate = null) {
40
+ constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate) {
41
41
  this.injector = injector;
42
42
  this.nativeSelection = nativeSelection;
43
43
  this.scheduler = scheduler;
@@ -279,7 +279,8 @@ CollaborateCursor = __decorate([
279
279
  __metadata("design:paramtypes", [Injector,
280
280
  SelectionBridge,
281
281
  Scheduler,
282
- Selection, Object])
282
+ Selection,
283
+ CollaborateSelectionAwarenessDelegate])
283
284
  ], CollaborateCursor);
284
285
 
285
286
  function createUnknownComponent(factoryName, canInsertInlineComponent) {
package/bundles/index.js CHANGED
@@ -39,7 +39,7 @@ function __metadata(metadataKey, metadataValue) {
39
39
  class CollaborateSelectionAwarenessDelegate {
40
40
  }
41
41
  exports.CollaborateCursor = class CollaborateCursor {
42
- constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate = null) {
42
+ constructor(injector, nativeSelection, scheduler, selection, awarenessDelegate) {
43
43
  this.injector = injector;
44
44
  this.nativeSelection = nativeSelection;
45
45
  this.scheduler = scheduler;
@@ -281,7 +281,8 @@ exports.CollaborateCursor = __decorate([
281
281
  __metadata("design:paramtypes", [di.Injector,
282
282
  browser.SelectionBridge,
283
283
  core.Scheduler,
284
- core.Selection, Object])
284
+ core.Selection,
285
+ CollaborateSelectionAwarenessDelegate])
285
286
  ], exports.CollaborateCursor);
286
287
 
287
288
  function createUnknownComponent(factoryName, canInsertInlineComponent) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@textbus/collaborate",
3
- "version": "2.5.7",
3
+ "version": "2.5.9",
4
4
  "description": "Textbus is a rich text editor and framework that is highly customizable and extensible to achieve rich wysiwyg effects.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -25,10 +25,10 @@
25
25
  "typescript editor"
26
26
  ],
27
27
  "dependencies": {
28
- "@tanbo/di": "^1.1.3",
28
+ "@tanbo/di": "^1.1.4",
29
29
  "@tanbo/stream": "^1.1.8",
30
- "@textbus/browser": "^2.5.7",
31
- "@textbus/core": "^2.5.7",
30
+ "@textbus/browser": "^2.5.9",
31
+ "@textbus/core": "^2.5.9",
32
32
  "reflect-metadata": "^0.1.13",
33
33
  "y-protocols": "^1.0.5",
34
34
  "yjs": "^13.5.39"
@@ -51,5 +51,5 @@
51
51
  "bugs": {
52
52
  "url": "https://github.com/textbus/textbus.git/issues"
53
53
  },
54
- "gitHead": "8b2c086e0587bf09d7971e09f00da30322dcdd7e"
54
+ "gitHead": "02dc4cd87f33a9bbfc52a1fc44b2d598de413663"
55
55
  }