From db1f14e0d9f5b38372be1ac7009c160bea34ebf0 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 23 May 2022 19:37:58 +0000 Subject: [PATCH 1/8] chore(deps): update dependency @typescript-eslint/parser to v5.26.0 --- package.json | 2 +- yarn.lock | 58 ++++++++++++++++++++++++++-------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 17fa065..d4917be 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.25.0", + "@typescript-eslint/parser": "5.26.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 3333f22..ea0e6f3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -252,48 +252,48 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== -"@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" +"@typescript-eslint/parser@5.26.0": + version "5.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.26.0.tgz#a61b14205fe2ab7533deb4d35e604add9a4ceee2" + integrity sha512-n/IzU87ttzIdnAH5vQ4BBDnLPly7rC5VnjN3m0xBG82HK6rhRxnCb3w/GyWbNDghPd+NktJqB/wl6+YkzZ5T5Q== + dependencies: + "@typescript-eslint/scope-manager" "5.26.0" + "@typescript-eslint/types" "5.26.0" + "@typescript-eslint/typescript-estree" "5.26.0" debug "^4.3.4" -"@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== +"@typescript-eslint/scope-manager@5.26.0": + version "5.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.26.0.tgz#44209c7f649d1a120f0717e0e82da856e9871339" + integrity sha512-gVzTJUESuTwiju/7NiTb4c5oqod8xt5GhMbExKsCTp6adU3mya6AGJ4Pl9xC7x2DX9UYFsjImC0mA62BCY22Iw== dependencies: - "@typescript-eslint/types" "5.25.0" - "@typescript-eslint/visitor-keys" "5.25.0" + "@typescript-eslint/types" "5.26.0" + "@typescript-eslint/visitor-keys" "5.26.0" -"@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/types@5.26.0": + version "5.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.26.0.tgz#cb204bb154d3c103d9cc4d225f311b08219469f3" + integrity sha512-8794JZFE1RN4XaExLWLI2oSXsVImNkl79PzTOOWt9h0UHROwJedNOD2IJyfL0NbddFllcktGIO2aOu10avQQyA== -"@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== +"@typescript-eslint/typescript-estree@5.26.0": + version "5.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.26.0.tgz#16cbceedb0011c2ed4f607255f3ee1e6e43b88c3" + integrity sha512-EyGpw6eQDsfD6jIqmXP3rU5oHScZ51tL/cZgFbFBvWuCwrIptl+oueUZzSmLtxFuSOQ9vDcJIs+279gnJkfd1w== dependencies: - "@typescript-eslint/types" "5.25.0" - "@typescript-eslint/visitor-keys" "5.25.0" + "@typescript-eslint/types" "5.26.0" + "@typescript-eslint/visitor-keys" "5.26.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.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== +"@typescript-eslint/visitor-keys@5.26.0": + version "5.26.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.26.0.tgz#7195f756e367f789c0e83035297c45b417b57f57" + integrity sha512-wei+ffqHanYDOQgg/fS6Hcar6wAWv0CUPQ3TZzOWd2BLfgP539rb49bwua8WRAs7R6kOSLn82rfEu2ro6Llt8Q== dependencies: - "@typescript-eslint/types" "5.25.0" + "@typescript-eslint/types" "5.26.0" eslint-visitor-keys "^3.3.0" acorn-jsx@^5.3.1: From bc3715ac3b7d0c2fbe435c5365d7274cd36366b5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 24 May 2022 19:48:58 +0000 Subject: [PATCH 2/8] chore(deps): update dependency typescript to v4.7.2 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index 3587e5a..3126548 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -12,6 +12,6 @@ "@types/node": "17.0.21", "ts-node": "10.8.0", "tslib": "2.4.0", - "typescript": "4.6.4" + "typescript": "4.7.2" } } \ No newline at end of file diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index a10c295..10967c9 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -346,10 +346,10 @@ type-fest@^1.2.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -typescript@4.6.4: - version "4.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" - integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== +typescript@4.7.2: + version "4.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" + integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== v8-compile-cache-lib@^3.0.1: version "3.0.1" diff --git a/package.json b/package.json index 17fa065..0c3d6b3 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "prettier": "2.6.2", "ts-node": "10.8.0", "tslib": "2.4.0", - "typescript": "4.6.4" + "typescript": "4.7.2" }, "homepage": "https://github.com/nervina-labs/cota-sdk-js#readme" } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 3333f22..65a4617 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1723,10 +1723,10 @@ type-fest@^1.2.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -typescript@4.6.4: - version "4.6.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" - integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== +typescript@4.7.2: + version "4.7.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" + integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== unbox-primitive@^1.0.1: version "1.0.1" From bbab0be1de774cc4c428789e208ccb33816bf85b Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Thu, 26 May 2022 10:22:56 +0000 Subject: [PATCH 3/8] fix(deps): update dependency @nervina-labs/cota-sdk to v0.5.5 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 8 ++++---- example/mainnet/package.json | 2 +- example/mainnet/yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index 3587e5a..c477bd2 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -8,7 +8,7 @@ "build": "tsc" }, "dependencies": { - "@nervina-labs/cota-sdk": "0.5.2", + "@nervina-labs/cota-sdk": "0.5.5", "@types/node": "17.0.21", "ts-node": "10.8.0", "tslib": "2.4.0", diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index a10c295..d235d2b 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -27,10 +27,10 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" -"@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== +"@nervina-labs/cota-sdk@0.5.5": + version "0.5.5" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.5.tgz#9f112accc2b66b9ddd60191addece08df7405a00" + integrity sha512-DKszEIMiXmm5Uxt5NHXqIkpqOkjWfs9+cE/dn1KCN2lsXoPhCkax8l3OwVaA3v0z5jeRazK0hhwJAVqjJHIC8w== dependencies: "@nervosnetwork/ckb-sdk-core" "^0.103.0" "@nervosnetwork/ckb-sdk-utils" "^0.103.0" diff --git a/example/mainnet/package.json b/example/mainnet/package.json index bdeb02c..14e7760 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.4" + "@nervina-labs/cota-sdk": "0.5.5" } } \ No newline at end of file diff --git a/example/mainnet/yarn.lock b/example/mainnet/yarn.lock index a90f9cc..21c9d69 100644 --- a/example/mainnet/yarn.lock +++ b/example/mainnet/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@nervina-labs/cota-sdk@0.5.4": - version "0.5.4" - resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.4.tgz#8804e7213e98e3326b363643228e7487cd8da7e3" - integrity sha512-qCRHPafd7qpTOB3caxxL7a4JAqq5WmNDXvqXXv/ze0T8wuE7goPFqfXCh6GRfGMTr3hzfAddODz4qvZy+JvGPg== +"@nervina-labs/cota-sdk@0.5.5": + version "0.5.5" + resolved "https://registry.yarnpkg.com/@nervina-labs/cota-sdk/-/cota-sdk-0.5.5.tgz#9f112accc2b66b9ddd60191addece08df7405a00" + integrity sha512-DKszEIMiXmm5Uxt5NHXqIkpqOkjWfs9+cE/dn1KCN2lsXoPhCkax8l3OwVaA3v0z5jeRazK0hhwJAVqjJHIC8w== dependencies: "@nervosnetwork/ckb-sdk-core" "^0.103.0" "@nervosnetwork/ckb-sdk-utils" "^0.103.0" From ac9a029d48b5c0b15d9147189a92bcbd734a6b44 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 30 May 2022 18:30:55 +0000 Subject: [PATCH 4/8] chore(deps): update dependency @typescript-eslint/parser to v5.27.0 --- package.json | 2 +- yarn.lock | 58 ++++++++++++++++++++++++++-------------------------- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index 2b794a0..086b7c7 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.26.0", + "@typescript-eslint/parser": "5.27.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 8ec3ffd..c9868e9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -252,48 +252,48 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.31.tgz#a5bb84ecfa27eec5e1c802c6bbf8139bdb163a5d" integrity sha512-AR0x5HbXGqkEx9CadRH3EBYx/VkiUgZIhP4wvPn/+5KIsgpNoyFaRlVe0Zlx9gRtg8fA06a9tskE2MSN7TcG4Q== -"@typescript-eslint/parser@5.26.0": - version "5.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.26.0.tgz#a61b14205fe2ab7533deb4d35e604add9a4ceee2" - integrity sha512-n/IzU87ttzIdnAH5vQ4BBDnLPly7rC5VnjN3m0xBG82HK6rhRxnCb3w/GyWbNDghPd+NktJqB/wl6+YkzZ5T5Q== - dependencies: - "@typescript-eslint/scope-manager" "5.26.0" - "@typescript-eslint/types" "5.26.0" - "@typescript-eslint/typescript-estree" "5.26.0" +"@typescript-eslint/parser@5.27.0": + version "5.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.27.0.tgz#62bb091ed5cf9c7e126e80021bb563dcf36b6b12" + integrity sha512-8oGjQF46c52l7fMiPPvX4It3u3V3JipssqDfHQ2hcR0AeR8Zge+OYyKUCm5b70X72N1qXt0qgHenwN6Gc2SXZA== + dependencies: + "@typescript-eslint/scope-manager" "5.27.0" + "@typescript-eslint/types" "5.27.0" + "@typescript-eslint/typescript-estree" "5.27.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.26.0": - version "5.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.26.0.tgz#44209c7f649d1a120f0717e0e82da856e9871339" - integrity sha512-gVzTJUESuTwiju/7NiTb4c5oqod8xt5GhMbExKsCTp6adU3mya6AGJ4Pl9xC7x2DX9UYFsjImC0mA62BCY22Iw== +"@typescript-eslint/scope-manager@5.27.0": + version "5.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.27.0.tgz#a272178f613050ed62f51f69aae1e19e870a8bbb" + integrity sha512-VnykheBQ/sHd1Vt0LJ1JLrMH1GzHO+SzX6VTXuStISIsvRiurue/eRkTqSrG0CexHQgKG8shyJfR4o5VYioB9g== dependencies: - "@typescript-eslint/types" "5.26.0" - "@typescript-eslint/visitor-keys" "5.26.0" + "@typescript-eslint/types" "5.27.0" + "@typescript-eslint/visitor-keys" "5.27.0" -"@typescript-eslint/types@5.26.0": - version "5.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.26.0.tgz#cb204bb154d3c103d9cc4d225f311b08219469f3" - integrity sha512-8794JZFE1RN4XaExLWLI2oSXsVImNkl79PzTOOWt9h0UHROwJedNOD2IJyfL0NbddFllcktGIO2aOu10avQQyA== +"@typescript-eslint/types@5.27.0": + version "5.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.27.0.tgz#c3f44b9dda6177a9554f94a74745ca495ba9c001" + integrity sha512-lY6C7oGm9a/GWhmUDOs3xAVRz4ty/XKlQ2fOLr8GAIryGn0+UBOoJDWyHer3UgrHkenorwvBnphhP+zPmzmw0A== -"@typescript-eslint/typescript-estree@5.26.0": - version "5.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.26.0.tgz#16cbceedb0011c2ed4f607255f3ee1e6e43b88c3" - integrity sha512-EyGpw6eQDsfD6jIqmXP3rU5oHScZ51tL/cZgFbFBvWuCwrIptl+oueUZzSmLtxFuSOQ9vDcJIs+279gnJkfd1w== +"@typescript-eslint/typescript-estree@5.27.0": + version "5.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.27.0.tgz#7965f5b553c634c5354a47dcce0b40b94611e995" + integrity sha512-QywPMFvgZ+MHSLRofLI7BDL+UczFFHyj0vF5ibeChDAJgdTV8k4xgEwF0geFhVlPc1p8r70eYewzpo6ps+9LJQ== dependencies: - "@typescript-eslint/types" "5.26.0" - "@typescript-eslint/visitor-keys" "5.26.0" + "@typescript-eslint/types" "5.27.0" + "@typescript-eslint/visitor-keys" "5.27.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.26.0": - version "5.26.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.26.0.tgz#7195f756e367f789c0e83035297c45b417b57f57" - integrity sha512-wei+ffqHanYDOQgg/fS6Hcar6wAWv0CUPQ3TZzOWd2BLfgP539rb49bwua8WRAs7R6kOSLn82rfEu2ro6Llt8Q== +"@typescript-eslint/visitor-keys@5.27.0": + version "5.27.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.27.0.tgz#97aa9a5d2f3df8215e6d3b77f9d214a24db269bd" + integrity sha512-46cYrteA2MrIAjv9ai44OQDUoCZyHeGIc4lsjCUX2WT6r4C+kidz1bNiR4017wHOPUythYeH+Sc7/cFP97KEAA== dependencies: - "@typescript-eslint/types" "5.26.0" + "@typescript-eslint/types" "5.27.0" eslint-visitor-keys "^3.3.0" acorn-jsx@^5.3.1: From cbde879f66a5028c72a806037b9196766da4435c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 3 Jun 2022 21:22:30 +0000 Subject: [PATCH 5/8] chore(deps): update dependency ts-node to v10.8.1 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index d18609a..b6f8abe 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -10,7 +10,7 @@ "dependencies": { "@nervina-labs/cota-sdk": "0.5.5", "@types/node": "17.0.21", - "ts-node": "10.8.0", + "ts-node": "10.8.1", "tslib": "2.4.0", "typescript": "4.7.2" } diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index b4b97dd..8a2cb2c 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -312,10 +312,10 @@ 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.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== +ts-node@10.8.1: + version "10.8.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.1.tgz#ea2bd3459011b52699d7e88daa55a45a1af4f066" + integrity sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g== dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" diff --git a/package.json b/package.json index 2b794a0..d4cae10 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.8.0", + "ts-node": "10.8.1", "tslib": "2.4.0", "typescript": "4.7.2" }, diff --git a/yarn.lock b/yarn.lock index 8ec3ffd..dce2ef2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1655,10 +1655,10 @@ to-regex-range@^5.0.1: dependencies: is-number "^7.0.0" -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== +ts-node@10.8.1: + version "10.8.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.8.1.tgz#ea2bd3459011b52699d7e88daa55a45a1af4f066" + integrity sha512-Wwsnao4DQoJsN034wePSg5nZiw4YKXf56mPIAeD6wVmiv+RytNSWqc2f3fKvcUoV+Yn2+yocD71VOfQHbmVX4g== dependencies: "@cspotcode/source-map-support" "^0.8.0" "@tsconfig/node10" "^1.0.7" From 8591af038e310dd5120990e82d03f7121aa73b34 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 3 Jun 2022 21:22:47 +0000 Subject: [PATCH 6/8] chore(deps): update dependency typescript to v4.7.3 --- example/aggregator/package.json | 2 +- example/aggregator/yarn.lock | 8 ++++---- package.json | 2 +- yarn.lock | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/example/aggregator/package.json b/example/aggregator/package.json index d18609a..cbb68e3 100644 --- a/example/aggregator/package.json +++ b/example/aggregator/package.json @@ -12,6 +12,6 @@ "@types/node": "17.0.21", "ts-node": "10.8.0", "tslib": "2.4.0", - "typescript": "4.7.2" + "typescript": "4.7.3" } } \ No newline at end of file diff --git a/example/aggregator/yarn.lock b/example/aggregator/yarn.lock index b4b97dd..470455a 100644 --- a/example/aggregator/yarn.lock +++ b/example/aggregator/yarn.lock @@ -346,10 +346,10 @@ type-fest@^1.2.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -typescript@4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" - integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== +typescript@4.7.3: + version "4.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d" + integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA== v8-compile-cache-lib@^3.0.1: version "3.0.1" diff --git a/package.json b/package.json index 2b794a0..afc841d 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "prettier": "2.6.2", "ts-node": "10.8.0", "tslib": "2.4.0", - "typescript": "4.7.2" + "typescript": "4.7.3" }, "homepage": "https://github.com/nervina-labs/cota-sdk-js#readme" } \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 8ec3ffd..35f8d4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1723,10 +1723,10 @@ type-fest@^1.2.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== -typescript@4.7.2: - version "4.7.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.2.tgz#1f9aa2ceb9af87cca227813b4310fff0b51593c4" - integrity sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A== +typescript@4.7.3: + version "4.7.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.3.tgz#8364b502d5257b540f9de4c40be84c98e23a129d" + integrity sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA== unbox-primitive@^1.0.1: version "1.0.1" From 19d1e1d9be941621fe34f7434e52770437e78791 Mon Sep 17 00:00:00 2001 From: duanyytop Date: Mon, 6 Jun 2022 17:47:11 +0800 Subject: [PATCH 7/8] chore: Update default witness --- src/service/cota/claim-update.ts | 2 +- src/service/cota/claim.ts | 2 +- src/service/cota/define.ts | 2 +- src/service/cota/isssuer.ts | 2 +- src/service/cota/mint.ts | 2 +- src/service/cota/transfer-update.ts | 2 +- src/service/cota/transfer.ts | 2 +- src/service/cota/update.ts | 2 +- src/service/cota/withdraw.ts | 2 +- src/service/registry/index.ts | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/service/cota/claim-update.ts b/src/service/cota/claim-update.ts index aa87c10..caaa4f4 100644 --- a/src/service/cota/claim-update.ts +++ b/src/service/cota/claim-update.ts @@ -56,7 +56,7 @@ export const generateClaimUpdateCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x07${claimUpdateSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x07${claimUpdateSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/claim.ts b/src/service/cota/claim.ts index bfebd7c..eb11cda 100644 --- a/src/service/cota/claim.ts +++ b/src/service/cota/claim.ts @@ -56,7 +56,7 @@ export const generateClaimCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x04${claimSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x04${claimSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/define.ts b/src/service/cota/define.ts index 18a59ab..938a6a2 100644 --- a/src/service/cota/define.ts +++ b/src/service/cota/define.ts @@ -84,7 +84,7 @@ export const generateDefineCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x01${defineSmtEntry}`, outputType: generateCotaMetadata(cotaInfo, cotaId) }, + i > 0 ? '' : { lock: '', inputType: `0x01${defineSmtEntry}`, outputType: generateCotaMetadata(cotaInfo, cotaId) }, ) return { rawTx, cotaId } } diff --git a/src/service/cota/isssuer.ts b/src/service/cota/isssuer.ts index dfbcfd7..a81b51b 100644 --- a/src/service/cota/isssuer.ts +++ b/src/service/cota/isssuer.ts @@ -54,7 +54,7 @@ export const generateIssuerInfoTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: '', outputType: generateIssuerMetadata(issuerInfo) }, + i > 0 ? '' : { lock: '', inputType: '', outputType: generateIssuerMetadata(issuerInfo) }, ) return rawTx } diff --git a/src/service/cota/mint.ts b/src/service/cota/mint.ts index 1c5711a..720a75e 100644 --- a/src/service/cota/mint.ts +++ b/src/service/cota/mint.ts @@ -62,7 +62,7 @@ export const generateMintCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x02${mintSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x02${mintSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/transfer-update.ts b/src/service/cota/transfer-update.ts index f06c714..a4b7a2a 100644 --- a/src/service/cota/transfer-update.ts +++ b/src/service/cota/transfer-update.ts @@ -57,7 +57,7 @@ export const generateTransferUpdateCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x08${transferUpdateSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x08${transferUpdateSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/transfer.ts b/src/service/cota/transfer.ts index eeb8296..1c86ed7 100644 --- a/src/service/cota/transfer.ts +++ b/src/service/cota/transfer.ts @@ -55,7 +55,7 @@ export const generateTransferCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x06${transferSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x06${transferSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/update.ts b/src/service/cota/update.ts index 3016762..6fd4875 100644 --- a/src/service/cota/update.ts +++ b/src/service/cota/update.ts @@ -40,7 +40,7 @@ export const generateUpdateCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x05${updateSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x05${updateSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/cota/withdraw.ts b/src/service/cota/withdraw.ts index 57741f3..b91a6f3 100644 --- a/src/service/cota/withdraw.ts +++ b/src/service/cota/withdraw.ts @@ -43,7 +43,7 @@ export const generateWithdrawCotaTx = async ( witnesses: [], } rawTx.witnesses = rawTx.inputs.map((_, i) => - i > 0 ? '0x' : { lock: '', inputType: `0x03${withdrawalSmtEntry}`, outputType: '' }, + i > 0 ? '' : { lock: '', inputType: `0x03${withdrawalSmtEntry}`, outputType: '' }, ) return rawTx } diff --git a/src/service/registry/index.ts b/src/service/registry/index.ts index 7c61d42..69de0bd 100644 --- a/src/service/registry/index.ts +++ b/src/service/registry/index.ts @@ -92,6 +92,6 @@ export const generateRegisterCotaTx = async ( } const registryWitness = serializeWitnessArgs({ lock: '', inputType: append0x(registrySmtEntry), outputType: '' }) const emptyWitness = { lock: '', inputType: '', outputType: '' } - rawTx.witnesses = rawTx.inputs.map((_, i) => (i === 0 ? registryWitness : i === 1 ? emptyWitness : '0x')) + rawTx.witnesses = rawTx.inputs.map((_, i) => (i === 0 ? registryWitness : i === 1 ? emptyWitness : '')) return rawTx } From 31d0cbeb6d4ec94f87826b658f198774a9ae310a Mon Sep 17 00:00:00 2001 From: duanyytop Date: Mon, 6 Jun 2022 17:47:26 +0800 Subject: [PATCH 8/8] chore: Bump to v0.5.6 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3301ef6..04c2fb8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nervina-labs/cota-sdk", - "version": "0.5.5", + "version": "0.5.6", "description": "The SDK of CoTA", "repository": "git@github.com:nervina-labs/cota-sdk-js.git", "author": "duanyytop ",