Socket
Socket
Sign inDemoInstall

@celo/utils

Package Overview
Dependencies
Maintainers
6
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@celo/utils - npm Package Compare versions

Comparing version 0.0.5-dappkit6 to 0.0.5-dappkit7

4

lib/src/dappkit.d.ts

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc