@liquidcommerce/elements-sdk 2.2.0-beta.15 → 2.2.0-beta.16
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.esm.js +7712 -7746
- package/dist/types/core/fingerprint.service.d.ts +4 -9
- package/package.json +1 -1
- package/umd/elements.js +1 -1
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
interface FingerprintData {
|
|
2
2
|
screen: string;
|
|
3
|
-
webgl: string;
|
|
4
|
-
canvas: string;
|
|
5
3
|
browser: string;
|
|
6
4
|
timezone: string;
|
|
7
|
-
audio: string;
|
|
8
5
|
}
|
|
9
6
|
export declare class FingerPrintService {
|
|
10
7
|
private readonly keyPrefix;
|
|
11
8
|
private isLocalStorageAvailable;
|
|
9
|
+
private cachedFingerprint;
|
|
12
10
|
static getInstance(): FingerPrintService;
|
|
13
11
|
getId(partnerCode: string): Promise<string>;
|
|
14
|
-
getFingerprintData():
|
|
12
|
+
getFingerprintData(): FingerprintData;
|
|
15
13
|
isLocalStorageWebApiAvailable(): boolean;
|
|
16
14
|
private _createComposedId;
|
|
17
15
|
private _checkLocalStorageAvailability;
|
|
@@ -19,13 +17,10 @@ export declare class FingerPrintService {
|
|
|
19
17
|
private _generateFingerprint;
|
|
20
18
|
private _getScreen;
|
|
21
19
|
private _getColorGamut;
|
|
22
|
-
private _getWebGL;
|
|
23
|
-
private _getCanvas;
|
|
24
20
|
private _getBrowser;
|
|
25
21
|
private _getBrowserEngine;
|
|
22
|
+
private _isWebView;
|
|
26
23
|
private _getTimezone;
|
|
27
|
-
private
|
|
28
|
-
private _hash;
|
|
29
|
-
private _simpleHash;
|
|
24
|
+
private _fastHash;
|
|
30
25
|
}
|
|
31
26
|
export {};
|
package/package.json
CHANGED