Skip to content

Commit 58972dc

Browse files
committed
Merge branch releases/v1-final into release
* feat(core): default `Signer.prepareTransaction` * feat(core): add `CellAny` * docs: fix images in README.md * feat(core): `messageHashBtcEcdsa` * chore(deps): bump dependency version with `--latest` * chore(prettier): Cannot find package ... imported from `noop.js`
2 parents 2aabd6c + 635f93e commit 58972dc

165 files changed

Lines changed: 4111 additions & 4145 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -158,14 +158,14 @@ pnpm run dev
158158

159159
## Who uses CCC?
160160

161-
| [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/nervdao.svg" />](https://nervdao.com/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/utxoglobal.svg" />](https://utxo.global/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/mobit.svg" />](https://mobit.app/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/omiga.svg" />](https://omiga.io/) |
162-
| ------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
161+
| [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/nervdao.svg" />](https://nervdao.com/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/utxoglobal.svg" />](https://utxo.global/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/mobit.svg" />](https://mobit.app/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/omiga.svg" />](https://omiga.io/) |
162+
| ---------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------- |
163163

164-
| [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/nervape.svg" />](https://www.nervape.com/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/utxoswap.svg" />](https://utxoswap.xyz/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/did.svg" />](https://d.id/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/boolnetwork.svg" />](https://bool.network/) |
165-
| ----------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
164+
| [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/nervape.svg" />](https://www.nervape.com/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/utxoswap.svg" />](https://utxoswap.xyz/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/did.svg" />](https://d.id/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/boolnetwork.svg" />](https://bool.network/) |
165+
| -------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
166166

167-
| [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/world3.svg" />](https://world3.ai/) | [<img height="50" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/rgbcat.svg" />](https://catnip.rgbcat.io/) |
168-
| ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
167+
| [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/world3.svg" />](https://world3.ai/) | [<img style="height: 50px" src="https://raw.githubusercontent.com/ckb-devrel/ccc/master/assets/projects/rgbcat.svg" />](https://catnip.rgbcat.io/) |
168+
| ------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- |
169169

170170
## FAQs
171171

config/eslint.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ export default [
3030
"@typescript-eslint/unbound-method": ["error", { ignoreStatic: true }],
3131
"@typescript-eslint/no-unsafe-member-access": "off",
3232
"@typescript-eslint/require-await": "off",
33+
"@typescript-eslint/only-throw-error": [
34+
"error",
35+
{
36+
allowThrowingAny: true,
37+
allowThrowingUnknown: true,
38+
allowRethrowing: true,
39+
},
40+
],
41+
"@typescript-eslint/prefer-promise-reject-errors": [
42+
"error",
43+
{
44+
allowThrowingAny: true,
45+
allowThrowingUnknown: true,
46+
},
47+
],
3348
"no-empty": "off",
3449
"prefer-const": [
3550
"error",
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
2-
31
/**
42
* @see https://prettier.io/docs/configuration
53
* @type {import("prettier").Config}
64
*/
75
const config = {
86
singleQuote: false,
97
trailingComma: "all",
10-
plugins: ["prettier-plugin-organize-imports"],
8+
plugins: [require.resolve("prettier-plugin-organize-imports")],
119
};
1210

13-
export default config;
11+
module.exports = config;

package.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
"devDependencies": {
2222
"@changesets/changelog-github": "^0.5.1",
2323
"@changesets/cli": "^2.29.6",
24-
"@types/jest": "^29.5.14",
25-
"@vitest/coverage-v8": "3.2.2",
26-
"jest": "30.0.0-alpha.6",
24+
"@types/jest": "^30.0.0",
25+
"@vitest/coverage-v8": "3.2.4",
26+
"jest": "30.1.1",
2727
"ts-jest": "^29.4.1",
28-
"typedoc": "^0.26.11",
28+
"typedoc": "0.28.7",
2929
"typedoc-material-theme": "^1.4.0",
30-
"typedoc-plugin-extras": "^3.1.0",
30+
"typedoc-plugin-extras": "^4.0.1",
3131
"typedoc-plugin-ga": "^1.0.5",
3232
"typescript": "^5.9.2",
3333
"vitest": "^3.2.4"
@@ -38,10 +38,11 @@
3838
},
3939
"onlyBuiltDependencies": [
4040
"@nestjs/core",
41+
"@tailwindcss/oxide",
4142
"core-js",
4243
"core-js-pure",
43-
"secp256k1",
4444
"esbuild",
45+
"secp256k1",
4546
"sharp",
4647
"unrs-resolver"
4748
]

packages/ccc/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @ckb-ccc/ccc
22

3+
## 1.1.19
4+
### Patch Changes
5+
6+
7+
8+
- [#290](https://github.com/ckb-devrel/ccc/pull/290) [`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore(deps): bump dependency version with `--latest`
9+
10+
- Updated dependencies [[`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f)]:
11+
- @ckb-ccc/utxo-global@1.0.27
12+
- @ckb-ccc/eip6963@1.0.27
13+
- @ckb-ccc/uni-sat@1.0.27
14+
- @ckb-ccc/joy-id@1.0.27
15+
- @ckb-ccc/xverse@1.0.27
16+
- @ckb-ccc/nip07@1.0.27
17+
- @ckb-ccc/shell@1.1.19
18+
- @ckb-ccc/okx@1.0.27
19+
- @ckb-ccc/rei@1.0.27
20+
321
## 1.1.18
422
### Patch Changes
523

packages/ccc/eslint.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ export default [
3030
"@typescript-eslint/unbound-method": ["error", { ignoreStatic: true }],
3131
"@typescript-eslint/no-unsafe-member-access": "off",
3232
"@typescript-eslint/require-await": "off",
33+
"@typescript-eslint/only-throw-error": [
34+
"error",
35+
{
36+
allowThrowingAny: true,
37+
allowThrowingUnknown: true,
38+
allowRethrowing: true,
39+
},
40+
],
41+
"@typescript-eslint/prefer-promise-reject-errors": [
42+
"error",
43+
{
44+
allowThrowingAny: true,
45+
allowThrowingUnknown: true,
46+
},
47+
],
3348
"no-empty": "off",
3449
"prefer-const": [
3550
"error",

packages/ccc/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ckb-ccc/ccc",
3-
"version": "1.1.18",
3+
"version": "1.1.19",
44
"description": "CCC - CKBer's Codebase. Common Chains Connector.",
55
"author": "Hanssen0 <hanssen0@hanssen0.com>",
66
"license": "MIT",
@@ -48,9 +48,9 @@
4848
"eslint-plugin-prettier": "^5.5.4",
4949
"prettier": "^3.6.2",
5050
"prettier-plugin-organize-imports": "^4.2.0",
51-
"rimraf": "^5.0.10",
51+
"rimraf": "^6.0.1",
5252
"typescript": "^5.9.2",
53-
"typescript-eslint": "^7.18.0"
53+
"typescript-eslint": "^8.41.0"
5454
},
5555
"publishConfig": {
5656
"access": "public"
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
// prettier.config.js, .prettierrc.js, prettier.config.mjs, or .prettierrc.mjs
2-
31
/**
42
* @see https://prettier.io/docs/configuration
53
* @type {import("prettier").Config}
64
*/
75
const config = {
86
singleQuote: false,
97
trailingComma: "all",
10-
plugins: ["prettier-plugin-organize-imports"],
8+
plugins: [require.resolve("prettier-plugin-organize-imports")],
119
};
1210

13-
export default config;
11+
module.exports = config;

packages/ckb-ccc/CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# ckb-ccc
22

3+
## 1.0.27
4+
### Patch Changes
5+
6+
7+
8+
- [#290](https://github.com/ckb-devrel/ccc/pull/290) [`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f) Thanks [@Hanssen0](https://github.com/Hanssen0)! - chore(deps): bump dependency version with `--latest`
9+
10+
- Updated dependencies [[`1b9b197`](https://github.com/ckb-devrel/ccc/commit/1b9b19754002461bbd37677a7a44a15c31fd537f)]:
11+
- @ckb-ccc/ccc@1.1.19
12+
313
## 1.0.26
414
### Patch Changes
515

packages/ckb-ccc/eslint.config.mjs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ export default [
3030
"@typescript-eslint/unbound-method": ["error", { ignoreStatic: true }],
3131
"@typescript-eslint/no-unsafe-member-access": "off",
3232
"@typescript-eslint/require-await": "off",
33+
"@typescript-eslint/only-throw-error": [
34+
"error",
35+
{
36+
allowThrowingAny: true,
37+
allowThrowingUnknown: true,
38+
allowRethrowing: true,
39+
},
40+
],
41+
"@typescript-eslint/prefer-promise-reject-errors": [
42+
"error",
43+
{
44+
allowThrowingAny: true,
45+
allowThrowingUnknown: true,
46+
},
47+
],
3348
"no-empty": "off",
3449
"prefer-const": [
3550
"error",

0 commit comments

Comments
 (0)