Skip to content

Commit

Permalink
expose bytes base class
Browse files Browse the repository at this point in the history
  • Loading branch information
mitschabaude committed Oct 10, 2024
1 parent 80fcc08 commit 2635545
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/provable/wrapped-classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ function Bytes(size: number) {
Bytes.from = InternalBytes.from;
Bytes.fromHex = InternalBytes.fromHex;
Bytes.fromString = InternalBytes.fromString;

// expore base class so that we can detect Bytes with `instanceof`
Bytes.Base = InternalBytes;

0 comments on commit 2635545

Please sign in to comment.