edge-core-js 2.43.6 → 2.45.0
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/CHANGELOG.md +10 -1
- package/README.md +3 -3
- package/android/src/main/assets/edge-core-js/edge-core.js +1 -1
- package/android/src/main/assets/edge-core-js/fbcba1e9b05cb4dd9870.js +2 -0
- package/android/src/main/assets/edge-core-js/web-worker-0.js +1 -1
- package/lib/core/account/memory-wallet.js +19 -0
- package/lib/flow/types.js +1 -0
- package/lib/node/index.js +110 -100
- package/lib/types/types.js +1 -0
- package/package.json +6 -6
- package/src/types/types.ts +1 -0
- package/types.js +90 -90
- package/android/src/main/assets/edge-core-js/27cab3e7ba7549594ad5.js +0 -2
- /package/android/src/main/assets/edge-core-js/{27cab3e7ba7549594ad5.js.LICENSE.txt → fbcba1e9b05cb4dd9870.js.LICENSE.txt} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 2.45.0 (2026-06-12)
|
|
6
|
+
|
|
7
|
+
- changed: Convert the build tooling from Yarn to npm.
|
|
8
|
+
- security: Upgrade dependencies per Socket security recommendations.
|
|
9
|
+
|
|
10
|
+
## 2.44.0 (2026-04-06)
|
|
11
|
+
|
|
12
|
+
- added: Expose engine otherMethods on EdgeMemoryWallet so memory wallets support custom methods like makeMaxSpend.
|
|
13
|
+
|
|
5
14
|
## 2.43.6 (2026-04-02)
|
|
6
15
|
|
|
7
16
|
- fixed: Upgraded @nymproject/mix-fetch with promised reliability improvements.
|
|
@@ -961,7 +970,7 @@ This release completely changes the way React Native works, both to improve perf
|
|
|
961
970
|
- Stop depending on external libraries such as react-native-fast-crypto, react-native-randombytes, or react-native-webview.
|
|
962
971
|
- Use React Native auto-linking to integrate all native code, HTML, and Javascript needed to run the core.
|
|
963
972
|
- Accept core plugins via a `pluginUris` prop to `MakeEdgeContext` or `MakeFakeEdgeWorld`.
|
|
964
|
-
- Allow core debugging by running `
|
|
973
|
+
- Allow core debugging by running `npm run start` in this repo to start a dev server, and then setting the `debug` prop to true.
|
|
965
974
|
- Accept an `allowDebugging` prop on Android to enable WebView debugging in general (useful for debugging plugins).
|
|
966
975
|
- changed: Require `EdgeCurrencyEngine` methods to return promises.
|
|
967
976
|
- changed: Mark methods as `readonly` in the TypeScript definitions, to match what Flow was already doing.
|
package/README.md
CHANGED
|
@@ -82,12 +82,12 @@ The core itself runs inside a hidden WebView, which this `MakeEdgeContext` compo
|
|
|
82
82
|
|
|
83
83
|
The core creates a `<script>` tag for each source file in the `pluginUris` array. For this to work, you need to add these plugin files to your app's native asset bundle, which is located at `/android/app/src/main/assets/` on Android. For iOS, drag these files into the "Resources" section of your Xcode project.
|
|
84
84
|
|
|
85
|
-
To debug the core, run `
|
|
85
|
+
To debug the core, run `npm run start` inside the edge-core-js project, and then pass a `debug={true}` property to the `MakeEdgeContext` component. This tells the WebView to load the core from a local development server.
|
|
86
86
|
|
|
87
87
|
## Contributing
|
|
88
88
|
|
|
89
|
-
Run `
|
|
89
|
+
Run `npm install` to download dependencies, and then run `npm run prepare` to build the library.
|
|
90
90
|
|
|
91
|
-
Use `
|
|
91
|
+
Use `npm run verify` to run all our code-quality tools. All sources are in the [JavaScript Standard Style](http://standardjs.com/) + [Prettier](https://prettier.io/). We check files prior to each commit, so if you have formatting issues, you can run `npm run fix` to fix them automatically.
|
|
92
92
|
|
|
93
93
|
If you use Visual Studio Code, consider installing the [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension. This will give you nice error highlighting as you work, along with quick fixes for formatting issues.
|