Skip to content

Commit

Permalink
Merge pull request #68 from algorandfoundation/feat-precompiled
Browse files Browse the repository at this point in the history
feat: export compile option types for stub implementation
  • Loading branch information
boblat authored Dec 24, 2024
2 parents 519e437 + 00cd515 commit 55818ef
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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.23",
"version": "0.0.1-alpha.24",
"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
4 changes: 2 additions & 2 deletions packages/algo-ts/src/compiled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export type CompiledLogicSig = {
/**
* Options for compiling a contract
*/
type CompileContractOptions = {
export type CompileContractOptions = {
/**
* Number of extra program pages, defaults to minimum required for contract
*/
Expand Down Expand Up @@ -87,7 +87,7 @@ type CompileContractOptions = {
/**
* Options for compiling a logic signature
*/
type CompileLogicSigOptions = {
export type CompileLogicSigOptions = {
/**
* Template variables to substitute into the contract, key should be without the prefix, must evaluate to a compile time constant
* and match the type of the template var declaration
Expand Down
2 changes: 1 addition & 1 deletion packages/algo-ts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ export { TransactionType } from './transactions'
export { LogicSig, logicsig } from './logic-sig'
export { TemplateVar } from './template-var'
export { Base64, Ec, Ecdsa, VrfVerify } from './op-types'
export { compile, CompiledContract, CompiledLogicSig } from './compiled'
export { compile, CompiledContract, CompiledLogicSig, CompileContractOptions, CompileLogicSigOptions } from './compiled'
export { MutableArray } from './mutable-array'
export { emit } from './arc-28'

0 comments on commit 55818ef

Please sign in to comment.