contentful-ui-extensions-sdk 3.40.0 → 3.40.1

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,3 +1,10 @@
1
+ ## [3.40.1](https://github.com/contentful/ui-extensions-sdk/compare/v3.40.0...v3.40.1) (2021-09-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **AccessSDK:** patch action isn't supported ([#987](https://github.com/contentful/ui-extensions-sdk/issues/987)) ([7aff0ae](https://github.com/contentful/ui-extensions-sdk/commit/7aff0aeb4d3680e33a2ab7173a78982c55fa3677))
7
+
1
8
  # [3.40.0](https://github.com/contentful/ui-extensions-sdk/compare/v3.39.2...v3.40.0) (2021-09-17)
2
9
 
3
10
 
package/dist/types.d.ts CHANGED
@@ -596,7 +596,7 @@ export interface AccessAPI {
596
596
  can<T = Object>(action: CrudAction, entity: 'ContentType' | ContentType | 'Asset' | 'Entry' | T): Promise<boolean>;
597
597
  can<T = Object>(action: PublishableAction, entity: 'ContentType' | ContentType | 'Asset' | 'Entry' | T): Promise<boolean>;
598
598
  can<T = Object>(action: ArchiveableAction, entity: 'Asset' | 'Entry' | T): Promise<boolean>;
599
- can<T = Object>(action: 'patch', entity: 'Asset' | 'Entry' | T, patch: JSONPatchItem[]): Promise<boolean>;
599
+ can<T = Object>(action: 'update', entity: 'Asset' | 'Entry' | T, patch: JSONPatchItem[]): Promise<boolean>;
600
600
  /** Whether the current user can edit app config */
601
601
  canEditAppConfig: () => Promise<boolean>;
602
602
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "contentful-ui-extensions-sdk",
3
3
  "description": "SDK to develop custom UI Extension for the Contentful Web App",
4
- "version": "3.40.0",
4
+ "version": "3.40.1",
5
5
  "author": "Contentful GmbH",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -44,20 +44,20 @@
44
44
  "@types/async-retry": "1.4.3",
45
45
  "@types/chai-as-promised": "7.1.4",
46
46
  "@types/cross-spawn": "6.0.2",
47
- "@types/fs-extra": "9.0.12",
47
+ "@types/fs-extra": "9.0.13",
48
48
  "@types/jsdom": "16.2.13",
49
49
  "@types/nanoid": "3.0.0",
50
50
  "@types/sinon": "^10.0.0",
51
51
  "@types/sinon-chai": "^3.2.5",
52
- "@typescript-eslint/eslint-plugin": "4.31.1",
53
- "@typescript-eslint/parser": "4.31.1",
52
+ "@typescript-eslint/eslint-plugin": "4.31.2",
53
+ "@typescript-eslint/parser": "4.31.2",
54
54
  "async-retry": "1.3.3",
55
55
  "babel-eslint": "10.1.0",
56
56
  "chai": "4.3.4",
57
57
  "chai-as-promised": "7.1.1",
58
- "contentful-management": "7.39.0",
58
+ "contentful-management": "7.39.1",
59
59
  "cross-spawn": "7.0.3",
60
- "cypress": "8.4.0",
60
+ "cypress": "8.4.1",
61
61
  "cypress-multi-reporters": "1.5.0",
62
62
  "cypress-terminal-report": "^3.3.2",
63
63
  "dotenv": "10.0.0",
@@ -69,7 +69,7 @@
69
69
  "eslint-plugin-node": "11.1.0",
70
70
  "eslint-plugin-prettier": "4.0.0",
71
71
  "eslint-plugin-promise": "5.1.0",
72
- "eslint-plugin-react": "7.25.2",
72
+ "eslint-plugin-react": "7.26.0",
73
73
  "eslint-plugin-standard": "5.0.0",
74
74
  "fs-extra": "10.0.0",
75
75
  "husky": "4.3.8",
@@ -83,7 +83,7 @@
83
83
  "mochawesome-report-generator": "5.2.0",
84
84
  "nanoid": "3.1.25",
85
85
  "prettier": "2.4.1",
86
- "rollup": "2.56.3",
86
+ "rollup": "2.57.0",
87
87
  "rollup-plugin-terser": "7.0.2",
88
88
  "rollup-plugin-typescript2": "0.30.0",
89
89
  "semantic-release": "17.4.2",