@atlaskit/editor-plugin-user-preferences 4.0.2 → 4.0.4

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,19 @@
1
1
  # @atlaskit/editor-plugin-user-preferences
2
2
 
3
+ ## 4.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`55920a92e882a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/55920a92e882a) -
8
+ tsignores added for help-center local consumpton removed
9
+ - Updated dependencies
10
+
11
+ ## 4.0.3
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 4.0.2
4
18
 
5
19
  ### Patch Changes
@@ -25,9 +25,6 @@
25
25
  {
26
26
  "path": "../../editor-plugin-analytics/afm-cc/tsconfig.json"
27
27
  },
28
- {
29
- "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
30
- },
31
28
  {
32
29
  "path": "../../tmp-editor-statsig/afm-cc/tsconfig.json"
33
30
  },
@@ -25,9 +25,6 @@
25
25
  {
26
26
  "path": "../../editor-plugin-analytics/afm-jira/tsconfig.json"
27
27
  },
28
- {
29
- "path": "../../../platform/feature-flags/afm-jira/tsconfig.json"
30
- },
31
28
  {
32
29
  "path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
33
30
  },
@@ -25,9 +25,6 @@
25
25
  {
26
26
  "path": "../../editor-plugin-analytics/afm-products/tsconfig.json"
27
27
  },
28
- {
29
- "path": "../../../platform/feature-flags/afm-products/tsconfig.json"
30
- },
31
28
  {
32
29
  "path": "../../tmp-editor-statsig/afm-products/tsconfig.json"
33
30
  },
@@ -26,14 +26,11 @@ var createPlugin = exports.createPlugin = function createPlugin(pluginOptions, _
26
26
  return new _safePlugin.SafePlugin({
27
27
  key: userPreferencesPluginKey,
28
28
  state: {
29
- // @ts-ignore - Workaround for help-center local consumption
30
29
  init: function init() {
31
30
  return {
32
31
  preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
33
32
  };
34
33
  },
35
- // @ts-ignore - Workaround for help-center local consumption
36
-
37
34
  apply: function apply(tr, currentPluginState) {
38
35
  var meta = tr.getMeta(userPreferencesPluginKey);
39
36
  if (meta !== null && meta !== void 0 && meta.preferences) {
@@ -18,15 +18,11 @@ export const createPlugin = (pluginOptions, _api) => {
18
18
  return new SafePlugin({
19
19
  key: userPreferencesPluginKey,
20
20
  state: {
21
- // @ts-ignore - Workaround for help-center local consumption
22
-
23
21
  init() {
24
22
  return {
25
23
  preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
26
24
  };
27
25
  },
28
- // @ts-ignore - Workaround for help-center local consumption
29
-
30
26
  apply: (tr, currentPluginState) => {
31
27
  const meta = tr.getMeta(userPreferencesPluginKey);
32
28
  if (meta !== null && meta !== void 0 && meta.preferences) {
@@ -19,14 +19,11 @@ export var createPlugin = function createPlugin(pluginOptions, _api) {
19
19
  return new SafePlugin({
20
20
  key: userPreferencesPluginKey,
21
21
  state: {
22
- // @ts-ignore - Workaround for help-center local consumption
23
22
  init: function init() {
24
23
  return {
25
24
  preferences: (userPreferencesProvider === null || userPreferencesProvider === void 0 ? void 0 : userPreferencesProvider.getPreferences()) || getInitialUserPreferences()
26
25
  };
27
26
  },
28
- // @ts-ignore - Workaround for help-center local consumption
29
-
30
27
  apply: function apply(tr, currentPluginState) {
31
28
  var meta = tr.getMeta(userPreferencesPluginKey);
32
29
  if (meta !== null && meta !== void 0 && meta.preferences) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-user-preferences",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "UserPreferences plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -30,13 +30,12 @@
30
30
  "dependencies": {
31
31
  "@atlaskit/editor-plugin-analytics": "^6.2.0",
32
32
  "@atlaskit/editor-prosemirror": "7.0.0",
33
- "@atlaskit/platform-feature-flags": "^1.1.0",
34
- "@atlaskit/tmp-editor-statsig": "^13.42.0",
33
+ "@atlaskit/tmp-editor-statsig": "^14.2.0",
35
34
  "@babel/runtime": "^7.0.0",
36
35
  "bind-event-listener": "^3.0.0"
37
36
  },
38
37
  "peerDependencies": {
39
- "@atlaskit/editor-common": "^110.34.0",
38
+ "@atlaskit/editor-common": "^110.36.0",
40
39
  "react": "^18.2.0"
41
40
  },
42
41
  "techstack": {