Skip to content

Commit

Permalink
feat: expose new etna builder via experimental exports
Browse files Browse the repository at this point in the history
  • Loading branch information
erictaylor committed Sep 5, 2024
1 parent 5e6ce59 commit d4c5c0d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 22 additions & 1 deletion src/vms/pvm/etna-builder/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
export * from './builder';
export {
type NewBaseTxProps,
newBaseTx as experimentalNewBaseTx,
type NewImportTxProps,
newImportTx as experimentalNewImportTx,
type NewExportTxProps,
newExportTx as experimentalNewExportTx,
type NewCreateSubnetTxProps,
newCreateSubnetTx as experimentalNewCreateSubnetTx,
type NewCreateChainTxProps,
newCreateChainTx as experimentalNewCreateChainTx,
type NewAddSubnetValidatorTxProps,
newAddSubnetValidatorTx as experimentalNewAddSubnetValidatorTx,
type NewRemoveSubnetValidatorTxProps,
newRemoveSubnetValidatorTx as experimentalNewRemoveSubnetValidatorTx,
type NewAddPermissionlessDelegatorTxProps,
newAddPermissionlessDelegatorTx as experimentalNewAddPermissionlessDelegatorTx,
type NewAddPermissionlessValidatorTxProps,
newAddPermissionlessValidatorTx as experimentalNewAddPermissionlessValidatorTx,
type NewTransferSubnetOwnershipTxProps,
newTransferSubnetOwnershipTx as experimentalNewTransferSubnetOwnershipTx,
} from './builder';
3 changes: 3 additions & 0 deletions src/vms/pvm/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
export * from './builder';
export * from './models';
export * from './api';

// Exposed Etna builder functions prefixed with 'experimental'
export * from './etna-builder';

0 comments on commit d4c5c0d

Please sign in to comment.