@salesforce/lds-drafts 1.341.0 → 1.342.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.
- package/dist/ldsDrafts.js +0 -7
- package/package.json +3 -3
package/dist/ldsDrafts.js
CHANGED
|
@@ -1081,13 +1081,6 @@ function toQueueState(queue) {
|
|
|
1081
1081
|
}
|
|
1082
1082
|
class DraftManager {
|
|
1083
1083
|
shouldEmitEvent(event) {
|
|
1084
|
-
// Waiting events cannot be emitted prior to 252 native clients
|
|
1085
|
-
// TODO [W-16102411]: we can safely remove this backwards compatible code in 256
|
|
1086
|
-
if (isDraftQueueStateChangeEvent(event) &&
|
|
1087
|
-
event.state === DraftQueueState.Waiting &&
|
|
1088
|
-
this.listenerVersion === undefined) {
|
|
1089
|
-
return false;
|
|
1090
|
-
}
|
|
1091
1084
|
return this.draftEventsShouldBeEmitted.includes(event.type);
|
|
1092
1085
|
}
|
|
1093
1086
|
constructor(draftQueue) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-drafts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.342.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "LDS Drafts",
|
|
6
6
|
"main": "dist/ldsDrafts.js",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@luvio/engine": "0.156.5",
|
|
28
28
|
"@luvio/environments": "0.156.5",
|
|
29
|
-
"@salesforce/lds-utils-adapters": "^1.
|
|
29
|
+
"@salesforce/lds-utils-adapters": "^1.342.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@salesforce/nimbus-plugin-lds": "^1.
|
|
32
|
+
"@salesforce/nimbus-plugin-lds": "^1.342.0"
|
|
33
33
|
},
|
|
34
34
|
"volta": {
|
|
35
35
|
"extends": "../../package.json"
|