trust-my-travel-legacy
Advanced tools
Comparing version 1.3.0 to 1.4.0
@@ -0,1 +1,3 @@ | ||
import getSpreedlyTestTokens from './getSpreedlyTestTokens'; | ||
export { getSpreedlyTestTokens }; | ||
/** | ||
@@ -2,0 +4,0 @@ * Trust My Travel SDK Class |
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const xmlrpc_1 = require("xmlrpc"); | ||
const getSpreedlyTestTokens_1 = __importDefault(require("./getSpreedlyTestTokens")); | ||
exports.getSpreedlyTestTokens = getSpreedlyTestTokens_1.default; | ||
/** | ||
@@ -63,2 +68,2 @@ * Trust My Travel SDK Class | ||
})(Currency = exports.Currency || (exports.Currency = {})); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSxtQ0FBc0M7QUFFdEM7O0dBRUc7QUFDSCxNQUFxQixhQUFhO0lBT2hDOzs7O09BSUc7SUFDSCxZQUFZLEVBQUUsUUFBUSxFQUFFLFFBQVEsRUFBRSxJQUFJLEdBQUcsS0FBSyxFQUFVO1FBQ3RELElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxRQUFRLEdBQUcsUUFBUSxDQUFDO1FBQ3pCLElBQUksQ0FBQyxNQUFNLEdBQUcscUJBQVksQ0FBQztZQUN6QixJQUFJLEVBQUUsSUFBSSxDQUFDLENBQUMsQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDLENBQUMsMkJBQTJCO1lBQzlELElBQUksRUFBRSxFQUFFO1lBQ1IsSUFBSSxFQUFFLGFBQWE7U0FDcEIsQ0FBQyxDQUFDO0lBQ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BvbnNlXG4gICAqXG4gICAqIENhbiByZXR1cm4gZS5nLiBcIlN1Y2VlZGVkXCIgaWYgc3VjY2Vzc2Z1bCBvciBhbiBlcnJvciBkZXNjcmlwdG9yXG4gICAqL1xuICByZXNwb25zZTogc3RyaW5nO1xuXG4gIC8qKlxuICAgKiBUcnVzdCBNeSBUcmF2ZWwgcmVmdW5kIElEXG4gICAqL1xuICByZWZ1bmRfaWQ6IG51bWJlcjtcbn07XG5cbnR5cGUgUmVmdW5kUmVzcG9uc2VCZWZvcmVUeXBlY2FzdGluZyA9IFJlZnVuZFJlc3BvbnNlICYge1xuICBzdWNjZXNzOiBzdHJpbmc7XG59O1xuIl19 |
@@ -14,7 +14,7 @@ "use strict"; | ||
const __1 = __importStar(require("..")); | ||
const getSpreedlyToken_1 = __importDefault(require("./getSpreedlyToken")); | ||
const getSpreedlyTestTokens_1 = __importDefault(require("../getSpreedlyTestTokens")); | ||
/** | ||
* Setup | ||
*/ | ||
jest.setTimeout(20000); | ||
jest.setTimeout(30000); | ||
const username = process.env.TRUST_MY_TRAVEL_STAGING_USERNAME; | ||
@@ -54,3 +54,3 @@ const password = process.env.TRUST_MY_TRAVEL_STAGING_PASSWORD; | ||
// Create a set of real spreedly tokens | ||
tokens = (await getSpreedlyToken_1.default()); | ||
tokens = (await getSpreedlyTestTokens_1.default(10)); | ||
// eslint-disable-next-line no-console | ||
@@ -163,2 +163,2 @@ console.log('Tokens created:', tokens.length > 1); | ||
}); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXgudGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy90ZXN0cy9pbmRleC50ZXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUFBLHdDQU1ZO0FBQ1osMEVBQXNEO0FBRXREOztHQUVHO0FBRUgsSUFBSSxDQUFDLFVBQVU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nNlO1xuICAgIGNvbnN0IHJlZnVuZDogUmVmdW5kUGFyYW1ldGVycyA9IHtcbiAgICAgIGJvb2tpbmdfaWQ6IHBheW1lbnQuYm9va2luZ19pZCxcbiAgICAgIGN1cnJlbmN5OiB0ZXN0UGF5bWVudC5jdXJyZW5jeSxcbiAgICAgIGFtb3VudDogdGVzdFBheW1lbnQudG90YWwsXG4gICAgICBhZmZpbGlhdGVfcGF5bWVudHM6IFtcbiAgICAgICAge1xuICAgICAgICAgIGJvb2tpbmdfaWQ6IGFmZmlsaWF0ZVBheW1lbnQuYm9va2luZ19pZCxcbiAgICAgICAgICBjdXJyZW5jeTogYWZmaWxpYXRlUGF5bWVudC5jdXJyZW5jeSxcbiAgICAgICAgICBhbW91bnQ6IGFmZmlsaWF0ZVBheW1lbnQudG90YWwsXG4gICAgICAgIH0sXG4gICAgICBdLFxuICAgIH07XG4gICAgY29uc3QgcmVzdWx0ID0gYXdhaXQgY2xpZW50LnJlZnVuZChyZWZ1bmQpO1xuICAgIGV4cGVjdChyZXN1bHQuc3VjY2VzcykudG9CZSh0cnVlKTtcbiAgfSk7XG59KTtcbiJdfQ== |
{ | ||
"name": "trust-my-travel-legacy", | ||
"description": "SDK for the Trust My Travel legacy payments API.", | ||
"keywords": [ | ||
"tmt", | ||
"trust my travel", | ||
"api", | ||
"payments", | ||
"legacy", | ||
"sdk" | ||
], | ||
"license": "MIT", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"main": "dist/index.js", | ||
@@ -25,2 +34,3 @@ "scripts": { | ||
"eslint-plugin-prettier": "^3.1.2", | ||
"is-wsl": "^2.2.0", | ||
"jest": "^24.9.0", | ||
@@ -40,3 +50,11 @@ "prettier": "^2.0.4", | ||
}, | ||
"testEnvironment": "node" | ||
"testEnvironment": "node", | ||
"coverageThreshold": { | ||
"global": { | ||
"branches": 70, | ||
"functions": 100, | ||
"lines": 90, | ||
"statements": 70 | ||
} | ||
} | ||
}, | ||
@@ -43,0 +61,0 @@ "dependencies": { |
@@ -15,2 +15,5 @@ # Trust My Travel: Legacy API SDK | ||
Note: The TMT API has timeout issues, where it can take over 10 seconds to respond. We recommend setting a | ||
timeout of +20 seconds for any code that uses this. | ||
## Quickstart | ||
@@ -62,9 +65,9 @@ | ||
| CD Feature | Provided | | ||
| ---------- | ------------------------------- | | ||
| ✅ | Typescript | | ||
| ✅ | Linting (AirBnB + Prettier) | | ||
| ✅ | Unit & Integration tests (Jest) | | ||
| ✅ | 100% Coverage check | | ||
| ✅ | Github Continuous Deployment | | ||
| CD Feature | Provided | | ||
| ---------- | ------------------------------------------------------------------ | | ||
| ✅ | Typescript | | ||
| ✅ | Linting (AirBnB + Prettier) | | ||
| ✅ | Unit & Integration tests (Jest) | | ||
| ❌ | 100% Coverage check (100% not possible given pupeteer limitations) | | ||
| ✅ | Github Continuous Deployment | | ||
@@ -71,0 +74,0 @@ ## Built by Skyhook |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260588
14
620
75
17