Skip to content

Commit

Permalink
feat(wallet-data): upgrade from soroban-client to stellar-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
esteblock committed Dec 26, 2023
1 parent 1c7e4d9 commit 076785f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/wallet-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@soroban-react/connect-button": "^7.4.0",
"@soroban-react/core": "^7.4.0",
"@soroban-react/types": "^7.4.0",
"soroban-client": "1.0.0-beta.4"
"stellar-sdk": "11.1.0"
},
"peerDependencies": {
"react": ">=16.8"
Expand Down
4 changes: 2 additions & 2 deletions packages/wallet-data/src/useNetwork.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { SorobanContextType } from '@soroban-react/core'
import { WalletChain } from '@soroban-react/types'
import React from 'react'

import * as SorobanClient from 'soroban-client'
import * as StellarSdk from 'stellar-sdk'

import { WalletChainByName } from './provideWalletChains'

export type NetworkConfig = {
activeChain?: WalletChain
server?: SorobanClient.Server
server?: StellarSdk.SorobanRpc.Server
chains: Array<WalletChain>
}

Expand Down

0 comments on commit 076785f

Please sign in to comment.