@wcstack/wakelock 1.32.0 → 2.0.0
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/dist/index.d.ts +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -324,5 +324,11 @@ declare const WCS_WAKELOCK_ERROR_CODE: {
|
|
|
324
324
|
readonly WakeLockError: "wakelock-error";
|
|
325
325
|
};
|
|
326
326
|
|
|
327
|
+
declare global {
|
|
328
|
+
interface HTMLElementTagNameMap {
|
|
329
|
+
"wcs-wakelock": WcsWakeLock;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
327
333
|
export { WCS_WAKELOCK_ERROR_CODE, WakeLockCore, WcsWakeLock, bootstrapWakeLock, getConfig };
|
|
328
334
|
export type { IWritableConfig, IWritableTagNames, WakeLockKind, WcsIoErrorInfo, WcsIoErrorPhase, WcsWakeLockCommands, WcsWakeLockCoreCommands, WcsWakeLockCoreValues, WcsWakeLockInputs, WcsWakeLockValues };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wcstack/wakelock",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "Declarative Screen Wake Lock component for Web Components. Framework-agnostic, holds the screen awake while a bound state is true via wc-bindable-protocol.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.esm.js",
|