Skip to content

Commit

Permalink
Merge branch 'master' into sync-backup
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasonvdb authored Oct 4, 2023
2 parents e5aa676 + 276ad76 commit ff9f5d4
Show file tree
Hide file tree
Showing 7 changed files with 233 additions and 57 deletions.
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ PODS:
- React-jsinspector (0.70.6)
- React-logger (0.70.6):
- glog
- react-native-ldk (0.0.109):
- react-native-ldk (0.0.111):
- React
- react-native-randombytes (3.6.1):
- React-Core
Expand Down Expand Up @@ -593,7 +593,7 @@ SPEC CHECKSUMS:
React-jsiexecutor: b4a65947391c658450151275aa406f2b8263178f
React-jsinspector: 60769e5a0a6d4b32294a2456077f59d0266f9a8b
React-logger: 1623c216abaa88974afce404dc8f479406bbc3a0
react-native-ldk: 3c1cd457a2372ef3eda9fbe144f4cdf6bc1fd6c3
react-native-ldk: 20bafd3ad8ea69c33841d7b4895379b6eb8cf9f6
react-native-randombytes: 421f1c7d48c0af8dbcd471b0324393ebf8fe7846
react-native-tcp-socket: c1b7297619616b4c9caae6889bcb0aba78086989
React-perflogger: 8c79399b0500a30ee8152d0f9f11beae7fc36595
Expand Down
8 changes: 4 additions & 4 deletions example/tests/lnd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ describe('LND', function () {
// - force close channel from LDK
// - check everything is ok

let fees = { highPriority: 3, normal: 2, background: 1 };
let fees = { highPriority: 3, normal: 2, background: 1, mempoolMinimum: 1 };

const lmStart = await lm.start({
...profile.getStartParams(),
Expand Down Expand Up @@ -655,8 +655,8 @@ describe('LND', function () {
EEventTypes.broadcast_transaction,
);

// set hight fees and restart LDK so it catches up
fees = { highPriority: 30, normal: 20, background: 10 };
// set height fees and restart LDK so it catches up
fees = { highPriority: 30, normal: 20, background: 10, mempoolMinimum: 1 };
const syncRes0 = await lm.syncLdk();
await lm.setFees();
if (syncRes0.isErr()) {
Expand Down Expand Up @@ -701,7 +701,7 @@ describe('LND', function () {
if (Platform.OS === 'android') {
// @ts-ignore
claimableBalances1.value = claimableBalances1.value.filter(
({ claimable_amount_satoshis }) => claimable_amount_satoshis > 0,
({ amount_satoshis }) => amount_satoshis > 0,
);
}
expect(claimableBalances1.value).to.have.length(1);
Expand Down
20 changes: 10 additions & 10 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1428,7 +1428,7 @@
"@sinonjs/commons" "^1.7.0"

"@synonymdev/react-native-ldk@../lib":
version "0.0.109"
version "0.0.111"
dependencies:
bitcoinjs-lib "^6.0.2"

Expand Down Expand Up @@ -2934,9 +2934,9 @@ decamelize@^4.0.0:
integrity sha512-9iE1PgSik9HeIIw2JO94IidnE3eBoQrFJ3w7sFuzSX4DpmZ3v5sZpUiV5Swcf6mQEF+Y0ru8Neo+p+nyh2J+hQ==

decode-uri-component@^0.2.0:
version "0.2.0"
resolved "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz"
integrity sha512-hjf+xovcEn31w/EUYdTXQh/8smFL/dzYjohQGEIgjyNavaJfBY2p5F527Bo1VPATxv0VYTUC2bOcXvqFwk78Og==
version "0.2.2"
resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.2.tgz#e69dbe25d37941171dd540e024c444cd5188e1e9"
integrity sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==

decode-uri-component@^0.4.1:
version "0.4.1"
Expand Down Expand Up @@ -3909,9 +3909,9 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5:
integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==

get-func-name@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41"
integrity sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==
version "2.0.2"
resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.2.tgz#0d7cf20cd13fda808669ffa88f4ffc7a3943fc41"
integrity sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==

get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3:
version "1.1.3"
Expand Down Expand Up @@ -5262,9 +5262,9 @@ json-stable-stringify-without-jsonify@^1.0.1:
integrity sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==

json5@^2.2.1:
version "2.2.1"
resolved "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz"
integrity sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==
version "2.2.3"
resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283"
integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==

jsonfile@^2.1.0:
version "2.4.0"
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@synonymdev/react-native-ldk",
"title": "React Native LDK",
"version": "0.0.109",
"version": "0.0.111",
"description": "React Native wrapper for LDK",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
Loading

0 comments on commit ff9f5d4

Please sign in to comment.