@jumio/websdk 0.2.0 → 0.2.2

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.
@@ -0,0 +1,5 @@
1
+ const I = "data:text/javascript;base64,LyogQ29weXJpZ2h0KGMpIDIwMTgsIGlvdmF0aW9uLCBpbmMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuICovCndpbmRvdy5pb19nbG9iYWxfb2JqZWN0X25hbWUgPSAnSUdMT08nOwp3aW5kb3cuSUdMT08gPSB3aW5kb3cuSUdMT08gfHwgewogIGVuYWJsZV9mbGFzaDogZmFsc2UsCiAgYmJfY2FsbGJhY2s6IHdpbmRvdy5iYl9jYWxsYmFjaywKICBsb2FkZXI6IHsKICAgIHN1YmtleTogJycsCiAgICB2ZXJzaW9uOiAnZ2VuZXJhbDUnCiAgfQp9OwoKLyoKIENvcHlyaWdodChjKSAyMDE4LCBpb3ZhdGlvbiwgaW5jLiBBbGwgcmlnaHRzIHJlc2VydmVkLgoqLwooZnVuY3Rpb24gQigpIHsKICBmdW5jdGlvbiB2KGUsIGEpIHsKICAgIHZhciBiID0ge30sCiAgICAgIGM7CiAgICBmb3IgKGMgPSBlLmxlbmd0aCAtIDE7IC0xIDwgYzsgYy0tKSB7CiAgICAgIDAgPCBjCiAgICAgICAgPyAoYltjXSA9IChmdW5jdGlvbiAoKSB7CiAgICAgICAgICAgIHZhciBkID0gYzsKICAgICAgICAgICAgcmV0dXJuIGZ1bmN0aW9uICgpIHsKICAgICAgICAgICAgICB3KGVbZF0sIGJbZCArIDFdLCBhKTsKICAgICAgICAgICAgfTsKICAgICAgICAgIH0pKCkpCiAgICAgICAgOiB3KGVbY10sIGJbYyArIDFdLCBhKTsKICAgIH0KICB9CiAgZnVuY3Rpb24gdyhlLCBuLCBrKSB7CiAgICB2YXIgYyA9IGRvY3VtZW50LmNyZWF0ZUVsZW1lbnQoJ3NjcmlwdCcpLAogICAgICBmLAogICAgICBnLAogICAgICBsOwogIC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29tcG9uZW50KGwpIDogJycsCiAgICAgIHIsCiAgICAgIHQsCiAgICAgIGg7CiAgICBiLnRwX2hvc3QgPSB2OwogICAgciA9IGYoYS5lbmFibGVfZmxhc2gsICEwKTsKICAgIHQgPSBhLmlvICYmIGEuaW8uZW5hYmxlX2ZsYXNoOwogICAgaCA9IGEuZnAgJiYgYS5mcC5lbmFibGVfZmxhc2g7CiAgICB0ID0gdm9pZCAwICE9PSB0ICYmIG51bGwgIT09IHQgPyBmKHQsICEwKSA6IHI7CiAgICB2b2lkIDAgIT09IGggJiYgbnVsbCAhPT0gaCA/IChoID0gZihoLCAhMCkpIDogKHQgPSByKTsKICAgIHIgPSB0ID8gJyZmbGFzaD10cnVlJyA6ICcmZmxhc2g9ZmFsc2UnOwogICAgaCA9IGggPyAnJmZsYXNoPXRydWUnIDogJyZmbGFzaD1mYWxzZSc7CiAgICBxID0KICAgICAgJz9sb2FkZXJWZXI9JyArCiAgICAgIGIubG9hZGVyVmVyICsKICAgICAgJyZjb21wYXQ9JyArCiAgICAgIGMgKwogICAgICAnJnRwPScgKwogICAgICBlICsKICAgICAgJyZ0cF9zcGxpdD0nICsKICAgICAgdSArCiAgICAgIHEgKwogICAgICAnJmZwX3N0YXRpYz0nICsKICAgICAgbiArCiAgICAgICcmZnBfZHluPScgKwogICAgICBrICsKICAgICAgQzsKICAgIGUgfHwgbiB8fCBkKCdsb2FkZXI6IE5vdCBjdXJyZW50bHkgY29uZmlndXJlZCB0byBsb2FkIGZwX3N0YXRpYyBvciB0cCBzY3JpcHQocykuJyk7CiAgICBhLmZwICYmCiAgICAgIGEuZnAuc3RhdGljVmVyICYmCiAgICAgIGEuZnAuc3RhdGljVmVyICsgJy8nICE9PSBwICYmCiAgICAgICgocCA9IEEoYS5mcC5zdGF0aWNWZXIgKyAnLycpKSwKICAgICAgZCgnbG9hZGVyOiBDb25maWd1cmVkIHZlcnNpb24gcmVwbGFjZWQgd2l0aCB0aGF0IGZyb20gcHJlLWxvYWRlZCBzdGF0aWMgc2NyaXB0LicpKTsKICAgIG4gfHwgKGEuZnAgJiYgYS5mcC5zdGF0aWNNYWluKQogICAgICA/ICgobSA9IChtICsgJyMjdmVyc2lvbiMjJyArIHcpLnJlcGxhY2UoL1wvXC8vZywgJy8nKSksCiAgICAgICAgbiAmJgogICAgICAgICAgKGEuZnAgJiYgYS5mcC5zdGF0aWNNYWluCiAgICAgICAgICAgID8gYyAmJgogICAgICAgICAgICAgICFhLmZwLnByZUNvbXBhdE1haW4gJiYKICAgICAgICAgICAgICBkKCdsb2FkZXI6IGVuYWJsZV9sZWdhY3lfY29tcGF0aWJpbGl0eSBvbiwgYnV0IGluY2x1ZGVkIHN0YXRpYyBkb2VzIG5vdCBoYXZlIHRoZSBjb21wYXQgd3JhcHBlci4nKQogICAgICAgICAgICA6IGwKICAgICAgICAgICAgICA/IHkucHVzaChbbCwgJyddKQogICAgICAgICAgICAgIDogeS5wdXNoKFttICsgJ3N0YXRpY193ZHAuanMnICsgcSArIGgsIHBdKSksCiAgICAgICAgIWsgfHwgKGEuZnAgJiYgYS5mcC5keW5NYWluKQogICAgICAgICAgPyBhLmZwICYmCiAgICAgICAgICAgIGEuZnAuZHluTWFpbiAmJgogICAgICAgICAgICBkKAogICAgICAgICAgICAgICJsb2FkZXI6IEZpcnN0IHBhcnR5IGR5bmFtaWMgc2NyaXB0IGhhcyBhbHJlYWR5IGJlZW4gbG9hZGVkLCBkaXNhYmxlIGZwX2R5biBvciBtYWtlIHN1cmUgeW91J3JlIG5vdCBtYW51YWxseSBpbmNsdWRpbmcgdGhlIGR5bmFtaWMgZmlsZSBzZXBhcmF0ZWx5LiIKICAgICAgICAgICAgKQogICAgICAgICAgOiB5LnB1c2goW20gKyAnZHluX3dkcC5qcycgKyBxICsgaCwgcF0pKQogICAgICA6IGYoYi5mcF9keW4pICYmIGQoJ2xvYWRlcjogSW52YWxpZCBDb25maWcsIGZpcnN0IHBhcnR5IGR5bmFtaWMgc2NyaXB0IHNldCB0byBsb2FkIHdpdGhvdXQgc3RhdGljLicpOwogICAgZSAmJgogICAgICAoYS5pbyAmJiBhLmlvLnN0YXRpY01haW4KICAgICAgICA/IGQoJ2xvYWRlcjogVGhpcmQgcGFydHkgc2NyaXB0IGhhcyBhbHJlYWR5IGJlZW4gbG9hZGVkLicpCiAgICAgICAgOiAoKG0gPSB2ICsgJy8jI3ZlcnNpb24jIycgKyB3KSwKICAgICAgICAgIHUKICAgICAgICAgICAgPyAoei5wdXNoKFttICsgJ3N0YXRpY193ZHAuanMnICsgcSArIHIsIHBdKSwKICAgICAgICAgICAgICB6LnB1c2goW20gKyAnZHluX3dkcC5qcycgKyBxICsgciwgcF0pLAogICAgICAgICAgICAgIGIudHBfcmVzb3VyY2UgJiYgZCgnbG9hZGVyOiBJbnZhbGlkIENvbmZpZzogYm90aCB0cF9yZXNvdXJjZSBhbmQgdHBfc3BsaXQgc2V0LiBJZ25vcmluZyB0cF9yZXNvdXJjZS4nKSkKICAgICAgICAgICAgOiB6LnB1c2goW20gKyB4ICsgcSArIHIsIHBdKSkpOwogIH0pKCk7CiAgdih5LCAnZnAnKTsKICB2KHosICdpbycpOwp9KSgpOwo=";
2
+ export {
3
+ I as default
4
+ };
5
+ //# sourceMappingURL=loader-BMK4_g6C.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "start": "npx serve"
5
5
  },
6
6
  "name": "@jumio/websdk",
7
- "version": "0.2.0",
7
+ "version": "0.2.2",
8
8
  "license": "UNLICENSED",
9
9
  "author": "Jumio Corporation",
10
10
  "website": "https://www.jumio.com",
@@ -3,7 +3,7 @@ https://www.npmjs.com/package/generate-license-file
3
3
 
4
4
  The following npm package may be included in this product:
5
5
 
6
- - wasm-feature-detect@1.6.1
6
+ - wasm-feature-detect@1.6.2
7
7
 
8
8
  This package contains the following license and notice below:
9
9
 
@@ -213,9 +213,9 @@ Apache License
213
213
 
214
214
  The following npm packages may be included in this product:
215
215
 
216
- - @datadog/browser-core@5.17.1
217
- - @datadog/browser-rum-core@5.17.1
218
- - @datadog/browser-rum@5.17.1
216
+ - @datadog/browser-core@5.22.0
217
+ - @datadog/browser-rum-core@5.22.0
218
+ - @datadog/browser-rum@5.22.0
219
219
 
220
220
  These packages each contain the following license and notice below:
221
221
 
@@ -636,7 +636,7 @@ Apache License
636
636
  The following npm packages may be included in this product:
637
637
 
638
638
  - @types/debug@4.1.12
639
- - @types/mdast@4.0.3
639
+ - @types/mdast@4.0.4
640
640
  - @types/ms@0.7.34
641
641
  - @types/trusted-types@2.0.7
642
642
  - @types/unist@3.0.2
@@ -699,7 +699,7 @@ SOFTWARE.
699
699
 
700
700
  The following npm package may be included in this product:
701
701
 
702
- - commander@12.0.0
702
+ - commander@12.1.0
703
703
 
704
704
  This package contains the following license and notice below:
705
705
 
@@ -822,7 +822,7 @@ THE SOFTWARE.
822
822
 
823
823
  The following npm package may be included in this product:
824
824
 
825
- - debug@4.3.4
825
+ - debug@4.3.5
826
826
 
827
827
  This package contains the following license and notice below:
828
828
 
@@ -947,7 +947,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
947
947
 
948
948
  The following npm packages may be included in this product:
949
949
 
950
- - unified@11.0.4
950
+ - unified@11.0.5
951
951
  - vfile@6.0.1
952
952
 
953
953
  These packages each contain the following license and notice below:
@@ -1105,18 +1105,18 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1105
1105
  The following npm packages may be included in this product:
1106
1106
 
1107
1107
  - mdast-util-find-and-replace@3.0.1
1108
- - mdast-util-from-markdown@2.0.0
1108
+ - mdast-util-from-markdown@2.0.1
1109
1109
  - mdast-util-gfm-autolink-literal@2.0.0
1110
1110
  - mdast-util-gfm-strikethrough@2.0.0
1111
1111
  - mdast-util-gfm-table@2.0.0
1112
1112
  - mdast-util-gfm-task-list-item@2.0.0
1113
1113
  - mdast-util-gfm@3.0.0
1114
1114
  - mdast-util-to-markdown@2.1.0
1115
- - micromark-extension-gfm-autolink-literal@2.0.0
1116
- - micromark-extension-gfm-strikethrough@2.0.0
1117
- - micromark-extension-gfm-table@2.0.0
1115
+ - micromark-extension-gfm-autolink-literal@2.1.0
1116
+ - micromark-extension-gfm-strikethrough@2.1.0
1117
+ - micromark-extension-gfm-table@2.1.0
1118
1118
  - micromark-extension-gfm-tagfilter@2.0.0
1119
- - micromark-extension-gfm-task-list-item@2.0.1
1119
+ - micromark-extension-gfm-task-list-item@2.1.0
1120
1120
  - micromark-extension-gfm@3.0.0
1121
1121
  - remark-gfm@4.0.0
1122
1122
 
@@ -1151,7 +1151,7 @@ The following npm packages may be included in this product:
1151
1151
 
1152
1152
  - decode-named-character-reference@1.0.2
1153
1153
  - mdast-util-gfm-footnote@2.0.0
1154
- - micromark-extension-gfm-footnote@2.0.0
1154
+ - micromark-extension-gfm-footnote@2.1.0
1155
1155
 
1156
1156
  These packages each contain the following license and notice below:
1157
1157
 
@@ -1245,7 +1245,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1245
1245
 
1246
1246
  The following npm package may be included in this product:
1247
1247
 
1248
- - ua-parser-js@2.0.0-beta.2
1248
+ - ua-parser-js@2.0.0-beta.3
1249
1249
 
1250
1250
  This package contains the following license and notice below:
1251
1251
 
@@ -2447,9 +2447,8 @@ END OF TERMS AND CONDITIONS
2447
2447
  The following npm packages may be included in this product:
2448
2448
 
2449
2449
  - @lit/reactive-element@2.0.4
2450
- - lit-element@4.0.4
2451
- - lit@3.1.2
2452
- - lit@3.1.3
2450
+ - lit-element@4.0.6
2451
+ - lit@3.1.4
2453
2452
 
2454
2453
  These packages each contain the following license and notice below:
2455
2454
 
@@ -2486,7 +2485,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2486
2485
 
2487
2486
  The following npm package may be included in this product:
2488
2487
 
2489
- - lit-html@3.1.2
2488
+ - lit-html@3.1.4
2490
2489
 
2491
2490
  This package contains the following license and notice below:
2492
2491
 
@@ -2560,7 +2559,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2560
2559
 
2561
2560
  The following npm package may be included in this product:
2562
2561
 
2563
- - @lit/context@1.1.1
2562
+ - @lit/context@1.1.2
2564
2563
 
2565
2564
  This package contains the following license and notice below:
2566
2565
 
@@ -2854,7 +2853,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE
2854
2853
 
2855
2854
  The following npm package may be included in this product:
2856
2855
 
2857
- - tslib@2.6.2
2856
+ - tslib@2.6.3
2858
2857
 
2859
2858
  This package contains the following license and notice below:
2860
2859
 
@@ -2925,12 +2924,11 @@ Maintainer: James C. (Jamie) Davis @davisjam
2925
2924
 
2926
2925
  -----------
2927
2926
 
2928
- The following npm packages may be included in this product:
2927
+ The following npm package may be included in this product:
2929
2928
 
2930
- - enhanced-resolve@5.15.0
2931
- - enhanced-resolve@5.15.1
2929
+ - enhanced-resolve@5.17.0
2932
2930
 
2933
- These packages each contain the following license and notice below:
2931
+ This package contains the following license and notice below:
2934
2932
 
2935
2933
  Copyright JS Foundation and other contributors
2936
2934
 
@@ -3043,6 +3041,30 @@ terms above.
3043
3041
 
3044
3042
  -----------
3045
3043
 
3044
+ The following npm package may be included in this product:
3045
+
3046
+ - picocolors@1.0.1
3047
+
3048
+ This package contains the following license and notice below:
3049
+
3050
+ ISC License
3051
+
3052
+ Copyright (c) 2021 Alexey Raspopov, Kostiantyn Denysov, Anton Verinov
3053
+
3054
+ Permission to use, copy, modify, and/or distribute this software for any
3055
+ purpose with or without fee is hereby granted, provided that the above
3056
+ copyright notice and this permission notice appear in all copies.
3057
+
3058
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
3059
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
3060
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
3061
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
3062
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
3063
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
3064
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3065
+
3066
+ -----------
3067
+
3046
3068
  The following npm package may be included in this product:
3047
3069
 
3048
3070
  - get-caller-file@2.0.5
@@ -3156,7 +3178,7 @@ SOFTWARE.
3156
3178
  The following npm packages may be included in this product:
3157
3179
 
3158
3180
  - acorn-loose@8.4.0
3159
- - acorn-walk@8.3.2
3181
+ - acorn-walk@8.3.3
3160
3182
 
3161
3183
  These packages each contain the following license and notice below:
3162
3184
 
@@ -3186,7 +3208,7 @@ THE SOFTWARE.
3186
3208
 
3187
3209
  The following npm package may be included in this product:
3188
3210
 
3189
- - acorn@8.11.3
3211
+ - acorn@8.12.1
3190
3212
 
3191
3213
  This package contains the following license and notice below:
3192
3214
 
@@ -3368,9 +3390,9 @@ SOFTWARE.
3368
3390
 
3369
3391
  The following npm packages may be included in this product:
3370
3392
 
3371
- - react-dom@18.2.0
3372
- - react@18.2.0
3373
- - scheduler@0.23.0
3393
+ - react-dom@18.3.1
3394
+ - react@18.3.1
3395
+ - scheduler@0.23.2
3374
3396
 
3375
3397
  These packages each contain the following license and notice below:
3376
3398
 
@@ -3400,7 +3422,7 @@ SOFTWARE.
3400
3422
 
3401
3423
  The following npm package may be included in this product:
3402
3424
 
3403
- - hasown@2.0.1
3425
+ - hasown@2.0.2
3404
3426
 
3405
3427
  This package contains the following license and notice below:
3406
3428
 
@@ -3432,17 +3454,15 @@ The following npm packages may be included in this product:
3432
3454
 
3433
3455
  - ansi-regex@6.0.1
3434
3456
  - ansi-styles@6.2.1
3435
- - chalk@5.3.0
3436
3457
  - escape-string-regexp@5.0.0
3437
- - figures@6.0.1
3438
3458
  - get-east-asian-width@1.2.0
3439
3459
  - global-directory@4.0.1
3440
- - indent-string@5.0.0
3441
3460
  - is-installed-globally@1.0.0
3442
3461
  - is-path-inside@4.0.0
3443
3462
  - is-plain-obj@4.1.0
3444
- - is-unicode-supported@2.0.0
3445
- - string-width@7.1.0
3463
+ - memoize@10.0.0
3464
+ - mimic-function@5.0.1
3465
+ - string-width@7.2.0
3446
3466
  - strip-ansi@7.1.0
3447
3467
  - wrap-ansi@9.0.0
3448
3468
 
@@ -3608,7 +3628,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3608
3628
 
3609
3629
  The following npm package may be included in this product:
3610
3630
 
3611
- - minimatch@9.0.4
3631
+ - minimatch@9.0.5
3612
3632
 
3613
3633
  This package contains the following license and notice below:
3614
3634
 
@@ -3633,9 +3653,7 @@ IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3633
3653
  The following npm packages may be included in this product:
3634
3654
 
3635
3655
  - ini@4.1.1
3636
- - lru-cache@6.0.0
3637
- - semver@7.6.0
3638
- - yallist@4.0.0
3656
+ - semver@7.6.2
3639
3657
 
3640
3658
  These packages each contain the following license and notice below:
3641
3659
 
@@ -3719,24 +3737,6 @@ THE SOFTWARE.
3719
3737
 
3720
3738
  -----------
3721
3739
 
3722
- The following npm package may be included in this product:
3723
-
3724
- - uuid@9.0.1
3725
-
3726
- This package contains the following license and notice below:
3727
-
3728
- The MIT License (MIT)
3729
-
3730
- Copyright (c) 2010-2020 Robert Kieffer and other contributors
3731
-
3732
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3733
-
3734
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
3735
-
3736
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3737
-
3738
- -----------
3739
-
3740
3740
  The following npm package may be included in this product:
3741
3741
 
3742
3742
  - require-directory@2.1.1
@@ -3788,7 +3788,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
3788
3788
 
3789
3789
  The following npm package may be included in this product:
3790
3790
 
3791
- - is-core-module@2.13.1
3791
+ - is-core-module@2.14.0
3792
3792
 
3793
3793
  This package contains the following license and notice below:
3794
3794
 
@@ -3998,7 +3998,7 @@ SOFTWARE.
3998
3998
 
3999
3999
  The following npm package may be included in this product:
4000
4000
 
4001
- - ajv@8.12.0
4001
+ - ajv@8.16.0
4002
4002
 
4003
4003
  This package contains the following license and notice below:
4004
4004
 
@@ -4089,7 +4089,7 @@ SOFTWARE.
4089
4089
 
4090
4090
  The following npm package may be included in this product:
4091
4091
 
4092
- - dependency-cruiser@16.2.2
4092
+ - dependency-cruiser@16.3.6
4093
4093
 
4094
4094
  This package contains the following license and notice below:
4095
4095
 
@@ -4119,7 +4119,7 @@ SOFTWARE.
4119
4119
 
4120
4120
  The following npm package may be included in this product:
4121
4121
 
4122
- - picomatch@4.0.1
4122
+ - picomatch@4.0.2
4123
4123
 
4124
4124
  This package contains the following license and notice below:
4125
4125
 
@@ -4147,36 +4147,6 @@ THE SOFTWARE.
4147
4147
 
4148
4148
  -----------
4149
4149
 
4150
- The following npm package may be included in this product:
4151
-
4152
- - semver-try-require@6.2.3
4153
-
4154
- This package contains the following license and notice below:
4155
-
4156
- The MIT License (MIT)
4157
-
4158
- Copyright (c) 2018-2022 Sander Verweij
4159
-
4160
- Permission is hereby granted, free of charge, to any person obtaining a copy
4161
- of this software and associated documentation files (the "Software"), to deal
4162
- in the Software without restriction, including without limitation the rights
4163
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
4164
- copies of the Software, and to permit persons to whom the Software is
4165
- furnished to do so, subject to the following conditions:
4166
-
4167
- The above copyright notice and this permission notice shall be included in all
4168
- copies or substantial portions of the Software.
4169
-
4170
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4171
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
4172
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
4173
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
4174
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
4175
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4176
- SOFTWARE.
4177
-
4178
- -----------
4179
-
4180
4150
  The following npm package may be included in this product:
4181
4151
 
4182
4152
  - acorn-jsx-walk@2.0.0
@@ -4209,7 +4179,7 @@ SOFTWARE.
4209
4179
 
4210
4180
  The following npm package may be included in this product:
4211
4181
 
4212
- - watskeburt@4.0.0
4182
+ - watskeburt@4.1.0
4213
4183
 
4214
4184
  This package contains the following license and notice below:
4215
4185
 
@@ -4403,5 +4373,15 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4403
4373
 
4404
4374
  -----------
4405
4375
 
4376
+ The following npm package may be included in this product:
4377
+
4378
+ - @jumio/da-system@1.0.0
4379
+
4380
+ This package contains the following license and notice below:
4381
+
4382
+ UNLICENSED
4383
+
4384
+ -----------
4385
+
4406
4386
  This file was generated with the generate-license-file npm package!
4407
4387
  https://www.npmjs.com/package/generate-license-file
@@ -1,2 +0,0 @@
1
- (function(){"use strict";const A=":BYTES,",y=",",I="get_config",U="initialize",k="terminate";function T(n){return n instanceof ArrayBuffer||n instanceof ImageData}function x(n){if(n instanceof ImageData)return n.data.buffer;if(n&&typeof n=="object"&&"buffer"in n&&n.buffer instanceof ArrayBuffer)return n.buffer}function M(n){return Object.values(n).filter(T).map(x)}let d,_;async function O(n,t){const{wasm_module:e,wasm_js_url:r}=t;if(!(e&&r))throw"Worker has not initialized WASM. Events should contain WASM module and its Emscripten bootstrap";return await(await import(r)).default({instantiateWasm:function(c,a){const o=new WebAssembly.Instance(e,c);return a(o),o.exports}})}onmessage=async function(n){const{wasm_module:t,wasm_js_url:e,...r}=n.data;let s=r;_||(_=await O(e,n.data));const c=s.event;if(c===U){const o=s.object_name;o&&(d=o)}if(!d&&c!==I)return;const a=B(s);for(let o=0;o<a;o++){const i=D(o),f={};f.OBJECT_NAME=d,f.EVENT=i,postMessage(f,M(i))}_._clear_return_packets(),d===k&&(d=void 0)};function S(n){let t=1;return Object.keys(n).forEach(e=>{const r=e.length,s=n[e];if(t+=4+r+1+4,h(s)){const c=s.length;t+=c}else(s instanceof Uint8Array||s instanceof ImageData)&&(t+=9)}),t}function g(n,t,e){return t[e++]=n>>24&255,t[e++]=n>>16&255,t[e++]=n>>8&255,t[e++]=n&255,e}function v(n,t){let e=0,r=Object.keys(n).length;t[e++]=r&255,Object.keys(n).forEach(s=>{const c=s.length,a=n[s];e=g(c,t,e);for(let i=0;i<c;i++){const f=s.charCodeAt(i);t[e++]=f&255}let o=0;if(h(a)?(t[e++]=1,o=a.length):a instanceof Uint8Array||a instanceof ImageData?(t[e++]=2,o=9):t[e++]=0,e=g(o,t,e),h(a))for(let i=0;i<o;i++){let f=a.charCodeAt(i);t[e++]=f&255}else a instanceof Uint8Array?(e=g(1,t,e),e=g(a.length,t,e),t[e++]=1):a instanceof ImageData&&(e=g(a.height,t,e),e=g(a.width,t,e),t[e++]=4)})}function C(n){const t=S(n),e=new Uint8Array(t);return v(n,e),e}function E(n,t){let e=0;for(let r=0;r<4;r++)e=e*256+n[t+r];return e}function j(n){let t=0;const e=n[t];t++;const r={};let s=0;for(let c=0;c<e;c++){const a=E(n,t);t+=4;const o=new Uint8Array(a);for(let l=0;l<a;l++)o[l]=n[t+l];t+=a;const i=String.fromCharCode(...o),f=n[t++],u=E(n,t);if(t+=4,f===1){const l=new Uint8Array(u);for(let m=0;m<u;m++)l[m]=n[t+m];t+=u,r[i]=String.fromCharCode(...l)}else if(f===2)if(u!==9)t+=u;else{const l=E(n,t);t+=4;const m=E(n,t);t+=4;let p=0;p+=n[t++],s++,r[i]=":BYTES,"+l+","+m+","+p+","+s}}return r}function N(n){const t=[];let e=0;return t[e++]=C(n),Object.keys(n).forEach(r=>{const s=n[r];s instanceof Uint8Array?t[e++]=s:s instanceof ImageData&&(t[e++]=s.data)}),t}function B(n){const t=N(n),e=t.length,r=[],s=1+e*4,c=new Uint8Array(s);let a=0;c[a++]=e;for(let f=0;f<e;f++){const u=t[f].length,l=_._new_memory(u);_.HEAPU8.set(t[f],l),c[a++]=u>>24&255,c[a++]=u>>16&255,c[a++]=u>>8&255,c[a++]=u&255,r[f]=l}const o=_._new_memory(s);_.HEAPU8.set(c,o);let i=0;e===1?i=_._process_event_data(s,o,r[0],0):e===2&&(i=_._process_event_data(s,o,r[0],r[1])),_._free_memory(o);for(let f=0;f<e;f++)_._free_memory(r[f]);return i}function D(n){const t=_._get_return_n_packets(n);let e=_._get_return_packet_len(n,0),r=_._get_return_packet(n,0),s=new Uint8Array(_.HEAPU8.buffer,r,e);const c=j(s);return t===2&&Object.keys(c).forEach(a=>{const o=c[a];if(o.startsWith(A)){const i=o.split(y),f=parseInt(i[1]),u=parseInt(i[2]),l=parseInt(i[3]);if(e=_._get_return_packet_len(n,1),r=_._get_return_packet(n,1),f===1&&l===1){const m=new Uint8Array(_.HEAPU8.buffer,r,e);c[a]=w(m)}else{const m=new Uint8ClampedArray(_.HEAPU8.buffer,r,e),p=w(m);c[a]=new ImageData(p,u,f)}}}),c}function w(n){const t=n.constructor,e=new t(n.length);return e.set(n),e}const W="string";function h(n){return typeof n===W||n instanceof String}})();
2
- //# sourceMappingURL=da_object-Dmvt-Ksj.js.map
@@ -1,2 +0,0 @@
1
- (function(){"use strict";const a=",",v="get_config",m="get_config_result",u="initialize",o="initialize_error",l="initialize_success",d="ready",f="assets",E="config_name",p="da_object_js_url",g="wasm_js_url",j="wasm_module",w="already_initialized";function b(n){return n instanceof ArrayBuffer||n instanceof ImageData}function y(n){if(n instanceof ImageData)return n.data.buffer;if(n&&typeof n=="object"&&"buffer"in n&&n.buffer instanceof ArrayBuffer)return n.buffer}function h(n){return Object.values(n).filter(b).map(y)}class T{constructor(){this.max_n_objects=1,this.clear()}onmessage(e){throw new Error("Not implemented")}onerror(e){throw e}terminate(){if(this.da_objects)for(let e=0;e<this.max_n_objects;e++)this.da_objects[e].worker.terminate();this.clear()}clear(){this.n_objects=0,this.n_successes=0,this.n_errors=0,this.output_events=[],this.s_asset_data=void 0,this.s_config_name=void 0,this.s_wasm_module=void 0,this.s_da_object_js_url=void 0,this.s_wasm_js_url=void 0,this.da_system=void 0,this.da_objects=void 0}initializeSystemWorker(){if(this.da_system)throw"System worker already initialized";this.da_system=new Worker(this.s_da_object_js_url,{type:"module"}),this.da_system.onmessage=e=>{this.process_system_message(e.data.EVENT)}}initializeNodeWorkers(){if(this.da_objects)throw"Node workers already initialized";this.da_objects=[];for(let e=0;e<this.max_n_objects;e++)this.da_objects[e]={worker:new Worker(this.s_da_object_js_url,{type:"module"}),name:"",req_events:[],is_ready:!0,queue:new I}}requireProperty(e,t){if(!e[t])throw`Expected property "${t}" not present in the object`}postAppMessage(e){this.onmessage({data:e})}postMessage(e,t=[]){const s=e,{event:r}=s;if(r===u){if(this.n_objects!==0){this.postAppMessage({event:o,reason:w});return}this.validateInitializeEvent(s),this.s_config_name=s.config_name,this.s_asset_data=s.assets,this.s_wasm_module=s.wasm_module,this.s_wasm_js_url=s.wasm_js_url,this.s_da_object_js_url=s.da_object_js_url,this.initializeSystemWorker(),this.initializeNodeWorkers(),this.da_system.postMessage({event:v,timestamp:Date.now().toString(),assets:this.s_asset_data,config_name:this.s_config_name,wasm_module:this.s_wasm_module,wasm_js_url:this.s_wasm_js_url},t)}else this.send_event(s)}process_system_message(e){const{event:t}=e;if(t===m){let s={event:u,timestamp:Date.now().toString(),assets:this.s_asset_data,config_name:this.s_config_name,wasm_module:this.s_wasm_module,wasm_js_url:this.s_wasm_js_url};const r=e.names.split(a);for(const i in r){this.da_objects[i].name=r[i],s.object_name=r[i];const _=this.da_objects[i].worker;_.onmessage=x=>{this.process_worker_event(x)},_.postMessage(s,h(s)),this.n_objects++}this.output_events=e.output_events.split(a)}}service_queue(e){if(!e.is_ready||e.queue.isEmpty)return;const t=e.queue.getEvent();t&&(e.worker.postMessage(t,h(t)),e.is_ready=!1)}send_event(e){const{event:t}=e;for(const s in this.output_events)if(t===this.output_events[s]){this.postAppMessage(e);break}for(let s=0;s<this.n_objects;s++){const r=this.da_objects[s].req_events;let i=!1;for(const _ in r)if(r[_]===t){i=!0;break}i&&(this.da_objects[s].queue.addEvent(e),this.service_queue(this.da_objects[s]))}}process_worker_event(e){const{OBJECT_NAME:t,EVENT:s}=e.data,{event:r}=s;if(!r)return;let i=null;for(let _=0;_<this.n_objects;_++)if(this.da_objects[_].name===t){i=this.da_objects[_];break}i&&(r===l?(this.n_successes++,s.event_names&&(i.req_events=s.event_names.split(a)),s.throttled_events&&i.queue.setThrottledEvents(s.throttled_events.split(a)),s.max_events&&i.queue.setMaxOldestEvents(parseInt(s.max_events)),this.n_successes+this.n_errors===this.n_objects&&(this.postAppMessage({event:this.n_errors?o:l,timestamp:s.timestamp}),this.n_successes=0,this.n_errors=0)):r===o&&(this.n_errors++,this.n_successes+this.n_errors===this.n_objects&&(this.postAppMessage({event:o,timestamp:s.timestamp}),this.n_successes=0,this.n_errors=0)),r===d?(s.max_events&&i.queue.setMaxOldestEvents(parseInt(s.max_events)),i.is_ready=!0,this.service_queue(i)):this.send_event(s))}validateInitializeEvent(e){this.requireProperty(e,E),this.requireProperty(e,f),this.requireProperty(e,j),this.requireProperty(e,g),this.requireProperty(e,p)}}class I{constructor(){this.events={},this.n_events=0,this.throttled_events=[],this.use_newest_event=!0,this.max_oldest_events=-1,this.num_extra_events=2}setMaxOldestEvents(e){this.use_newest_event=!1,this.max_oldest_events=e}setThrottledEvents(e){this.throttled_events=e}addEvent(e){if(this.isThrottledEvent(e)){const t=this.getNumThrottledEventsInt();if(this.max_oldest_events>=0){const s=this.max_oldest_events+this.num_extra_events;if(t>=s)return}if(this.use_newest_event){const s=this.num_extra_events+1;t>=s&&this.removeFirstThrottledEvent()}}this.events[this.n_events]=e,this.n_events++}getEvent(){if(!this.n_events)return null;const e=this.events[0];for(let t=1;t<this.n_events;t++)this.events[t-1]=this.events[t];return this.n_events--,delete this.events[this.n_events],this.use_newest_event||!this.isThrottledEvent(e)?e:this.max_oldest_events?(this.max_oldest_events>0&&this.max_oldest_events--,e):null}get length(){return this.n_events}get isEmpty(){return this.n_events===0}isThrottledEvent(e){const{event:t}=e;for(let s in this.throttled_events)if(this.throttled_events[s]===t)return!0;return!1}getNumThrottledEventsInt(){let e=0;for(let t=0;t<this.n_events;t++)this.isThrottledEvent(this.events[t])&&e++;return e}removeFirstThrottledEvent(){if(this.length===0)return;let e=-1;for(let t=0;t<this.n_events;t++)if(this.isThrottledEvent(this.events[t])){e=t;break}if(!(e<0)){for(let t=e+1;t<this.n_events;t++)this.events[t-1]=this.events[t];this.n_events--,delete this.events[this.n_events]}}}let c=new T;c.onmessage=function(n){postMessage(n.data,h(n.data))},onmessage=function(n){c.postMessage(n.data)}})();
2
- //# sourceMappingURL=da_system_worker-ZGTOZ8Bz.js.map