@prosopo/procaptcha-bundle 4.1.43 → 4.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.1.43 build:cjs
2
+ > @prosopo/procaptcha-bundle@4.1.44 build:cjs
3
3
  > NODE_ENV=${NODE_ENV:-development}; vite build --config vite.cjs.config.ts --mode $NODE_ENV
4
4
 
5
5
  ViteCommonJSConfig: .
@@ -10,11 +10,10 @@ ViteCommonJSConfig: .
10
10
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
11
11
  '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
12
12
  '/home/runner/work/captcha/captcha/packages/procaptcha-frictionless/tsconfig.json',
13
- '/home/runner/work/captcha/captcha/packages/detector/tsconfig.json',
14
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
15
- '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
16
13
  '/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
17
14
  '/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
15
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
16
+ '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
18
17
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
19
18
  '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
20
19
  '/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
@@ -36,11 +35,10 @@ ViteCommonJSConfig: .
36
35
  '@prosopo/util',
37
36
  '@prosopo/locale',
38
37
  '@prosopo/procaptcha-frictionless',
39
- '@prosopo/detector',
40
- '@prosopo/types',
41
- '@prosopo/util-crypto',
42
38
  '@prosopo/procaptcha-pow',
43
39
  '@prosopo/api',
40
+ '@prosopo/types',
41
+ '@prosopo/util-crypto',
44
42
  '@prosopo/common',
45
43
  '@prosopo/fingerprint',
46
44
  '@prosopo/fingerprintjs',
@@ -75,4 +73,4 @@ dist/cjs/index.cjs 5.35 kB │ gzip: 1.66 kB
75
73
 
76
74
  [MIXED_EXPORTS] Entry module "src/index.ts" is using named (including "default", "execute", "render", "reset") and default exports together. Consumers of your bundle will have to use `..default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
77
75
  
78
- ✓ built in 57ms
76
+ ✓ built in 59ms
@@ -1,8 +1,8 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.1.43 build:tsc
2
+ > @prosopo/procaptcha-bundle@4.1.44 build:tsc
3
3
  > tsc --build --verbose
4
4
 
5
- 11:41:20 PM - Projects in this build:
5
+ 11:10:45 AM - Projects in this build:
6
6
  * ../../dev/config/tsconfig.json
7
7
  * ../util/tsconfig.json
8
8
  * ../logger/tsconfig.json
@@ -10,7 +10,6 @@
10
10
  * ../locale/tsconfig.json
11
11
  * ../util-crypto/tsconfig.json
12
12
  * ../types/tsconfig.json
13
- * ../detector/tsconfig.json
14
13
  * ../api/tsconfig.json
15
14
  * ../common/tsconfig.json
16
15
  * ../fingerprintjs/tsconfig.json
@@ -28,53 +27,51 @@
28
27
  * ../procaptcha-frictionless/tsconfig.json
29
28
  * tsconfig.json
30
29
 
31
- 11:41:20 PM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
30
+ 11:10:45 AM - Project '../../dev/config/tsconfig.json' is up to date because newest input '../../dev/config/src/webpack/webpack.config.ts' is older than output '../../dev/config/tsconfig.tsbuildinfo'
32
31
 
33
- 11:41:20 PM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
32
+ 11:10:45 AM - Project '../util/tsconfig.json' is up to date because newest input '../util/src/url.ts' is older than output '../util/tsconfig.tsbuildinfo'
34
33
 
35
- 11:41:20 PM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
34
+ 11:10:45 AM - Project '../logger/tsconfig.json' is up to date because newest input '../logger/src/index.ts' is older than output '../logger/tsconfig.tsbuildinfo'
36
35
 
37
- 11:41:20 PM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/env.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
36
+ 11:10:45 AM - Project '../dotenv/tsconfig.json' is up to date because newest input '../dotenv/src/index.ts' is older than output '../dotenv/tsconfig.tsbuildinfo'
38
37
 
39
- 11:41:20 PM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
38
+ 11:10:45 AM - Project '../locale/tsconfig.json' is up to date because newest input '../locale/src/translationKey.ts' is older than output '../locale/tsconfig.tsbuildinfo'
40
39
 
41
- 11:41:20 PM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
40
+ 11:10:45 AM - Project '../util-crypto/tsconfig.json' is up to date because newest input '../util-crypto/src/types.ts' is older than output '../util-crypto/tsconfig.tsbuildinfo'
42
41
 
43
- 11:41:20 PM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/procaptcha/api.ts' is older than output '../types/tsconfig.tsbuildinfo'
42
+ 11:10:45 AM - Project '../types/tsconfig.json' is up to date because newest input '../types/src/types.test-d.ts' is older than output '../types/tsconfig.tsbuildinfo'
44
43
 
45
- 11:41:21 PM - Project '../detector/tsconfig.json' is up to date because newest input '../detector/src/index.js' is older than output '../detector/tsconfig.tsbuildinfo'
44
+ 11:10:45 AM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
46
45
 
47
- 11:41:21 PM - Project '../api/tsconfig.json' is up to date because newest input '../api/src/index.ts' is older than output '../api/tsconfig.tsbuildinfo'
46
+ 11:10:45 AM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/tests/utils/batches.unit.test.ts' is older than output '../common/tsconfig.tsbuildinfo'
48
47
 
49
- 11:41:21 PM - Project '../common/tsconfig.json' is up to date because newest input '../common/src/error.ts' is older than output '../common/tsconfig.tsbuildinfo'
48
+ 11:10:45 AM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
50
49
 
51
- 11:41:21 PM - Project '../fingerprintjs/tsconfig.json' is up to date because newest input '../fingerprintjs/src/utils/browser.ts' is older than output '../fingerprintjs/tsconfig.tsbuildinfo'
50
+ 11:10:45 AM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
52
51
 
53
- 11:41:21 PM - Project '../fingerprint/tsconfig.json' is up to date because newest input '../fingerprint/src/index.ts' is older than output '../fingerprint/tsconfig.tsbuildinfo'
52
+ 11:10:45 AM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/tests/providers.unit.test.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
54
53
 
55
- 11:41:21 PM - Project '../load-balancer/tsconfig.json' is up to date because newest input '../load-balancer/src/balancer.ts' is older than output '../load-balancer/tsconfig.tsbuildinfo'
54
+ 11:10:45 AM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/webComponent/createWidget.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
56
55
 
57
- 11:41:21 PM - Project '../widget-skeleton/tsconfig.json' is up to date because newest input '../widget-skeleton/src/index.ts' is older than output '../widget-skeleton/tsconfig.tsbuildinfo'
56
+ 11:10:45 AM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
58
57
 
59
- 11:41:21 PM - Project '../keyring/tsconfig.json' is up to date because newest input '../keyring/src/index.ts' is older than output '../keyring/tsconfig.tsbuildinfo'
58
+ 11:10:45 AM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/workers/cryptoWorker.ts' is older than output '../account/tsconfig.tsbuildinfo'
60
59
 
61
- 11:41:21 PM - Project '../account/tsconfig.json' is up to date because newest input '../account/src/index.ts' is older than output '../account/tsconfig.tsbuildinfo'
60
+ 11:10:45 AM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/extensionLoader.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
62
61
 
63
- 11:41:21 PM - Project '../procaptcha-common/tsconfig.json' is up to date because newest input '../procaptcha-common/src/extensionLoader.ts' is older than output '../procaptcha-common/tsconfig.tsbuildinfo'
62
+ 11:10:45 AM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/tests/managerHarness.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
64
63
 
65
- 11:41:21 PM - Project '../procaptcha-pow/tsconfig.json' is up to date because newest input '../procaptcha-pow/src/index.ts' is older than output '../procaptcha-pow/tsconfig.tsbuildinfo'
64
+ 11:10:45 AM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/tests/managerHarness.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
66
65
 
67
- 11:41:21 PM - Project '../procaptcha-puzzle/tsconfig.json' is up to date because newest input '../procaptcha-puzzle/src/index.ts' is older than output '../procaptcha-puzzle/tsconfig.tsbuildinfo'
66
+ 11:10:45 AM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/index.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
68
67
 
69
- 11:41:21 PM - Project '../datasets/tsconfig.json' is up to date because newest input '../datasets/src/tests/dataset.unit.test.ts' is older than output '../datasets/tsconfig.tsbuildinfo'
68
+ 11:10:45 AM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/modules/Manager.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
70
69
 
71
- 11:41:21 PM - Project '../procaptcha/tsconfig.json' is up to date because newest input '../procaptcha/src/index.ts' is older than output '../procaptcha/tsconfig.tsbuildinfo'
70
+ 11:10:45 AM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/index.ts' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
72
71
 
73
- 11:41:21 PM - Project '../procaptcha-react/tsconfig.json' is up to date because newest input '../procaptcha-react/src/index.ts' is older than output '../procaptcha-react/tsconfig.tsbuildinfo'
72
+ 11:10:45 AM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/ProcaptchaFrictionless.tsx' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
74
73
 
75
- 11:41:21 PM - Project '../procaptcha-frictionless/tsconfig.json' is up to date because newest input '../procaptcha-frictionless/src/ProcaptchaFrictionless.tsx' is older than output '../procaptcha-frictionless/tsconfig.tsbuildinfo'
74
+ 11:10:45 AM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
76
75
 
77
- 11:41:21 PM - Project 'tsconfig.json' is out of date because output file 'tsconfig.tsbuildinfo' does not exist
78
-
79
- 11:41:21 PM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-bundle/tsconfig.json'...
76
+ 11:10:45 AM - Building project '/home/runner/work/captcha/captcha/packages/procaptcha-bundle/tsconfig.json'...
80
77
 
@@ -1,9 +1,9 @@
1
1
 
2
- > @prosopo/procaptcha-bundle@4.1.43 build
2
+ > @prosopo/procaptcha-bundle@4.1.44 build
3
3
  > npm run build:cross-env -- --mode ${NODE_ENV:-development}
4
4
 
5
5
 
6
- > @prosopo/procaptcha-bundle@4.1.43 build:cross-env
6
+ > @prosopo/procaptcha-bundle@4.1.44 build:cross-env
7
7
  > vite build --config vite.esm.config.ts --mode production
8
8
 
9
9
  ViteEsmConfig: .
@@ -14,11 +14,10 @@ ViteEsmConfig: .
14
14
  '/home/runner/work/captcha/captcha/packages/util/tsconfig.json',
15
15
  '/home/runner/work/captcha/captcha/packages/locale/tsconfig.json',
16
16
  '/home/runner/work/captcha/captcha/packages/procaptcha-frictionless/tsconfig.json',
17
- '/home/runner/work/captcha/captcha/packages/detector/tsconfig.json',
18
- '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
19
- '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
20
17
  '/home/runner/work/captcha/captcha/packages/procaptcha-pow/tsconfig.json',
21
18
  '/home/runner/work/captcha/captcha/packages/api/tsconfig.json',
19
+ '/home/runner/work/captcha/captcha/packages/types/tsconfig.json',
20
+ '/home/runner/work/captcha/captcha/packages/util-crypto/tsconfig.json',
22
21
  '/home/runner/work/captcha/captcha/packages/common/tsconfig.json',
23
22
  '/home/runner/work/captcha/captcha/packages/fingerprint/tsconfig.json',
24
23
  '/home/runner/work/captcha/captcha/packages/fingerprintjs/tsconfig.json',
@@ -40,11 +39,10 @@ ViteEsmConfig: .
40
39
  '@prosopo/util',
41
40
  '@prosopo/locale',
42
41
  '@prosopo/procaptcha-frictionless',
43
- '@prosopo/detector',
44
- '@prosopo/types',
45
- '@prosopo/util-crypto',
46
42
  '@prosopo/procaptcha-pow',
47
43
  '@prosopo/api',
44
+ '@prosopo/types',
45
+ '@prosopo/util-crypto',
48
46
  '@prosopo/common',
49
47
  '@prosopo/fingerprint',
50
48
  '@prosopo/fingerprintjs',
@@ -77,4 +75,4 @@ dist/util/captcha/captchaRenderer.js 1.93 kB │ gzip: 0.70 kB
77
75
  dist/util/widgetFactory.js 2.52 kB │ gzip: 0.85 kB
78
76
  dist/index.js 5.03 kB │ gzip: 1.58 kB
79
77
 
80
- ✓ built in 34ms
78
+ ✓ built in 59ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @prosopo/procaptcha-bundle
2
2
 
3
+ ## 4.1.44
4
+ ### Patch Changes
5
+
6
+ - 787017b: Keep util-crypto in the shared browser chunk. Split into its own chunk it
7
+ formed a Rolldown chunk cycle with the fingerprint chunk on the detector-pool
8
+ branch, where the detector is no longer bundled into the widget. Whichever
9
+ chunk evaluated first read the other's module-scope bindings before they were
10
+ assigned, so the widget threw on load ("init_dist is not a function", then
11
+ isHex reading `.test` of undefined) and never defined window.procaptcha.
12
+ - Updated dependencies [787017b]
13
+ - Updated dependencies [787017b]
14
+ - Updated dependencies [787017b]
15
+ - Updated dependencies [6f19cde]
16
+ - Updated dependencies [2bc8e73]
17
+ - @prosopo/types@5.0.0
18
+ - @prosopo/procaptcha-frictionless@2.13.0
19
+ - @prosopo/widget-skeleton@2.8.5
20
+ - @prosopo/procaptcha-common@2.11.20
21
+
3
22
  ## 4.1.43
4
23
  ### Patch Changes
5
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prosopo/procaptcha-bundle",
3
- "version": "4.1.43",
3
+ "version": "4.1.44",
4
4
  "author": "PROSOPO LIMITED <info@prosopo.io>",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",
@@ -41,11 +41,11 @@
41
41
  "dependencies": {
42
42
  "@prosopo/dotenv": "3.0.50",
43
43
  "@prosopo/locale": "3.2.8",
44
- "@prosopo/procaptcha-common": "2.11.19",
45
- "@prosopo/procaptcha-frictionless": "2.12.24",
46
- "@prosopo/types": "4.10.0",
44
+ "@prosopo/procaptcha-common": "2.11.20",
45
+ "@prosopo/procaptcha-frictionless": "2.13.0",
46
+ "@prosopo/types": "5.0.0",
47
47
  "@prosopo/util": "3.3.5",
48
- "@prosopo/widget-skeleton": "2.8.4",
48
+ "@prosopo/widget-skeleton": "2.8.5",
49
49
  "dotenv": "16.4.5",
50
50
  "fast-glob": "3.3.2",
51
51
  "jsdom": "25.0.0",
@@ -68,7 +68,7 @@
68
68
  "registry": "https://registry.npmjs.org"
69
69
  },
70
70
  "devDependencies": {
71
- "@prosopo/config": "3.3.5",
71
+ "@prosopo/config": "3.3.6",
72
72
  "@types/jsdom": "21.1.7",
73
73
  "@types/node": "22.10.2",
74
74
  "@types/react": "18.3.1",