Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: remove peerDependency of toolkit #559

Closed
wants to merge 75 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
caa5661
chore: unnecessary yarn
homura May 7, 2023
e3797f2
chore: missing dependencies
homura May 7, 2023
6d7cbda
chore: update to typescript 5
homura May 7, 2023
489e9ae
chore: remove unnecessary code
homura May 7, 2023
ea82a6e
chore: keep ts-node in same ver
homura May 7, 2023
7808dff
chore: update eslint
homura May 7, 2023
f9a2016
chore(website): correct dependencies
homura May 7, 2023
af5377f
fix: eslint error
homura May 10, 2023
7bb29d4
fix(website): correct the doc org
homura May 10, 2023
7a88d35
chore: move pkg manager to pnpm
homura May 10, 2023
7ece45e
chore: prettier before commit
homura May 10, 2023
95497b6
chore: migrate ci from yarn to pnpm
homura May 11, 2023
86f642b
fix: missing shx
homura May 11, 2023
c1270ec
chore: update lock file
homura May 11, 2023
ab43374
fix: e2e test failed
homura May 11, 2023
6944dc8
chore: merge with the latest
homura May 25, 2023
2abbe87
test(ckb-indexer): optimize test flow
homura May 26, 2023
feecc49
chore: debug ci
homura May 26, 2023
fc32bbe
chore: use npm to replace lerna when test
homura May 26, 2023
04de306
feat(utils): utility function library for lumos
homura Jun 4, 2023
b5eef2c
feat(runner): download/config ckb and light client binaries
homura Jun 4, 2023
00690b2
feat(runner): upgrade to [email protected] and [email protected]
homura Jun 4, 2023
08a8d1e
chore: update dependencies
homura Jun 4, 2023
ce5931f
Merge remote-tracking branch 'origin/develop' into pnpm-ts-5
homura Jun 4, 2023
a69db38
chore: bump to 0.20.0-alpha.3
homura Jun 4, 2023
cf458e4
fix(runner): check existence in findFileSync
homura Jun 4, 2023
9234e41
chore: update lockfile
homura Jun 4, 2023
4344178
fix: ensure port are free when running tests
homura Jun 4, 2023
7c4ffd4
chore: upgrade typedoc to build api
homura Jun 5, 2023
e042d44
refactor: remove unused code
homura Jun 5, 2023
c31567c
chore: typo
homura Jun 7, 2023
f5c83f0
chore: replace yarn with npx/npm
homura Jun 7, 2023
453a962
ci: update to the latest pnpm
homura Jun 7, 2023
17f8053
feat!: breaking change from ckb2023 rpc
homura Jun 15, 2023
d10cc7a
chore: pre-release when creating github release
homura Jun 15, 2023
355398b
test(rpc): update consensus test case
homura Jun 15, 2023
f008516
test: update tx structure to ckb2023
homura Jun 15, 2023
de4f003
Merge remote-tracking branch 'origin/ckb2023' into ckb2023
homura Jun 15, 2023
1701e12
test: upgrade tx structure in e2e-test
homura Jun 16, 2023
02a5228
test: decrease miner interval to speedup e2e
homura Jun 16, 2023
00e64f1
test: update test node to v0.111.0
homura Jun 16, 2023
eb8a733
chore: update lock file
homura Jun 16, 2023
51e5c5c
refactor: rm unused code
homura Jun 16, 2023
80b2d5d
feat: support data2 for ckb2023
homura Jun 19, 2023
3103d58
feat: revert hardfork features structure
zhangyouxin Jul 5, 2023
5d70de3
chore: upgrade ckb binary verison to v0.111.0-rc8
zhangyouxin Jul 5, 2023
6e1b340
Merge remote-tracking branch 'ckb-js/develop' into ckb2023
homura Aug 2, 2023
de0b53f
chore: update lockfile
homura Aug 2, 2023
526ab2f
feat(rpc): type def for different verbosity of get_transaction
homura Aug 3, 2023
4d2367a
chore: canary release for ckb2023
homura Aug 3, 2023
a98c0d3
refactor(base): correct data2 serialization
homura Sep 15, 2023
a50111a
chore(e2e-test): temp disable e2e test for light client
homura Sep 15, 2023
953518b
chore: indexer cannot stop in ci
homura Sep 17, 2023
310848e
Merge pull request #555 from ckb-js/data2
homura Sep 17, 2023
35dbe94
Merge branch 'revert-hardfork-feature' into ckb2023
homura Sep 25, 2023
32cb703
Merge remote-tracking branch 'ckb-js/ckb2023' into ckb2023
homura Sep 25, 2023
fe6c0e5
feat(rpc): support target param for get_fee_rate_statistics
homura Sep 25, 2023
02d881d
feat(rpc): added reason to txStatus
homura Sep 25, 2023
1e8389b
feat(rpc): support get_header with verbosity
homura Sep 25, 2023
dea17ab
feat(rpc): support withCycle for getBlock
homura Sep 25, 2023
624ef54
fix(rpc): ts-node cannot run with complex type
homura Sep 26, 2023
f2e6bcc
Merge remote-tracking branch 'ckb-js/develop' into ckb2023-rpc-improve
homura Sep 26, 2023
e831f10
chore(examples): support devnet transfer
homura Sep 26, 2023
3d5ff1e
chore: merged with develop
homura Sep 26, 2023
cd67b99
test(rpc): add test cases about with_cycles
homura Sep 26, 2023
64be5ef
Merge remote-tracking branch 'ckb-js/develop' into ckb2023
homura Sep 26, 2023
864a140
chore: update deps version
homura Sep 26, 2023
22b17ec
Merge pull request #557 from ckb-js/ckb2023-merge
homura Sep 26, 2023
df1c6cb
Merge remote-tracking branch 'ckb-js/ckb2023' into ckb2023-rpc-improve
homura Sep 26, 2023
72bca3f
Merge pull request #556 from ckb-js/ckb2023-rpc-improve
homura Sep 26, 2023
3fea672
feat(rpc): added `unknown | rejected` to `TxStatus`
homura Sep 27, 2023
0b9b247
Merge pull request #558 from ckb-js/ckb2023-tx-status
homura Sep 27, 2023
b6f6a00
fix(rpc): lack of the `reason` field in `TxStatus`
homura Sep 28, 2023
f30ac85
refactor: remove peerDependency of toolkit
zhangyouxin Oct 8, 2023
29cd4d2
chore: remove unused type
zhangyouxin Oct 8, 2023
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
5 changes: 5 additions & 0 deletions .changeset/old-houses-smell.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-lumos/rpc": minor
---

`unknown` and `rejected` are available in the `TransactionWithStatus`
5 changes: 5 additions & 0 deletions .changeset/ten-keys-argue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@ckb-lumos/rpc": minor
---

support multiple verbosity
48 changes: 48 additions & 0 deletions .github/workflows/canary-ckb2023.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Canary-CKB2023
on:
push:
branches:
- ckb2023

permissions:
contents: write

jobs:
canary:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Install dependencies
uses: ./.github/actions/install-deps

- name: Setup .npmrc file
uses: actions/setup-node@v3
with:
registry-url: "https://registry.npmjs.org"

- name: Canary release
run: |
npx changeset pre exit || true
npx changeset version --snapshot ckb2023-$(git log -1 --pretty=format:%h)
pnpm -r publish --no-git-checks --tag ckb2023
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate commit comment
id: commit-comment
run: |
result="$(node scripts/canary-commit-comment.cjs)"
delimiter="$(openssl rand -hex 8)"
echo "result<<$delimiter" >> $GITHUB_OUTPUT
echo "$result" >> $GITHUB_OUTPUT
echo "$delimiter" >> $GITHUB_OUTPUT
- name: Create commit comment
uses: peter-evans/commit-comment@v2
with:
body: ${{ steps.commit-comment.outputs.result }}
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion examples/cardano-lock-namiwallet/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@lumos-examples/cardano-lock-namiwallet",
"version": "0.20.0",
"version": "0.21.0-next.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
13 changes: 0 additions & 13 deletions examples/omni-lock-metamask/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,5 @@
"@types/react-dom": "^18.0.9",
"react": "18.2.0",
"react-dom": "18.2.0"
},
"devDependencies": {
"parcel": "^2.9.3",
"buffer": "^5.5.0",
"crypto-browserify": "^3.12.0",
"events": "^3.1.0",
"path-browserify": "^1.0.0",
"process": "^0.11.10",
"stream-browserify": "^3.0.0",
"string_decoder": "^1.3.0"
},
"alias": {
"process": false
}
}
Loading
Loading