Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
fix: wallet sdk named export
Browse files Browse the repository at this point in the history
  • Loading branch information
xstelea committed Feb 10, 2023
1 parent 1f2113f commit 0f5fa46
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
16 changes: 8 additions & 8 deletions lib/IO/request-items/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
export * from './login'
export * from './one-time-accounts'
export * from './one-time-persona-data'
export * from './ongoing-accounts'
export * from './ongoing-persona-data'
export * from './request-item'
export * from './send-transaction'
export * from './use-persona'
export * from './login'
export * from './one-time-accounts'
export * from './one-time-persona-data'
export * from './ongoing-accounts'
export * from './ongoing-persona-data'
export * from './request-item'
export * from './send-transaction'
export * from './use-persona'
9 changes: 4 additions & 5 deletions lib/wallet-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ export const Network = {
Hammunet: 0x22,
} as const

const WalletSdk = ({
export type WalletSdk = ReturnType<typeof WalletSdk>

export const WalletSdk = ({
networkId = Network.Mainnet,
dAppDefinitionAddress,
logLevel = config.logLevel,
Expand All @@ -46,12 +48,9 @@ const WalletSdk = ({
}
}

export type WalletSdk = ReturnType<typeof WalletSdk>

export default WalletSdk

export { ManifestBuilder } from './manifest-builder'
export * from './scrypto-value'
export { requestBuilder } from './request-builder'
export * from './IO/request-items'
export * from './IO/schemas'
export * from './helpers/error'

0 comments on commit 0f5fa46

Please sign in to comment.