@aws/amazon-location-client 1.0.1 → 1.0.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/README.md CHANGED
@@ -50,7 +50,7 @@ We can further simplify the authentication process by introducing the [Amazon Lo
50
50
  <!-- Importing Amazon Location Client -->
51
51
  <script src="https://www.unpkg.com/@aws/amazon-location-client@1.x/dist/amazonLocationClient.js"></script>
52
52
  <!-- Importing the Amazon Location authentication helper utility library -->
53
- <script src="https://www.unpkg.com/@aws/amazon-location-utilities-auth-helper@1.x/dist/amazonLocationAuthHelper.js"></script>
53
+ <script src="https://www.unpkg.com/@aws/amazon-location-utilities-auth-helper@1"></script>
54
54
  ```
55
55
 
56
56
  ```javascript
@@ -0,0 +1,23 @@
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
+
10
+
11
+
12
+ 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
+ });
17
+ });
18
+ 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
+ });
23
+ });
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.1",
5
+ "version": "1.0.2",
6
6
  "keywords": [],
7
7
  "author": {
8
8
  "name": "Amazon Web Services",
@@ -25,7 +25,10 @@
25
25
  "engines": {
26
26
  "node": ">= 16.0.0"
27
27
  },
28
- "main": "./dist/amazonLocationClient.js",
28
+ "browser": "./dist/amazonLocationClient.js",
29
+ "main": "./dist/cjs/amazonLocationClient.cjs",
30
+ "module": "./src/index.mjs",
31
+ "unpkg": "./dist/amazonLocationClient.js",
29
32
  "type": "module",
30
33
  "files": [
31
34
  "./LICENSE.txt",