@saasquatch/squatch-js 2.3.1-5 → 2.3.1-6

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.
@@ -1,6 +1,6 @@
1
1
  export default {
2
2
  template:
3
- '<!DOCTYPE html>\n<html>\n <head>\n <script type="text/javascript">\n window.widgetIdent = {"programId":"two-goal-program","userId":"testestest","accountId":"testestest","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoidGVzdGVzdGVzdCIsImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJlbWFpbCI6ImppbWJvQHRlc3QuY2EifX0.g_54aEQqbp5o_z0ZjmDtEMTkmm0qtWcTW-YkX67LWkM","tenantAlias":"test_a8b41jotf8a1v","engagementMedium":"EMBED","appDomain":"https://staging.referralsaasquatch.com"};\n </script>\n \n <script src="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components@1.2.2/dist/widget-components/entrypoint.js"></script>\n \n <link rel="stylesheet" type="text/css" href="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components-assets@0.0.12/icons.css">\n \n \n <script src="https://fast-staging.ssqt.io/npm/@elastic/apm-rum@4.0.1/dist/bundles/elastic-apm-rum.umd.min.js" crossorigin></script>\n <script>\n window.apm = elasticApm.init({\n serviceName: \'programwidget-staging\',\n serverUrl: \'https://1c9081d2ac2d43548254f581dca2dbee.apm.us-central1.gcp.cloud.es.io:443\',\n active: Math.random() < 0.1\n })\n </script>\n \n </head>\n <body>\n <sqh-text-component sqhbanner="true" ishidden="true" ismarkdown="false" background="https://res.cloudinary.com/saasquatch/image/upload/v1535746336/prod_default_assets/default_banner.jpg" height="auto" paddingtop="150" paddingbottom="150" text="" color="#000000"></sqh-text-component><sqh-text-component sqhheader="true" ishidden="false" ismarkdown="false" text="Give $10 and Get $10!" color="#4486E1" fontsize="30" textalign="center" paddingtop="30" paddingbottom="10"></sqh-text-component><sqh-text-component sqhbody="true" ishidden="false" ismarkdown="true" text="Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**" color="#000000" fontsize="13" textalign="center" paddingtop="5" paddingbottom="20"></sqh-text-component><sqh-copy-link-button ishidden="false" copysuccess="copied!" copyfailure="Press Ctrl+C to copy" text="Copy" buttoncolor="#5C6164" textcolor="#FFFFFF"></sqh-copy-link-button><sqh-share-button-container ishidden="false" emaildisplayrule="mobile-and-desktop" emailtext="Email" emailtextcolor="#ffffff" emailbackgroundcolor="#4b4d50" facebookdisplayrule="mobile-and-desktop" facebooktext="Facebook" facebooktextcolor="#ffffff" facebookbackgroundcolor="#234079" twitterdisplayrule="mobile-and-desktop" twittertext="Twitter" twittertextcolor="#ffffff" twitterbackgroundcolor="#4797d2" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="Whatspp" whatsapptextcolor="#ffffff" whatsappbackgroundcolor="#25D366" linkedindisplayrule="hidden" linkedintext="LinkedIn" linkedintextcolor="#ffffff" linkedinbackgroundcolor="#0084b9" pinterestdisplayrule="hidden" pinteresttext="Pinterest" pinteresttextcolor="#ffffff" pinterestbackgroundcolor="#cb2027" messengerdisplayrule="hidden" messengertext="Messenger" messengertextcolor="#ffffff" messengerbackgroundcolor="#0084ff" linedisplayrule="mobile-only" linetext="Line Messenger" linetextcolor="#ffffff" linebackgroundcolor="#00c300"></sqh-share-button-container><sqh-text-component sqhreferralsheader="true" ismarkdown="true" ishidden="false" text="**Rewards Dashboard**" color="#000000" fontsize="13" textalign="center" paddingtop="20" paddingbottom="10"></sqh-text-component><sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container><sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list><sqh-text-component sqhfooter="true" ishidden="false" ismarkdown="false" text="Terms and Conditions" color="lightgray" fontsize="13" textalign="center" paddingtop="10" paddingbottom="10"></sqh-text-component>\n </body>\n</html>\n',
3
+ '<!DOCTYPE html><html> <head> <script type="text/javascript"> window.widgetIdent = {"programId":"two-goal-program","userId":"testestest","accountId":"testestest","token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjp7ImlkIjoidGVzdGVzdGVzdCIsImFjY291bnRJZCI6InRlc3Rlc3Rlc3QiLCJlbWFpbCI6ImppbWJvQHRlc3QuY2EifX0.g_54aEQqbp5o_z0ZjmDtEMTkmm0qtWcTW-YkX67LWkM","tenantAlias":"test_a8b41jotf8a1v","engagementMedium":"EMBED","appDomain":"https://staging.referralsaasquatch.com"}; </script> <script src="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components@1.2.2/dist/widget-components/entrypoint.js"></script> <link rel="stylesheet" type="text/css" href="https://fast-staging.ssqt.io/npm/@saasquatch/vanilla-components-assets@0.0.12/icons.css"> <script src="https://fast-staging.ssqt.io/npm/@elastic/apm-rum@4.0.1/dist/bundles/elastic-apm-rum.umd.min.js" crossorigin></script> <script> window.apm = elasticApm.init({ serviceName: \'programwidget-staging\', serverUrl: \'https://1c9081d2ac2d43548254f581dca2dbee.apm.us-central1.gcp.cloud.es.io:443\', active: Math.random() < 0.1 }) </script> </head> <body> <sqh-text-component sqhbanner="true" ishidden="true" ismarkdown="false" background="https://res.cloudinary.com/saasquatch/image/upload/v1535746336/prod_default_assets/default_banner.jpg" height="auto" paddingtop="150" paddingbottom="150" text="" color="#000000"></sqh-text-component><sqh-text-component sqhheader="true" ishidden="false" ismarkdown="false" text="Give $10 and Get $10!" color="#4486E1" fontsize="30" textalign="center" paddingtop="30" paddingbottom="10"></sqh-text-component><sqh-text-component sqhbody="true" ishidden="false" ismarkdown="true" text="Give a friend a $10 and receive $10 for yourself when they purchase.<br/><br/>Share the link below or use the code **<sqh-referral-code />**" color="#000000" fontsize="13" textalign="center" paddingtop="5" paddingbottom="20"></sqh-text-component><sqh-copy-link-button ishidden="false" copysuccess="copied!" copyfailure="Press Ctrl+C to copy" text="Copy" buttoncolor="#5C6164" textcolor="#FFFFFF"></sqh-copy-link-button><sqh-share-button-container ishidden="false" emaildisplayrule="mobile-and-desktop" emailtext="Email" emailtextcolor="#ffffff" emailbackgroundcolor="#4b4d50" facebookdisplayrule="mobile-and-desktop" facebooktext="Facebook" facebooktextcolor="#ffffff" facebookbackgroundcolor="#234079" twitterdisplayrule="mobile-and-desktop" twittertext="Twitter" twittertextcolor="#ffffff" twitterbackgroundcolor="#4797d2" smsdisplayrule="mobile-only" smstext="SMS" smstextcolor="#ffffff" smsbackgroundcolor="#7bbf38" whatsappdisplayrule="mobile-only" whatsapptext="Whatspp" whatsapptextcolor="#ffffff" whatsappbackgroundcolor="#25D366" linkedindisplayrule="hidden" linkedintext="LinkedIn" linkedintextcolor="#ffffff" linkedinbackgroundcolor="#0084b9" pinterestdisplayrule="hidden" pinteresttext="Pinterest" pinteresttextcolor="#ffffff" pinterestbackgroundcolor="#cb2027" messengerdisplayrule="hidden" messengertext="Messenger" messengertextcolor="#ffffff" messengerbackgroundcolor="#0084ff" linedisplayrule="mobile-only" linetext="Line Messenger" linetextcolor="#ffffff" linebackgroundcolor="#00c300"></sqh-share-button-container><sqh-text-component sqhreferralsheader="true" ismarkdown="true" ishidden="false" text="**Rewards Dashboard**" color="#000000" fontsize="13" textalign="center" paddingtop="20" paddingbottom="10"></sqh-text-component><sqh-stats-container ishidden="false" paddingtop="0" paddingbottom="0"><sqh-stat-component ishidden="false" statcolor="#4caf50" stattype="/referralsCount" statdescription="Friends Referred" paddingtop="10" paddingbottom="10"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardsCount" statdescription="Total Rewards" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component><sqh-stat-component ishidden="false" stattype="/rewardBalance/CREDIT/CENTS/prettyAssignedCredit" statdescription="Credit earned" paddingtop="10" paddingbottom="10" statcolor="#000000"></sqh-stat-component></sqh-stats-container><sqh-referral-list ishidden="false" showreferrer="true" usefirstreward="false" referralnamecolor="darkslategray" referraltextcolor="lightgray" rewardcolor="#4BB543" pendingcolor="lightgray" pendingvalue="Reward Pending" referrervalue="Referred" referrercontent="Referred you {date}" convertedcontent="Signed up, referred {date}" pendingcontent="Trial user, referred {date}" pendingvalue="Referral pending" valuecontent="and {extrarewards} more {extrarewards, plural, one {reward} other {rewards}}" expiredcolor="lightgray" expiredvalue="Expired Reward" expiredcontent="Signed up, referred {date}" cancelledcolor="#C81D05" cancelledvalue="Cancelled Reward" cancelledcontent="Signed up, referred {date}" paginatemore="View More" paginateless="Previous" noreferralsyet="No Referrals Yet..." unknownuser="Your Friend"></sqh-referral-list><sqh-text-component sqhfooter="true" ishidden="false" ismarkdown="false" text="Terms and Conditions" color="lightgray" fontsize="13" textalign="center" paddingtop="10" paddingbottom="10"></sqh-text-component> </body></html>',
4
4
  jsOptions: {},
5
5
  user: {
6
6
  id: "testestest",