Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
node:
- 16.10.0
- 18.12.0
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/package_for_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
node:
- 16.10.0
- 18.12.0
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
node:
- 16.10.0
- 18.12.0
os:
- macos-latest
- ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Nervos CKB Full-Node Desktop Wallet

### Prerequisites

You will need `node >= 16` and `yarn >= 1.14` to build and run Neuron.
You will need `node >= 18.12.0` and `yarn >= 1.14` to build and run Neuron.

#### Lerna

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"license": "MIT",
"engines": {
"node": ">= 16.0",
"node": ">= 18.12",
"yarn": ">= 1.14"
},
"workspaces": [
Expand All @@ -32,7 +32,7 @@
"build:main": "lerna run build --scope=neuron-wallet",
"release": "yarn build && ./scripts/copy-ui-files.sh && ./scripts/release.sh",
"package:test": "yarn build && ./scripts/copy-ui-files.sh && ./scripts/package-for-test.sh",
"test": "lerna run --parallel test",
"test": "cross-env NODE_OPTIONS=--openssl-legacy-provider lerna run --parallel test",
"test:ci": "yarn build:main && yarn test",
"lint": "lerna run --stream lint",
"postinstall": "lerna run build --scope=@nervina-labs/ckb-indexer",
Expand Down
2 changes: 1 addition & 1 deletion packages/neuron-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"reflect-metadata": "0.1.13",
"rxjs": "6.5.3",
"sha3": "2.0.7",
"sqlite3": "5.0.8",
"sqlite3": "5.1.2",
Comment thread
yanguoyu marked this conversation as resolved.
"subleveldown": "4.1.4",
"typeorm": "0.2.25",
"uuid": "8.3.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/neuron-wallet/src/utils/to-csv-row.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const toCSVRow = (
txType = +tx.sudtInfo.amount <= 0 ? `UDT ${SEND_TYPE}` : `UDT ${RECEIVE_TYPE}`
}
} else {
amount = shannonToCKB(BigInt(tx.value))
amount = shannonToCKB(BigInt(tx.value!))
if (tx.nervosDao) {
txType = `Nervos DAO`
} else if (['create', 'destroy'].includes(tx.type || '')) {
Expand Down
Loading