Skip to content

Commit

Permalink
Change to core
Browse files Browse the repository at this point in the history
  • Loading branch information
chasefleming committed Jan 27, 2025
1 parent 4714b56 commit dbd9b2c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as fcl from "@onflow/fcl"
import {currentUser} from "@onflow/fcl"

export class AccountManager {
constructor(private user: typeof fcl.currentUser) {}
constructor(private user: typeof currentUser) {}

getAccounts(): string[] {
// ... get coa address
Expand Down
4 changes: 2 additions & 2 deletions packages/fcl-ethereum-provider/src/create-provider.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as fcl from "@onflow/fcl"
import {currentUser} from "@onflow/fcl"
import {Eip1193Provider} from "./types/provider"
import {FclEthereumProvider} from "./provider"
import {RpcProcessor} from "./rpc/rpc-processor"
Expand Down Expand Up @@ -26,7 +26,7 @@ import {AccountManager} from "./accounts/account-manager"
* ```
*/
export function createProvider(config: {
user: typeof fcl.currentUser
user: typeof currentUser
service?: Service
gateway?: string
}): Eip1193Provider {
Expand Down

0 comments on commit dbd9b2c

Please sign in to comment.