From 30c5b20be0ab320c873b99db3dbaed91d20ee262 Mon Sep 17 00:00:00 2001 From: JonGoSonobi Date: Thu, 6 Jun 2019 10:59:42 -0400 Subject: [PATCH] Added sessionId to event emitters --- sonobi-htb.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonobi-htb.js b/sonobi-htb.js index 2af5e6b..57c627e 100644 --- a/sonobi-htb.js +++ b/sonobi-htb.js @@ -366,6 +366,7 @@ function SonobiHtb(configs) { EventsService.emit('partner_request_complete', { partner: __profile.partnerId, + sessionId: sessionId, status: status, //? if (DEBUG) { parcels: returnParcels, @@ -378,6 +379,7 @@ function SonobiHtb(configs) { onTimeout: function () { EventsService.emit('partner_request_complete', { partner: __profile.partnerId, + sessionId: sessionId, status: 'timeout', //? if (DEBUG) { parcels: returnParcels, @@ -393,6 +395,7 @@ function SonobiHtb(configs) { onFailure: function () { EventsService.emit('partner_request_complete', { partner: __profile.partnerId, + sessionId: sessionId, status: 'error', //? if (DEBUG) { parcels: returnParcels,