@ndla/util
Advanced tools
Comparing version 0.4.1 to 0.4.3
@@ -30,2 +30,3 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } } | ||
return navigator.permissions.query({ | ||
// @ts-ignore | ||
name: 'clipboard-write' | ||
@@ -32,0 +33,0 @@ }); |
@@ -8,2 +8,2 @@ /** | ||
*/ | ||
export declare const copyTextToClipboard: (copyPageUrlLink: string) => Promise<any>; | ||
export declare const copyTextToClipboard: (copyPageUrlLink: string) => Promise<void>; |
@@ -37,2 +37,3 @@ "use strict"; | ||
return navigator.permissions.query({ | ||
// @ts-ignore | ||
name: 'clipboard-write' | ||
@@ -39,0 +40,0 @@ }); |
{ | ||
"name": "@ndla/util", | ||
"version": "0.4.1", | ||
"version": "0.4.3", | ||
"description": "Collection of util functions used by NDLA", | ||
@@ -34,3 +34,3 @@ "license": "GPL-3.0", | ||
}, | ||
"gitHead": "8f0f6ca808935efc1aa6810c7a2a479b69f18df4" | ||
"gitHead": "c91f4e94174161d50df0bdbffb92a93f76929ac7" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64768
733