@ichicraft/widgets-widget-base 1.9.3 → 1.9.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/lib/index.d.ts +0 -1
- package/lib/index.js +1 -4
- package/lib/types/index.d.ts +3 -2
- package/package.json +4 -2
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -17,10 +17,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
17
17
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
-
exports.
|
|
20
|
+
exports.BaseWidget = void 0;
|
|
21
21
|
var BaseWidget_1 = require("./BaseWidget");
|
|
22
22
|
Object.defineProperty(exports, "BaseWidget", { enumerable: true, get: function () { return __importDefault(BaseWidget_1).default; } });
|
|
23
23
|
__exportStar(require("./types"), exports);
|
|
24
|
-
var sp_http_1 = require("@microsoft/sp-http");
|
|
25
|
-
Object.defineProperty(exports, "AadTokenProviderFactory", { enumerable: true, get: function () { return sp_http_1.AadTokenProviderFactory; } });
|
|
26
|
-
Object.defineProperty(exports, "AadTokenProvider", { enumerable: true, get: function () { return sp_http_1.AadTokenProvider; } });
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { AadTokenProviderFactory } from '
|
|
1
|
+
import type { AadHttpClientFactory, AadTokenProviderFactory } from '@microsoft/sp-http';
|
|
2
|
+
export type { AadTokenProviderFactory, AadTokenProvider, AadHttpClientFactory, AadHttpClient, AadHttpClientConfiguration, AadHttpClientResponse, } from '@microsoft/sp-http';
|
|
2
3
|
/**
|
|
3
4
|
* Widget context providing widget metadata and functionality offered by the widget board
|
|
4
5
|
*/
|
|
@@ -139,7 +140,7 @@ export interface WidgetContext {
|
|
|
139
140
|
/**
|
|
140
141
|
* AAD Http Client Factory class as provided by the WebPartContext object.
|
|
141
142
|
*/
|
|
142
|
-
aadHttpClientFactory:
|
|
143
|
+
aadHttpClientFactory: AadHttpClientFactory;
|
|
143
144
|
/**
|
|
144
145
|
* AAD Token Provider Factory class as provided by the WebPartContext object.
|
|
145
146
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichicraft/widgets-widget-base",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.4",
|
|
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",
|
|
@@ -18,8 +18,10 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"lib/**/*"
|
|
20
20
|
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@microsoft/sp-http": "1.18.2"
|
|
23
|
+
},
|
|
21
24
|
"devDependencies": {
|
|
22
|
-
"@microsoft/sp-http": "1.18.2",
|
|
23
25
|
"typescript": "^5.4.5"
|
|
24
26
|
}
|
|
25
27
|
}
|