@levo-so/insights 0.1.81 → 0.1.85
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/constants/storageKeys.d.ts +6 -0
- package/dist/index.js +629 -664
- package/dist/stores/config.d.ts +4 -0
- package/dist/stores/events.d.ts +9 -8
- package/dist/stores/session.d.ts +19 -0
- package/dist/stores.js +2 -14
- package/dist/textSelection-DJ23SrA-.js +558 -0
- package/dist/tracking/scrollBehavior.d.ts +2 -1
- package/dist/types/options.d.ts +1 -1
- package/package.json +7 -7
- package/dist/legacy/index.d.ts +0 -71
- package/dist/textSelection-CnZdywep.js +0 -583
- package/dist/utils/lock.d.ts +0 -20
package/dist/utils/lock.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @example
|
|
3
|
-
*
|
|
4
|
-
* const lock = new LocalStorageLock("myResource");
|
|
5
|
-
* if (lock.acquireLock()) {
|
|
6
|
-
* console.log("Lock acquired");
|
|
7
|
-
* // Do some work...
|
|
8
|
-
* lock.releaseLock();
|
|
9
|
-
* } else {
|
|
10
|
-
* console.log("Lock is already held by another instance");
|
|
11
|
-
* }
|
|
12
|
-
*
|
|
13
|
-
*/
|
|
14
|
-
export declare class LocalStorageLock {
|
|
15
|
-
private key;
|
|
16
|
-
constructor(lockKey: string);
|
|
17
|
-
acquireLock(expiryMs?: number): boolean;
|
|
18
|
-
releaseLock(): void;
|
|
19
|
-
isLocked(expiryMs?: number): boolean;
|
|
20
|
-
}
|