diff --git a/packages/transactions/src/clarity/index.ts b/packages/transactions/src/clarity/index.ts index 0e22b4ce4..c8cf722d3 100644 --- a/packages/transactions/src/clarity/index.ts +++ b/packages/transactions/src/clarity/index.ts @@ -1,4 +1,11 @@ -import { ClarityValue, ClarityType, getCVTypeString, cvToString, cvToJSON } from './clarityValue'; +import { + ClarityValue, + ClarityType, + getCVTypeString, + cvToString, + cvToJSON, + cvToValue, +} from './clarityValue'; import { BooleanCV, TrueCV, FalseCV, trueCV, falseCV } from './types/booleanCV'; import { IntCV, UIntCV, intCV, uintCV } from './types/intCV'; import { BufferCV, bufferCV, bufferCVFromString } from './types/bufferCV'; @@ -82,4 +89,4 @@ export { export { serializeCV, deserializeCV }; // toString -export { cvToString, cvToJSON }; +export { cvToString, cvToJSON, cvToValue }; diff --git a/yarn.lock b/yarn.lock index c93b5ade3..2cfc0cbc5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4096,7 +4096,7 @@ braces@^3.0.1, braces@~3.0.2: dependencies: fill-range "^7.0.1" -brorand@^1.0.1: +brorand@^1.0.1, brorand@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" integrity sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8= @@ -5677,6 +5677,19 @@ elliptic@^6.4.0, elliptic@^6.4.1, elliptic@^6.5.2, elliptic@^6.5.3: minimalistic-assert "^1.0.0" minimalistic-crypto-utils "^1.0.0" +elliptic@^6.5.4: + version "6.5.4" + resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.5.4.tgz#da37cebd31e79a1367e941b592ed1fbebd58abbb" + integrity sha512-iLhC6ULemrljPZb+QutR5TQGB+pdW6KGD5RSegS+8sorOZT+rdQFbsQFJgvN3eRqNALqJer4oQ16YvJHlU8hzQ== + dependencies: + bn.js "^4.11.9" + brorand "^1.1.0" + hash.js "^1.0.0" + hmac-drbg "^1.0.1" + inherits "^2.0.4" + minimalistic-assert "^1.0.1" + minimalistic-crypto-utils "^1.0.1" + emoji-regex@^7.0.1: version "7.0.3" resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" @@ -7219,7 +7232,7 @@ highlight.js@^10.2.0: resolved "https://registry.yarnpkg.com/highlight.js/-/highlight.js-10.4.0.tgz#ef3ce475e5dfa7a48484260b49ea242ddab823a0" integrity sha512-EfrUGcQ63oLJbj0J0RI9ebX6TAITbsDBLbsjr881L/X5fMO9+oadKzEF21C7R3ULKG6Gv3uoab2HiqVJa/4+oA== -hmac-drbg@^1.0.0: +hmac-drbg@^1.0.0, hmac-drbg@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/hmac-drbg/-/hmac-drbg-1.0.1.tgz#d2745701025a6c775a6c545793ed502fc0c649a1" integrity sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=