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

amadeus

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amadeus - npm Package Compare versions

Comparing version 5.0.0 to 5.1.0

lib/amadeus/namespaces/safety.js

4

CHANGELOG.md
# Changelog
## 5.1.0 - 2020-06-11
Adding [Safe Place API](https://developers.amadeus.com/self-service/category/destination-content/api-doc/safe-place-api/api-reference)
## 5.0.0 - 2020-05-21

@@ -3,0 +7,0 @@ Decommission Flight Low-Fare Search API

5

lib/amadeus.js

@@ -26,2 +26,4 @@ "use strict";

var _safety = _interopRequireDefault(require("./amadeus/namespaces/safety"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

@@ -98,2 +100,3 @@

this.pagination = new _pagination["default"](this.client);
this.safety = new _safety["default"](this.client);
}

@@ -247,2 +250,2 @@ /**

module.exports = exports["default"];
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9hbWFkZXVzLmpzIl0sIm5hbWVzIjpbIkFtYWRldXMiLCJwYXJhbXMiLCJjbGllbnQiLCJDbGllbnQiLCJ2ZXJzaW9uIiwicmVmZXJlbmNlRGF0YSIsIlJlZmVyZW5jZURhdGEiLCJzaG9wcGluZyIsIlNob3BwaW5nIiwiYm9va2luZyIsIkJvb2tpbmciLCJ0cmF2ZWwiLCJUcmF2ZWwiLCJlUmVwdXRhdGlvbiIsIkVSZXB1dGF0aW9uIiwibWVkaWEiLCJNZWRpYSIsImFpcnBvcnQiLCJBaXJwb3J0IiwicGFnaW5hdGlvbiIsIlBhZ2luYXRpb24iLCJyZXNwb25zZSIsInBhZ2UiLCJsb2NhdGlvbiIsImNpdHkiLCJhbnkiLCJkaXJlY3Rpb24iLCJhcnJpdmluZyIsImRlcGFydGluZyJdLCJtYXBwaW5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ZmaWMuYnVzaWVzdFBlcmlvZC5nZXQoe1xuICogICBjaXR5Q29kZTogJ3BhcicsXG4gKiAgIHBlcmRpb2Q6IDIwMTUsXG4gKiAgIGRpcmVjdGlvbjogQW1hZGV1cy5kaXJlY3Rpb24uYXJyaXZpbmdcbiAqIH0pO1xuICogYGBgXG4gKlxuICogQ3VycmVudGx5IGF2YWlsYWJsZSBhcmUgdGhlIHR5cGVzIGAuYXJyaXZpbmdgIGFuZCBgLmRlcGFydGluZ2BcbiAqL1xuXG5BbWFkZXVzLmRpcmVjdGlvbiA9IHtcbiAgYXJyaXZpbmc6ICdBUlJJVklORycsXG4gIGRlcGFydGluZzogJ0RFUEFSVElORydcbn07XG5cbmV4cG9ydCBkZWZhdWx0IEFtYWRldXM7XG4iXX0=
{
"name": "amadeus",
"version": "5.0.0",
"version": "5.1.0",
"description": "Node library for the Amadeus travel APIs",

@@ -5,0 +5,0 @@ "main": "lib/amadeus.js",

@@ -8,2 +8,3 @@ # Amadeus Node SDK

[![Contact Support](https://img.shields.io/badge/contact-support-blue.svg)][support]
[![Discord](https://img.shields.io/discord/696822960023011329?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2)](https://discord.gg/cVrFBqx)

@@ -43,2 +44,5 @@ Amadeus provides a rich set of APIs for the travel industry. For more details, check out the [Amadeus for Developers Portal](https://developers.amadeus.com) or the [SDK class reference](https://amadeus4dev.github.io/amadeus-node/).

```
Examples
--------------------------
You can find all the endpoints in self-contained [code examples](https://github.com/amadeus4dev/amadeus-code-examples).

@@ -426,2 +430,17 @@ ## Initialization

})
// How safe is Barcelona? (based a geo location and a radius)
amadeus.safety.safetyRatedLocations.get({
latitude: 41.397158,
longitude: 2.160873
})
// How safe is Barcelona? (based on a square)
amadeus.safety.safetyRatedLocations.bySquare.get({
north: 41.397158,
west: 2.160873,
south: 41.394582,
east: 2.177181
})
// What is the safety information of a location based on it's Id?
amadeus.safety.safetyRatedLocation('Q930400801').get()
```

@@ -428,0 +447,0 @@

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