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-dappkit3 to 0.0.5-dappkit4

8

lib/src/dappkit.d.ts

@@ -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;

7

lib/src/dappkit.js

@@ -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:

2

package.json
{
"name": "@celo/utils",
"version": "0.0.5-dappkit3",
"version": "0.0.5-dappkit4",
"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