@authme/util 2.2.1-rc.1 → 2.2.1-rc.3

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.
Files changed (74) hide show
  1. package/index.cjs +1717 -0
  2. package/index.js +1678 -0
  3. package/package.json +7 -6
  4. package/src/index.d.ts +3 -2
  5. package/src/lib/authme-error.d.ts +29 -27
  6. package/src/lib/authme-log.d.ts +1 -1
  7. package/src/lib/common/index.d.ts +7 -7
  8. package/src/lib/enum/index.d.ts +1 -1
  9. package/src/lib/enum/timeUnit.enum.d.ts +5 -5
  10. package/src/lib/shared-util.d.ts +5 -5
  11. package/src/lib/storage/index.d.ts +1 -1
  12. package/src/lib/storage/storage.d.ts +11 -11
  13. package/src/lib/version.d.ts +1 -0
  14. package/src/ui/camera.d.ts +35 -35
  15. package/src/ui/canvas/clear-canvas.d.ts +1 -1
  16. package/src/ui/canvas/get-canvas-size.d.ts +19 -19
  17. package/src/ui/canvas/index.d.ts +3 -3
  18. package/src/ui/canvas/video-to-image.d.ts +14 -14
  19. package/src/ui/element-style.d.ts +2 -2
  20. package/src/ui/error-message.d.ts +5 -5
  21. package/src/ui/icon.d.ts +3 -3
  22. package/src/ui/index.d.ts +8 -8
  23. package/src/ui/popup.d.ts +3 -3
  24. package/src/ui/sdk-loading.d.ts +2 -2
  25. package/src/ui/spinner.d.ts +2 -2
  26. package/src/ui/ui-lottie/index.d.ts +1 -1
  27. package/src/ui/ui-lottie/sdk_loading.d.ts +239 -239
  28. package/CHANGELOG.md +0 -388
  29. package/src/index.js +0 -6
  30. package/src/index.js.map +0 -1
  31. package/src/lib/authme-error.js +0 -49
  32. package/src/lib/authme-error.js.map +0 -1
  33. package/src/lib/authme-log.js +0 -10
  34. package/src/lib/authme-log.js.map +0 -1
  35. package/src/lib/common/index.js +0 -93
  36. package/src/lib/common/index.js.map +0 -1
  37. package/src/lib/enum/index.js +0 -5
  38. package/src/lib/enum/index.js.map +0 -1
  39. package/src/lib/enum/timeUnit.enum.js +0 -10
  40. package/src/lib/enum/timeUnit.enum.js.map +0 -1
  41. package/src/lib/shared-util.js +0 -9
  42. package/src/lib/shared-util.js.map +0 -1
  43. package/src/lib/storage/index.js +0 -5
  44. package/src/lib/storage/index.js.map +0 -1
  45. package/src/lib/storage/storage.js +0 -26
  46. package/src/lib/storage/storage.js.map +0 -1
  47. package/src/ui/camera.js +0 -208
  48. package/src/ui/camera.js.map +0 -1
  49. package/src/ui/canvas/clear-canvas.js +0 -9
  50. package/src/ui/canvas/clear-canvas.js.map +0 -1
  51. package/src/ui/canvas/get-canvas-size.js +0 -85
  52. package/src/ui/canvas/get-canvas-size.js.map +0 -1
  53. package/src/ui/canvas/index.js +0 -7
  54. package/src/ui/canvas/index.js.map +0 -1
  55. package/src/ui/canvas/video-to-image.js +0 -27
  56. package/src/ui/canvas/video-to-image.js.map +0 -1
  57. package/src/ui/element-style.js +0 -14
  58. package/src/ui/element-style.js.map +0 -1
  59. package/src/ui/error-message.js +0 -80
  60. package/src/ui/error-message.js.map +0 -1
  61. package/src/ui/icon.js +0 -8
  62. package/src/ui/icon.js.map +0 -1
  63. package/src/ui/index.js +0 -12
  64. package/src/ui/index.js.map +0 -1
  65. package/src/ui/popup.js +0 -58
  66. package/src/ui/popup.js.map +0 -1
  67. package/src/ui/sdk-loading.js +0 -33
  68. package/src/ui/sdk-loading.js.map +0 -1
  69. package/src/ui/spinner.js +0 -28
  70. package/src/ui/spinner.js.map +0 -1
  71. package/src/ui/ui-lottie/index.js +0 -5
  72. package/src/ui/ui-lottie/index.js.map +0 -1
  73. package/src/ui/ui-lottie/sdk_loading.js +0 -971
  74. package/src/ui/ui-lottie/sdk_loading.js.map +0 -1
package/CHANGELOG.md DELETED
@@ -1,388 +0,0 @@
1
- # Changelog
2
-
3
- This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
-
5
- ## [2.2.1-rc.1](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.1-rc.0...v2.2.1-rc.1) (2022-12-28)
6
-
7
- ### Features
8
-
9
- - 1. orc mod implement timeout 2. implement TIME_UNIT enum ([90197c5](https://github.com/AuthMe01/web-client-sdk/commit/90197c5ae1243bfbe27c4136a70576a55157204a))
10
-
11
- ### Bug Fixes
12
-
13
- - camera error handler consistency ([f3e4aa5](https://github.com/AuthMe01/web-client-sdk/commit/f3e4aa54874bf2fa4dc00963222505d78c2a3abf))
14
-
15
- ## [2.2.1-rc.0](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0...v2.2.1-rc.0) (2022-12-22)
16
-
17
- ## [2.2.0](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.13...v2.2.0) (2022-12-19)
18
-
19
- ## [2.2.0-rc.13](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.12...v2.2.0-rc.13) (2022-12-19)
20
-
21
- ### Bug Fixes
22
-
23
- - 1.close btn add stop sdk method. 2.implement loading-sdk lottie. 3.delete vehicles license item ([83738bd](https://github.com/AuthMe01/web-client-sdk/commit/83738bd1630c539157222bc7a909962cc65696ae))
24
-
25
- ## [2.2.0-rc.12](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.11...v2.2.0-rc.12) (2022-12-16)
26
-
27
- ## [2.2.0-rc.11](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.10...v2.2.0-rc.11) (2022-12-16)
28
-
29
- ### Bug Fixes
30
-
31
- - camera facingMode problem in webview / firefox ([994be4c](https://github.com/AuthMe01/web-client-sdk/commit/994be4c1ccc8267ed437253dfe35c9adacd2a142))
32
-
33
- ## [2.2.0-rc.10](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.9...v2.2.0-rc.10) (2022-12-15)
34
-
35
- ### Bug Fixes
36
-
37
- - waitTime problem ([5805979](https://github.com/AuthMe01/web-client-sdk/commit/5805979180cc009e0c82bba2b2094e70db6bf1bf))
38
-
39
- ## [2.2.0-rc.9](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.8...v2.2.0-rc.9) (2022-12-09)
40
-
41
- ## [2.2.0-rc.8](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.7...v2.2.0-rc.8) (2022-12-07)
42
-
43
- ## [2.2.0-rc.7](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.6...v2.2.0-rc.7) (2022-12-07)
44
-
45
- ## [2.2.0-rc.6](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.5...v2.2.0-rc.6) (2022-12-05)
46
-
47
- ## [2.2.0-rc.5](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.4...v2.2.0-rc.5) (2022-12-03)
48
-
49
- ## [2.2.0-rc.4](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.3...v2.2.0-rc.4) (2022-12-01)
50
-
51
- ## [2.2.0-rc.3](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.2...v2.2.0-rc.3) (2022-11-30)
52
-
53
- ### Bug Fixes
54
-
55
- - camera resolution constraints problem ([fa364c9](https://github.com/AuthMe01/web-client-sdk/commit/fa364c9c542bbcf154abe5a0d8d8531d25cab46a))
56
- - camera sorting priority ([e6dec04](https://github.com/AuthMe01/web-client-sdk/commit/e6dec04b7980af7dd5ed31523bf63c97d3eb27f8))
57
-
58
- ## [2.2.0-rc.2](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.1...v2.2.0-rc.2) (2022-11-28)
59
-
60
- ## [2.2.0-rc.1](https://github.com/AuthMe01/web-client-sdk/compare/v2.2.0-rc.0...v2.2.0-rc.1) (2022-11-18)
61
-
62
- ### Features
63
-
64
- - auto detect camera & fix SAMSUNG camera issue ([15c7153](https://github.com/AuthMe01/web-client-sdk/commit/15c7153ff539289aff445210e952f0cf2671f671))
65
-
66
- ## [2.2.0-rc.0](https://github.com/AuthMe01/web-client-sdk/compare/v2.1.1...v2.2.0-rc.0) (2022-11-11)
67
-
68
- ### Features
69
-
70
- - PROD-1847 add devices console ([0aa5a48](https://github.com/AuthMe01/web-client-sdk/commit/0aa5a48247a5614d6a5afc273558d4eebe6a53f1))
71
- - PROD-1847 camera focusMode ([a5baa6a](https://github.com/AuthMe01/web-client-sdk/commit/a5baa6a6023b6d102cb60deb539faa493e7f5f91))
72
- - PROD-1847 check samsung and change back camera ([7c15141](https://github.com/AuthMe01/web-client-sdk/commit/7c151415a5e4ec6f7e2de91eddf7170462951342))
73
- - PROD-1847 get last backCamera ([391b1ed](https://github.com/AuthMe01/web-client-sdk/commit/391b1ed84723ed90ff0eb991a0edddbbd6d6c494))
74
- - PROD-1847 show console ([dc4815d](https://github.com/AuthMe01/web-client-sdk/commit/dc4815d297bb3101f3547c7a40764ec2a9d473a1))
75
- - PROD-1847 specify samsung camera ([959c537](https://github.com/AuthMe01/web-client-sdk/commit/959c537bb51a2fe2bbff91d1b7484f264e4a8bdc))
76
-
77
- ### Bug Fixes
78
-
79
- - PROD-1847 change focus mode ([264ad54](https://github.com/AuthMe01/web-client-sdk/commit/264ad54f31e77cf7777c284a112f039981a4b985))
80
- - PROD-1847 change focus mode ([acdf2bb](https://github.com/AuthMe01/web-client-sdk/commit/acdf2bb0729df196a2d36324af043b3583f131c3))
81
- - PROD-1847 focus distance value ([736fa9c](https://github.com/AuthMe01/web-client-sdk/commit/736fa9c02aca11e017538e3bcc9e4b0047e4ef8b))
82
-
83
- ## [2.1.2-rc.0](https://github.com/AuthMe01/web-client-sdk/compare/prod-2.1.1...prod-2.1.2-rc.0) (2022-09-15)
84
-
85
- ## [2.1.1](https://github.com/AuthMe01/web-client-sdk/compare/prod-2.1.0...prod-2.1.1) (2022-09-08)
86
-
87
- ## 1.2.2 (2022-07-28)
88
-
89
- ### Bug Fixes
90
-
91
- - Fix Liveness Verify bugs ([2233d91](https://github.com/AuthMe01/web-client-sdk/commit/2233d913d8356ba55129ba442a7b36bc790cff0d))
92
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
93
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
94
- - PROD-1279 fix style issue on ios webview ([4fc578a](https://github.com/AuthMe01/web-client-sdk/commit/4fc578afe1d882de67d384cb9e0499a00b0fc920))
95
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
96
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
97
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
98
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
99
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
100
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
101
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
102
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
103
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
104
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
105
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
106
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
107
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
108
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
109
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
110
- - PROD-714 ipad camera, input zoon in on mobile, ios15 rotate bug ([851baeb](https://github.com/AuthMe01/web-client-sdk/commit/851baeb94ce7563db62a452882cdc136a3505ecd))
111
- - PROD-756 sync ocr rotate action ([57bc8ea](https://github.com/AuthMe01/web-client-sdk/commit/57bc8ea9f6dd3e36a2281de48a047b4691799998))
112
- - PROD-760 disable frame resize ([8210508](https://github.com/AuthMe01/web-client-sdk/commit/8210508bfac11a3b94deb233891d9ef576ef1fb3))
113
- - PROD-792 fix camera blur & limit frame size ([ea56557](https://github.com/AuthMe01/web-client-sdk/commit/ea56557797ce050bce4b478237e1853f030fc9ac))
114
- - PROD-892 rename function name ([ef47ca8](https://github.com/AuthMe01/web-client-sdk/commit/ef47ca817b30a14bbcdba8ba2d9a4a10fc7bc9bb))
115
- - PROD-892 rename isMobile function name ([9233f1d](https://github.com/AuthMe01/web-client-sdk/commit/9233f1d3a1f55ce5bc77ae6f4b874fd3533252fe))
116
-
117
- ### Features
118
-
119
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
120
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
121
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
122
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
123
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
124
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
125
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
126
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
127
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
128
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
129
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
130
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
131
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
132
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
133
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
134
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
135
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
136
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
137
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
138
- - PROD-892 update confirm image page and add MRZ ocr ([90916f7](https://github.com/AuthMe01/web-client-sdk/commit/90916f7a1323103a3dc3a8f2ea825b6a4098dd54))
139
-
140
- ## 1.2.1 (2022-07-28)
141
-
142
- ### Bug Fixes
143
-
144
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
145
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
146
- - PROD-1279 fix style issue on ios webview ([4fc578a](https://github.com/AuthMe01/web-client-sdk/commit/4fc578afe1d882de67d384cb9e0499a00b0fc920))
147
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
148
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
149
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
150
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
151
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
152
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
153
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
154
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
155
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
156
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
157
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
158
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
159
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
160
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
161
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
162
- - PROD-714 ipad camera, input zoon in on mobile, ios15 rotate bug ([851baeb](https://github.com/AuthMe01/web-client-sdk/commit/851baeb94ce7563db62a452882cdc136a3505ecd))
163
- - PROD-756 sync ocr rotate action ([57bc8ea](https://github.com/AuthMe01/web-client-sdk/commit/57bc8ea9f6dd3e36a2281de48a047b4691799998))
164
- - PROD-760 disable frame resize ([8210508](https://github.com/AuthMe01/web-client-sdk/commit/8210508bfac11a3b94deb233891d9ef576ef1fb3))
165
- - PROD-792 fix camera blur & limit frame size ([ea56557](https://github.com/AuthMe01/web-client-sdk/commit/ea56557797ce050bce4b478237e1853f030fc9ac))
166
- - PROD-892 rename function name ([ef47ca8](https://github.com/AuthMe01/web-client-sdk/commit/ef47ca817b30a14bbcdba8ba2d9a4a10fc7bc9bb))
167
- - PROD-892 rename isMobile function name ([9233f1d](https://github.com/AuthMe01/web-client-sdk/commit/9233f1d3a1f55ce5bc77ae6f4b874fd3533252fe))
168
-
169
- ### Features
170
-
171
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
172
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
173
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
174
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
175
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
176
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
177
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
178
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
179
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
180
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
181
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
182
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
183
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
184
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
185
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
186
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
187
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
188
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
189
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
190
- - PROD-892 update confirm image page and add MRZ ocr ([90916f7](https://github.com/AuthMe01/web-client-sdk/commit/90916f7a1323103a3dc3a8f2ea825b6a4098dd54))
191
-
192
- # 1.2.0 (2022-07-25)
193
-
194
- ### Bug Fixes
195
-
196
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
197
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
198
- - PROD-1279 fix style issue on ios webview ([4fc578a](https://github.com/AuthMe01/web-client-sdk/commit/4fc578afe1d882de67d384cb9e0499a00b0fc920))
199
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
200
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
201
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
202
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
203
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
204
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
205
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
206
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
207
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
208
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
209
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
210
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
211
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
212
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
213
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
214
- - PROD-714 ipad camera, input zoon in on mobile, ios15 rotate bug ([851baeb](https://github.com/AuthMe01/web-client-sdk/commit/851baeb94ce7563db62a452882cdc136a3505ecd))
215
- - PROD-756 sync ocr rotate action ([57bc8ea](https://github.com/AuthMe01/web-client-sdk/commit/57bc8ea9f6dd3e36a2281de48a047b4691799998))
216
- - PROD-760 disable frame resize ([8210508](https://github.com/AuthMe01/web-client-sdk/commit/8210508bfac11a3b94deb233891d9ef576ef1fb3))
217
- - PROD-792 fix camera blur & limit frame size ([ea56557](https://github.com/AuthMe01/web-client-sdk/commit/ea56557797ce050bce4b478237e1853f030fc9ac))
218
- - PROD-892 rename function name ([ef47ca8](https://github.com/AuthMe01/web-client-sdk/commit/ef47ca817b30a14bbcdba8ba2d9a4a10fc7bc9bb))
219
- - PROD-892 rename isMobile function name ([9233f1d](https://github.com/AuthMe01/web-client-sdk/commit/9233f1d3a1f55ce5bc77ae6f4b874fd3533252fe))
220
-
221
- ### Features
222
-
223
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
224
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
225
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
226
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
227
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
228
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
229
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
230
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
231
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
232
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
233
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
234
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
235
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
236
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
237
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
238
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
239
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
240
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
241
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
242
- - PROD-892 update confirm image page and add MRZ ocr ([90916f7](https://github.com/AuthMe01/web-client-sdk/commit/90916f7a1323103a3dc3a8f2ea825b6a4098dd54))
243
-
244
- ## 1.1.1 (2022-07-07)
245
-
246
- ### Bug Fixes
247
-
248
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
249
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
250
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
251
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
252
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
253
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
254
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
255
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
256
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
257
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
258
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
259
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
260
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
261
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
262
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
263
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
264
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
265
- - PROD-714 ipad camera, input zoon in on mobile, ios15 rotate bug ([851baeb](https://github.com/AuthMe01/web-client-sdk/commit/851baeb94ce7563db62a452882cdc136a3505ecd))
266
- - PROD-756 sync ocr rotate action ([57bc8ea](https://github.com/AuthMe01/web-client-sdk/commit/57bc8ea9f6dd3e36a2281de48a047b4691799998))
267
- - PROD-760 disable frame resize ([8210508](https://github.com/AuthMe01/web-client-sdk/commit/8210508bfac11a3b94deb233891d9ef576ef1fb3))
268
- - PROD-792 fix camera blur & limit frame size ([ea56557](https://github.com/AuthMe01/web-client-sdk/commit/ea56557797ce050bce4b478237e1853f030fc9ac))
269
- - PROD-892 rename function name ([ef47ca8](https://github.com/AuthMe01/web-client-sdk/commit/ef47ca817b30a14bbcdba8ba2d9a4a10fc7bc9bb))
270
- - PROD-892 rename isMobile function name ([9233f1d](https://github.com/AuthMe01/web-client-sdk/commit/9233f1d3a1f55ce5bc77ae6f4b874fd3533252fe))
271
-
272
- ### Features
273
-
274
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
275
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
276
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
277
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
278
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
279
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
280
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
281
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
282
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
283
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
284
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
285
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
286
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
287
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
288
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
289
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
290
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
291
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
292
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
293
- - PROD-892 update confirm image page and add MRZ ocr ([90916f7](https://github.com/AuthMe01/web-client-sdk/commit/90916f7a1323103a3dc3a8f2ea825b6a4098dd54))
294
-
295
- # 1.1.0 (2022-07-06)
296
-
297
- ### Bug Fixes
298
-
299
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
300
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
301
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
302
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
303
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
304
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
305
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
306
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
307
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
308
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
309
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
310
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
311
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
312
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
313
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
314
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
315
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
316
- - PROD-714 ipad camera, input zoon in on mobile, ios15 rotate bug ([851baeb](https://github.com/AuthMe01/web-client-sdk/commit/851baeb94ce7563db62a452882cdc136a3505ecd))
317
- - PROD-756 sync ocr rotate action ([57bc8ea](https://github.com/AuthMe01/web-client-sdk/commit/57bc8ea9f6dd3e36a2281de48a047b4691799998))
318
- - PROD-760 disable frame resize ([8210508](https://github.com/AuthMe01/web-client-sdk/commit/8210508bfac11a3b94deb233891d9ef576ef1fb3))
319
- - PROD-792 fix camera blur & limit frame size ([ea56557](https://github.com/AuthMe01/web-client-sdk/commit/ea56557797ce050bce4b478237e1853f030fc9ac))
320
- - PROD-892 rename function name ([ef47ca8](https://github.com/AuthMe01/web-client-sdk/commit/ef47ca817b30a14bbcdba8ba2d9a4a10fc7bc9bb))
321
- - PROD-892 rename isMobile function name ([9233f1d](https://github.com/AuthMe01/web-client-sdk/commit/9233f1d3a1f55ce5bc77ae6f4b874fd3533252fe))
322
-
323
- ### Features
324
-
325
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
326
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
327
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
328
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
329
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
330
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
331
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
332
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
333
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
334
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
335
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
336
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
337
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
338
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
339
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
340
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
341
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
342
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
343
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
344
- - PROD-892 update confirm image page and add MRZ ocr ([90916f7](https://github.com/AuthMe01/web-client-sdk/commit/90916f7a1323103a3dc3a8f2ea825b6a4098dd54))
345
-
346
- # 1.0.0 (2022-05-30)
347
-
348
- ### Bug Fixes
349
-
350
- - PR-81 fix canvas size calculation ([b6ae89a](https://github.com/AuthMe01/web-client-sdk/commit/b6ae89ab2f0a3163b996e6adc9331efa45716d63))
351
- - PR-83 fix calculate canvas size ([aed08b8](https://github.com/AuthMe01/web-client-sdk/commit/aed08b8b194037c0378e6e54559b6e86625f83f1))
352
- - PROD-135 adjust fas config ([3d89ba7](https://github.com/AuthMe01/web-client-sdk/commit/3d89ba716d6b0bfd07ec2d5353213d8e8306c83d))
353
- - PROD-255 fix rotate and process ([62d6c13](https://github.com/AuthMe01/web-client-sdk/commit/62d6c13dacf93369701e229e5f4950addfc94c1a))
354
- - PROD-255 reduce frame size to 720p ([540e24d](https://github.com/AuthMe01/web-client-sdk/commit/540e24d9aa34e442ef6f23dc398ee7778de7fd60))
355
- - PROD-255 refactor process ([3ddcc9a](https://github.com/AuthMe01/web-client-sdk/commit/3ddcc9a75af048692bbc62652643a83cb889a150))
356
- - PROD-255 tuning recognition frame performance ([7e8306f](https://github.com/AuthMe01/web-client-sdk/commit/7e8306f8e8567bc745e01b9836efc627601a5269))
357
- - PROD-298 fix memory leak & compress frame size ([03ddfd1](https://github.com/AuthMe01/web-client-sdk/commit/03ddfd122ba01e21bb3feef7c25efc3fa895d855))
358
- - PROD-327 ios border css bug ([d6135fa](https://github.com/AuthMe01/web-client-sdk/commit/d6135fa6a6c7650ac2aec74b43bc4ab2c89044c7))
359
- - PROD-428 adjust ocr mask size ([852c6f0](https://github.com/AuthMe01/web-client-sdk/commit/852c6f0caab92871b2b5d057b3a7aea5f5f3a0cd))
360
- - PROD-462 Adjust frame quality ([00e9f31](https://github.com/AuthMe01/web-client-sdk/commit/00e9f319a05176e112704a575acf4146aebd9ab0))
361
- - PROD-514 header, lottie, step content size ([12c4228](https://github.com/AuthMe01/web-client-sdk/commit/12c422844d533ed7d98f8c990b199194ce6beb04))
362
- - PROD-560 optimize load time(for view) ([7a38e1b](https://github.com/AuthMe01/web-client-sdk/commit/7a38e1b5ec1588013935f8f69f19f67ae22dedaa))
363
- - PROD-572 add verify api error msg & favicon ([e3c7936](https://github.com/AuthMe01/web-client-sdk/commit/e3c7936c02b17a5eb3cf73c7f24a580599638d00))
364
- - PROD-588 rotate timer, text content ([2938a37](https://github.com/AuthMe01/web-client-sdk/commit/2938a376b7dd42fa4c2ac6a48ddfde28eb190bd2))
365
- - PROD-650 fix option order, add error&state hint ([2758980](https://github.com/AuthMe01/web-client-sdk/commit/275898079f173f77b8609cb02e84dca6c06daac4))
366
- - PROD-650 ocr rotate style and idcard text ([b7f1b7c](https://github.com/AuthMe01/web-client-sdk/commit/b7f1b7cf62b21122021ebf8cf29b27f316da50ca))
367
-
368
- ### Features
369
-
370
- - PR-46 passive fas impl ([307aa7d](https://github.com/AuthMe01/web-client-sdk/commit/307aa7dd85e43ebe41ee9074d2bea6981517de2d))
371
- - PR-83 ocr sdk ui ([a414e99](https://github.com/AuthMe01/web-client-sdk/commit/a414e993406071b58bbad5b3db17c0e1c2a86d43))
372
- - PROD-114 fix liveness issue ([96edf70](https://github.com/AuthMe01/web-client-sdk/commit/96edf70125a2385b1ada8e63a0eb411bf341dc62))
373
- - PROD-115 custom ui color ([cb9033a](https://github.com/AuthMe01/web-client-sdk/commit/cb9033a89ae5948f3789432981e477d882d02e37))
374
- - PROD-127 sdk ocr rotate ([8ea76c8](https://github.com/AuthMe01/web-client-sdk/commit/8ea76c84a4ed2cd13bd139b9e31b89f6daa2e64d))
375
- - PROD-127 sdk orc rotate ([e33ae65](https://github.com/AuthMe01/web-client-sdk/commit/e33ae657908e2e751efcf1fb52b57b406277f233))
376
- - PROD-135 v3 fas api ([8e1e9cc](https://github.com/AuthMe01/web-client-sdk/commit/8e1e9cc9b8e5acbdbc4d49564bad8d42146a3c61))
377
- - PROD-242 Adjust fps ([883c9ed](https://github.com/AuthMe01/web-client-sdk/commit/883c9ed917f6536114f5d12cdadffd705b834951))
378
- - PROD-255 add OCR api impl ([40098a8](https://github.com/AuthMe01/web-client-sdk/commit/40098a8e76b02d3a3e7f4ef642da8d1806818496))
379
- - PROD-255 add spinner when ocrstart and fraudstart ([342777a](https://github.com/AuthMe01/web-client-sdk/commit/342777a250b46271e0d675fb920f7ecb1721d072))
380
- - PROD-279 add sdk info in request header ([ca871cf](https://github.com/AuthMe01/web-client-sdk/commit/ca871cf9182aab3499c1918a8b946dc6d2cfed9a))
381
- - PROD-327 add error message ([6ef47d9](https://github.com/AuthMe01/web-client-sdk/commit/6ef47d9daa633fb8c42e2c01369c032ac7af3147))
382
- - PROD-327 change lottie second ([5eff08e](https://github.com/AuthMe01/web-client-sdk/commit/5eff08edcda22a0bd8dd71b73370c8f08009a250))
383
- - PROD-327 replace liveness ui ([9c5934a](https://github.com/AuthMe01/web-client-sdk/commit/9c5934ad743a0ce5f8fccdabec323c1b3e93f79c))
384
- - PROD-327 replace ocr ui ([73d4759](https://github.com/AuthMe01/web-client-sdk/commit/73d4759012bdfd0cb0bed9bc338f36af8ec27536))
385
- - PROD-334 Add Network Error Retry ([1dafbfd](https://github.com/AuthMe01/web-client-sdk/commit/1dafbfd2d51024abed9611cda4b7bd04401ed7f1))
386
- - PROD-375 add popup panel ([77f4672](https://github.com/AuthMe01/web-client-sdk/commit/77f467240474190a276961a86fe48fb66d520b54))
387
- - PROD-375 replace lottie animate and refactor mask border ([39ce902](https://github.com/AuthMe01/web-client-sdk/commit/39ce90241c60bda0e65f648b8ed61b4c577ffae2))
388
- - PROD-571 add network listener ([39e2db3](https://github.com/AuthMe01/web-client-sdk/commit/39e2db352859070704122bd6672bcdcea5f3fd53))
package/src/index.js DELETED
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./lib/shared-util"), exports);
5
- tslib_1.__exportStar(require("./ui"), exports);
6
- //# sourceMappingURL=index.js.map
package/src/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../libs/shared/util/src/index.ts"],"names":[],"mappings":";;;AAAA,4DAAkC;AAClC,+CAAqB"}
@@ -1,49 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ErrorCode = exports.AuthmeError = void 0;
4
- class AuthmeError {
5
- constructor(code, cause = null) {
6
- this._cause = null;
7
- this._code = null;
8
- this._code = code;
9
- this._cause = cause;
10
- }
11
- get message() {
12
- return '[Authme SDK Error] Code: ' + this.code;
13
- }
14
- setCode(code) {
15
- this._code = code;
16
- }
17
- get code() {
18
- return this._code;
19
- }
20
- get cause() {
21
- return this._cause;
22
- }
23
- }
24
- exports.AuthmeError = AuthmeError;
25
- var ErrorCode;
26
- (function (ErrorCode) {
27
- // 1XX for engine
28
- ErrorCode[ErrorCode["BROWSER_NOT_SUPPORT"] = 100] = "BROWSER_NOT_SUPPORT";
29
- ErrorCode[ErrorCode["ENGINE_INIT_ERROR"] = 101] = "ENGINE_INIT_ERROR";
30
- ErrorCode[ErrorCode["ENGINE_MODULE_IS_INITIALIZING"] = 102] = "ENGINE_MODULE_IS_INITIALIZING";
31
- ErrorCode[ErrorCode["ENGINE_MODULE_INIT_ERROR"] = 103] = "ENGINE_MODULE_INIT_ERROR";
32
- ErrorCode[ErrorCode["RECOGNITION_NOT_AVAILABLE"] = 104] = "RECOGNITION_NOT_AVAILABLE";
33
- ErrorCode[ErrorCode["RECOGNITION_ERROR"] = 105] = "RECOGNITION_ERROR";
34
- ErrorCode[ErrorCode["INVALID_AUTH_ERROR"] = 106] = "INVALID_AUTH_ERROR";
35
- // 2 for LIVENESS
36
- ErrorCode[ErrorCode["LIVENESS_NOT_PASSED"] = 201] = "LIVENESS_NOT_PASSED";
37
- // 3 for ID-Recognition
38
- ErrorCode[ErrorCode["ID_RECOGNITION_CONFIRM_INFO_ERROR"] = 301] = "ID_RECOGNITION_CONFIRM_INFO_ERROR";
39
- ErrorCode[ErrorCode["ID_RECOGNITION_TIMEOUT"] = 302] = "ID_RECOGNITION_TIMEOUT";
40
- // 4 for Anti-fraud
41
- ErrorCode[ErrorCode["ID_RECOGNITION_ANTI_FRAUD_NOT_PASSED"] = 401] = "ID_RECOGNITION_ANTI_FRAUD_NOT_PASSED";
42
- // 9 for common
43
- ErrorCode[ErrorCode["SDK_INTERNAL_ERROR"] = 900] = "SDK_INTERNAL_ERROR";
44
- ErrorCode[ErrorCode["NETWORK_ERROR"] = 901] = "NETWORK_ERROR";
45
- ErrorCode[ErrorCode["HTTP_ERROR_RESPONSE"] = 902] = "HTTP_ERROR_RESPONSE";
46
- ErrorCode[ErrorCode["USER_CANCEL"] = 903] = "USER_CANCEL";
47
- ErrorCode[ErrorCode["CAMERA_NOT_SUPPORT"] = 904] = "CAMERA_NOT_SUPPORT";
48
- })(ErrorCode = exports.ErrorCode || (exports.ErrorCode = {}));
49
- //# sourceMappingURL=authme-error.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authme-error.js","sourceRoot":"","sources":["../../../../../../libs/shared/util/src/lib/authme-error.ts"],"names":[],"mappings":";;;AAAA,MAAa,WAAW;IAItB,YAAY,IAAe,EAAE,QAAa,IAAI;QAHtC,WAAM,GAAQ,IAAI,CAAC;QACnB,UAAK,GAAqB,IAAI,CAAC;QAGrC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;IACtB,CAAC;IAED,IAAI,OAAO;QACT,OAAO,2BAA2B,GAAG,IAAI,CAAC,IAAI,CAAC;IACjD,CAAC;IAEM,OAAO,CAAC,IAAe;QAC5B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;IACpB,CAAC;IACD,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAI,KAAK;QACP,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;CACF;AAvBD,kCAuBC;AAED,IAAY,SAyBX;AAzBD,WAAY,SAAS;IACnB,iBAAiB;IACjB,yEAAyB,CAAA;IACzB,qEAAuB,CAAA;IACvB,6FAAmC,CAAA;IACnC,mFAA8B,CAAA;IAC9B,qFAA+B,CAAA;IAC/B,qEAAuB,CAAA;IACvB,uEAAwB,CAAA;IAExB,iBAAiB;IACjB,yEAAyB,CAAA;IAEzB,uBAAuB;IACvB,qGAAuC,CAAA;IACvC,+EAA4B,CAAA;IAC5B,mBAAmB;IACnB,2GAA0C,CAAA;IAE1C,eAAe;IACf,uEAAwB,CAAA;IACxB,6DAAmB,CAAA;IACnB,yEAAyB,CAAA;IACzB,yDAAiB,CAAA;IACjB,uEAAwB,CAAA;AAC1B,CAAC,EAzBW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAyBpB"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.debugLog = void 0;
4
- function debugLog(message, ...others) {
5
- if (new URLSearchParams(location.search).get('authme-debug') === 'true') {
6
- console.log(message, ...others);
7
- }
8
- }
9
- exports.debugLog = debugLog;
10
- //# sourceMappingURL=authme-log.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"authme-log.js","sourceRoot":"","sources":["../../../../../../libs/shared/util/src/lib/authme-log.ts"],"names":[],"mappings":";;;AAAA,SAAgB,QAAQ,CAAC,OAAa,EAAE,GAAG,MAAa;IACtD,IAAI,IAAI,eAAe,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,cAAc,CAAC,KAAK,MAAM,EAAE;QACvE,OAAO,CAAC,GAAG,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;KACjC;AACH,CAAC;AAJD,4BAIC"}
@@ -1,93 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.isMobile = exports.isMobileOrTablet = exports.getUserAgent = exports.retryPromiseWithCondition = exports.waitTime = exports.UintArrayToBlob = exports.dataURItoBlob = void 0;
4
- const tslib_1 = require("tslib");
5
- function dataURItoBlob(dataURI) {
6
- // convert base64/URLEncoded data component to raw binary data held in a string
7
- const byteString = atob(dataURI.split(',')[1]);
8
- // separate out the mime component
9
- const mimeString = dataURI.split(',')[0].split(':')[1].split(';')[0];
10
- // write the bytes of the string to a typed array
11
- const ia = new Uint8Array(byteString.length);
12
- for (let i = 0; i < byteString.length; i++) {
13
- ia[i] = byteString.charCodeAt(i);
14
- }
15
- const blob = new Blob([ia], { type: mimeString });
16
- return blob;
17
- }
18
- exports.dataURItoBlob = dataURItoBlob;
19
- function UintArrayToBlob(width, height, data, canvasEle, imageFormat) {
20
- if (document) {
21
- if (!canvasEle) {
22
- canvasEle = document.createElement('canvas');
23
- }
24
- const ctx = canvasEle.getContext('2d');
25
- canvasEle.height = height;
26
- canvasEle.width = width;
27
- if (ctx) {
28
- const imageData = ctx.createImageData(canvasEle.width, canvasEle.height);
29
- imageData.data.set(data);
30
- ctx.putImageData(imageData, 0, 0);
31
- if (imageFormat === 'png') {
32
- return dataURItoBlob(canvasEle.toDataURL('image/png'));
33
- }
34
- else {
35
- return dataURItoBlob(canvasEle.toDataURL('image/jpeg', 0.85));
36
- }
37
- }
38
- throw '[UintArrayToBlob] not running in browser.';
39
- }
40
- else {
41
- throw '[UintArrayToBlob] not running in browser.';
42
- }
43
- }
44
- exports.UintArrayToBlob = UintArrayToBlob;
45
- function waitTime(ms) {
46
- return new Promise((res) => {
47
- setTimeout(() => {
48
- res();
49
- }, ms);
50
- });
51
- }
52
- exports.waitTime = waitTime;
53
- function retryPromiseWithCondition(promiseFactory, conditionFactory) {
54
- return tslib_1.__awaiter(this, void 0, void 0, function* () {
55
- try {
56
- const res = yield promiseFactory();
57
- return res;
58
- }
59
- catch (e) {
60
- console.error(e);
61
- const retry = yield conditionFactory(e);
62
- if (retry) {
63
- return retryPromiseWithCondition(promiseFactory, conditionFactory);
64
- }
65
- else {
66
- throw e;
67
- }
68
- }
69
- });
70
- }
71
- exports.retryPromiseWithCondition = retryPromiseWithCondition;
72
- function getUserAgent() {
73
- return `platform: ${navigator === null || navigator === void 0 ? void 0 : navigator.platform}`;
74
- }
75
- exports.getUserAgent = getUserAgent;
76
- function isMobileOrTablet() {
77
- return (function (a) {
78
- return !!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) ||
79
- /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(a.substr(0, 4)) ||
80
- /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ||
81
- (navigator.maxTouchPoints && navigator.maxTouchPoints > 2));
82
- })(navigator.userAgent || navigator.vendor || window.opera);
83
- }
84
- exports.isMobileOrTablet = isMobileOrTablet;
85
- function isMobile() {
86
- return (function (a) {
87
- return !!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(a) ||
88
- /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(a.substr(0, 4)) ||
89
- /Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent));
90
- })(navigator.userAgent || navigator.vendor || window.opera);
91
- }
92
- exports.isMobile = isMobile;
93
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/common/index.ts"],"names":[],"mappings":"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"}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./timeUnit.enum"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../libs/shared/util/src/lib/enum/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC"}