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

trust-my-travel-legacy

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trust-my-travel-legacy - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

2

dist/index.d.ts

@@ -155,3 +155,3 @@ import getSpreedlyTestTokens from './getSpreedlyTestTokens';

*/
affiliate_payments?: [AffiliateRefundParameters];
affiliate_refunds?: [AffiliateRefundParameters];
}

@@ -158,0 +158,0 @@ export interface AffiliateRefundParameters {

@@ -69,2 +69,2 @@ "use strict";

})(Currency = exports.Currency || (exports.Currency = {}));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsbUNBQXNDO0FBQ3RDLG9GQUE0RDtBQUVuRCxnQ0FGRiwrQkFBcUIsQ0FFRTtBQUU5Qjs7R0FFRztBQUNILE1BQXFCLGFBQWE7SUFPaEM7Ozs7T0FJRztJQUNILFlBQVksRUFBRSxRQUFRLEVBQUUsUUFBUSxFQUFFLElBQUksR0FBRyxLQUFLLEVBQVU7UUFDdEQsSUFBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUM7UUFDekIsSUFBSSxDQUFDLFFBQVEsR0FBRyxRQUFRLENBQUM7UUFDekIsSUFBSSxDQUFDLE1BQU0sR0FBRyxxQkFBWSxDQUFDO1lBQ3pCLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQyxDQUFDLG1CQUFtQixDQUFDLENBQUMsQ0FBQywyQkFBMkI7WUFDOUQsSUFBSSxFQUFFLEVBQUU7WUFDUixJQUFJLEVBQUUsYUFBYTtTQUNwQixDQUFDLENBQUM7SUFDTCxDQ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ipcbiAgICogQ3VycmVuY3kgSVNPXG4gICAqXG4gICAqIFtJU08gNDIxN10oaHR0cHM6Ly9lbi53aWtpcGVkaWEub3JnL3dpa2kvSVNPXzQyMTcpIDMtZGlnaXQgZm9ybWF0XG4gICAqL1xuICBjdXJyZW5jeTogQ3VycmVuY3k7XG59XG5cbmV4cG9ydCBpbnRlcmZhY2UgUmVmdW5kUmVzcG9uc2Uge1xuICAvKipcbiAgICogUGF5bWVudCBzdWNjZXNzIHN0YXR1c1xuICAgKi9cbiAgc3VjY2VzczogYm9vbGVhbjtcblxuICAvKipcbiAgICogUmVzcG9uc2VcbiAgICpcbiAgICogQ2FuIHJldHVybiBlLmcuIFwiU3VjZWVkZWRcIiBpZiBzdWNjZXNzZnVsIG9yIGFuIGVycm9yIGRlc2NyaXB0b3JcbiAgICovXG4gIHJlc3BvbnNlOiBzdHJpbmc7XG5cbiAgLyoqXG4gICAqIFRydXN0IE15IFRyYXZlbCByZWZ1bmQgSURcbiAgICovXG4gIHJlZnVuZF9pZDogbnVtYmVyO1xufVxuXG50eXBlIFJlZnVuZFJlc3BvbnNlQmVmb3JlVHlwZWNhc3RpbmcgPSBPbWl0PFJlZnVuZFJlc3BvbnNlLCAnc3VjY2Vzcyc+ICYge1xuICBzdWNjZXNzOiBzdHJpbmc7XG59O1xuIl19

@@ -31,4 +31,5 @@ "use strict";

jest.setTimeout(30000);
const username = process.env.TRUST_MY_TRAVEL_STAGING_USERNAME;
const password = process.env.TRUST_MY_TRAVEL_STAGING_PASSWORD;
// Secrets must be setup locally for local testing, as env variables
const username = process.env.TRUST_MY_TRAVEL_STAGING_USERNAME_LEGACY;
const password = process.env.TRUST_MY_TRAVEL_STAGING_PASSWORD_LEGACY;
const clientConfig = {

@@ -162,3 +163,3 @@ username,

amount: testPayment.total,
affiliate_payments: [
affiliate_refunds: [
{

@@ -175,2 +176,2 @@ booking_id: affiliatePayment.booking_id,

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLC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YXZlbChjbGllbnRDb25maWcpO1xuICAgIGNvbnN0IHBheW1lbnQgPSBhd2FpdCBjbGllbnQudGFrZVBheW1lbnQoe1xuICAgICAgLi4udGVzdFBheW1lbnRXaXRoQWZmaWxpYXRlLFxuICAgICAgcGF5bWVudF9tZXRob2RfdG9rZW46IHRva2Vucy5wb3AoKSBhcyBzdHJpbmcsXG4gICAgfSk7XG4gICAgaWYgKCFwYXltZW50IHx8ICFwYXltZW50LmFmZmlsaWF0ZV9wYXltZW50cykgdGhyb3cgRXJyb3IoKTtcblxuICAgIGNvbnN0IGFmZmlsaWF0ZVBheW1lbnQgPSBwYXltZW50XG4gICAgICAuYWZmaWxpYXRlX3BheW1lbnRzWzBdIGFzIFBheW1lbnRBZmZpbGlhdGVSZXNwb25zZTtcbiAgICBjb25zdCByZWZ1bmQ6IFJlZnVuZFBhcmFtZXRlcnMgPSB7XG4gICAgICBib29raW5nX2lkOiBwYXltZW50LmJvb2tpbmdfaWQsXG4gICAgICBjdXJyZW5jeTogdGVzdFBheW1lbnQuY3VycmVuY3ksXG4gICAgICBhbW91bnQ6IHRlc3RQYXltZW50LnRvdGFsLFxuICAgICAgYWZmaWxpYXRlX3JlZnVuZHM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGJvb2tpbmdfaWQ6IGFmZmlsaWF0ZVBheW1lbnQuYm9va2luZ19pZCxcbiAgICAgICAgICBjdXJyZW5jeTogYWZmaWxpYXRlUGF5bWVudC5jdXJyZW5jeSxcbiAgICAgICAgICBhbW91bnQ6IGFmZmlsaWF0ZVBheW1lbnQudG90YWwsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgIH07XG4gICAgY29uc3QgcmVzdWx0ID0gYXdhaXQgY2xpZW50LnJlZnVuZChyZWZ1bmQpO1xuICAgIGV4cGVjdChyZXN1bHQuc3VjY2VzcykudG9CZSh0cnVlKTtcbiAgfSk7XG59KTtcbiJdfQ==

@@ -13,3 +13,3 @@ {

"license": "MIT",
"version": "1.5.2",
"version": "1.5.3",
"main": "dist/index.js",

@@ -16,0 +16,0 @@ "scripts": {

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