Skip to content

Commit

Permalink
🔥 hotfix prerelease [LLD(2.57.1), LLM(3.20.1-hotfix.0)]
Browse files Browse the repository at this point in the history
  • Loading branch information
live-github-bot[bot] committed Apr 26, 2023
1 parent c20a0d4 commit 3d58d1c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,7 @@
"native-modules-tools": "1.0.2",
"pnpm-utils": "1.0.1"
},
"changesets": []
"changesets": [
"stupid-readers-whisper"
]
}
16 changes: 16 additions & 0 deletions apps/ledger-live-mobile/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# live-mobile

## 3.20.1-hotfix.0

### Patch Changes

- [#3304](https://github.com/LedgerHQ/ledger-live/pull/3304) [`c20a0d4284`](https://github.com/LedgerHQ/ledger-live/commit/c20a0d4284ede962e42540cd9ab3e3399ca89d8f) Thanks [@live-github-bot](https://github.com/apps/live-github-bot)! - Patch `asyncstorage-down` to import AsyncStorage from `@react-native-async-storage/async-storage`

Ledger Live Mobile has been recently updated to 0.71. One side effect is that `AsyncStorage` was removed from the main `react-native` package and moved to `@react-native-async-storage/async-storage`.

LLM relies on an `fs` polyfill using `asyncstorage-down` under the hood, but the latter is now broken because it contains one hardcoded require call:

```js
require("react-native").AsyncStorage;
```

Patching `asyncstorage-down` to import `AsyncStorage` from the right package should solve the issue.

## 3.20.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion apps/ledger-live-mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "live-mobile",
"version": "3.20.0",
"version": "3.20.1-hotfix.0",
"private": true,
"scripts": {
"postinstall": "zx ./scripts/post.mjs",
Expand Down

0 comments on commit 3d58d1c

Please sign in to comment.