@matrix-widget-toolkit/api 1.0.1 → 1.0.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 +2 -0
- package/build/cjs/index.js +1 -1
- package/build/esm/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# `@matrix-widget-toolkit/api`
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@matrix-widget-toolkit/api)
|
|
4
|
+
|
|
3
5
|
This is package that wraps `matrix-widget-api` to provide a more convenient API.
|
|
4
6
|
For now, the API includes:
|
|
5
7
|
|
package/build/cjs/index.js
CHANGED
|
@@ -1450,7 +1450,7 @@ var WidgetApiImpl = /** @class */ (function () {
|
|
|
1450
1450
|
return [2 /*return*/, {
|
|
1451
1451
|
originalEvent: original_event,
|
|
1452
1452
|
chunk: chunk,
|
|
1453
|
-
nextToken: next_batch,
|
|
1453
|
+
nextToken: next_batch !== null && next_batch !== void 0 ? next_batch : undefined,
|
|
1454
1454
|
}];
|
|
1455
1455
|
}
|
|
1456
1456
|
});
|
package/build/esm/index.js
CHANGED
|
@@ -1448,7 +1448,7 @@ var WidgetApiImpl = /** @class */ (function () {
|
|
|
1448
1448
|
return [2 /*return*/, {
|
|
1449
1449
|
originalEvent: original_event,
|
|
1450
1450
|
chunk: chunk,
|
|
1451
|
-
nextToken: next_batch,
|
|
1451
|
+
nextToken: next_batch !== null && next_batch !== void 0 ? next_batch : undefined,
|
|
1452
1452
|
}];
|
|
1453
1453
|
}
|
|
1454
1454
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matrix-widget-toolkit/api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "A simplified layer on top of matrix-widget-api to use build widgets.",
|
|
5
5
|
"author": "Nordeck IT + Consulting GmbH",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@craco/craco": "^6.4.5",
|
|
12
12
|
"@types/jest": "^27.5.2",
|
|
13
|
-
"@types/node": "^16.
|
|
13
|
+
"@types/node": "^16.18.4",
|
|
14
14
|
"@types/qs": "^6.9.7",
|
|
15
15
|
"typescript": "^4.8.4"
|
|
16
16
|
},
|