@ledgerhq/connect-kit 1.1.10 → 1.1.12

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/connect-kit",
3
- "version": "1.1.10",
3
+ "version": "1.1.12",
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,7 +53,6 @@
53
53
  "typescript": "^4.7.3"
54
54
  },
55
55
  "dependencies": {
56
- "@segment/analytics-next": "1.63.0",
57
56
  "rollup-plugin-dotenv": "0.5.0",
58
57
  "uuid": "9.0.1"
59
58
  }
@@ -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 {};