@vrplatform/log 2.0.82 → 2.0.83

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.
@@ -62,8 +62,7 @@ export type TrackingEventProps = {
62
62
  account_signup_code_failed: AccountSignupCodeFailedProps;
63
63
  account_signup_code_completed: AccountSignupCodeCompletedProps;
64
64
  account_signup_completed: AccountSignupCompletedProps;
65
- onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
66
- onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
65
+ onboarding_account_settings_set: OnboardingAccountSettingsSetProps;
67
66
  onboarding_completed: OnboardingCompletedProps;
68
67
  account_signed_out: AccountSignedOutProps;
69
68
  account_signin_completed: AccountSigninCompletedProps;
@@ -188,18 +187,13 @@ type AccountSignupCompletedProps = MaybePartial<{
188
187
  lastName: string;
189
188
  userId: string;
190
189
  }>;
191
- type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
190
+ type OnboardingAccountSettingsSetProps = MaybePartial<{
192
191
  tenantId: string;
193
192
  userId: string;
194
193
  start: Date;
195
194
  country: string;
196
195
  currency: string;
197
196
  }>;
198
- type OnboardingBillingSettingsSetProps = MaybePartial<{
199
- tenantId: string;
200
- userId: string;
201
- paymentMethod: 'card' | 'direct_debit';
202
- }>;
203
197
  type OnboardingCompletedProps = MaybePartial<{
204
198
  tenantId: string;
205
199
  userId: string;
@@ -62,8 +62,7 @@ export type TrackingEventProps = {
62
62
  account_signup_code_failed: AccountSignupCodeFailedProps;
63
63
  account_signup_code_completed: AccountSignupCodeCompletedProps;
64
64
  account_signup_completed: AccountSignupCompletedProps;
65
- onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
66
- onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
65
+ onboarding_account_settings_set: OnboardingAccountSettingsSetProps;
67
66
  onboarding_completed: OnboardingCompletedProps;
68
67
  account_signed_out: AccountSignedOutProps;
69
68
  account_signin_completed: AccountSigninCompletedProps;
@@ -188,18 +187,13 @@ type AccountSignupCompletedProps = MaybePartial<{
188
187
  lastName: string;
189
188
  userId: string;
190
189
  }>;
191
- type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
190
+ type OnboardingAccountSettingsSetProps = MaybePartial<{
192
191
  tenantId: string;
193
192
  userId: string;
194
193
  start: Date;
195
194
  country: string;
196
195
  currency: string;
197
196
  }>;
198
- type OnboardingBillingSettingsSetProps = MaybePartial<{
199
- tenantId: string;
200
- userId: string;
201
- paymentMethod: 'card' | 'direct_debit';
202
- }>;
203
197
  type OnboardingCompletedProps = MaybePartial<{
204
198
  tenantId: string;
205
199
  userId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vrplatform/log",
3
- "version": "2.0.82",
3
+ "version": "2.0.83",
4
4
  "main": "build/main/index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -124,9 +124,9 @@ export type UseTracking = {
124
124
  HASURA_GRAPHQL_ADMIN_SECRET?: string;
125
125
  HASURA_ADMIN_SECRET?: string;
126
126
  MIXPANEL_TOKEN?: string;
127
- MIXPANEL_USER?: string;
128
- MIXPANEL_PASSWORD?: string;
129
- MIXPANEL_PROJECT_ID?: string;
127
+ MIXPANEL_USER?: string; // only needed for track(..., _import = true)
128
+ MIXPANEL_PASSWORD?: string; // only needed for track(..., _import = true)
129
+ MIXPANEL_PROJECT_ID?: string; // only needed for track(..., _import = true)
130
130
  } & LogBindings;
131
131
  debugging?: boolean;
132
132
  };
@@ -78,21 +78,14 @@ export type GroupProps = OptionalUser<{
78
78
  3. account_signup_code_completed
79
79
  4. account_signup_completed
80
80
  5. connection_created
81
- 6. onboarding_owner_statement_settings_set
82
- 7. onboarding_billing_settings_set
81
+ 6. onboarding_account_settings_set
83
82
  8. onboarding_completed
84
- -> First OwnerStatement Funnel starts here!
85
83
  9. hyperline_trial_started
86
- 10. hyperline_invoice_ready
87
- 11. hyperline_invoice_settled
88
- */
89
-
90
- /* First OwnerStatement Funnel
91
- 1. owner_created
92
- 2. ownership_created
93
- 2a. "Setup 1st Listing on Management Commission"???
94
- 2aa. "Add an expense (optional)"???
95
- 3. owner_statement_status_changed
84
+ 10. owner_created
85
+ 11. ownership_created
86
+ 12. page view - owner statement
87
+ 13. hyperline_invoice_ready
88
+ 14. hyperline_invoice_settled
96
89
  */
97
90
 
98
91
  export type TrackingEventProps = {
@@ -103,8 +96,7 @@ export type TrackingEventProps = {
103
96
  account_signup_code_failed: AccountSignupCodeFailedProps;
104
97
  account_signup_code_completed: AccountSignupCodeCompletedProps;
105
98
  account_signup_completed: AccountSignupCompletedProps;
106
- onboarding_owner_statement_settings_set: OnboardingOwnerStatementSettingsSetProps;
107
- onboarding_billing_settings_set: OnboardingBillingSettingsSetProps;
99
+ onboarding_account_settings_set: OnboardingAccountSettingsSetProps;
108
100
  onboarding_completed: OnboardingCompletedProps;
109
101
 
110
102
  // Other Events
@@ -276,7 +268,7 @@ type AccountSignupCompletedProps = MaybePartial<{
276
268
  userId: string;
277
269
  }>;
278
270
 
279
- type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
271
+ type OnboardingAccountSettingsSetProps = MaybePartial<{
280
272
  tenantId: string;
281
273
  userId: string;
282
274
  start: Date;
@@ -284,12 +276,6 @@ type OnboardingOwnerStatementSettingsSetProps = MaybePartial<{
284
276
  currency: string;
285
277
  }>;
286
278
 
287
- type OnboardingBillingSettingsSetProps = MaybePartial<{
288
- tenantId: string;
289
- userId: string;
290
- paymentMethod: 'card' | 'direct_debit';
291
- }>;
292
-
293
279
  type OnboardingCompletedProps = MaybePartial<{
294
280
  tenantId: string;
295
281
  userId: string;