Skip to content

Commit

Permalink
Revert "refactor(typescript): migrate mtdFraudPrevention to TypeScript (
Browse files Browse the repository at this point in the history
#185)" (#186)

This reverts commit 716f029.
  • Loading branch information
skodamarthi authored Oct 31, 2022
1 parent 716f029 commit 618f6bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/common/browserInfoHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const resetDeviceIpTimeStamp = () => {
* @returns {Promise} Promise to get users devices IP address
*/
export const getDeviceLocalIPAsString = (): Promise<
typeof deviceIpData
typeof deviceIpData | {message: string; error: unknown | undefined}
> => {
return new Promise((resolve, reject) => {
if (deviceIpData.deviceIpString !== '' && deviceIpData.deviceIpTimeStamp !== '') {
Expand Down
File renamed without changes.

0 comments on commit 618f6bf

Please sign in to comment.