@aws/amazon-location-client 1.2.0 → 1.2.2
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.
- package/dist/amazonLocationClient.js +1 -20603
- package/dist/cjs/amazonLocationClient.cjs +1 -71
- package/package.json +21 -4
|
@@ -1,71 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
|
|
5
|
-
'use strict';
|
|
6
|
-
|
|
7
|
-
var clientLocation = require('@aws-sdk/client-location');
|
|
8
|
-
var credentialProviders = require('@aws-sdk/credential-providers');
|
|
9
|
-
var amazonLocationUtilitiesAuthHelper = require('@aws/amazon-location-utilities-auth-helper');
|
|
10
|
-
var clientGeoMaps = require('@aws-sdk/client-geo-maps');
|
|
11
|
-
var clientGeoPlaces = require('@aws-sdk/client-geo-places');
|
|
12
|
-
var clientGeoRoutes = require('@aws-sdk/client-geo-routes');
|
|
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
|
-
}
|
|
30
|
-
|
|
31
|
-
var clientGeoMaps__namespace = /*#__PURE__*/_interopNamespaceDefault(clientGeoMaps);
|
|
32
|
-
var clientGeoPlaces__namespace = /*#__PURE__*/_interopNamespaceDefault(clientGeoPlaces);
|
|
33
|
-
var clientGeoRoutes__namespace = /*#__PURE__*/_interopNamespaceDefault(clientGeoRoutes);
|
|
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 clientGeoMaps.GeoMapsClient; }
|
|
48
|
-
});
|
|
49
|
-
exports.maps = clientGeoMaps__namespace;
|
|
50
|
-
Object.defineProperty(exports, "GeoPlacesClient", {
|
|
51
|
-
enumerable: true,
|
|
52
|
-
get: function () { return clientGeoPlaces.GeoPlacesClient; }
|
|
53
|
-
});
|
|
54
|
-
exports.places = clientGeoPlaces__namespace;
|
|
55
|
-
Object.defineProperty(exports, "GeoRoutesClient", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () { return clientGeoRoutes.GeoRoutesClient; }
|
|
58
|
-
});
|
|
59
|
-
exports.routes = clientGeoRoutes__namespace;
|
|
60
|
-
Object.keys(clientLocation).forEach(function (k) {
|
|
61
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () { return clientLocation[k]; }
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
Object.keys(credentialProviders).forEach(function (k) {
|
|
67
|
-
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () { return credentialProviders[k]; }
|
|
70
|
-
});
|
|
71
|
-
});
|
|
1
|
+
"use strict";var e=require("@aws-sdk/client-location"),t=require("@aws-sdk/credential-providers"),r=require("@aws/amazon-location-utilities-auth-helper"),n=require("@aws-sdk/client-geo-maps"),o=require("@aws-sdk/client-geo-places"),i=require("@aws-sdk/client-geo-routes");function c(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var u=c(n),s=c(o),a=c(i);Object.defineProperty(exports,"withAPIKey",{enumerable:!0,get:function(){return r.withAPIKey}}),Object.defineProperty(exports,"withIdentityPoolId",{enumerable:!0,get:function(){return r.withIdentityPoolId}}),Object.defineProperty(exports,"GeoMapsClient",{enumerable:!0,get:function(){return n.GeoMapsClient}}),exports.maps=u,Object.defineProperty(exports,"GeoPlacesClient",{enumerable:!0,get:function(){return o.GeoPlacesClient}}),exports.places=s,Object.defineProperty(exports,"GeoRoutesClient",{enumerable:!0,get:function(){return i.GeoRoutesClient}}),exports.routes=a,Object.keys(e).forEach((function(t){"default"===t||Object.prototype.hasOwnProperty.call(exports,t)||Object.defineProperty(exports,t,{enumerable:!0,get:function(){return e[t]}})})),Object.keys(t).forEach((function(e){"default"===e||Object.prototype.hasOwnProperty.call(exports,e)||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})}));
|
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.2.
|
|
5
|
+
"version": "1.2.2",
|
|
6
6
|
"keywords": [],
|
|
7
7
|
"author": {
|
|
8
8
|
"name": "Amazon Web Services",
|
|
@@ -40,10 +40,23 @@
|
|
|
40
40
|
"./dist"
|
|
41
41
|
],
|
|
42
42
|
"scripts": {
|
|
43
|
-
"clean": "rm -
|
|
43
|
+
"clean": "rm -rf dist",
|
|
44
|
+
"test": "jest --collectCoverage --collectCoverageFrom=src/*.{mjs}",
|
|
44
45
|
"build": "rollup -c",
|
|
45
46
|
"prepare": "husky install",
|
|
46
|
-
"prepublishOnly": "npm
|
|
47
|
+
"prepublishOnly": "npm-run-all clean build"
|
|
48
|
+
},
|
|
49
|
+
"jest": {
|
|
50
|
+
"testMatch": [
|
|
51
|
+
"**/**.test.js"
|
|
52
|
+
],
|
|
53
|
+
"transform": {
|
|
54
|
+
"^.+\\.m?js$": "babel-jest"
|
|
55
|
+
},
|
|
56
|
+
"transformIgnorePatterns": [
|
|
57
|
+
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx|json)$",
|
|
58
|
+
"package.json"
|
|
59
|
+
]
|
|
47
60
|
},
|
|
48
61
|
"lint-staged": {},
|
|
49
62
|
"dependencies": {
|
|
@@ -52,14 +65,18 @@
|
|
|
52
65
|
"@aws-sdk/client-geo-maps": "^3.683.0",
|
|
53
66
|
"@aws-sdk/client-geo-places": "^3.683.0",
|
|
54
67
|
"@aws-sdk/client-geo-routes": "^3.683.0",
|
|
55
|
-
"@aws/amazon-location-utilities-auth-helper": "^1.2.
|
|
68
|
+
"@aws/amazon-location-utilities-auth-helper": "^1.2.3"
|
|
56
69
|
},
|
|
57
70
|
"devDependencies": {
|
|
71
|
+
"@babel/preset-env": "^7.26.9",
|
|
58
72
|
"@rollup/plugin-commonjs": "^28.0.1",
|
|
59
73
|
"@rollup/plugin-json": "^6.1.0",
|
|
60
74
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
75
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
61
76
|
"husky": "^9.1.6",
|
|
77
|
+
"jest": "^29.7.0",
|
|
62
78
|
"lint-staged": "^15.2.10",
|
|
79
|
+
"npm-run-all2": "^7.0.1",
|
|
63
80
|
"rollup": "^4.24.0"
|
|
64
81
|
}
|
|
65
82
|
}
|