You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/telemetrydeck.js
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ import { version } from './utils/version.js';
13
13
* @property {string} [salt] A salt to use when hashing the clientUser ID
14
14
* @property {boolean} [testMode] If "true", signals will be marked as test signals and only show up in Test Mode in the Dashbaord
15
15
* @property {Store} [store] A store to use for queueing signals
16
-
* @property {Function} [cryptoDigest] A function to use for calculating the SHA-256 hash of the clientUser ID. Null to use the browser's built-in crypto.subtle.digest function.
16
+
* @property {Function} [subtleCrypto] Used for providing an alternative implementation of SubtleCrypto where no browser is available. Expects a class providing a `.digest(method, value)` method.
17
17
*/
18
18
19
19
exportdefaultclassTelemetryDeck{
@@ -28,7 +28,7 @@ export default class TelemetryDeck {
0 commit comments