@prosopo/procaptcha-bundle 4.1.42 → 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.
- package/.turbo/turbo-build$colon$cjs.log +6 -8
- package/.turbo/turbo-build$colon$tsc.log +26 -29
- package/.turbo/turbo-build.log +7 -9
- package/CHANGELOG.md +25 -0
- package/package.json +6 -6
- package/tsconfig.tsbuildinfo +1 -1
- package/vite.config.ts +12 -1
package/vite.config.ts
CHANGED
|
@@ -155,8 +155,19 @@ export default defineConfig(async ({ command, mode }) => {
|
|
|
155
155
|
if (id.includes("@polkadot/keyring")) {
|
|
156
156
|
return "web3Chunk";
|
|
157
157
|
}
|
|
158
|
+
// util-crypto rides in the shared browser chunk rather than
|
|
159
|
+
// its own. Split apart, Rolldown emits a cycle between the two
|
|
160
|
+
// (fingerprint <-> utilCryptoChunk) on this branch, where the
|
|
161
|
+
// detector is no longer bundled into the widget and the module
|
|
162
|
+
// graph is shaped differently. Whichever chunk evaluated first
|
|
163
|
+
// then read the other's module-scope bindings before they were
|
|
164
|
+
// assigned, so the widget died on load — first with
|
|
165
|
+
// "init_dist is not a function", then with isHex reading
|
|
166
|
+
// `.test` of undefined. Same chunk = one evaluation order = no
|
|
167
|
+
// cycle, and it preserves the single-instance property the
|
|
168
|
+
// shared chunk exists for.
|
|
158
169
|
if (id.includes("packages/util-crypto/dist")) {
|
|
159
|
-
return
|
|
170
|
+
return sharedBrowserChunkName;
|
|
160
171
|
}
|
|
161
172
|
if (id.includes("@noble/hash") || id.includes("@noble/curves")) {
|
|
162
173
|
return "nobleChunk";
|