Skip to content

Commit

Permalink
export fuses + export wallet data types
Browse files Browse the repository at this point in the history
  • Loading branch information
TateB committed Aug 18, 2023
1 parent c3dac8c commit 44c9919
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/ensjs/src/dns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export {
} from './functions/dns/getDnsOwner.js'
export {
default as importDnsName,
type ImportDnsNameDataParameters,
type ImportDnsNameDataReturnType,
type ImportDnsNameParameters,
type ImportDnsNameReturnType,
} from './functions/dns/importDnsName.js'
Expand Down
2 changes: 1 addition & 1 deletion packages/ensjs/src/functions/wallet/transferName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type BaseRegistrarTransferNameDataParameters = {
asParent?: never
}

type TransferNameDataParameters = BaseTransferNameDataParameters &
export type TransferNameDataParameters = BaseTransferNameDataParameters &
(
| RegistryOrNameWrapperTransferNameDataParameters
| BaseRegistrarTransferNameDataParameters
Expand Down
22 changes: 22 additions & 0 deletions packages/ensjs/src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,28 @@ export {
MAX_INT_64,
MINIMUM_DOT_ETH_CHARS,
} from './consts.js'
export {
ChildFuseKeys,
ChildFuses,
FullParentFuseKeys,
FullParentFuses,
FuseRanges,
ParentFuseKeys,
ParentFuses,
UnnamedChildFuseKeys,
UnnamedChildFuses,
UnnamedParentFuseKeys,
UnnamedParentFuses,
UserSettableFuseKeys,
UserSettableFuses,
checkPccBurned,
decodeFuses,
encodeFuses,
type DecodedFuses,
type EncodeChildFusesInputObject,
type EncodeFusesInputObject,
type EncodeParentFusesInputObject,
} from './fuses.js'

export {
decodeContentHash,
Expand Down
34 changes: 34 additions & 0 deletions packages/ensjs/src/wallet.ts
Original file line number Diff line number Diff line change
@@ -1,85 +1,119 @@
export {
default as commitName,
type CommitNameDataParameters,
type CommitNameDataReturnType,
type CommitNameParameters,
type CommitNameReturnType,
} from './functions/wallet/commitName.js'
export {
default as createSubname,
type CreateSubnameDataParameters,
type CreateSubnameDataReturnType,
type CreateSubnameParameters,
type CreateSubnameReturnType,
} from './functions/wallet/createSubname.js'
export {
default as deleteSubname,
type DeleteSubnameDataParameters,
type DeleteSubnameDataReturnType,
type DeleteSubnameParameters,
type DeleteSubnameReturnType,
} from './functions/wallet/deleteSubname.js'
export {
default as registerName,
type RegisterNameDataParameters,
type RegisterNameDataReturnType,
type RegisterNameParameters,
type RegisterNameReturnType,
} from './functions/wallet/registerName.js'
export {
default as renewNames,
type RenewNamesDataParameters,
type RenewNamesDataReturnType,
type RenewNamesParameters,
type RenewNamesReturnType,
} from './functions/wallet/renewNames.js'
export {
default as setAbiRecord,
type SetAbiRecordDataParameters,
type SetAbiRecordDataReturnType,
type SetAbiRecordParameters,
type SetAbiRecordReturnType,
} from './functions/wallet/setAbiRecord.js'
export {
default as setAddressRecord,
type SetAddressRecordDataParameters,
type SetAddressRecordDataReturnType,
type SetAddressRecordParameters,
type SetAddressRecordReturnType,
} from './functions/wallet/setAddressRecord.js'
export {
default as setChildFuses,
type SetChildFusesDataParameters,
type SetChildFusesDataReturnType,
type SetChildFusesParameters,
type SetChildFusesReturnType,
} from './functions/wallet/setChildFuses.js'
export {
default as setContentHashRecord,
type SetContentHashRecordDataParameters,
type SetContentHashRecordDataReturnType,
type SetContentHashRecordParameters,
type SetContentHashRecordReturnType,
} from './functions/wallet/setContentHashRecord.js'
export {
default as setFuses,
type SetFusesDataParameters,
type SetFusesDataReturnType,
type SetFusesParameters,
type SetFusesReturnType,
} from './functions/wallet/setFuses.js'
export {
default as setPrimaryName,
type SetPrimaryNameDataParameters,
type SetPrimaryNameDataReturnType,
type SetPrimaryNameParameters,
type SetPrimaryNameReturnType,
} from './functions/wallet/setPrimaryName.js'
export {
default as setRecords,
type SetRecordsDataParameters,
type SetRecordsDataReturnType,
type SetRecordsParameters,
type SetRecordsReturnType,
} from './functions/wallet/setRecords.js'
export {
default as setResolver,
type SetResolverDataParameters,
type SetResolverDataReturnType,
type SetResolverParameters,
type SetResolverReturnType,
} from './functions/wallet/setResolver.js'
export {
default as setTextRecord,
type SetTextRecordDataParameters,
type SetTextRecordDataReturnType,
type SetTextRecordParameters,
type SetTextRecordReturnType,
} from './functions/wallet/setTextRecord.js'
export {
default as transferName,
type TransferNameDataParameters,
type TransferNameDataReturnType,
type TransferNameParameters,
type TransferNameReturnType,
} from './functions/wallet/transferName.js'
export {
default as unwrapName,
type UnwrapNameDataParameters,
type UnwrapNameDataReturnType,
type UnwrapNameParameters,
type UnwrapNameReturnType,
} from './functions/wallet/unwrapName.js'
export {
default as wrapName,
type WrapNameDataParameters,
type WrapNameDataReturnType,
type WrapNameParameters,
type WrapNameReturnType,
} from './functions/wallet/wrapName.js'

0 comments on commit 44c9919

Please sign in to comment.