From 799159a010cf9c94aee44ef4fb75037f07db1710 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 15 May 2022 11:26:31 +0000 Subject: [PATCH 1/8] fix(deps): update dependency @nervina-labs/cota-sdk to v0.5.2 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 56 ++++++++++++++++----------------- example/mainnet/package.json | 2 +- example/mainnet/yarn.lock | 56 ++++++++++++++++----------------- 4 files changed, 58 insertions(+), 58 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index 7910c15..e326f44 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -8,7 +8,7 @@ "build": "tsc" }, "dependencies": { - "@nervina-labs/cota-sdk": "0.5.1", + "@nervina-labs/cota-sdk": "0.5.2", "@types/node": "17.0.21", "ts-node": "10.7.0", "tslib": "2.4.0", diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index 1cf3df8..463914f 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -14,52 +14,52 @@ dependencies: "@cspotcode/source-map-consumer" "0.8.0" -"@nervina-labs/cota-sdk@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.1.tgz#84494e6da0f25bd9625a89b5ac81a40c814138c4" - integrity sha512-eeYV0uRM5VbLd54eaaxdpcN+k9kXGTMe4hHis6ECv/1JKxJAaW2p5xoMnnLD1cMYy2Om87zLuXkzB/rI8tv+XA== +"@nervina-labs/cota-sdk@0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.2.tgz#2b17a2e1fc2e27740474cacbff2e28bd6bbb9a6a" + integrity sha512-dhDF8wl26uxKOGGJSLQDJCyCWV4L9RkgmmTd2gNuL+BQacxUSRYU4cj99o8mf+peARKdiNIBuMUCJhk4V++JQQ== dependencies: - "@nervosnetwork/ckb-sdk-core" "^0.102.3" - "@nervosnetwork/ckb-sdk-utils" "^0.102.3" - "@nervosnetwork/ckb-types" "^0.102.3" + "@nervosnetwork/ckb-sdk-core" "^0.103.0" + "@nervosnetwork/ckb-sdk-utils" "^0.103.0" + "@nervosnetwork/ckb-types" "^0.103.0" axios "^0.27.2" camelcase-keys "^7.0.2" convert-keys "1.3.4" -"@nervosnetwork/ckb-sdk-core@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.102.3.tgz#e312169df0a0fab390e5d562fa82952749d2c4d0" - integrity sha512-DLbynmSTnuCcw/cCST7nmNilCuvqprDpLtloRj99Ml1ozaL2OX9KVfSCcLXnvymTMhrLmMoG9zoSSgD9u2JJ+g== +"@nervosnetwork/ckb-sdk-core@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.0.tgz#48c9f31362bb65f585fd0de783ac740240f821d0" + integrity sha512-FfD/zmaaS6t7sjPAYLTZPtGS58ikyjA4m2b1SVkMGepW0CbuM08NAhVXBBt6c6yEh6aDegCgk9mXr4iQFCOspw== dependencies: - "@nervosnetwork/ckb-sdk-rpc" "0.102.3" - "@nervosnetwork/ckb-sdk-utils" "0.102.3" - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-sdk-rpc" "0.103.0" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" + "@nervosnetwork/ckb-types" "0.103.0" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-rpc@0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.102.3.tgz#a5ebf859c5818afedb115b3a3ffb457e2e9f39be" - integrity sha512-zBix6CH86V8vuWOQKVcIE5fMPumBtmyfQGUupOlwzpBNuNpeGu4ErHl3EnwBMRoYXmRsVgBwfFk/tdAG9plicw== +"@nervosnetwork/ckb-sdk-rpc@0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.103.0.tgz#c75480e02686e760b664de6859e1d0679553f13a" + integrity sha512-Ea6wymHEXHtsntYVvJIu8hhbygr1uLEFh9nCjhMmmf0M269DOZi6IbeXer2tUkmulTeFLxZN7ipsSi1v7kp6Cw== dependencies: - "@nervosnetwork/ckb-sdk-utils" "0.102.3" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" axios "0.21.4" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-utils@0.102.3", "@nervosnetwork/ckb-sdk-utils@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.102.3.tgz#839bfc6997861f747b1e2f70c633d82cbfdb9950" - integrity sha512-Szuwpq1Bqp2J37tDJQrk59oHYHTnf8LA8CCKmWy2PUoLKYX9kY/aMujKgw1/Dp8YqNDxWzJNBwaJ5FvQUp4fBA== +"@nervosnetwork/ckb-sdk-utils@0.103.0", "@nervosnetwork/ckb-sdk-utils@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.103.0.tgz#ce027ab4604f4ceb04e06ab5c3525db4d6e6c536" + integrity sha512-2CU8fMQfVuCfhE4QbIUtGe+H75c0t8XjZLla32jSA0gFWSpRFx29E8O2VbtcnQPyfwz3myly8X7UhOZid1iFuQ== dependencies: - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-types" "0.103.0" bech32 "2.0.0" elliptic "6.5.4" jsbi "3.1.3" tslib "2.3.1" -"@nervosnetwork/ckb-types@0.102.3", "@nervosnetwork/ckb-types@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.102.3.tgz#159c05b02f40f2045da918856f6e7a627c673147" - integrity sha512-iOpTt0p8ubyBMYxZuXu+SVD1p9ekAsMTjG5XlePkHZj3eNX3W9cYwHcPJJlTXi4K/2XOZ3tWHjBFY3PVWr+dHg== +"@nervosnetwork/ckb-types@0.103.0", "@nervosnetwork/ckb-types@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.103.0.tgz#df6115f8d353f4d3a92ddf1fea56419cec10e565" + integrity sha512-0JDanWQro5jwSYAd8QDYnEFcbGQoQAkUJUkocfhHU2xoVbkbZLuoXqspsl25ON3PEuC5RYeBCkF+70sqL2QAQQ== "@tsconfig/node10@^1.0.7": version "1.0.8" diff --git a/example/mainnet/package.json b/example/mainnet/package.json index 4d9b7b3..761548c 100644 --- a/example/mainnet/package.json +++ b/example/mainnet/package.json @@ -4,6 +4,6 @@ "description": "The examples for mainnet", "license": "MIT", "dependencies": { - "@nervina-labs/cota-sdk": "0.5.1" + "@nervina-labs/cota-sdk": "0.5.2" } } \ No newline at end of file diff --git a/example/mainnet/yarn.lock b/example/mainnet/yarn.lock index d35f246..f609eb2 100644 --- a/example/mainnet/yarn.lock +++ b/example/mainnet/yarn.lock @@ -2,52 +2,52 @@ # yarn lockfile v1 -"@nervina-labs/cota-sdk@0.5.1": - version "0.5.1" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.1.tgz#84494e6da0f25bd9625a89b5ac81a40c814138c4" - integrity sha512-eeYV0uRM5VbLd54eaaxdpcN+k9kXGTMe4hHis6ECv/1JKxJAaW2p5xoMnnLD1cMYy2Om87zLuXkzB/rI8tv+XA== +"@nervina-labs/cota-sdk@0.5.2": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.2.tgz#2b17a2e1fc2e27740474cacbff2e28bd6bbb9a6a" + integrity sha512-dhDF8wl26uxKOGGJSLQDJCyCWV4L9RkgmmTd2gNuL+BQacxUSRYU4cj99o8mf+peARKdiNIBuMUCJhk4V++JQQ== dependencies: - "@nervosnetwork/ckb-sdk-core" "^0.102.3" - "@nervosnetwork/ckb-sdk-utils" "^0.102.3" - "@nervosnetwork/ckb-types" "^0.102.3" + "@nervosnetwork/ckb-sdk-core" "^0.103.0" + "@nervosnetwork/ckb-sdk-utils" "^0.103.0" + "@nervosnetwork/ckb-types" "^0.103.0" axios "^0.27.2" camelcase-keys "^7.0.2" convert-keys "1.3.4" -"@nervosnetwork/ckb-sdk-core@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.102.3.tgz#e312169df0a0fab390e5d562fa82952749d2c4d0" - integrity sha512-DLbynmSTnuCcw/cCST7nmNilCuvqprDpLtloRj99Ml1ozaL2OX9KVfSCcLXnvymTMhrLmMoG9zoSSgD9u2JJ+g== +"@nervosnetwork/ckb-sdk-core@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.0.tgz#48c9f31362bb65f585fd0de783ac740240f821d0" + integrity sha512-FfD/zmaaS6t7sjPAYLTZPtGS58ikyjA4m2b1SVkMGepW0CbuM08NAhVXBBt6c6yEh6aDegCgk9mXr4iQFCOspw== dependencies: - "@nervosnetwork/ckb-sdk-rpc" "0.102.3" - "@nervosnetwork/ckb-sdk-utils" "0.102.3" - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-sdk-rpc" "0.103.0" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" + "@nervosnetwork/ckb-types" "0.103.0" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-rpc@0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.102.3.tgz#a5ebf859c5818afedb115b3a3ffb457e2e9f39be" - integrity sha512-zBix6CH86V8vuWOQKVcIE5fMPumBtmyfQGUupOlwzpBNuNpeGu4ErHl3EnwBMRoYXmRsVgBwfFk/tdAG9plicw== +"@nervosnetwork/ckb-sdk-rpc@0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.103.0.tgz#c75480e02686e760b664de6859e1d0679553f13a" + integrity sha512-Ea6wymHEXHtsntYVvJIu8hhbygr1uLEFh9nCjhMmmf0M269DOZi6IbeXer2tUkmulTeFLxZN7ipsSi1v7kp6Cw== dependencies: - "@nervosnetwork/ckb-sdk-utils" "0.102.3" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" axios "0.21.4" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-utils@0.102.3", "@nervosnetwork/ckb-sdk-utils@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.102.3.tgz#839bfc6997861f747b1e2f70c633d82cbfdb9950" - integrity sha512-Szuwpq1Bqp2J37tDJQrk59oHYHTnf8LA8CCKmWy2PUoLKYX9kY/aMujKgw1/Dp8YqNDxWzJNBwaJ5FvQUp4fBA== +"@nervosnetwork/ckb-sdk-utils@0.103.0", "@nervosnetwork/ckb-sdk-utils@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.103.0.tgz#ce027ab4604f4ceb04e06ab5c3525db4d6e6c536" + integrity sha512-2CU8fMQfVuCfhE4QbIUtGe+H75c0t8XjZLla32jSA0gFWSpRFx29E8O2VbtcnQPyfwz3myly8X7UhOZid1iFuQ== dependencies: - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-types" "0.103.0" bech32 "2.0.0" elliptic "6.5.4" jsbi "3.1.3" tslib "2.3.1" -"@nervosnetwork/ckb-types@0.102.3", "@nervosnetwork/ckb-types@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.102.3.tgz#159c05b02f40f2045da918856f6e7a627c673147" - integrity sha512-iOpTt0p8ubyBMYxZuXu+SVD1p9ekAsMTjG5XlePkHZj3eNX3W9cYwHcPJJlTXi4K/2XOZ3tWHjBFY3PVWr+dHg== +"@nervosnetwork/ckb-types@0.103.0", "@nervosnetwork/ckb-types@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.103.0.tgz#df6115f8d353f4d3a92ddf1fea56419cec10e565" + integrity sha512-0JDanWQro5jwSYAd8QDYnEFcbGQoQAkUJUkocfhHU2xoVbkbZLuoXqspsl25ON3PEuC5RYeBCkF+70sqL2QAQQ== asynckit@^0.4.0: version "0.4.0" From b8b22f5551c5c1ec5d1b6382cf02708a043c633e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 May 2022 13:11:14 +0000 Subject: [PATCH 2/8] chore(deps): update actions/setup-node action to v3.2.0 --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9f2fedd..7c2e17a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v3.1.1 + - uses: actions/setup-node@v3.2.0 with: node-version: '14' - name: Install dependency From 1d24ba07ad23bf5887ae621ba847a3dd6710ef32 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 16 May 2022 19:51:30 +0000 Subject: [PATCH 3/8] chore(deps): update dependency @typescript-eslint/parser to v5.24.0 --- package.json | 2 +- yarn.lock | 100 ++++++++++++++++++++++++++------------------------- 2 files changed, 52 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index c1b3139..7bf59b4 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@types/crypto-js": "4.1.1", "@types/node": "17.0.31", - "@typescript-eslint/parser": "5.23.0", + "@typescript-eslint/parser": "5.24.0", "babel-eslint": "10.1.0", "eslint": "8.14.0", "eslint-config-prettier": "8.5.0", diff --git a/yarn.lock b/yarn.lock index ac596a5..3336044 100644 --- a/yarn.lock +++ b/yarn.lock @@ -239,49 +239,49 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== -"@typescript-eslint/parser@5.23.0": - version "5.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.23.0.tgz#443778e1afc9a8ff180f91b5e260ac3bec5e2de1" - integrity sha512-V06cYUkqcGqpFjb8ttVgzNF53tgbB/KoQT/iB++DOIExKmzI9vBJKjZKt/6FuV9c+zrDsvJKbJ2DOCYwX91cbw== - dependencies: - "@typescript-eslint/scope-manager" "5.23.0" - "@typescript-eslint/types" "5.23.0" - "@typescript-eslint/typescript-estree" "5.23.0" - debug "^4.3.2" - -"@typescript-eslint/scope-manager@5.23.0": - version "5.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.23.0.tgz#4305e61c2c8e3cfa3787d30f54e79430cc17ce1b" - integrity sha512-EhjaFELQHCRb5wTwlGsNMvzK9b8Oco4aYNleeDlNuL6qXWDF47ch4EhVNPh8Rdhf9tmqbN4sWDk/8g+Z/J8JVw== - dependencies: - "@typescript-eslint/types" "5.23.0" - "@typescript-eslint/visitor-keys" "5.23.0" - -"@typescript-eslint/types@5.23.0": - version "5.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.23.0.tgz#8733de0f58ae0ed318dbdd8f09868cdbf9f9ad09" - integrity sha512-NfBsV/h4dir/8mJwdZz7JFibaKC3E/QdeMEDJhiAE3/eMkoniZ7MjbEMCGXw6MZnZDMN3G9S0mH/6WUIj91dmw== - -"@typescript-eslint/typescript-estree@5.23.0": - version "5.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.23.0.tgz#dca5f10a0a85226db0796e8ad86addc9aee52065" - integrity sha512-xE9e0lrHhI647SlGMl+m+3E3CKPF1wzvvOEWnuE3CCjjT7UiRnDGJxmAcVKJIlFgK6DY9RB98eLr1OPigPEOGg== - dependencies: - "@typescript-eslint/types" "5.23.0" - "@typescript-eslint/visitor-keys" "5.23.0" - debug "^4.3.2" - globby "^11.0.4" +"@typescript-eslint/parser@5.24.0": + version "5.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.24.0.tgz#fe6563483f264aa9fe48b7fd9b329aa5f985841a" + integrity sha512-4q29C6xFYZ5B2CXqSBBdcS0lPyfM9M09DoQLtHS5kf+WbpV8pBBhHDLNhXfgyVwFnhrhYzOu7xmg02DzxeF2Uw== + dependencies: + "@typescript-eslint/scope-manager" "5.24.0" + "@typescript-eslint/types" "5.24.0" + "@typescript-eslint/typescript-estree" "5.24.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.24.0": + version "5.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.24.0.tgz#ac8c4d65064204b596909c204fe9b7e30c3f51b2" + integrity sha512-WpMWipcDzGmMzdT7NtTjRXFabx10WleLUGrJpuJLGaxSqpcyq5ACpKSD5VE40h2nz3melQ91aP4Du7lh9FliCA== + dependencies: + "@typescript-eslint/types" "5.24.0" + "@typescript-eslint/visitor-keys" "5.24.0" + +"@typescript-eslint/types@5.24.0": + version "5.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.24.0.tgz#565ff94a4b89073265e27514dc65225d18aabe6c" + integrity sha512-Tpg1c3shTDgTmZd3qdUyd+16r/pGmVaVEbLs+ufuWP0EruVbUiEOmpBBQxBb9a8iPRxi8Rb2oiwOxuZJzSq11A== + +"@typescript-eslint/typescript-estree@5.24.0": + version "5.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.24.0.tgz#30b9cbc1af475b9e02aca34cfe9ba9e1bb820143" + integrity sha512-zcor6vQkQmZAQfebSPVwUk/FD+CvnsnlfKXYeQDsWXRF+t7SBPmIfNia/wQxCSeu1h1JIjwV2i9f5/DdSp/uDw== + dependencies: + "@typescript-eslint/types" "5.24.0" + "@typescript-eslint/visitor-keys" "5.24.0" + debug "^4.3.4" + globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.5" + semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@5.23.0": - version "5.23.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.23.0.tgz#057c60a7ca64667a39f991473059377a8067c87b" - integrity sha512-Vd4mFNchU62sJB8pX19ZSPog05B0Y0CE2UxAZPT5k4iqhRYjPnqyY3woMxCd0++t9OTqkgjST+1ydLBi7e2Fvg== +"@typescript-eslint/visitor-keys@5.24.0": + version "5.24.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.24.0.tgz#bb3e9a788ccd50c53e03557e4e203599880c3123" + integrity sha512-qzGwSXMyMnogcAo+/2fU+jhlPPVMXlIH2PeAonIKjJSoDKl1+lJVvG5Z5Oud36yU0TWK2cs1p/FaSN5J2OUFYA== dependencies: - "@typescript-eslint/types" "5.23.0" - eslint-visitor-keys "^3.0.0" + "@typescript-eslint/types" "5.24.0" + eslint-visitor-keys "^3.3.0" acorn-jsx@^5.3.1: version "5.3.2" @@ -555,6 +555,13 @@ debug@^4.1.0, debug@^4.1.1, debug@^4.3.2: dependencies: ms "2.1.2" +debug@^4.3.4: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + deep-is@^0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" @@ -728,11 +735,6 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint-visitor-keys@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.2.0.tgz#6fbb166a6798ee5991358bc2daa1ba76cc1254a1" - integrity sha512-IOzT0X126zn7ALX0dwFiUQEdsfzrm4+ISsQS8nukaJXwEyYKRSnEIIDULYg1mCtGp7UUXgfGl7BIolXREQK+XQ== - eslint-visitor-keys@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" @@ -973,7 +975,7 @@ globals@^13.6.0, globals@^13.9.0: dependencies: type-fest "^0.20.2" -globby@^11.0.4: +globby@^11.1.0: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -1533,10 +1535,10 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -semver@^7.3.5: - version "7.3.5" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7" - integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ== +semver@^7.3.7: + version "7.3.7" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== dependencies: lru-cache "^6.0.0" From 5ace22f7f4b6f586cc79e1203e5ca5dd2bd1b0ec Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 17 May 2022 16:17:51 +0000 Subject: [PATCH 4/8] chore(deps): update dependency @typescript-eslint/parser to v5.25.0 --- package.json | 2 +- yarn.lock | 58 ++++++++++++++++++++++++++-------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 7bf59b4..95f4813 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@types/crypto-js": "4.1.1", "@types/node": "17.0.31", - "@typescript-eslint/parser": "5.24.0", + "@typescript-eslint/parser": "5.25.0", "babel-eslint": "10.1.0", "eslint": "8.14.0", "eslint-config-prettier": "8.5.0", diff --git a/yarn.lock b/yarn.lock index 3336044..e8b8356 100644 --- a/yarn.lock +++ b/yarn.lock @@ -239,48 +239,48 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== -"@typescript-eslint/parser@5.24.0": - version "5.24.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.24.0.tgz#fe6563483f264aa9fe48b7fd9b329aa5f985841a" - integrity sha512-4q29C6xFYZ5B2CXqSBBdcS0lPyfM9M09DoQLtHS5kf+WbpV8pBBhHDLNhXfgyVwFnhrhYzOu7xmg02DzxeF2Uw== - dependencies: - "@typescript-eslint/scope-manager" "5.24.0" - "@typescript-eslint/types" "5.24.0" - "@typescript-eslint/typescript-estree" "5.24.0" +"@typescript-eslint/parser@5.25.0": + version "5.25.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.25.0.tgz#fb533487147b4b9efd999a4d2da0b6c263b64f7f" + integrity sha512-r3hwrOWYbNKP1nTcIw/aZoH+8bBnh/Lh1iDHoFpyG4DnCpvEdctrSl6LOo19fZbzypjQMHdajolxs6VpYoChgA== + dependencies: + "@typescript-eslint/scope-manager" "5.25.0" + "@typescript-eslint/types" "5.25.0" + "@typescript-eslint/typescript-estree" "5.25.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.24.0": - version "5.24.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.24.0.tgz#ac8c4d65064204b596909c204fe9b7e30c3f51b2" - integrity sha512-WpMWipcDzGmMzdT7NtTjRXFabx10WleLUGrJpuJLGaxSqpcyq5ACpKSD5VE40h2nz3melQ91aP4Du7lh9FliCA== +"@typescript-eslint/scope-manager@5.25.0": + version "5.25.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.25.0.tgz#e78f1484bca7e484c48782075219c82c6b77a09f" + integrity sha512-p4SKTFWj+2VpreUZ5xMQsBMDdQ9XdRvODKXN4EksyBjFp2YvQdLkyHqOffakYZPuWJUDNu3jVXtHALDyTv3cww== dependencies: - "@typescript-eslint/types" "5.24.0" - "@typescript-eslint/visitor-keys" "5.24.0" + "@typescript-eslint/types" "5.25.0" + "@typescript-eslint/visitor-keys" "5.25.0" -"@typescript-eslint/types@5.24.0": - version "5.24.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.24.0.tgz#565ff94a4b89073265e27514dc65225d18aabe6c" - integrity sha512-Tpg1c3shTDgTmZd3qdUyd+16r/pGmVaVEbLs+ufuWP0EruVbUiEOmpBBQxBb9a8iPRxi8Rb2oiwOxuZJzSq11A== +"@typescript-eslint/types@5.25.0": + version "5.25.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.25.0.tgz#dee51b1855788b24a2eceeae54e4adb89b088dd8" + integrity sha512-7fWqfxr0KNHj75PFqlGX24gWjdV/FDBABXL5dyvBOWHpACGyveok8Uj4ipPX/1fGU63fBkzSIycEje4XsOxUFA== -"@typescript-eslint/typescript-estree@5.24.0": - version "5.24.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.24.0.tgz#30b9cbc1af475b9e02aca34cfe9ba9e1bb820143" - integrity sha512-zcor6vQkQmZAQfebSPVwUk/FD+CvnsnlfKXYeQDsWXRF+t7SBPmIfNia/wQxCSeu1h1JIjwV2i9f5/DdSp/uDw== +"@typescript-eslint/typescript-estree@5.25.0": + version "5.25.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.25.0.tgz#a7ab40d32eb944e3fb5b4e3646e81b1bcdd63e00" + integrity sha512-MrPODKDych/oWs/71LCnuO7NyR681HuBly2uLnX3r5i4ME7q/yBqC4hW33kmxtuauLTM0OuBOhhkFaxCCOjEEw== dependencies: - "@typescript-eslint/types" "5.24.0" - "@typescript-eslint/visitor-keys" "5.24.0" + "@typescript-eslint/types" "5.25.0" + "@typescript-eslint/visitor-keys" "5.25.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/visitor-keys@5.24.0": - version "5.24.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.24.0.tgz#bb3e9a788ccd50c53e03557e4e203599880c3123" - integrity sha512-qzGwSXMyMnogcAo+/2fU+jhlPPVMXlIH2PeAonIKjJSoDKl1+lJVvG5Z5Oud36yU0TWK2cs1p/FaSN5J2OUFYA== +"@typescript-eslint/visitor-keys@5.25.0": + version "5.25.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.25.0.tgz#33aa5fdcc5cedb9f4c8828c6a019d58548d4474b" + integrity sha512-yd26vFgMsC4h2dgX4+LR+GeicSKIfUvZREFLf3DDjZPtqgLx5AJZr6TetMNwFP9hcKreTTeztQYBTNbNoOycwA== dependencies: - "@typescript-eslint/types" "5.24.0" + "@typescript-eslint/types" "5.25.0" eslint-visitor-keys "^3.3.0" acorn-jsx@^5.3.1: From 7f1db3d7d8f3b8578b10dca90dbd7e03e426b9a8 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 21 May 2022 19:09:44 +0000 Subject: [PATCH 5/8] chore(deps): update dependency ts-node to v10.8.0 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 53 ++++++++++++++++++++------------- package.json | 2 +- yarn.lock | 53 ++++++++++++++++++++------------- 4 files changed, 68 insertions(+), 42 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index e326f44..3587e5a 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nervina-labs/cota-sdk": "0.5.2", "@types/node": "17.0.21", - "ts-node": "10.7.0", + "ts-node": "10.8.0", "tslib": "2.4.0", "typescript": "4.6.4" } diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index 463914f..a10c295 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -2,17 +2,30 @@ # yarn lockfile v1 -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== dependencies: - "@cspotcode/source-map-consumer" "0.8.0" + "@jridgewell/trace-mapping" "0.3.9" + +"@jridgewell/resolve-uri@^3.0.3": + version "3.0.7" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz#30cd49820a962aff48c8fffc5cd760151fca61fe" + integrity sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.13" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz#b6461fb0c2964356c469e115f504c95ad97ab88c" + integrity sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w== + +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" "@nervina-labs/cota-sdk@0.5.2": version "0.5.2" @@ -299,12 +312,12 @@ quick-lru@^5.1.1: resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== -ts-node@10.7.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.7.0.tgz#35d503d0fab3e2baa672a0e94f4b40653c2463f5" - integrity sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A== +ts-node@10.8.0: + version "10.8.0" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.0.tgz#3ceb5ac3e67ae8025c1950626aafbdecb55d82ce" + integrity sha512-/fNd5Qh+zTt8Vt1KbYZjRHCE9sI5i7nqfD/dzBBRDeVXZXS6kToW6R7tTU6Nd4XavFs0mAVCg29Q//ML7WsZYA== dependencies: - "@cspotcode/source-map-support" "0.7.0" + "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" "@tsconfig/node12" "^1.0.7" "@tsconfig/node14" "^1.0.0" @@ -315,7 +328,7 @@ ts-node@10.7.0: create-require "^1.1.0" diff "^4.0.1" make-error "^1.1.1" - v8-compile-cache-lib "^3.0.0" + v8-compile-cache-lib "^3.0.1" yn "3.1.1" tslib@2.3.1: @@ -338,10 +351,10 @@ typescript@4.6.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== -v8-compile-cache-lib@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz#0582bcb1c74f3a2ee46487ceecf372e46bce53e8" - integrity sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA== +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== yn@3.1.1: version "3.1.1" diff --git a/package.json b/package.json index 95f4813..17fa065 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "eslint-plugin-prettier": "4.0.0", "husky": "8.0.1", "prettier": "2.6.2", - "ts-node": "10.7.0", + "ts-node": "10.8.0", "tslib": "2.4.0", "typescript": "4.6.4" }, diff --git a/yarn.lock b/yarn.lock index e8b8356..3333f22 100644 --- a/yarn.lock +++ b/yarn.lock @@ -107,17 +107,12 @@ "@babel/helper-validator-identifier" "^7.16.7" to-fast-properties "^2.0.0" -"@cspotcode/source-map-consumer@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-consumer/-/source-map-consumer-0.8.0.tgz#33bf4b7b39c178821606f669bbc447a6a629786b" - integrity sha512-41qniHzTU8yAGbCp04ohlmSrZf8bkf/iJsl3V0dRGsQN/5GFfx+LbCSsCpp2gqrqjTVg/K6O8ycoV35JIwAzAg== - -"@cspotcode/source-map-support@0.7.0": - version "0.7.0" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.7.0.tgz#4789840aa859e46d2f3173727ab707c66bf344f5" - integrity sha512-X4xqRHqN8ACt2aHVe51OxeA2HjbcL4MqFqXkrmQszJ1NOUuUu5u6Vqx/0lZSVNku7velL5FC/s5uEAj1lsBMhA== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== dependencies: - "@cspotcode/source-map-consumer" "0.8.0" + "@jridgewell/trace-mapping" "0.3.9" "@eslint/eslintrc@^1.2.2": version "1.2.2" @@ -148,6 +143,24 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" integrity sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA== +"@jridgewell/resolve-uri@^3.0.3": + version "3.0.7" + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.0.7.tgz#30cd49820a962aff48c8fffc5cd760151fca61fe" + integrity sha512-8cXDaBBHOr2pQ7j77Y6Vp5VDT2sIqWyWQ56TjEq4ih/a4iST3dItRe8Q9fp0rrIl9DoKhWQtUQz/YpOxLkXbNA== + +"@jridgewell/sourcemap-codec@^1.4.10": + version "1.4.13" + resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.13.tgz#b6461fb0c2964356c469e115f504c95ad97ab88c" + integrity sha512-GryiOJmNcWbovBxTfZSF71V/mXbgcV3MewDe3kIMCLyIh5e7SKAeUZs+rMnJ8jkMolZ/4/VsdBmMrw3l+VdZ3w== + +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@nervosnetwork/ckb-sdk-core@^0.103.0": version "0.103.0" resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.0.tgz#48c9f31362bb65f585fd0de783ac740240f821d0" @@ -1642,12 +1655,12 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -ts-node@10.7.0: - version "10.7.0" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.7.0.tgz#35d503d0fab3e2baa672a0e94f4b40653c2463f5" - integrity sha512-TbIGS4xgJoX2i3do417KSaep1uRAW/Lu+WAL2doDHC0D6ummjirVOXU5/7aiZotbQ5p1Zp9tP7U6cYhA0O7M8A== +ts-node@10.8.0: + version "10.8.0" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.0.tgz#3ceb5ac3e67ae8025c1950626aafbdecb55d82ce" + integrity sha512-/fNd5Qh+zTt8Vt1KbYZjRHCE9sI5i7nqfD/dzBBRDeVXZXS6kToW6R7tTU6Nd4XavFs0mAVCg29Q//ML7WsZYA== dependencies: - "@cspotcode/source-map-support" "0.7.0" + "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" "@tsconfig/node12" "^1.0.7" "@tsconfig/node14" "^1.0.0" @@ -1658,7 +1671,7 @@ ts-node@10.7.0: create-require "^1.1.0" diff "^4.0.1" make-error "^1.1.1" - v8-compile-cache-lib "^3.0.0" + v8-compile-cache-lib "^3.0.1" yn "3.1.1" tsconfig-paths@^3.14.1: @@ -1732,10 +1745,10 @@ uri-js@^4.2.2: dependencies: punycode "^2.1.0" -v8-compile-cache-lib@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.0.tgz#0582bcb1c74f3a2ee46487ceecf372e46bce53e8" - integrity sha512-mpSYqfsFvASnSn5qMiwrr4VKfumbPyONLCOPmsR3A6pTY/r0+tSaVbgPWSAIuzbk3lCTa+FForeTiO+wBQGkjA== +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== v8-compile-cache@^2.0.3: version "2.3.0" From 713c6dd311b7fbc5b857e4334c482c092258e772 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 23 May 2022 22:48:04 +0800 Subject: [PATCH 6/8] chore: Update define example total and configure --- example/define-flashsigner.ts | 11 ++++--- example/define.ts | 33 +++++++++++++-------- example/mainnet/define.js | 4 ++- example/mainnet/package.json | 2 +- example/mainnet/yarn.lock | 56 +++++++++++++++++------------------ 5 files changed, 60 insertions(+), 46 deletions(-) diff --git a/example/define-flashsigner.ts b/example/define-flashsigner.ts index eb4f742..603fc1f 100644 --- a/example/define-flashsigner.ts +++ b/example/define-flashsigner.ts @@ -19,12 +19,15 @@ const run = async () => { const defineLock = addressToScript(TEST_ADDRESS) const cotaInfo = { - name: "First Step", - description: "First step to Blockchain mass adoption. NFT platform launch memento.\n\n-- Nervina Labs & Lay2 Tech, 4/30/2021.", - image: "https://i.loli.net/2021/04/29/qyJNSE4iHAas7GL.png", + name: 'First Step', + description: + 'First step to Blockchain mass adoption. NFT platform launch memento.\n\n-- Nervina Labs & Lay2 Tech, 4/30/2021.', + image: 'https://i.loli.net/2021/04/29/qyJNSE4iHAas7GL.png', } - let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, 0, '0x00', cotaInfo, FEE, isMainnet) + const total = 1000 + + let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, total, '0xc0', cotaInfo, FEE, isMainnet) console.log(`cotaId: ${cotaId}`) const flashsingerDep: CKBComponents.CellDep = { diff --git a/example/define.ts b/example/define.ts index 8e39134..d8efa01 100644 --- a/example/define.ts +++ b/example/define.ts @@ -9,15 +9,21 @@ const TEST_ADDRESS = 'ckt1qyq0scej4vn0uka238m63azcel7cmcme7f2sxj5ska' const secp256k1CellDep = (isMainnet: boolean): CKBComponents.CellDep => { if (isMainnet) { - return { outPoint: { - txHash: "0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c", - index: "0x0", - }, depType: 'depGroup' } + return { + outPoint: { + txHash: '0x71a7ba8fc96349fea0ed3a5c47992e3b4084b031a42264a018e0072e8172e46c', + index: '0x0', + }, + depType: 'depGroup', + } + } + return { + outPoint: { + txHash: '0xf8de3bb47d055cdf460d93a2a6e1b05f7432f9777c8c474abf4eec1d4aee5d37', + index: '0x0', + }, + depType: 'depGroup', } - return { outPoint: { - txHash: "0xf8de3bb47d055cdf460d93a2a6e1b05f7432f9777c8c474abf4eec1d4aee5d37", - index: "0x0", - }, depType: 'depGroup' } } const run = async () => { @@ -32,12 +38,15 @@ const run = async () => { const defineLock = addressToScript(TEST_ADDRESS) const cotaInfo: CotaInfo = { - name: "First Step", - description: "First step to Blockchain mass adoption. NFT platform launch memento.\n\n-- Nervina Labs & Lay2 Tech, 4/30/2021.", - image: "https://i.loli.net/2021/04/29/qyJNSE4iHAas7GL.png", + name: 'First Step', + description: + 'First step to Blockchain mass adoption. NFT platform launch memento.\n\n-- Nervina Labs & Lay2 Tech, 4/30/2021.', + image: 'https://i.loli.net/2021/04/29/qyJNSE4iHAas7GL.png', } - let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, 0, '0x00', cotaInfo, FEE, isMainnet) + const total = 1000 + + let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, total, '0xc0', cotaInfo, FEE, isMainnet) console.log(`cotaId: ${cotaId}`) rawTx.cellDeps.push(secp256k1CellDep(isMainnet)) diff --git a/example/mainnet/define.js b/example/mainnet/define.js index 100a4a3..638259a 100644 --- a/example/mainnet/define.js +++ b/example/mainnet/define.js @@ -41,7 +41,9 @@ const run = async () => { image: 'https://oss.jinse.cc/production/03249d00-6b65-4aac-9147-a6d5d9127542.png', } - let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, 0, '0x00', cotaInfo, FEE, isMainnet) + const total = 1000 + + let { rawTx, cotaId } = await generateDefineCotaTx(service, defineLock, total, '0xc0', cotaInfo, FEE, isMainnet) console.log(`cotaId: ${cotaId}`) rawTx.cellDeps.push(secp256k1CellDep(isMainnet)) diff --git a/example/mainnet/package.json b/example/mainnet/package.json index 4f5633c..761548c 100644 --- a/example/mainnet/package.json +++ b/example/mainnet/package.json @@ -4,6 +4,6 @@ "description": "The examples for mainnet", "license": "MIT", "dependencies": { - "@nervina-labs/cota-sdk": "0.5.0" + "@nervina-labs/cota-sdk": "0.5.2" } } \ No newline at end of file diff --git a/example/mainnet/yarn.lock b/example/mainnet/yarn.lock index 8fa5c8f..4bfedf7 100644 --- a/example/mainnet/yarn.lock +++ b/example/mainnet/yarn.lock @@ -2,52 +2,52 @@ # yarn lockfile v1 -"@nervina-labs/cota-sdk@0.5.0": - version "0.5.0" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.0.tgz#8095a3aec3d83c0cc8fc35574d6a4cbfd031b365" - integrity sha512-Yi48wnG+ykXrDYVgvnH3CACovhvTYw766+6qD5LsBalYCs7QWZwhhuaYq43hQb0N8G2xGrbPa0xR/qwZkew3/Q== +"@nervina-labs/cota-sdk@0.5.3": + version "0.5.2" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.2.tgz#2b17a2e1fc2e27740474cacbff2e28bd6bbb9a6a" + integrity sha512-dhDF8wl26uxKOGGJSLQDJCyCWV4L9RkgmmTd2gNuL+BQacxUSRYU4cj99o8mf+peARKdiNIBuMUCJhk4V++JQQ== dependencies: - "@nervosnetwork/ckb-sdk-core" "^0.102.3" - "@nervosnetwork/ckb-sdk-utils" "^0.102.3" - "@nervosnetwork/ckb-types" "^0.102.3" + "@nervosnetwork/ckb-sdk-core" "^0.103.0" + "@nervosnetwork/ckb-sdk-utils" "^0.103.0" + "@nervosnetwork/ckb-types" "^0.103.0" axios "^0.27.2" camelcase-keys "^7.0.2" convert-keys "1.3.4" -"@nervosnetwork/ckb-sdk-core@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.102.3.tgz#e312169df0a0fab390e5d562fa82952749d2c4d0" - integrity sha512-DLbynmSTnuCcw/cCST7nmNilCuvqprDpLtloRj99Ml1ozaL2OX9KVfSCcLXnvymTMhrLmMoG9zoSSgD9u2JJ+g== +"@nervosnetwork/ckb-sdk-core@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.0.tgz#48c9f31362bb65f585fd0de783ac740240f821d0" + integrity sha512-FfD/zmaaS6t7sjPAYLTZPtGS58ikyjA4m2b1SVkMGepW0CbuM08NAhVXBBt6c6yEh6aDegCgk9mXr4iQFCOspw== dependencies: - "@nervosnetwork/ckb-sdk-rpc" "0.102.3" - "@nervosnetwork/ckb-sdk-utils" "0.102.3" - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-sdk-rpc" "0.103.0" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" + "@nervosnetwork/ckb-types" "0.103.0" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-rpc@0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.102.3.tgz#a5ebf859c5818afedb115b3a3ffb457e2e9f39be" - integrity sha512-zBix6CH86V8vuWOQKVcIE5fMPumBtmyfQGUupOlwzpBNuNpeGu4ErHl3EnwBMRoYXmRsVgBwfFk/tdAG9plicw== +"@nervosnetwork/ckb-sdk-rpc@0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.103.0.tgz#c75480e02686e760b664de6859e1d0679553f13a" + integrity sha512-Ea6wymHEXHtsntYVvJIu8hhbygr1uLEFh9nCjhMmmf0M269DOZi6IbeXer2tUkmulTeFLxZN7ipsSi1v7kp6Cw== dependencies: - "@nervosnetwork/ckb-sdk-utils" "0.102.3" + "@nervosnetwork/ckb-sdk-utils" "0.103.0" axios "0.21.4" tslib "2.3.1" -"@nervosnetwork/ckb-sdk-utils@0.102.3", "@nervosnetwork/ckb-sdk-utils@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.102.3.tgz#839bfc6997861f747b1e2f70c633d82cbfdb9950" - integrity sha512-Szuwpq1Bqp2J37tDJQrk59oHYHTnf8LA8CCKmWy2PUoLKYX9kY/aMujKgw1/Dp8YqNDxWzJNBwaJ5FvQUp4fBA== +"@nervosnetwork/ckb-sdk-utils@0.103.0", "@nervosnetwork/ckb-sdk-utils@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.103.0.tgz#ce027ab4604f4ceb04e06ab5c3525db4d6e6c536" + integrity sha512-2CU8fMQfVuCfhE4QbIUtGe+H75c0t8XjZLla32jSA0gFWSpRFx29E8O2VbtcnQPyfwz3myly8X7UhOZid1iFuQ== dependencies: - "@nervosnetwork/ckb-types" "0.102.3" + "@nervosnetwork/ckb-types" "0.103.0" bech32 "2.0.0" elliptic "6.5.4" jsbi "3.1.3" tslib "2.3.1" -"@nervosnetwork/ckb-types@0.102.3", "@nervosnetwork/ckb-types@^0.102.3": - version "0.102.3" - resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.102.3.tgz#159c05b02f40f2045da918856f6e7a627c673147" - integrity sha512-iOpTt0p8ubyBMYxZuXu+SVD1p9ekAsMTjG5XlePkHZj3eNX3W9cYwHcPJJlTXi4K/2XOZ3tWHjBFY3PVWr+dHg== +"@nervosnetwork/ckb-types@0.103.0", "@nervosnetwork/ckb-types@^0.103.0": + version "0.103.0" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.103.0.tgz#df6115f8d353f4d3a92ddf1fea56419cec10e565" + integrity sha512-0JDanWQro5jwSYAd8QDYnEFcbGQoQAkUJUkocfhHU2xoVbkbZLuoXqspsl25ON3PEuC5RYeBCkF+70sqL2QAQQ== asynckit@^0.4.0: version "0.4.0" From 54046800cf885305adc31fa3df85be42bdb4b318 Mon Sep 17 00:00:00 2001 From: duanyytop Date: Wed, 25 May 2022 11:21:39 +0800 Subject: [PATCH 7/8] chore: Update testnet deployment --- src/constants/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/index.ts b/src/constants/index.ts index 71c949c..c4dbc77 100644 --- a/src/constants/index.ts +++ b/src/constants/index.ts @@ -15,7 +15,7 @@ const TestnetInfo = { } as CKBComponents.Script, CotaTypeDep: { - outPoint: { txHash: '0x698f2a29021ebd741b4a38b4a5f8fa3686103ba66773e7549b204a67db015ba0', index: '0x0' }, + outPoint: { txHash: '0xbffc49b70a5919b180296e111604be59f1ce881e6c93fa93ea562feb269c219b', index: '0x0' }, depType: 'depGroup', } as CKBComponents.CellDep, From 729ea4103d6e7cc7c5552c66f7cdc879a45fccde Mon Sep 17 00:00:00 2001 From: duanyytop Date: Wed, 25 May 2022 11:21:58 +0800 Subject: [PATCH 8/8] chore: Bump to v0.5.3 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 17fa065..9b83432 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nervina-labs/cota-sdk", - "version": "0.5.2", + "version": "0.5.3", "description": "The SDK of CoTA", "repository": "git@github.com:nervina-labs/cota-sdk-js.git", "author": "duanyytop ",