Skip to content

Commit

Permalink
fix: Add missing slice method to bytes interface
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmenzel committed Oct 8, 2024
1 parent 9782f62 commit 11ffcef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/algo-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@algorandfoundation/algorand-typescript",
"version": "0.0.1-alpha.3",
"version": "0.0.1-alpha.4",
"description": "This package contains definitions for the types which comprise Algorand TypeScript which can be compiled to run on the Algorand Virtual Machine using the Puya compiler.",
"private": false,
"main": "index.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/algo-ts/src/primitives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export type bytes = {

equals(other: BytesCompat): boolean

slice(start?: Uint64Compat, end?: Uint64Compat): bytes

toString(): string
}

Expand Down

0 comments on commit 11ffcef

Please sign in to comment.