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.8 to 0.4.9

11

index.js

@@ -148,2 +148,4 @@ require('dotenv').config()

async rideStatus(rideId) {

@@ -153,8 +155,7 @@ return this.grabBase

.then(async response => {
const { data } = response
const driverData = await this.grabBase.get(`/api/passenger/v3/rides/${rideId}`)
const { driver, vehicle } = driverData.data
const { data: driverData } = await this.grabBase.get(`/api/passenger/v3/rides/${rideId}`)
const { driver, vehicle } = driverData
const driver = {
const driverPayload = {
name: driver.name,

@@ -173,3 +174,3 @@ rating: driver.rating,

requestId: rideId,
driver
driver: driverPayload
}

@@ -176,0 +177,0 @@

{
"name": "@tride/grab-handler",
"version": "0.4.8",
"version": "0.4.9",
"main": "index.js",

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

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