apps-sdk 1.1.10 → 1.1.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apps-sdk",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "Apps SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -222,7 +222,7 @@ class PayWall extends React.Component {
222
222
  switch(true) {
223
223
  case data.eventName === 'on_boarding' && data.eventValue.toString().substring(0, 4) === 'step':
224
224
  const stepNumber = data.eventValue.toString().substring(4);
225
- MixPanel.trackEvent('Onboarding Screen Viewed', {
225
+ MixPanel.trackEvent('Onboarding Screen Steps', {
226
226
  "onboarding_id": config.PAYWALL_DATA.others.on_boarding.dsn_id.toString(),
227
227
  "onboarding_total_steps": 4,
228
228
  "onboarding_step": stepNumber,
@@ -92,6 +92,7 @@ class PayWallLogic {
92
92
  });
93
93
  if (data.subs_id) {
94
94
  Mixpanel.identifyUser(data.subs_id);
95
+ console.log('SDK purchaseUpdatedListener Mixpanel identifyUser', data.subs_id);
95
96
  } else {
96
97
  console.log('No subs_id in purchaseResp');
97
98
  }