@farcaster/frame-wagmi-connector 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -9,5 +9,5 @@ Not yet stable. [Learn more](https://github.com/farcasterxyz/frames/wiki/frames-
9
9
  Install using your favorite manager:
10
10
 
11
11
  ```
12
- npm install @farcaster/frame-connector
12
+ npm install @farcaster/frame-wagmi-connector
13
13
  ```
@@ -1,4 +1,4 @@
1
- export declare function farcasterFrame(): import("wagmi").CreateConnectorFn<{
1
+ export declare function farcasterFrame(): import("@wagmi/core").CreateConnectorFn<{
2
2
  request: import("ox/Provider").RequestFn<{
3
3
  Request: {
4
4
  method: "eth_accounts";
package/dist/connector.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import FrameSDK from '@farcaster/frame-sdk';
2
2
  import { SwitchChainError, fromHex, getAddress, numberToHex } from 'viem';
3
- import { ChainNotConfiguredError, createConnector } from 'wagmi';
3
+ import { ChainNotConfiguredError, createConnector } from '@wagmi/core';
4
4
  farcasterFrame.type = 'farcasterFrame';
5
5
  let accountsChanged;
6
6
  let chainChanged;