Skip to content

Commit

Permalink
Merge pull request #284 from ckb-cell/bump/0.6.0
Browse files Browse the repository at this point in the history
Bump RGB++ SDK to v0.6.0
  • Loading branch information
ShookLyngs authored Aug 19, 2024
2 parents f3ffaf4 + 28b1554 commit db31727
Show file tree
Hide file tree
Showing 15 changed files with 89 additions and 56 deletions.
8 changes: 0 additions & 8 deletions .changeset/brown-pugs-cheat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hot-needles-chew.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/old-poems-guess.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rotten-carrots-raise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-beds-protect.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/twenty-jeans-warn.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/two-badgers-repeat.md

This file was deleted.

24 changes: 24 additions & 0 deletions packages/btc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @rgbpp-sdk/btc

## 0.6.0

### Minor Changes

- [#281](https://github.com/ckb-cell/rgbpp-sdk/pull/281): Upgrade ckb-sdk-js to fix esm and commonjs issues ([@duanyytop](https://github.com/duanyytop))

- [#246](https://github.com/ckb-cell/rgbpp-sdk/pull/246): Export ESM packages ([@duanyytop](https://github.com/duanyytop))

- [#272](https://github.com/ckb-cell/rgbpp-sdk/pull/272): Report TxBuilder as extra context in the TxBuildError when the BTC Builder APIs fail ([@ShookLyngs](https://github.com/ShookLyngs))

- [#270](https://github.com/ckb-cell/rgbpp-sdk/pull/270): Support for batch transferring of RGBPP XUDT assets ([@ShookLyngs](https://github.com/ShookLyngs))

- Add `buildRgbppTransferAllTxs()` API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient
- Add `sendRgbppTxGroups()` API in the rgbpp lib for sending BTC/CKB transaction groups to the `BtcAssetsApi`
- Add `unpackRgbppLockArgs()` API in the ckb lib for unpacking the lock script args of an RGBPP Cell
- Add `encodeCellId()` and `decodeCellId()` APIs in the ckb lib for handling the ID of a CKB Cell
- Add `encodeUtxoId()` and `decodeUtxoId()` APIs in the btc lib for handling the ID of a BTC UTXO

### Patch Changes

- Updated dependencies [[`82d37ab`](https://github.com/ckb-cell/rgbpp-sdk/commit/82d37ab56fc2c2c1dd0437f44966380bae6c9b42), [`a2722c5`](https://github.com/ckb-cell/rgbpp-sdk/commit/a2722c535efa04c9a9a8147228c82957fe33143d), [`a31a376`](https://github.com/ckb-cell/rgbpp-sdk/commit/a31a3761056754fb6624ff571736cf18ccbdcd98), [`ec2a38e`](https://github.com/ckb-cell/rgbpp-sdk/commit/ec2a38ec5858380b2ca34de596d1eb98d1db4611)]:
- @rgbpp-sdk/ckb@0.6.0
- @rgbpp-sdk/service@0.6.0

## v0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/btc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rgbpp-sdk/btc",
"version": "0.5.0",
"version": "0.6.0",
"scripts": {
"test": "vitest",
"build": "tsup",
Expand Down
26 changes: 26 additions & 0 deletions packages/ckb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,31 @@
# @rgbpp-sdk/ckb

## 0.6.0

### Minor Changes

- [#281](https://github.com/ckb-cell/rgbpp-sdk/pull/281): Upgrade ckb-sdk-js to fix esm and commonjs issues ([@duanyytop](https://github.com/duanyytop))

- [#246](https://github.com/ckb-cell/rgbpp-sdk/pull/246): Export ESM packages ([@duanyytop](https://github.com/duanyytop))

- [#270](https://github.com/ckb-cell/rgbpp-sdk/pull/270): Support for batch transferring of RGBPP XUDT assets ([@ShookLyngs](https://github.com/ShookLyngs))

- Add `buildRgbppTransferAllTxs()` API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient
- Add `sendRgbppTxGroups()` API in the rgbpp lib for sending BTC/CKB transaction groups to the `BtcAssetsApi`
- Add `unpackRgbppLockArgs()` API in the ckb lib for unpacking the lock script args of an RGBPP Cell
- Add `encodeCellId()` and `decodeCellId()` APIs in the ckb lib for handling the ID of a CKB Cell
- Add `encodeUtxoId()` and `decodeUtxoId()` APIs in the btc lib for handling the ID of a BTC UTXO

### Patch Changes

- [#279](https://github.com/ckb-cell/rgbpp-sdk/pull/279): fix: Update molecule codegen, packing and unpacking ([@duanyytop](https://github.com/duanyytop))

- Generate molecule code with latest lumos/molecule
- Update RGB++ witness and BTC time lock args packing and unpacking

- Updated dependencies [[`82d37ab`](https://github.com/ckb-cell/rgbpp-sdk/commit/82d37ab56fc2c2c1dd0437f44966380bae6c9b42), [`a2722c5`](https://github.com/ckb-cell/rgbpp-sdk/commit/a2722c535efa04c9a9a8147228c82957fe33143d)]:
- @rgbpp-sdk/service@0.6.0

## v0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ckb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rgbpp-sdk/ckb",
"version": "0.5.0",
"version": "0.6.0",
"scripts": {
"test": "vitest",
"build": "tsup",
Expand Down
27 changes: 27 additions & 0 deletions packages/rgbpp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# rgbpp

## 0.6.0

### Minor Changes

- [#281](https://github.com/ckb-cell/rgbpp-sdk/pull/281): Upgrade ckb-sdk-js to fix esm and commonjs issues ([@duanyytop](https://github.com/duanyytop))

- [#246](https://github.com/ckb-cell/rgbpp-sdk/pull/246): Export ESM packages ([@duanyytop](https://github.com/duanyytop))

- [#283](https://github.com/ckb-cell/rgbpp-sdk/pull/283): Update response of sending RGB++ group txs ([@duanyytop](https://github.com/duanyytop))

- [#270](https://github.com/ckb-cell/rgbpp-sdk/pull/270): Support for batch transferring of RGBPP XUDT assets ([@ShookLyngs](https://github.com/ShookLyngs))

- Add `buildRgbppTransferAllTxs()` API in the rgbpp lib for generating one or more BTC/CKB transaction groups for transferring the entire amount of a specific type of RGBPP XUDT asset from one or more BTC addresses to a recipient
- Add `sendRgbppTxGroups()` API in the rgbpp lib for sending BTC/CKB transaction groups to the `BtcAssetsApi`
- Add `unpackRgbppLockArgs()` API in the ckb lib for unpacking the lock script args of an RGBPP Cell
- Add `encodeCellId()` and `decodeCellId()` APIs in the ckb lib for handling the ID of a CKB Cell
- Add `encodeUtxoId()` and `decodeUtxoId()` APIs in the btc lib for handling the ID of a BTC UTXO

### Patch Changes

- [#275](https://github.com/ckb-cell/rgbpp-sdk/pull/275): Calculate XUDT amount separately in AssetSummarizer ([@ShookLyngs](https://github.com/ShookLyngs))

- Updated dependencies [[`82d37ab`](https://github.com/ckb-cell/rgbpp-sdk/commit/82d37ab56fc2c2c1dd0437f44966380bae6c9b42), [`a2722c5`](https://github.com/ckb-cell/rgbpp-sdk/commit/a2722c535efa04c9a9a8147228c82957fe33143d), [`a9a787d`](https://github.com/ckb-cell/rgbpp-sdk/commit/a9a787d059950b5e8d3641688680e31e3635f35a), [`a31a376`](https://github.com/ckb-cell/rgbpp-sdk/commit/a31a3761056754fb6624ff571736cf18ccbdcd98), [`ec2a38e`](https://github.com/ckb-cell/rgbpp-sdk/commit/ec2a38ec5858380b2ca34de596d1eb98d1db4611)]:
- @rgbpp-sdk/btc@0.6.0
- @rgbpp-sdk/ckb@0.6.0
- @rgbpp-sdk/service@0.6.0

## v0.5.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/rgbpp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rgbpp",
"version": "0.5.0",
"version": "0.6.0",
"scripts": {
"test": "vitest",
"build": "tsup",
Expand Down
8 changes: 8 additions & 0 deletions packages/service/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @rgbpp-sdk/service

## 0.6.0

### Minor Changes

- [#281](https://github.com/ckb-cell/rgbpp-sdk/pull/281): Upgrade ckb-sdk-js to fix esm and commonjs issues ([@duanyytop](https://github.com/duanyytop))

- [#246](https://github.com/ckb-cell/rgbpp-sdk/pull/246): Export ESM packages ([@duanyytop](https://github.com/duanyytop))

## v0.5.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rgbpp-sdk/service",
"version": "0.5.0",
"version": "0.6.0",
"scripts": {
"test": "vitest",
"build": "tsup",
Expand Down

1 comment on commit db31727

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

New snapshot version of the rgbpp-sdk packages have been released:

Name Version
@rgbpp-sdk/btc 0.0.0-snap-20240819064809
@rgbpp-sdk/ckb 0.0.0-snap-20240819064809
rgbpp 0.0.0-snap-20240819064809
@rgbpp-sdk/service 0.0.0-snap-20240819064809

Please sign in to comment.