@ichicraft/widgets-widget-base 1.13.1 → 1.13.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,9 @@ 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.13.2 - 2025-04-11
13
+ - Minor update in documentation of `WebApiPermissionRequest` interface
14
+
12
15
  ## 1.13.1 - 2025-03-11
13
16
  - Added new interface `ICSite`, used to represent a SharePoint site object in code
14
17
 
@@ -457,11 +457,16 @@ export interface WidgetResource {
457
457
  }
458
458
  export interface WebApiPermissionRequest {
459
459
  /**
460
- * Specifies the name of the resource service principle to wich access has been granted. Use the same principle names as in a SPPKG packages webApiPermissionRequests.
460
+ * Specifies the name of the API to which access has to be granted.
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.
461
463
  */
462
464
  resource: string;
463
465
  /**
464
- * Specifies the name of the scope claim that the resource application should expect in the OAuth 2.0 access token. Use the same scope names as in a SPPKG packages webApiPermissionRequests.
466
+ * Specifies the name of one scope claim that the resource application
467
+ * should expect in the OAuth 2.0 access token.
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.
465
470
  */
466
471
  scope: string;
467
472
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.13.1",
3
+ "version": "1.13.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",