chore: Add getInterface interfaceId

This commit is contained in:
BluJ
2023-05-11 16:54:42 -06:00
parent 2705132f47
commit 18b02cc6e4

View File

@@ -182,7 +182,7 @@ export type NetworkInterface = {
/** Human readable description, used as tooltip usually */ /** Human readable description, used as tooltip usually */
description: string description: string
/** All URIs */ /** All URIs */
addresses: Address[] addresses: string[]
/** Defaults to false, but describes if this address can be opened in a browser as an /** Defaults to false, but describes if this address can be opened in a browser as an
* ui interface * ui interface
*/ */
@@ -325,7 +325,7 @@ export type Effects = {
*/ */
getInterface(options: { getInterface(options: {
packageId?: PackageId packageId?: PackageId
interfaceId?: string interfaceId: string
}): Promise<NetworkInterface> }): Promise<NetworkInterface>
/** /**