Skip to content

Commit 834193f

Browse files
authored
Merge pull request #614 from ckb-js/rc/v0.109.0
Release v0.109.0
2 parents 7aaa356 + 4a35270 commit 834193f

File tree

24 files changed

+128
-70
lines changed

24 files changed

+128
-70
lines changed

.github/workflows/bundle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@ jobs:
1111
runs-on: macos-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v2
14+
uses: actions/checkout@v3
1515

1616
- name: Install Node.js
17-
uses: actions/setup-node@v2-beta
17+
uses: actions/setup-node@v3
1818
with:
19-
node-version: 16
19+
node-version: 18
2020

2121
- name: Restore
22-
uses: actions/cache@v2
22+
uses: actions/cache@v3
2323
with:
2424
path: |
2525
node_modules
@@ -35,7 +35,7 @@ jobs:
3535
npm run build:umd
3636
3737
- name: Upload Files
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v3
3939
with:
4040
name: ckb-sdk-js
4141
path: packages/ckb-sdk-core/umd/ckb-sdk.min.js

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
deploy:
99
runs-on: macos-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
with:
1313
persist-credentials: false
1414
- name: Install and build

.github/workflows/merge_master_into_develop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@master
1717
- name: Request
18-
uses: repo-sync/pull-request@v2
18+
uses: repo-sync/pull-request@v3
1919
with:
2020
source_branch: master
2121
destination_branch: develop

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
security:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- name: Run Snyk
1313
uses: snyk/actions/node@master
1414
env:

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,26 +11,26 @@ jobs:
1111
strategy:
1212
matrix:
1313
node: [16, 18]
14-
os: [macos-latest, ubuntu-18.04]
14+
os: [macos-latest, ubuntu-22.04]
1515
runs-on: ${{ matrix.os }}
1616
steps:
1717
- name: Skip when run node.js@18 on ubuntu for compatibility reason
1818
id: is_skip
19-
if: matrix.os == 'ubuntu-18.04' && matrix.node == '18'
19+
if: matrix.os == 'ubuntu-22.04' && matrix.node == '18'
2020
run: echo 'IS_SKIP=true' >> $GITHUB_OUTPUT
2121

22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
if: ${{ steps.is_skip.outputs.IS_SKIP != 'true' }}
2424

2525
- name: Setup Node
2626
if: ${{ steps.is_skip.outputs.IS_SKIP != 'true' }}
27-
uses: actions/setup-node@v2-beta
27+
uses: actions/setup-node@v3
2828
with:
2929
node-version: ${{ matrix.node }}
3030

3131
- name: Restore
3232
if: ${{ steps.is_skip.outputs.IS_SKIP != 'true' }}
33-
uses: actions/cache@v2
33+
uses: actions/cache@v3
3434
with:
3535
path: |
3636
node_modules
@@ -50,7 +50,7 @@ jobs:
5050
run: yarn run test
5151

5252
- name: Upload codecov
53-
if: matrix.os == 'macos-latest' && matrix.node == '14'
53+
if: matrix.os == 'macos-latest' && matrix.node == '18'
5454
uses: codecov/codecov-action@v1
5555
with:
5656
token: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.109.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.107.0...v0.109.0) (2023-04-26)
7+
8+
**Note:** Version bump only for package ckb-sdk-js
9+
10+
11+
12+
13+
614
# [0.107.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.103.1...v0.107.0) (2023-04-03)
715

816

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22

33
| Service | Master | Develop |
44
| -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
5-
| Unit Tests | [![Unit Tests](https://github.com/nervosnetwork/ckb-sdk-js/workflows/Unit%20Tests/badge.svg?branch=master)](https://github.com/nervosnetwork/ckb-sdk-js/actions?query=branch%3Amaster+workflow%3A%22Unit+Tests%22) | [![Unit Tests](https://github.com/nervosnetwork/ckb-sdk-js/workflows/Unit%20Tests/badge.svg?branch=develop)](https://github.com/nervosnetwork/ckb-sdk-js/actions?query=branch%3Adevelop+workflow%3A%22Unit+Tests%22) |
6-
| Coverage | [![Codecov](https://codecov.io/gh/nervosnetwork/ckb-sdk-js/branch/master/graph/badge.svg)](https://codecov.io/gh/nervosnetwork/ckb-sdk-js/branch/master) | [![Codecov](https://codecov.io/gh/nervosnetwork/ckb-sdk-js/branch/develop/graph/badge.svg)](https://codecov.io/gh/nervosnetwork/ckb-sdk-js/branch/develop) |
5+
| Unit Tests | [![Unit Tests](https://github.com/ckb-js/ckb-sdk-js/workflows/Unit%20Tests/badge.svg?branch=master)](https://github.com/ckb-js/ckb-sdk-js/actions?query=branch%3Amaster+workflow%3A%22Unit+Tests%22) | [![Unit Tests](https://github.com/ckb-js/ckb-sdk-js/workflows/Unit%20Tests/badge.svg?branch=develop)](https://github.com/ckb-js/ckb-sdk-js/actions?query=branch%3Adevelop+workflow%3A%22Unit+Tests%22) |
6+
| Coverage | [![Codecov](https://codecov.io/gh/ckb-js/ckb-sdk-js/branch/master/graph/badge.svg)](https://codecov.io/gh/ckb-js/ckb-sdk-js/branch/master) | [![Codecov](https://codecov.io/gh/ckb-js/ckb-sdk-js/branch/develop/graph/badge.svg)](https://codecov.io/gh/ckb-js/ckb-sdk-js/branch/develop) |
77

88
[![NPM](https://img.shields.io/npm/v/@nervosnetwork/ckb-sdk-core/latest.svg)](https://www.npmjs.com/package/@nervosnetwork/ckb-sdk-core)
99
[![Package Quality](https://npm.packagequality.com/shield/%40nervosnetwork%2Fckb-sdk-core.svg)](https://packagequality.com/#?package=@nervosnetwork/ckb-sdk-core)
1010
[![License](https://img.shields.io/npm/l/@nervosnetwork/ckb-sdk-core.svg)](./LICENSE)
1111
[![Telegram Group](https://cdn.rawgit.com/Patrolavia/telegram-badge/8fe3382b/chat.svg)](https://t.me/nervos_ckb_dev)
12-
[![SNYK](https://github.com/nervosnetwork/ckb-sdk-js/workflows/SNYK/badge.svg)](https://github.com/nervosnetwork/ckb-sdk-js/actions?query=workflow%3ASNYK)
13-
[![Deploy Docs](https://github.com/nervosnetwork/ckb-sdk-js/workflows/Deploy%20Docs/badge.svg)](https://nervosnetwork.github.io/ckb-sdk-js/classes/_nervosnetwork_ckb_sdk_core.default.html)
12+
[![SNYK](https://github.com/ckb-js/ckb-sdk-js/workflows/SNYK/badge.svg)](https://github.com/ckb-js/ckb-sdk-js/actions?query=workflow%3ASNYK)
13+
[![Deploy Docs](https://github.com/ckb-js/ckb-sdk-js/workflows/Deploy%20Docs/badge.svg)](https://nervosnetwork.github.io/ckb-sdk-js/classes/_nervosnetwork_ckb_sdk_core.default.html)
1414

1515
JavaScript SDK for Nervos [CKB](https://github.com/nervosnetwork/ckb).
1616

@@ -91,7 +91,7 @@ This SDK includes several modules:
9191

9292
<details>
9393
<summary>
94-
RPC <a href="https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-sdk-rpc" alt="rpc">Code</a>
94+
RPC <a href="https://github.com/ckb-js/ckb-sdk-js/tree/develop/packages/ckb-sdk-rpc" alt="rpc">Code</a>
9595
</summary>
9696
<dd>
9797

@@ -105,7 +105,7 @@ Interfaces could be found in `DefaultRPC` class in this module.
105105

106106
<details>
107107
<summary>
108-
Utils <a href="https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-sdk-utils" alt="utils">Code</a>
108+
Utils <a href="https://github.com/ckb-js/ckb-sdk-js/tree/develop/packages/ckb-sdk-utils" alt="utils">Code</a>
109109
</summary>
110110
<dd>
111111

@@ -116,7 +116,7 @@ The Utils module provides useful methods for other modules.
116116

117117
<details>
118118
<summary>
119-
Types <a href="https://github.com/nervosnetwork/ckb-sdk-js/tree/develop/packages/ckb-types" alt="types">Code</a>
119+
Types <a href="https://github.com/ckb-js/ckb-sdk-js/tree/develop/packages/ckb-types" alt="types">Code</a>
120120
</summary>
121121
<dd>
122122

@@ -149,7 +149,7 @@ After that you can use the `ckb` object to generate addresses, send requests, et
149149

150150
## Basic RPC
151151

152-
Please see [Basic RPC](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-rpc/src/Base/index.ts#L23)
152+
Please see [Basic RPC](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-rpc/src/Base/index.ts#L23)
153153

154154
## Batch Request
155155

@@ -217,7 +217,7 @@ ckb.rpc.setNode({ httpsAgent })
217217

218218
# Utils
219219

220-
[Most used utilities](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-utils/README.md)
220+
[Most used utilities](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-utils/README.md)
221221

222222
# Errors
223223

@@ -227,20 +227,20 @@ The rpc module will throw an error when the result contains an error field, you
227227

228228
# Examples
229229

230-
1. [Send Simple Transaction](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendSimpleTransaction.js)
231-
2. [Send All Balance](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendAllBalance.js)
232-
3. [Send Transaction with multiple private key](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithMultiplePrivateKey.js)
233-
4. [Deposit to and withdraw from Nervos DAO](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/nervosDAO.js)
234-
5. [Send Transaction with Lumos Collector](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithLumosCollector.js)
235-
6. [SUDT](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sudt.js)
230+
1. [Send Simple Transaction](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendSimpleTransaction.js)
231+
2. [Send All Balance](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendAllBalance.js)
232+
3. [Send Transaction with multiple private key](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithMultiplePrivateKey.js)
233+
4. [Deposit to and withdraw from Nervos DAO](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/nervosDAO.js)
234+
5. [Send Transaction with Lumos Collector](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithLumosCollector.js)
235+
6. [SUDT](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sudt.js)
236236

237237
# Troubleshooting
238238

239239
## Indexer Module
240240

241241
The Indexer Module in CKB has been deprecated since [v0.36.0](https://github.com/nervosnetwork/ckb/releases/tag/v0.36.0), please use [ckb-indexer](https://github.com/nervosnetwork/ckb-indexer) or [lumos-indexer](https://github.com/nervosnetwork/lumos/tree/develop/packages/indexer) instead.
242242

243-
A simple example [sendTransactionWithLumosCollector](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithLumosCollector.js) of wokring with lumos has beed added.
243+
A simple example [sendTransactionWithLumosCollector](https://github.com/ckb-js/ckb-sdk-js/blob/develop/packages/ckb-sdk-core/examples/sendTransactionWithLumosCollector.js) of wokring with lumos has beed added.
244244

245245
# Development Process
246246

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
],
55
"npmClient": "yarn",
66
"useWorkspaces": true,
7-
"version": "0.107.0"
7+
"version": "0.109.0"
88
}

packages/ckb-sdk-core/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
# [0.109.0](https://github.com/ckb-js/ckb-sdk-js/compare/v0.107.0...v0.109.0) (2023-04-26)
7+
8+
**Note:** Version bump only for package @nervosnetwork/ckb-sdk-core
9+
10+
11+
12+
13+
614
# [0.107.0](https://github.com/nervosnetwork/ckb-sdk-js/compare/v0.103.1...v0.107.0) (2023-04-03)
715

816

packages/ckb-sdk-core/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
`@nervosnetwork/ckb-sdk-core` is the JavaScript SDK for Nervos Network [CKB Project](https://github.com/nervosnetwork/ckb)
44

5-
[Type Doc](https://nervosnetwork.github.io/ckb-sdk-js/classes/ckb.html)
5+
[Type Doc](https://ckb-js.github.io/ckb-sdk-js/classes/ckb.html)
66

7-
See [Full Doc](https://github.com/nervosnetwork/ckb-sdk-js/blob/develop/README.md)
7+
See [Full Doc](https://github.com/ckb-js/ckb-sdk-js/blob/develop/README.md)

0 commit comments

Comments
 (0)