Skip to content

Commit

Permalink
fix: export cvToValue function
Browse files Browse the repository at this point in the history
  • Loading branch information
kyranjamie committed Mar 18, 2021
1 parent 48a72fb commit 42c138b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
11 changes: 9 additions & 2 deletions packages/transactions/src/clarity/index.ts
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -82,4 +89,4 @@ export {
export { serializeCV, deserializeCV };

// toString
export { cvToString, cvToJSON };
export { cvToString, cvToJSON, cvToValue };
17 changes: 15 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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=
Expand Down

1 comment on commit 42c138b

@vercel
Copy link

@vercel vercel bot commented on 42c138b Mar 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.