Skip to content

Commit

Permalink
fix: remove getAvailableNetworks method
Browse files Browse the repository at this point in the history
  • Loading branch information
Egor Komarov committed Apr 9, 2024
1 parent a5a45b8 commit cfa94b0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
10 changes: 0 additions & 10 deletions src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1635,16 +1635,6 @@ export type ProviderApi<Addr = Address> = {
};
};

/**
* Get a list of available networks.
*
* ---
* Required permissions: `basic`
*/
getAvailableNetworks: {
output: Network[];
};

/**
* Request user to add a new network.
* Shows an approval window to the user.
Expand Down
11 changes: 0 additions & 11 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1041,17 +1041,6 @@ export class ProviderRpcClient {
};
}

/**
* Get a list of available networks.
*
* ---
* Required permissions: `basic`
*/
public async getAvailableNetworks(): Promise<Network[]> {
await this.ensureInitialized();
return await this._api.getAvailableNetworks();
}

/**
* Request user to add a new network.
* Shows an approval window to the user.
Expand Down

0 comments on commit cfa94b0

Please sign in to comment.