diff --git a/package-lock.json b/package-lock.json index 01ff31a3..39b01b61 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13504,7 +13504,7 @@ }, "packages/algo-ts/dist": { "name": "@algorandfoundation/algorand-typescript", - "version": "0.0.1-alpha.23", + "version": "0.0.1-alpha.24", "dev": true, "peerDependencies": { "tslib": "^2.6.2" diff --git a/packages/algo-ts/package.json b/packages/algo-ts/package.json index 6081536a..30b14cf5 100644 --- a/packages/algo-ts/package.json +++ b/packages/algo-ts/package.json @@ -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", diff --git a/packages/algo-ts/src/compiled.ts b/packages/algo-ts/src/compiled.ts index 8d711cbf..e43e7675 100644 --- a/packages/algo-ts/src/compiled.ts +++ b/packages/algo-ts/src/compiled.ts @@ -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 */ @@ -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 diff --git a/packages/algo-ts/src/index.ts b/packages/algo-ts/src/index.ts index e02f1471..719880ba 100644 --- a/packages/algo-ts/src/index.ts +++ b/packages/algo-ts/src/index.ts @@ -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'