-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(codec): supported union with custom id (#586)
- Loading branch information
Showing
13 changed files
with
302 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@ckb-lumos/molecule": minor | ||
"@ckb-lumos/codec": minor | ||
--- | ||
|
||
feat: supported union works with custom id |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"mode": "pre", | ||
"tag": "next", | ||
"initialVersions": { | ||
"@ckb-lumos/base": "0.21.1", | ||
"@ckb-lumos/bi": "0.21.1", | ||
"@ckb-lumos/ckb-indexer": "0.21.1", | ||
"@ckb-lumos/codec": "0.21.1", | ||
"@ckb-lumos/common-scripts": "0.21.1", | ||
"@ckb-lumos/config-manager": "0.21.1", | ||
"@ckb-lumos/debugger": "0.21.1", | ||
"@ckb-lumos/e2e-test": "0.21.1", | ||
"@ckb-lumos/experiment-tx-assembler": "0.21.1", | ||
"@ckb-lumos/hd": "0.21.1", | ||
"@ckb-lumos/hd-cache": "0.21.1", | ||
"@ckb-lumos/helpers": "0.21.1", | ||
"@ckb-lumos/light-client": "0.21.1", | ||
"@ckb-lumos/lumos": "0.21.1", | ||
"@ckb-lumos/molecule": "0.21.1", | ||
"@ckb-lumos/rpc": "0.21.1", | ||
"@ckb-lumos/runner": "0.21.1", | ||
"@ckb-lumos/testkit": "0.21.1", | ||
"@ckb-lumos/toolkit": "0.21.1", | ||
"@ckb-lumos/transaction-manager": "0.21.1", | ||
"@ckb-lumos/utils": "0.21.1" | ||
}, | ||
"changesets": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# @ckb-lumos/molecule | ||
|
||
A molecule parser written in JavaScript that helps developers to parse molecule into a codec map. | ||
|
||
```js | ||
const { createParser } = require("@ckb-lumos/molecule"); | ||
|
||
const parser = createParser(); | ||
const codecMap = parser.parse(` | ||
array Uint8 [byte; 1]; | ||
`); | ||
|
||
codecMap.Uint8.pack(1); | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ee8a352
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 New canary release:
0.0.0-canary-ee8a352-20231215072857
ee8a352
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
lumos-website – ./
lumos-website.vercel.app
lumos-website-git-develop-magickbase.vercel.app
lumos-website-magickbase.vercel.app