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

Commit

Permalink
Merge pull request #74 from radixdlt/use-schema-lib
Browse files Browse the repository at this point in the history
refactor: use radix connect schemas
  • Loading branch information
xstelea authored Nov 1, 2023
2 parents 7d9d686 + 2da0c75 commit 0ea82b7
Show file tree
Hide file tree
Showing 11 changed files with 37 additions and 396 deletions.
1 change: 0 additions & 1 deletion lib/IO/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
export * from './schemas'
export * as walletInteractionFactoryV2 from './wallet-interaction-factory'
380 changes: 0 additions & 380 deletions lib/IO/schemas.ts

This file was deleted.

6 changes: 5 additions & 1 deletion lib/IO/wallet-interaction-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ import { ResultAsync } from 'neverthrow'
import { AppLogger } from '../helpers/logger'
import { SdkError, createSdkError, errorType } from '../wallet-sdk'
import { parseAsync } from '../helpers/parse-async'
import { Metadata, WalletInteraction, WalletInteractionItems } from './schemas'
import {
Metadata,
WalletInteraction,
WalletInteractionItems,
} from '@radixdlt/radix-connect-schemas'

export const walletInteractionFactory =
(logger?: AppLogger) =>
Expand Down
Loading

0 comments on commit 0ea82b7

Please sign in to comment.