@ledgerhq/connect-kit 1.1.9 → 1.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -2
- package/dist/umd/index.js +44 -817
- package/dist/umd/index.js.map +1 -1
- package/package.json +3 -4
- package/dist/umd/hooks/useAnalytics.d.ts +0 -11
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ledgerhq/connect-kit",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.11",
|
4
4
|
"description": "A library for dApps to integrate with the Ledger Extension and Ledger Live",
|
5
5
|
"author": "Ledger SAS <ledger.com>",
|
6
6
|
"license": "MIT",
|
@@ -53,8 +53,7 @@
|
|
53
53
|
"typescript": "^4.7.3"
|
54
54
|
},
|
55
55
|
"dependencies": {
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"uuid": "^9.0.0"
|
56
|
+
"rollup-plugin-dotenv": "0.5.0",
|
57
|
+
"uuid": "9.0.1"
|
59
58
|
}
|
60
59
|
}
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import { Plugin } from "@segment/analytics-next";
|
2
|
-
type UseAnalyticsReturn = {
|
3
|
-
track: (eventName: string, eventProperties?: Record<string, unknown>) => Promise<void>;
|
4
|
-
page: (pageName: string, eventProperties?: Record<string, unknown>) => Promise<void>;
|
5
|
-
init: (globalProperties?: Record<string, unknown>, globalOptions?: Record<string, unknown>) => Promise<void>;
|
6
|
-
addStepToFlow: (step: string) => void;
|
7
|
-
sendUserFlow: () => void;
|
8
|
-
};
|
9
|
-
export declare const debug: Plugin;
|
10
|
-
export declare function useAnalytics(): UseAnalyticsReturn;
|
11
|
-
export {};
|