@portkey/provider-types
Advanced tools
Comparing version 2.4.0-alpha.5 to 2.4.0-alpha.6
@@ -97,2 +97,5 @@ import { DappEvents, EventId, NotificationEvents } from './event'; | ||
}): Promise<T>; | ||
request<T = null | undefined>(params: { | ||
method: typeof MethodsWallet.WALLET_SHOW_ASSETS; | ||
}): Promise<T>; | ||
request<T = ChainsInfo>(params: { | ||
@@ -99,0 +102,0 @@ method: typeof MethodsBase.CHAINS_INFO; |
@@ -48,2 +48,3 @@ export interface IRequestParams<T = any> { | ||
readonly NETWORK: "network"; | ||
readonly WALLET_INFO: "walletInfo"; | ||
readonly SEND_TRANSACTION: "sendTransaction"; | ||
@@ -68,2 +69,3 @@ readonly SEND_MULTI_TRANSACTION: "sendMultiTransaction"; | ||
readonly WALLET_DISCONNECT: "wallet_disconnect"; | ||
readonly WALLET_SHOW_ASSETS: "wallet_showAssets"; | ||
}; | ||
@@ -70,0 +72,0 @@ export type MethodsWalletType = (typeof MethodsWallet)[keyof typeof MethodsWallet]; |
@@ -34,2 +34,3 @@ "use strict"; | ||
NETWORK: 'network', | ||
WALLET_INFO: 'walletInfo', | ||
SEND_TRANSACTION: 'sendTransaction', | ||
@@ -53,3 +54,4 @@ SEND_MULTI_TRANSACTION: 'sendMultiTransaction', | ||
WALLET_DISCONNECT: 'wallet_disconnect', | ||
WALLET_SHOW_ASSETS: 'wallet_showAssets', | ||
}; | ||
//# sourceMappingURL=request.js.map |
@@ -97,2 +97,5 @@ import { DappEvents, EventId, NotificationEvents } from './event'; | ||
}): Promise<T>; | ||
request<T = null | undefined>(params: { | ||
method: typeof MethodsWallet.WALLET_SHOW_ASSETS; | ||
}): Promise<T>; | ||
request<T = ChainsInfo>(params: { | ||
@@ -99,0 +102,0 @@ method: typeof MethodsBase.CHAINS_INFO; |
@@ -48,2 +48,3 @@ export interface IRequestParams<T = any> { | ||
readonly NETWORK: "network"; | ||
readonly WALLET_INFO: "walletInfo"; | ||
readonly SEND_TRANSACTION: "sendTransaction"; | ||
@@ -68,2 +69,3 @@ readonly SEND_MULTI_TRANSACTION: "sendMultiTransaction"; | ||
readonly WALLET_DISCONNECT: "wallet_disconnect"; | ||
readonly WALLET_SHOW_ASSETS: "wallet_showAssets"; | ||
}; | ||
@@ -70,0 +72,0 @@ export type MethodsWalletType = (typeof MethodsWallet)[keyof typeof MethodsWallet]; |
@@ -31,2 +31,3 @@ export var ResponseCode; | ||
NETWORK: 'network', | ||
WALLET_INFO: 'walletInfo', | ||
SEND_TRANSACTION: 'sendTransaction', | ||
@@ -50,3 +51,4 @@ SEND_MULTI_TRANSACTION: 'sendMultiTransaction', | ||
WALLET_DISCONNECT: 'wallet_disconnect', | ||
WALLET_SHOW_ASSETS: 'wallet_showAssets', | ||
}; | ||
//# sourceMappingURL=request.js.map |
@@ -97,2 +97,5 @@ import { DappEvents, EventId, NotificationEvents } from './event'; | ||
}): Promise<T>; | ||
request<T = null | undefined>(params: { | ||
method: typeof MethodsWallet.WALLET_SHOW_ASSETS; | ||
}): Promise<T>; | ||
request<T = ChainsInfo>(params: { | ||
@@ -99,0 +102,0 @@ method: typeof MethodsBase.CHAINS_INFO; |
@@ -48,2 +48,3 @@ export interface IRequestParams<T = any> { | ||
readonly NETWORK: "network"; | ||
readonly WALLET_INFO: "walletInfo"; | ||
readonly SEND_TRANSACTION: "sendTransaction"; | ||
@@ -68,2 +69,3 @@ readonly SEND_MULTI_TRANSACTION: "sendMultiTransaction"; | ||
readonly WALLET_DISCONNECT: "wallet_disconnect"; | ||
readonly WALLET_SHOW_ASSETS: "wallet_showAssets"; | ||
}; | ||
@@ -70,0 +72,0 @@ export type MethodsWalletType = (typeof MethodsWallet)[keyof typeof MethodsWallet]; |
{ | ||
"name": "@portkey/provider-types", | ||
"version": "2.4.0-alpha.5", | ||
"version": "2.4.0-alpha.6", | ||
"description": "", | ||
@@ -46,3 +46,3 @@ "main": "./dist/commonjs/index.js", | ||
}, | ||
"gitHead": "7d6b25940822d8b93c1d163565da92f2a24365f6" | ||
"gitHead": "1361709128376edb31b0b9f8877268e31ff997f5" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
108692
1571