@leather.io/analytics 3.6.2 → 3.7.1
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.d.ts +46 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -31,6 +31,50 @@ interface Events extends HistoricalEvents {
|
|
|
31
31
|
in_app_browser_opened: {
|
|
32
32
|
url: string;
|
|
33
33
|
};
|
|
34
|
+
add_wallet_sheet_opened: {
|
|
35
|
+
source: 'action_bar' | 'add_account_sheet';
|
|
36
|
+
};
|
|
37
|
+
send_sheet_opened: {
|
|
38
|
+
source: 'action_bar';
|
|
39
|
+
};
|
|
40
|
+
send_sheet_dismissed: undefined;
|
|
41
|
+
receive_sheet_opened: {
|
|
42
|
+
source: 'action_bar';
|
|
43
|
+
};
|
|
44
|
+
receive_sheet_dismissed: undefined;
|
|
45
|
+
browser_sheet_opened: {
|
|
46
|
+
source: 'action_bar';
|
|
47
|
+
};
|
|
48
|
+
send_asset_selected: {
|
|
49
|
+
asset: string;
|
|
50
|
+
};
|
|
51
|
+
send_account_selected: undefined;
|
|
52
|
+
send_back_button_pressed: {
|
|
53
|
+
screen: string;
|
|
54
|
+
};
|
|
55
|
+
send_inline_asset_picker_opened: undefined;
|
|
56
|
+
send_max_selected: undefined;
|
|
57
|
+
send_amount_entered: {
|
|
58
|
+
amount: string;
|
|
59
|
+
};
|
|
60
|
+
send_recipient_sheet_opened: undefined;
|
|
61
|
+
send_recipient_selected: {
|
|
62
|
+
type: 'internal' | 'external';
|
|
63
|
+
};
|
|
64
|
+
send_qr_scanner_opened: {
|
|
65
|
+
source: 'toggle' | 'input';
|
|
66
|
+
};
|
|
67
|
+
send_transaction_review_initiated: {
|
|
68
|
+
asset: string;
|
|
69
|
+
amount: number;
|
|
70
|
+
};
|
|
71
|
+
receive_address_copied: {
|
|
72
|
+
asset: string;
|
|
73
|
+
location: string;
|
|
74
|
+
};
|
|
75
|
+
receive_share_button_pressed: {
|
|
76
|
+
asset: string;
|
|
77
|
+
};
|
|
34
78
|
}
|
|
35
79
|
interface HistoricalEvents {
|
|
36
80
|
add_network: undefined;
|
|
@@ -205,6 +249,8 @@ type UserSettingValue = {
|
|
|
205
249
|
email_address: string;
|
|
206
250
|
} | {
|
|
207
251
|
fiat_currency: string;
|
|
252
|
+
} | {
|
|
253
|
+
quote_currency: string;
|
|
208
254
|
} | {
|
|
209
255
|
network: DefaultNetworkConfigurations;
|
|
210
256
|
} | {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@leather.io/analytics",
|
|
3
3
|
"author": "Leather.io contact@leather.io",
|
|
4
4
|
"description": "Analytics package for Leather using Segment",
|
|
5
|
-
"version": "3.
|
|
5
|
+
"version": "3.7.1",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/leather.io/mono/tree/dev/packages/analytics",
|
|
8
8
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"tsup": "8.4.0",
|
|
26
26
|
"typescript": "5.8.3",
|
|
27
27
|
"vitest": "2.1.9",
|
|
28
|
-
"@leather.io/models": "0.
|
|
28
|
+
"@leather.io/models": "0.35.0"
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist"
|