@coinbase/wallet-sdk
Advanced tools
Comparing version 4.0.0-beta.4 to 4.0.0-beta.5
@@ -15,3 +15,3 @@ export declare enum SupportedEthereumMethods { | ||
WalletSendCalls = "wallet_sendCalls", | ||
WalletGetCallsReceipt = "wallet_getCallsReceipt" | ||
WalletGetCallsStatus = "wallet_getCallsStatus" | ||
} | ||
@@ -137,7 +137,7 @@ export type RequestAccountsAction = { | ||
}; | ||
export type GetCallsReceiptAction = { | ||
method: SupportedEthereumMethods.WalletGetCallsReceipt; | ||
export type GetCallsStatusAction = { | ||
method: SupportedEthereumMethods.WalletGetCallsStatus; | ||
params: [string]; | ||
}; | ||
export type AllAction = RequestAccountsAction | SignAction | PersonalSignAction | SignTypedDataV1Action | SignTypedDataV3Action | SignTypedDataV4Action | SignTransactionAction | SendTransactionAction | SendRawTransactionAction | SwitchEthereumChainAction | AddEthereumChainAction | GetCapabilitiesAction | WalletSendCallsAction | GetCallsReceiptAction; | ||
export type AllAction = RequestAccountsAction | SignAction | PersonalSignAction | SignTypedDataV1Action | SignTypedDataV3Action | SignTypedDataV4Action | SignTransactionAction | SendTransactionAction | SendRawTransactionAction | SwitchEthereumChainAction | AddEthereumChainAction | GetCapabilitiesAction | WalletSendCallsAction | GetCallsStatusAction; | ||
export type Action = { | ||
@@ -144,0 +144,0 @@ method: SupportedEthereumMethods; |
@@ -22,3 +22,3 @@ "use strict"; | ||
SupportedEthereumMethods["WalletSendCalls"] = "wallet_sendCalls"; | ||
SupportedEthereumMethods["WalletGetCallsReceipt"] = "wallet_getCallsReceipt"; | ||
SupportedEthereumMethods["WalletGetCallsStatus"] = "wallet_getCallsStatus"; | ||
})(SupportedEthereumMethods || (exports.SupportedEthereumMethods = SupportedEthereumMethods = {})); |
@@ -109,3 +109,3 @@ "use strict"; | ||
switch (request.method) { | ||
case Action_1.SupportedEthereumMethods.WalletGetCallsReceipt: { | ||
case Action_1.SupportedEthereumMethods.WalletGetCallsStatus: { | ||
const requestBody = Object.assign(Object.assign({}, request), { jsonrpc: '2.0', id: crypto.randomUUID() }); | ||
@@ -112,0 +112,0 @@ const res = await window.fetch(constants_1.CB_KEYS_BACKEND_URL, { |
@@ -1,1 +0,1 @@ | ||
export declare const LIB_VERSION = "4.0.0-beta.4"; | ||
export declare const LIB_VERSION = "4.0.0-beta.5"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LIB_VERSION = void 0; | ||
exports.LIB_VERSION = '4.0.0-beta.4'; | ||
exports.LIB_VERSION = '4.0.0-beta.5'; |
{ | ||
"name": "@coinbase/wallet-sdk", | ||
"version": "4.0.0-beta.4", | ||
"version": "4.0.0-beta.5", | ||
"description": "Coinbase Wallet JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
305104