@atlaskit/editor-plugin-collab-edit 31.0.2 → 31.0.3
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-collab-edit
|
|
2
2
|
|
|
3
|
+
## 31.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`4cdaf1f75d6ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4cdaf1f75d6ad) -
|
|
8
|
+
Use const for stable local bindings
|
|
9
|
+
|
|
3
10
|
## 31.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -87,11 +87,9 @@ var PluginState = exports.PluginState = /*#__PURE__*/function () {
|
|
|
87
87
|
key: "apply",
|
|
88
88
|
value: function apply(tr) {
|
|
89
89
|
var _this = this;
|
|
90
|
-
// Ignored via go/ees005
|
|
91
|
-
// eslint-disable-next-line prefer-const
|
|
92
90
|
var participants = this.participants,
|
|
93
|
-
sid = this.sid
|
|
94
|
-
|
|
91
|
+
sid = this.sid;
|
|
92
|
+
var isReady = this.isReady;
|
|
95
93
|
var presenceData = tr.getMeta('presence');
|
|
96
94
|
var telepointerData = tr.getMeta('telepointer');
|
|
97
95
|
var nudgeTelepointerData = tr.getMeta('nudgeTelepointer');
|
|
@@ -57,11 +57,11 @@ export class PluginState {
|
|
|
57
57
|
return (_participant$presence = participant === null || participant === void 0 ? void 0 : participant.presenceId) !== null && _participant$presence !== void 0 ? _participant$presence : sessionId;
|
|
58
58
|
}
|
|
59
59
|
apply(tr) {
|
|
60
|
-
// Ignored via go/ees005
|
|
61
|
-
// eslint-disable-next-line prefer-const
|
|
62
60
|
let {
|
|
63
61
|
participants,
|
|
64
|
-
sid
|
|
62
|
+
sid
|
|
63
|
+
} = this;
|
|
64
|
+
const {
|
|
65
65
|
isReady
|
|
66
66
|
} = this;
|
|
67
67
|
const presenceData = tr.getMeta('presence');
|
|
@@ -81,11 +81,9 @@ export var PluginState = /*#__PURE__*/function () {
|
|
|
81
81
|
key: "apply",
|
|
82
82
|
value: function apply(tr) {
|
|
83
83
|
var _this = this;
|
|
84
|
-
// Ignored via go/ees005
|
|
85
|
-
// eslint-disable-next-line prefer-const
|
|
86
84
|
var participants = this.participants,
|
|
87
|
-
sid = this.sid
|
|
88
|
-
|
|
85
|
+
sid = this.sid;
|
|
86
|
+
var isReady = this.isReady;
|
|
89
87
|
var presenceData = tr.getMeta('presence');
|
|
90
88
|
var telepointerData = tr.getMeta('telepointer');
|
|
91
89
|
var nudgeTelepointerData = tr.getMeta('nudgeTelepointer');
|