Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tride/grab-handler

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tride/grab-handler - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

6

index.js

@@ -86,7 +86,3 @@ const { create } = require("axios");

return {
price: {
fixed,
high: upperBound / 100,
low: lowerBound / 100
},
price: upperBound / 100,
requestKey: {

@@ -93,0 +89,0 @@ key: signature,

2

package.json
{
"name": "@tride/grab-handler",
"version": "0.4.0",
"version": "0.4.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:trride/grab-handler.git",

@@ -39,6 +39,3 @@ import test from "ava";

t.is(typeof data, TYPE.OBJECT);
t.is(typeof data.price, TYPE.OBJECT);
t.is(typeof data.price.fixed, TYPE.BOOLEAN);
t.is(typeof data.price.high, TYPE.NUMBER);
t.is(typeof data.price.low, TYPE.NUMBER);
t.is(typeof data.price, TYPE.NUMBER);
});

@@ -55,3 +52,3 @@

test("Book and Cancel", async t => {
const { price: { high }, requestKey: { key } } = await getEstimate(
const { price, requestKey: { key } } = await getEstimate(
TEST_START,

@@ -61,3 +58,3 @@ TEST_END

t.is(typeof key, TYPE.STRING);
t.is(typeof high, TYPE.NUMBER);
t.is(typeof price, TYPE.NUMBER);

@@ -64,0 +61,0 @@ const { requestId } = await requestRide(key, TEST_START, TEST_END);

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