@celo/utils
Advanced tools
Comparing version 0.0.5-dappkit3 to 0.0.5-dappkit4
@@ -50,2 +50,10 @@ export declare const DAPPKIT_BASE_HOST = "celo://wallet/dappkit"; | ||
export declare function produceResponseDeeplink(request: DappKitRequest, response: DappKitResponse): string; | ||
export interface TxToSignParam { | ||
txData: string; | ||
estimatedGas: number; | ||
from: string; | ||
to: string; | ||
nonce: number; | ||
gasCurrencyAddress: string; | ||
} | ||
export interface SignTxRequest extends DappKitRequestBase { | ||
@@ -52,0 +60,0 @@ type: DappKitRequestTypes.SIGN_TX; |
@@ -65,3 +65,8 @@ "use strict"; | ||
function serializeDappKitRequestDeeplink(request) { | ||
var params = { type: request.type, requestId: request.requestId, callback: request.callback }; | ||
var params = { | ||
type: request.type, | ||
requestId: request.requestId, | ||
callback: request.callback, | ||
dappName: request.dappName, | ||
}; | ||
switch (request.type) { | ||
@@ -68,0 +73,0 @@ case DappKitRequestTypes.SIGN_TX: |
{ | ||
"name": "@celo/utils", | ||
"version": "0.0.5-dappkit3", | ||
"version": "0.0.5-dappkit4", | ||
"description": "Celo common utils", | ||
@@ -5,0 +5,0 @@ "author": "Celo", |
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
377426
2068