@aws/amazon-location-client 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,18 +6,66 @@
6
6
 
7
7
  var clientLocation = require('@aws-sdk/client-location');
8
8
  var credentialProviders = require('@aws-sdk/credential-providers');
9
+ var amazonLocationUtilitiesAuthHelper = require('@aws/amazon-location-utilities-auth-helper');
10
+ var geoMapsClient = require('@aws-sdk/geo-maps-client');
11
+ var geoPlacesClient = require('@aws-sdk/geo-places-client');
12
+ var geoRoutesClient = require('@aws-sdk/geo-routes-client');
9
13
 
14
+ function _interopNamespaceDefault(e) {
15
+ var n = Object.create(null);
16
+ if (e) {
17
+ Object.keys(e).forEach(function (k) {
18
+ if (k !== 'default') {
19
+ var d = Object.getOwnPropertyDescriptor(e, k);
20
+ Object.defineProperty(n, k, d.get ? d : {
21
+ enumerable: true,
22
+ get: function () { return e[k]; }
23
+ });
24
+ }
25
+ });
26
+ }
27
+ n.default = e;
28
+ return Object.freeze(n);
29
+ }
10
30
 
31
+ var geoMapsClient__namespace = /*#__PURE__*/_interopNamespaceDefault(geoMapsClient);
32
+ var geoPlacesClient__namespace = /*#__PURE__*/_interopNamespaceDefault(geoPlacesClient);
33
+ var geoRoutesClient__namespace = /*#__PURE__*/_interopNamespaceDefault(geoRoutesClient);
11
34
 
35
+
36
+
37
+ Object.defineProperty(exports, "withAPIKey", {
38
+ enumerable: true,
39
+ get: function () { return amazonLocationUtilitiesAuthHelper.withAPIKey; }
40
+ });
41
+ Object.defineProperty(exports, "withIdentityPoolId", {
42
+ enumerable: true,
43
+ get: function () { return amazonLocationUtilitiesAuthHelper.withIdentityPoolId; }
44
+ });
45
+ Object.defineProperty(exports, "GeoMapsClient", {
46
+ enumerable: true,
47
+ get: function () { return geoMapsClient.GeoMapsClient; }
48
+ });
49
+ exports.maps = geoMapsClient__namespace;
50
+ Object.defineProperty(exports, "GeoPlacesClient", {
51
+ enumerable: true,
52
+ get: function () { return geoPlacesClient.GeoPlacesClient; }
53
+ });
54
+ exports.places = geoPlacesClient__namespace;
55
+ Object.defineProperty(exports, "GeoRoutesClient", {
56
+ enumerable: true,
57
+ get: function () { return geoRoutesClient.GeoRoutesClient; }
58
+ });
59
+ exports.routes = geoRoutesClient__namespace;
12
60
  Object.keys(clientLocation).forEach(function (k) {
13
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
14
- enumerable: true,
15
- get: function () { return clientLocation[k]; }
16
- });
61
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
62
+ enumerable: true,
63
+ get: function () { return clientLocation[k]; }
64
+ });
17
65
  });
18
66
  Object.keys(credentialProviders).forEach(function (k) {
19
- if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
20
- enumerable: true,
21
- get: function () { return credentialProviders[k]; }
22
- });
67
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
68
+ enumerable: true,
69
+ get: function () { return credentialProviders[k]; }
70
+ });
23
71
  });
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@aws/amazon-location-client",
3
3
  "description": "Amazon Location Client Bundle",
4
4
  "license": "Apache-2.0",
5
- "version": "1.0.2",
5
+ "version": "1.1.0",
6
6
  "keywords": [],
7
7
  "author": {
8
8
  "name": "Amazon Web Services",
@@ -47,15 +47,19 @@
47
47
  },
48
48
  "lint-staged": {},
49
49
  "dependencies": {
50
- "@aws-sdk/client-location": "^3.0.0",
51
- "@aws-sdk/credential-providers": "^3.0.0"
50
+ "@aws-sdk/client-location": "^3.682.0",
51
+ "@aws-sdk/credential-providers": "^3.682.0",
52
+ "@aws-sdk/client-geo-maps": "^3.683.0",
53
+ "@aws-sdk/client-geo-places": "^3.683.0",
54
+ "@aws-sdk/client-geo-routes": "^3.683.0",
55
+ "@aws/amazon-location-utilities-auth-helper": "^1.1.0"
52
56
  },
53
57
  "devDependencies": {
54
- "@rollup/plugin-commonjs": "^25.0.2",
55
- "@rollup/plugin-json": "^6.0.0",
56
- "@rollup/plugin-node-resolve": "^15.0.2",
57
- "husky": "^8.0.3",
58
- "lint-staged": "^13.2.2",
59
- "rollup": "^3.22.0"
58
+ "@rollup/plugin-commonjs": "^28.0.1",
59
+ "@rollup/plugin-json": "^6.1.0",
60
+ "@rollup/plugin-node-resolve": "^15.3.0",
61
+ "husky": "^9.1.6",
62
+ "lint-staged": "^15.2.10",
63
+ "rollup": "^4.24.0"
60
64
  }
61
65
  }