Skip to content

Commit 6d8a3fd

Browse files
NateIsernclaude
andcommitted
chore(deps): bloom 1.0.6, and the woff2 assets its web theme imports
Bloom 1.0's web theme entry imports its four `.woff2` faces straight from JS (`fonts/font-urls.web`, reached from `BloomThemeProvider`), and Metro carries neither `woff2` nor `woff` in its default `assetExts` — so the web bundle failed to resolve them as modules and the export died. `fonts={false}` does not avoid it: the import is module-level. Same two extensions Mention, Alia, Clarity and CrowdSource add for the same reason. This app depends on no `@oxyhq/services` or `@oxyhq/core`, so the three-package 1.0 upgrade is a single bump here. The typecheck is real evidence of it: `customConditions: ["react-native"]` resolves Bloom to its own `src/`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent 1b5ce2d commit 6d8a3fd

3 files changed

Lines changed: 10 additions & 11 deletions

File tree

bun.lock

Lines changed: 3 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

metro.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ const originalResolveRequest = config.resolver?.resolveRequest;
3333

3434
config.resolver = {
3535
...config.resolver,
36-
assetExts: [...(config.resolver?.assetExts ?? []), "wasm"],
36+
// `wasm`: expo-sqlite ships wa-sqlite as a WebAssembly binary on web.
37+
// `woff2`/`woff`: Bloom's web theme entry imports its four web fonts straight
38+
// from JS (`fonts/font-urls.web`), and Metro carries neither extension in its
39+
// default `assetExts`, so without them the web bundle fails to resolve them
40+
// as modules — `fonts={false}` does not help, the import is module-level.
41+
assetExts: [...(config.resolver?.assetExts ?? []), "wasm", "woff2", "woff"],
3742
resolveRequest(context, moduleName, platform) {
3843
// On web, replace react-native-tcp-socket with an empty shim
3944
// (TCP sockets are not available in browsers; Electron uses IPC instead)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@maplibre/maplibre-react-native": "^10.4.2",
2727
"@noble/hashes": "1.8.0",
2828
"@noble/secp256k1": "2.3.0",
29-
"@oxyhq/bloom": "0.50.2",
29+
"@oxyhq/bloom": "1.0.6",
3030
"@scure/bip32": "1.7.0",
3131
"@scure/bip39": "1.6.0",
3232
"@shopify/flash-list": "2.3.2",

0 commit comments

Comments
 (0)