diff --git a/example/aggregator/package.json b/example/aggregator/package.json index df3bf0a..3390dd1 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -8,7 +8,7 @@ "build": "tsc" }, "dependencies": { - "@nervina-labs/cota-sdk": "0.8.0", + "@nervina-labs/cota-sdk": "0.9.0", "@types/node": "18.15.5", "ts-node": "10.9.1", "tslib": "2.5.0", diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index cd97221..4562c59 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -27,52 +27,52 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@nervina-labs/cota-sdk@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.8.0.tgz#89028c2874e2bf1f226f3fc95bbc567bca8f34ac" - integrity sha512-3DwI26csftPtvnjFS8Cauf2ybu+8ESLVsGEUQn69aK5m3PKhXJqfuT2DpsXK2v4dmDEQ8MojgK2S0OooH/37ng== +"@nervina-labs/cota-sdk@0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.9.0.tgz#76f4b40653ff1191b4aaf8991ca272b75197d6f0" + integrity sha512-1s9sgfShBAWguUUmyjCpBSwF8alreuCt4SIzBLR5MnahicgyCMAoeJHUPz6kcQZ9X63LmX5kA98jQQmJ57RE3w== dependencies: - "@nervosnetwork/ckb-sdk-core" "^0.103.0" - "@nervosnetwork/ckb-sdk-utils" "^0.103.0" - "@nervosnetwork/ckb-types" "^0.103.0" - axios "^1.0.0" - camelcase-keys "^7.0.2" + "@nervosnetwork/ckb-sdk-core" "^0.103.1" + "@nervosnetwork/ckb-sdk-utils" "^0.103.1" + "@nervosnetwork/ckb-types" "^0.103.1" + axios "^1.2.1" + camelcase-keys "7.0.2" convert-keys "1.3.4" -"@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== +"@nervosnetwork/ckb-sdk-core@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.1.tgz#136d616ec53af96d3b93dcbce593e6db484c802d" + integrity sha512-LeNwId3GaQILVpnY1zfNBY897XQJPODKeP6d7w6tww9anu0jSxrvXVxGMDTTn3Yz5mixzBgpFGo4SXRrH0eiaQ== dependencies: - "@nervosnetwork/ckb-sdk-rpc" "0.103.0" - "@nervosnetwork/ckb-sdk-utils" "0.103.0" - "@nervosnetwork/ckb-types" "0.103.0" + "@nervosnetwork/ckb-sdk-rpc" "0.103.1" + "@nervosnetwork/ckb-sdk-utils" "0.103.1" + "@nervosnetwork/ckb-types" "0.103.1" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-sdk-rpc@0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.103.1.tgz#6c0d0bad8a05a9280ddc34adf973bf55e0725e06" + integrity sha512-n3V/5Be7PilyHXUcR6yAiwanMcuZNLfslu9A84OpfB22hlkwIv7OFG/JvFNack/cANPfChRAWB+VWiYGwSON/A== dependencies: - "@nervosnetwork/ckb-sdk-utils" "0.103.0" + "@nervosnetwork/ckb-sdk-utils" "0.103.1" axios "0.21.4" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-sdk-utils@0.103.1", "@nervosnetwork/ckb-sdk-utils@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.103.1.tgz#8356f88027a4054835fee0648617cc7020c8db1b" + integrity sha512-OzpFNKkOOqYWDHDjPf11uOfOf8EQOEstOBxVtyFjrGEx3B9FwsGxItlHYeuTfpFkHF2Ut+G9M3X71w8h/IApdQ== dependencies: - "@nervosnetwork/ckb-types" "0.103.0" + "@nervosnetwork/ckb-types" "0.103.1" bech32 "2.0.0" elliptic "6.5.4" jsbi "3.1.3" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-types@0.103.1", "@nervosnetwork/ckb-types@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.103.1.tgz#b5626ce905353e70136bfaccf9def0819b76ca27" + integrity sha512-gGRR1VvUS/KRq2ChhXHPiHpgyLYazPM2R8lK87shQI82Gp2/m6k1HVDeNR5XOYwQ3YmBbxHGQtQr/kMq7DUlZA== "@tsconfig/node10@^1.0.7": version "1.0.8" @@ -126,10 +126,10 @@ axios@0.21.4: dependencies: follow-redirects "^1.14.0" -axios@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.0.tgz#1cb65bd75162c70e9f8d118a905126c4a201d383" - integrity sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw== +axios@^1.2.1: + version "1.3.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.4.tgz#f5760cefd9cfb51fd2481acf88c05f67c4523024" + integrity sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -150,7 +150,7 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -camelcase-keys@^7.0.2: +camelcase-keys@7.0.2: version "7.0.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-7.0.2.tgz#d048d8c69448745bb0de6fc4c1c52a30dfbe7252" integrity sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg== diff --git a/example/mainnet/package.json b/example/mainnet/package.json index 0993ee5..f9bf8f4 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.8.0" + "@nervina-labs/cota-sdk": "0.9.0" } } diff --git a/example/mainnet/yarn.lock b/example/mainnet/yarn.lock index 366cef7..1f02563 100644 --- a/example/mainnet/yarn.lock +++ b/example/mainnet/yarn.lock @@ -2,52 +2,52 @@ # yarn lockfile v1 -"@nervina-labs/cota-sdk@0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.8.0.tgz#89028c2874e2bf1f226f3fc95bbc567bca8f34ac" - integrity sha512-3DwI26csftPtvnjFS8Cauf2ybu+8ESLVsGEUQn69aK5m3PKhXJqfuT2DpsXK2v4dmDEQ8MojgK2S0OooH/37ng== +"@nervina-labs/cota-sdk@0.9.0": + version "0.9.0" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.9.0.tgz#76f4b40653ff1191b4aaf8991ca272b75197d6f0" + integrity sha512-1s9sgfShBAWguUUmyjCpBSwF8alreuCt4SIzBLR5MnahicgyCMAoeJHUPz6kcQZ9X63LmX5kA98jQQmJ57RE3w== dependencies: - "@nervosnetwork/ckb-sdk-core" "^0.103.0" - "@nervosnetwork/ckb-sdk-utils" "^0.103.0" - "@nervosnetwork/ckb-types" "^0.103.0" - axios "^1.0.0" - camelcase-keys "^7.0.2" + "@nervosnetwork/ckb-sdk-core" "^0.103.1" + "@nervosnetwork/ckb-sdk-utils" "^0.103.1" + "@nervosnetwork/ckb-types" "^0.103.1" + axios "^1.2.1" + camelcase-keys "7.0.2" convert-keys "1.3.4" -"@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== +"@nervosnetwork/ckb-sdk-core@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-core/-/ckb-sdk-core-0.103.1.tgz#136d616ec53af96d3b93dcbce593e6db484c802d" + integrity sha512-LeNwId3GaQILVpnY1zfNBY897XQJPODKeP6d7w6tww9anu0jSxrvXVxGMDTTn3Yz5mixzBgpFGo4SXRrH0eiaQ== dependencies: - "@nervosnetwork/ckb-sdk-rpc" "0.103.0" - "@nervosnetwork/ckb-sdk-utils" "0.103.0" - "@nervosnetwork/ckb-types" "0.103.0" + "@nervosnetwork/ckb-sdk-rpc" "0.103.1" + "@nervosnetwork/ckb-sdk-utils" "0.103.1" + "@nervosnetwork/ckb-types" "0.103.1" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-sdk-rpc@0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-rpc/-/ckb-sdk-rpc-0.103.1.tgz#6c0d0bad8a05a9280ddc34adf973bf55e0725e06" + integrity sha512-n3V/5Be7PilyHXUcR6yAiwanMcuZNLfslu9A84OpfB22hlkwIv7OFG/JvFNack/cANPfChRAWB+VWiYGwSON/A== dependencies: - "@nervosnetwork/ckb-sdk-utils" "0.103.0" + "@nervosnetwork/ckb-sdk-utils" "0.103.1" axios "0.21.4" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-sdk-utils@0.103.1", "@nervosnetwork/ckb-sdk-utils@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-sdk-utils/-/ckb-sdk-utils-0.103.1.tgz#8356f88027a4054835fee0648617cc7020c8db1b" + integrity sha512-OzpFNKkOOqYWDHDjPf11uOfOf8EQOEstOBxVtyFjrGEx3B9FwsGxItlHYeuTfpFkHF2Ut+G9M3X71w8h/IApdQ== dependencies: - "@nervosnetwork/ckb-types" "0.103.0" + "@nervosnetwork/ckb-types" "0.103.1" bech32 "2.0.0" elliptic "6.5.4" jsbi "3.1.3" tslib "2.3.1" -"@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== +"@nervosnetwork/ckb-types@0.103.1", "@nervosnetwork/ckb-types@^0.103.1": + version "0.103.1" + resolved "https://registry.yarnpkg.com/@nervosnetwork/ckb-types/-/ckb-types-0.103.1.tgz#b5626ce905353e70136bfaccf9def0819b76ca27" + integrity sha512-gGRR1VvUS/KRq2ChhXHPiHpgyLYazPM2R8lK87shQI82Gp2/m6k1HVDeNR5XOYwQ3YmBbxHGQtQr/kMq7DUlZA== asynckit@^0.4.0: version "0.4.0" @@ -61,10 +61,10 @@ axios@0.21.4: dependencies: follow-redirects "^1.14.0" -axios@^1.0.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.0.tgz#1cb65bd75162c70e9f8d118a905126c4a201d383" - integrity sha512-zT7wZyNYu3N5Bu0wuZ6QccIf93Qk1eV8LOewxgjOZFd2DenOs98cJ7+Y6703d0wkaXGY6/nZd4EweJaHz9uzQw== +axios@^1.2.1: + version "1.3.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.3.4.tgz#f5760cefd9cfb51fd2481acf88c05f67c4523024" + integrity sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -85,7 +85,7 @@ brorand@^1.1.0: resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= -camelcase-keys@^7.0.2: +camelcase-keys@7.0.2: version "7.0.2" resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-7.0.2.tgz#d048d8c69448745bb0de6fc4c1c52a30dfbe7252" integrity sha512-Rjs1H+A9R+Ig+4E/9oyB66UC5Mj9Xq3N//vcLf2WzgdTi/3gUu3Z9KoqmlrEG4VuuLK8wJHofxzdQXz/knhiYg==