@ichicraft/widgets-widget-base 1.14.1 → 1.14.2

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/README.md CHANGED
@@ -9,6 +9,10 @@ All notable changes to this project will be documented here.
9
9
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
+ ## 1.14.2 - 2025-07-02
13
+ - Reverted `@microsoft/sp-http` dependency back to SPFx version `1.18.2` due to postponed upgrade
14
+ - Added `isOptional` flag to be used in widget manifests to mark certain API permission requests optional and not have them enforced by Ichicraft Boards
15
+
12
16
  ## 1.14.1 - 2025-06-17
13
17
  - Reverted module type 'commonjs' for backwards compatibility
14
18
 
@@ -459,16 +459,20 @@ export interface WebApiPermissionRequest {
459
459
  /**
460
460
  * Specifies the name of the API to which access has to be granted.
461
461
  * This can be something like "Microsoft Graph" or "Power BI Service" and is the same
462
- * as what's used in the package-solution file in an SPPKG package.
462
+ * as what one would use in the package-solution file in an SPPKG package.
463
463
  */
464
464
  resource: string;
465
465
  /**
466
466
  * Specifies the name of one scope claim that the resource application
467
467
  * should expect in the OAuth 2.0 access token.
468
468
  * This can be something like "User.Read.All" (for Graph) or "Report.Read.All" (for Power BI) and is the same
469
- * as what's used in the package-solution file in an SPPKG package.
469
+ * as what one would use in the package-solution file in an SPPKG package.
470
470
  */
471
471
  scope: string;
472
+ /**
473
+ * Optional permission requests will not be enforced by the widget board.
474
+ */
475
+ isOptional?: boolean;
472
476
  }
473
477
  /**
474
478
  * The widget manifest contains meta information about the widget
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.14.1",
3
+ "version": "1.14.2",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -22,7 +22,7 @@
22
22
  "requirejs": "2.3.7"
23
23
  },
24
24
  "dependencies": {
25
- "@microsoft/sp-http": "1.21.1",
25
+ "@microsoft/sp-http": "1.18.2",
26
26
  "@pnp/sp": "4.0.1"
27
27
  },
28
28
  "devDependencies": {