@kiosinc/commons-rn 0.1.58 → 0.1.59
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/lib/commonjs/auth/hooks/useTermsOfService.js +2 -0
- package/lib/commonjs/auth/hooks/useTermsOfService.js.map +1 -1
- package/lib/commonjs/constants/analyticsKeys.js +2 -1
- package/lib/commonjs/constants/analyticsKeys.js.map +1 -1
- package/lib/module/auth/hooks/useTermsOfService.js +2 -0
- package/lib/module/auth/hooks/useTermsOfService.js.map +1 -1
- package/lib/module/constants/analyticsKeys.js +2 -1
- package/lib/module/constants/analyticsKeys.js.map +1 -1
- package/lib/typescript/src/auth/hooks/useTermsOfService.d.ts.map +1 -1
- package/lib/typescript/src/constants/analyticsKeys.d.ts +1 -0
- package/lib/typescript/src/constants/analyticsKeys.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/auth/hooks/useTermsOfService.ts +2 -0
- package/src/constants/analyticsKeys.ts +1 -0
|
@@ -9,6 +9,7 @@ var _firestore = _interopRequireDefault(require("@react-native-firebase/firestor
|
|
|
9
9
|
var _queryKeys = require("../../selectBusiness/queryKeys");
|
|
10
10
|
var _authentication = require("../providers/authentication");
|
|
11
11
|
var _utils = require("../../utils");
|
|
12
|
+
var _analytics = require("../../utils/analytics");
|
|
12
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
14
|
const useTermsOfService = () => {
|
|
14
15
|
const queryClient = (0, _reactQuery.useQueryClient)();
|
|
@@ -58,6 +59,7 @@ const useTermsOfService = () => {
|
|
|
58
59
|
agreementsUpdated: new Date().toISOString()
|
|
59
60
|
});
|
|
60
61
|
}
|
|
62
|
+
_analytics.analytics.track('term_of_service_accepted');
|
|
61
63
|
await queryClient.invalidateQueries([user.uid, _queryKeys.queryKeys.TERMS_AND_CONDITIONS]);
|
|
62
64
|
})
|
|
63
65
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_reactQuery","require","_firestore","_interopRequireDefault","_queryKeys","_authentication","_utils","obj","__esModule","default","useTermsOfService","queryClient","useQueryClient","user","useAuthentication","useTermsOfServiceURL","useQuery","queryKeys","TERMS_AND_CONDITIONS_URL","system","firestore","doc","get","data","url","staleTime","Infinity","useShouldShowTermsOfService","uid","TERMS_AND_CONDITIONS","customerSnapshot","exists","customer","agreementsUpdated","Date","updated","DEFAULT_STALE_TIME","useAgreeTermsOfService","useMutation","query","update","getCurrentTimestamp","toISOString","set","created","invalidateQueries","exports"],"sourceRoot":"../../../../src","sources":["auth/hooks/useTermsOfService.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAkD,SAAAE,
|
|
1
|
+
{"version":3,"names":["_reactQuery","require","_firestore","_interopRequireDefault","_queryKeys","_authentication","_utils","_analytics","obj","__esModule","default","useTermsOfService","queryClient","useQueryClient","user","useAuthentication","useTermsOfServiceURL","useQuery","queryKeys","TERMS_AND_CONDITIONS_URL","system","firestore","doc","get","data","url","staleTime","Infinity","useShouldShowTermsOfService","uid","TERMS_AND_CONDITIONS","customerSnapshot","exists","customer","agreementsUpdated","Date","updated","DEFAULT_STALE_TIME","useAgreeTermsOfService","useMutation","query","update","getCurrentTimestamp","toISOString","set","created","analytics","track","invalidateQueries","exports"],"sourceRoot":"../../../../src","sources":["auth/hooks/useTermsOfService.ts"],"mappings":";;;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAC,sBAAA,CAAAF,OAAA;AACA,IAAAG,UAAA,GAAAH,OAAA;AACA,IAAAI,eAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AAAkD,SAAAE,uBAA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@ -13,6 +13,7 @@ const analyticsKeys = exports.analyticsKeys = {
|
|
|
13
13
|
resetPasswordStarted: 'reset_password_started',
|
|
14
14
|
resetPasswordCompleted: 'reset_password_completed',
|
|
15
15
|
registrationDate: 'registration_date',
|
|
16
|
-
app: 'app'
|
|
16
|
+
app: 'app',
|
|
17
|
+
term_of_service_accepted: 'term_of_service_accepted'
|
|
17
18
|
};
|
|
18
19
|
//# sourceMappingURL=analyticsKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["analyticsKeys","exports","loginCompleted","signupCompleted","signupStarted","forgotPassword","resetPasswordStarted","resetPasswordCompleted","registrationDate","app"],"sourceRoot":"../../../src","sources":["constants/analyticsKeys.ts"],"mappings":";;;;;;AAAO,MAAMA,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG;EAC3B;EACAE,cAAc,EAAE,iBAAiB;EACjCC,eAAe,EAAE,mBAAmB;EACpCC,aAAa,EAAE,iBAAiB;EAChCC,cAAc,EAAE,iBAAiB;EACjCC,oBAAoB,EAAE,wBAAwB;EAC9CC,sBAAsB,EAAE,0BAA0B;EAClDC,gBAAgB,EAAE,mBAAmB;EACrCC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"names":["analyticsKeys","exports","loginCompleted","signupCompleted","signupStarted","forgotPassword","resetPasswordStarted","resetPasswordCompleted","registrationDate","app","term_of_service_accepted"],"sourceRoot":"../../../src","sources":["constants/analyticsKeys.ts"],"mappings":";;;;;;AAAO,MAAMA,aAAa,GAAAC,OAAA,CAAAD,aAAA,GAAG;EAC3B;EACAE,cAAc,EAAE,iBAAiB;EACjCC,eAAe,EAAE,mBAAmB;EACpCC,aAAa,EAAE,iBAAiB;EAChCC,cAAc,EAAE,iBAAiB;EACjCC,oBAAoB,EAAE,wBAAwB;EAC9CC,sBAAsB,EAAE,0BAA0B;EAClDC,gBAAgB,EAAE,mBAAmB;EACrCC,GAAG,EAAE,KAAK;EACVC,wBAAwB,EAAE;AAC5B,CAAC"}
|
|
@@ -3,6 +3,7 @@ import firestore from '@react-native-firebase/firestore';
|
|
|
3
3
|
import { DEFAULT_STALE_TIME, queryKeys } from '../../selectBusiness/queryKeys';
|
|
4
4
|
import { useAuthentication } from '../providers/authentication';
|
|
5
5
|
import { getCurrentTimestamp } from '../../utils';
|
|
6
|
+
import { analytics } from '../../utils/analytics';
|
|
6
7
|
export const useTermsOfService = () => {
|
|
7
8
|
const queryClient = useQueryClient();
|
|
8
9
|
const {
|
|
@@ -51,6 +52,7 @@ export const useTermsOfService = () => {
|
|
|
51
52
|
agreementsUpdated: new Date().toISOString()
|
|
52
53
|
});
|
|
53
54
|
}
|
|
55
|
+
analytics.track('term_of_service_accepted');
|
|
54
56
|
await queryClient.invalidateQueries([user.uid, queryKeys.TERMS_AND_CONDITIONS]);
|
|
55
57
|
})
|
|
56
58
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["useMutation","useQuery","useQueryClient","firestore","DEFAULT_STALE_TIME","queryKeys","useAuthentication","getCurrentTimestamp","useTermsOfService","queryClient","user","useTermsOfServiceURL","TERMS_AND_CONDITIONS_URL","system","doc","get","data","url","staleTime","Infinity","useShouldShowTermsOfService","uid","TERMS_AND_CONDITIONS","customerSnapshot","exists","customer","agreementsUpdated","Date","updated","useAgreeTermsOfService","query","update","toISOString","set","created","invalidateQueries"],"sourceRoot":"../../../../src","sources":["auth/hooks/useTermsOfService.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,EAAEC,cAAc,QAAQ,uBAAuB;AAC7E,OAAOC,SAAS,MAAM,kCAAkC;AACxD,SAASC,kBAAkB,EAAEC,SAAS,QAAQ,gCAAgC;AAC9E,SAASC,iBAAiB,QAAQ,6BAA6B;AAC/D,SAASC,mBAAmB,QAAQ,aAAa;AAEjD,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAMC,WAAW,
|
|
1
|
+
{"version":3,"names":["useMutation","useQuery","useQueryClient","firestore","DEFAULT_STALE_TIME","queryKeys","useAuthentication","getCurrentTimestamp","analytics","useTermsOfService","queryClient","user","useTermsOfServiceURL","TERMS_AND_CONDITIONS_URL","system","doc","get","data","url","staleTime","Infinity","useShouldShowTermsOfService","uid","TERMS_AND_CONDITIONS","customerSnapshot","exists","customer","agreementsUpdated","Date","updated","useAgreeTermsOfService","query","update","toISOString","set","created","track","invalidateQueries"],"sourceRoot":"../../../../src","sources":["auth/hooks/useTermsOfService.ts"],"mappings":"AAAA,SAASA,WAAW,EAAEC,QAAQ,EAAEC,cAAc,QAAQ,uBAAuB;AAC7E,OAAOC,SAAS,MAAM,kCAAkC;AACxD,SAASC,kBAAkB,EAAEC,SAAS,QAAQ,gCAAgC;AAC9E,SAASC,iBAAiB,QAAQ,6BAA6B;AAC/D,SAASC,mBAAmB,QAAQ,aAAa;AACjD,SAASC,SAAS,QAAQ,uBAAuB;AAEjD,OAAO,MAAMC,iBAAiB,GAAGA,CAAA,KAAM;EACrC,MAAMC,WAAW,GAAGR,cAAc,CAAC,CAAC;EACpC,MAAM;IAAES;EAAK,CAAC,GAAGL,iBAAiB,CAAC,CAAC;EAEpC,OAAO;IACLM,oBAAoB,EAAEA,CAAA,KACpBX,QAAQ,CACN,CAACI,SAAS,CAACQ,wBAAwB,CAAC,EACpC,YAAY;MACV,MAAMC,MAAM,GAAG,CACb,MAAMX,SAAS,CAAC,CAAC,CAACY,GAAG,CAAC,2BAA2B,CAAC,CAACC,GAAG,CAAC,CAAC,EACxDC,IAAI,CAAC,CAAqC;MAE5C,OAAOH,MAAM,CAACI,GAAG;IACnB,CAAC,EACD;MACEC,SAAS,EAAEC;IACb,CACF,CAAC;IACHC,2BAA2B,EAAEA,CAAA,KAC3BpB,QAAQ,CACN,CAACU,IAAI,EAAEW,GAAG,EAAEjB,SAAS,CAACkB,oBAAoB,CAAC,EAC3C,YAAY;MACV,IAAI,CAACZ,IAAI,EAAEW,GAAG,EAAE,OAAO,KAAK;MAC5B,MAAME,gBAAgB,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AAEX,IAAI,CAACW,GAAG;UACba,OAAO,EAAE5B,mBAAmB,CAAC,CAAC;UAC9BoB,iBAAiB,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACK,WAAW,CAAC;QAC5C,CAAC,CAAC;MACJ;MACAzB,SAAS,CAAC4B,KAAK,CAAC,0BAA0B,CAAC;MAC3C,MAAM1B,WAAW,CAAC2B,iBAAiB,CAAC,CAClC1B,IAAI,CAACW,GAAG,EACRjB,SAAS,CAACkB,oBAAoB,CAC/B,CAAC;IACJ,CAAC;EACL,CAAC;AACH,CAAC"}
|
|
@@ -7,6 +7,7 @@ export const analyticsKeys = {
|
|
|
7
7
|
resetPasswordStarted: 'reset_password_started',
|
|
8
8
|
resetPasswordCompleted: 'reset_password_completed',
|
|
9
9
|
registrationDate: 'registration_date',
|
|
10
|
-
app: 'app'
|
|
10
|
+
app: 'app',
|
|
11
|
+
term_of_service_accepted: 'term_of_service_accepted'
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=analyticsKeys.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["analyticsKeys","loginCompleted","signupCompleted","signupStarted","forgotPassword","resetPasswordStarted","resetPasswordCompleted","registrationDate","app"],"sourceRoot":"../../../src","sources":["constants/analyticsKeys.ts"],"mappings":"AAAA,OAAO,MAAMA,aAAa,GAAG;EAC3B;EACAC,cAAc,EAAE,iBAAiB;EACjCC,eAAe,EAAE,mBAAmB;EACpCC,aAAa,EAAE,iBAAiB;EAChCC,cAAc,EAAE,iBAAiB;EACjCC,oBAAoB,EAAE,wBAAwB;EAC9CC,sBAAsB,EAAE,0BAA0B;EAClDC,gBAAgB,EAAE,mBAAmB;EACrCC,GAAG,EAAE;
|
|
1
|
+
{"version":3,"names":["analyticsKeys","loginCompleted","signupCompleted","signupStarted","forgotPassword","resetPasswordStarted","resetPasswordCompleted","registrationDate","app","term_of_service_accepted"],"sourceRoot":"../../../src","sources":["constants/analyticsKeys.ts"],"mappings":"AAAA,OAAO,MAAMA,aAAa,GAAG;EAC3B;EACAC,cAAc,EAAE,iBAAiB;EACjCC,eAAe,EAAE,mBAAmB;EACpCC,aAAa,EAAE,iBAAiB;EAChCC,cAAc,EAAE,iBAAiB;EACjCC,oBAAoB,EAAE,wBAAwB;EAC9CC,sBAAsB,EAAE,0BAA0B;EAClDC,gBAAgB,EAAE,mBAAmB;EACrCC,GAAG,EAAE,KAAK;EACVC,wBAAwB,EAAE;AAC5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTermsOfService.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useTermsOfService.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useTermsOfService.d.ts","sourceRoot":"","sources":["../../../../../src/auth/hooks/useTermsOfService.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,iBAAiB;;;;CA8E7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyticsKeys.d.ts","sourceRoot":"","sources":["../../../../src/constants/analyticsKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"analyticsKeys.d.ts","sourceRoot":"","sources":["../../../../src/constants/analyticsKeys.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,aAAa;;;;;;;;;;CAWzB,CAAC"}
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import firestore from '@react-native-firebase/firestore';
|
|
|
3
3
|
import { DEFAULT_STALE_TIME, queryKeys } from '../../selectBusiness/queryKeys';
|
|
4
4
|
import { useAuthentication } from '../providers/authentication';
|
|
5
5
|
import { getCurrentTimestamp } from '../../utils';
|
|
6
|
+
import { analytics } from '../../utils/analytics';
|
|
6
7
|
|
|
7
8
|
export const useTermsOfService = () => {
|
|
8
9
|
const queryClient = useQueryClient();
|
|
@@ -75,6 +76,7 @@ export const useTermsOfService = () => {
|
|
|
75
76
|
agreementsUpdated: new Date().toISOString(),
|
|
76
77
|
});
|
|
77
78
|
}
|
|
79
|
+
analytics.track('term_of_service_accepted');
|
|
78
80
|
await queryClient.invalidateQueries([
|
|
79
81
|
user.uid,
|
|
80
82
|
queryKeys.TERMS_AND_CONDITIONS,
|