Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: export compile option types for stub implementation #68

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
Loading