Skip to content

Commit 2a34f64

Browse files
authored
Merge branch 'master' into release-v1.0.8
2 parents 32ef851 + 96d388e commit 2a34f64

File tree

410 files changed

+7828
-6813
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+7828
-6813
lines changed

.env.development.template

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,34 @@ ENABLE_MIGRATION_DEBUG=false
1313
# react-native-ldk JS logs
1414
ENABLE_LDK_LOGS=true
1515

16+
# Bitkit backend
17+
BACKEND_HOST=https://bitkit.stag0.blocktank.to
18+
1619
# LDK backups
17-
BACKUPS_SERVER_HOST=https://blocktank.synonym.to/staging-backups-ldk
20+
BACKUPS_SERVER_HOST=https://bitkit.stag0.blocktank.to/backups-ldk
1821
BACKUPS_SERVER_PUBKEY=02c03b8b8c1b5500b622646867d99bf91676fac0f38e2182c91a9ff0d053a21d6d
1922

2023
# Slashtags
2124
WEB_RELAY=https://webrelay.slashtags.to
2225

2326
# Blocktank
24-
BLOCKTANK_HOST=https://api1.blocktank.to/api
27+
BLOCKTANK_HOST=https://api.stag0.blocktank.to/blocktank/api/v2
2528

2629
# Network
2730
ELECTRUM_BITCOIN_HOST=35.187.18.233
2831
ELECTRUM_BITCOIN_SSL_PORT=8900
2932
ELECTRUM_BITCOIN_TCP_PORT=8911
3033
ELECTRUM_BITCOIN_PROTO=ssl
3134

32-
ELECTRUM_REGTEST_HOST=35.233.47.252
35+
ELECTRUM_REGTEST_HOST=34.65.86.104
3336
ELECTRUM_REGTEST_SSL_PORT=18484
3437
ELECTRUM_REGTEST_TCP_PORT=18483
3538
ELECTRUM_REGTEST_PROTO=tcp
3639

37-
ELECTRUM_SIGNET_HOST=35.233.47.252
38-
ELECTRUM_SIGNET_SSL_PORT=18484
39-
ELECTRUM_SIGNET_TCP_PORT=18483
40-
ELECTRUM_SIGNET_PROTO=tcp
41-
4240
TREASURE_HUNT_HOST=" "
4341

4442
# format: "<pubkey>, <pubkey>, ..."
45-
TRUSTED_ZERO_CONF_PEERS="0296b2db342fcf87ea94d981757fdf4d3e545bd5cef4919f58b5d38dfdd73bf5c9,03b9a456fb45d5ac98c02040d39aec77fa3eeb41fd22cf40b862b393bcfc43473a,039b8b4dd1d88c2c5db374290cda397a8f5d79f312d6ea5d5bfdfc7c6ff363eae3,03342eac98d8c07ac8a4f303b2ad09a34b3350357730013d534d0537a4d1d8a14d,03816141f1dce7782ec32b66a300783b1d436b19777e7c686ed00115bd4b88ff4b"
43+
TRUSTED_ZERO_CONF_PEERS="028a8910b0048630d4eb17af25668cdd7ea6f2d8ae20956e7a06e2ae46ebcb69fc,0296b2db342fcf87ea94d981757fdf4d3e545bd5cef4919f58b5d38dfdd73bf5c9,03b9a456fb45d5ac98c02040d39aec77fa3eeb41fd22cf40b862b393bcfc43473a,039b8b4dd1d88c2c5db374290cda397a8f5d79f312d6ea5d5bfdfc7c6ff363eae3,03342eac98d8c07ac8a4f303b2ad09a34b3350357730013d534d0537a4d1d8a14d,03816141f1dce7782ec32b66a300783b1d436b19777e7c686ed00115bd4b88ff4b"
4644

4745
WALLET_DEFAULT_SELECTED_NETWORK=bitcoin
4846

.env.test.template

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ ENABLE_MIGRATION_DEBUG=false
1313
# react-native-ldk JS logs
1414
ENABLE_LDK_LOGS=false
1515

16+
# Bitkit backend
17+
BACKEND_HOST=https://bitkit.stag0.blocktank.to
18+
1619
# LDK backups
1720
BACKUPS_SERVER_HOST=http://127.0.0.1:3003
1821
BACKUPS_SERVER_PUBKEY=0319c4ff23820afec0c79ce3a42031d7fef1dff78b7bdd69b5560684f3e1827675
@@ -34,11 +37,6 @@ ELECTRUM_REGTEST_SSL_PORT=60001
3437
ELECTRUM_REGTEST_TCP_PORT=60001
3538
ELECTRUM_REGTEST_PROTO=tcp
3639

37-
ELECTRUM_SIGNET_HOST=35.233.47.252
38-
ELECTRUM_SIGNET_SSL_PORT=18484
39-
ELECTRUM_SIGNET_TCP_PORT=18483
40-
ELECTRUM_SIGNET_PROTO=tcp
41-
4240
TREASURE_HUNT_HOST=" "
4341

4442
# format: "<pubkey>, <pubkey>, ..."

.eslintignore

Lines changed: 0 additions & 13 deletions
This file was deleted.

.eslintrc.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

.github/workflows/lint-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66

77
jobs:
8-
eslint:
8+
lint:
99
name: Run lint check
1010
runs-on: ubuntu-latest
1111

.prettierrc.js

Lines changed: 0 additions & 9 deletions
This file was deleted.

.tx/config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,9 @@ file_filter = src/utils/i18n/locales/<lang>/wallet.json
6060
source_file = src/utils/i18n/locales/en/wallet.json
6161
source_lang = en
6262
type = STRUCTURED_JSON
63+
64+
[o:synonym:p:bitkit:r:widgets]
65+
file_filter = src/utils/i18n/locales/<lang>/widgets.json
66+
source_file = src/utils/i18n/locales/en/widgets.json
67+
source_lang = en
68+
type = STRUCTURED_JSON

__tests__/todos.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ describe('Todos selector', () => {
6767

6868
it('should not return backupSeedPhraseTodo if backup is verified', () => {
6969
const state = cloneDeep(s);
70-
state.user.backupVerified = true;
70+
state.settings.backupVerified = true;
7171

7272
expect(todosFullSelector(state)).not.toEqual(
7373
expect.arrayContaining([backupSeedPhraseTodo]),

babel.config.js

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
const { types } = require('@babel/core');
21
const { E2E_TESTS } = process.env;
32

43
module.exports = {
54
presets: ['module:@react-native/babel-preset'],
65
plugins: [
7-
// Support bigint literal `0n`
8-
transformBigIntLiteral,
96
// Support `for await () {}`
107
'@babel/plugin-proposal-async-generator-functions',
118
[
@@ -25,17 +22,3 @@ module.exports = {
2522
},
2623
},
2724
};
28-
29-
// Copied from unsupported https://github.com/babel/babel/pull/10102/files
30-
function transformBigIntLiteral() {
31-
return {
32-
visitor: {
33-
BigIntLiteral(path) {
34-
const bigintCall = types.callExpression(types.identifier('BigInt'), [
35-
types.stringLiteral(path.node.value),
36-
]);
37-
path.replaceWith(bigintCall);
38-
},
39-
},
40-
};
41-
}

biome.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"files": {
3+
"ignore": ["src/polyfills/**"]
4+
},
5+
"linter": {
6+
"rules": {
7+
"complexity": {
8+
"noBannedTypes": "off",
9+
"noForEach": "off"
10+
},
11+
"nursery": {
12+
"useExplicitType": "off"
13+
},
14+
"correctness": {
15+
"noUnusedFunctionParameters": "error",
16+
"noUnusedVariables": "error"
17+
},
18+
"performance": {
19+
"noAccumulatingSpread": "off"
20+
},
21+
"suspicious": {
22+
"noExplicitAny": "off",
23+
"noArrayIndexKey": "off"
24+
},
25+
"style": {
26+
"noNonNullAssertion": "off",
27+
"noParameterAssign": "off",
28+
"useImportType": "off",
29+
"useNodejsImportProtocol": "off"
30+
}
31+
}
32+
},
33+
"javascript": {
34+
"formatter": {
35+
"bracketSameLine": true,
36+
"quoteStyle": "single"
37+
}
38+
}
39+
}

0 commit comments

Comments
 (0)