@celo/utils
Advanced tools
Comparing version 0.0.5-dappkit6 to 0.0.5-dappkit7
@@ -40,5 +40,5 @@ export declare const DAPPKIT_BASE_HOST = "celo://wallet/dappkit"; | ||
status: DappKitResponseStatus.SUCCESS; | ||
rawTx: string; | ||
rawTxs: string[]; | ||
} | ||
export declare const SignTxResponseSuccess: (rawTx: string) => SignTxResponseSuccess; | ||
export declare const SignTxResponseSuccess: (rawTxs: string[]) => SignTxResponseSuccess; | ||
export interface SignTxResponseFailure { | ||
@@ -45,0 +45,0 @@ type: DappKitRequestTypes.SIGN_TX; |
@@ -34,6 +34,6 @@ "use strict"; | ||
}); }; | ||
exports.SignTxResponseSuccess = function (rawTx) { return ({ | ||
exports.SignTxResponseSuccess = function (rawTxs) { return ({ | ||
type: DappKitRequestTypes.SIGN_TX, | ||
status: DappKitResponseStatus.SUCCESS, | ||
rawTx: rawTx, | ||
rawTxs: rawTxs, | ||
}); }; | ||
@@ -51,3 +51,3 @@ function produceResponseDeeplink(request, response) { | ||
if (response.status === DappKitResponseStatus.SUCCESS) { | ||
params.rawTx = response.rawTx; | ||
params.rawTxs = response.rawTxs; | ||
} | ||
@@ -114,3 +114,3 @@ default: | ||
status: DappKitResponseStatus.SUCCESS, | ||
rawTx: rawParams.query.rawTx, | ||
rawTxs: rawParams.query.rawTxs, | ||
}; | ||
@@ -117,0 +117,0 @@ } |
{ | ||
"name": "@celo/utils", | ||
"version": "0.0.5-dappkit6", | ||
"version": "0.0.5-dappkit7", | ||
"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
376808