@aws-amplify/api-rest 2.0.49-next.20 → 2.0.49-next.36

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/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.59](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.58...@aws-amplify/api-rest@2.0.59) (2022-10-26)
7
+
8
+ **Note:** Version bump only for package @aws-amplify/api-rest
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.58](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.57...@aws-amplify/api-rest@2.0.58) (2022-10-25)
15
+
16
+ **Note:** Version bump only for package @aws-amplify/api-rest
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.57](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.56...@aws-amplify/api-rest@2.0.57) (2022-10-14)
23
+
24
+ **Note:** Version bump only for package @aws-amplify/api-rest
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.56](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.55...@aws-amplify/api-rest@2.0.56) (2022-10-14)
31
+
32
+ **Note:** Version bump only for package @aws-amplify/api-rest
33
+
34
+
35
+
36
+
37
+
6
38
  ## [2.0.55](https://github.com/aws-amplify/amplify-js/compare/@aws-amplify/api-rest@2.0.53...@aws-amplify/api-rest@2.0.55) (2022-09-30)
7
39
 
8
40
  **Note:** Version bump only for package @aws-amplify/api-rest
package/lib/RestAPI.js CHANGED
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var tslib_1 = require("tslib");
4
4
  /*
5
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
8
8
  * the License. A copy of the License is located at
package/lib/RestClient.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /*
3
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
6
6
  * the License. A copy of the License is located at
package/lib/index.d.ts CHANGED
@@ -1,4 +1,2 @@
1
- import { RestAPI } from './RestAPI';
2
1
  export { RestAPI, RestAPIClass } from './RestAPI';
3
2
  export { RestClient } from './RestClient';
4
- export default RestAPI;
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /*
3
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
6
6
  * the License. A copy of the License is located at
@@ -13,10 +13,8 @@
13
13
  */
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  var RestAPI_1 = require("./RestAPI");
16
- var RestAPI_2 = require("./RestAPI");
17
- exports.RestAPI = RestAPI_2.RestAPI;
18
- exports.RestAPIClass = RestAPI_2.RestAPIClass;
16
+ exports.RestAPI = RestAPI_1.RestAPI;
17
+ exports.RestAPIClass = RestAPI_1.RestAPIClass;
19
18
  var RestClient_1 = require("./RestClient");
20
19
  exports.RestClient = RestClient_1.RestClient;
21
- exports.default = RestAPI_1.RestAPI;
22
20
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;AAEH,qCAAoC;AAEpC,qCAAkD;AAAzC,4BAAA,OAAO,CAAA;AAAE,iCAAA,YAAY,CAAA;AAC9B,2CAA0C;AAAjC,kCAAA,UAAU,CAAA;AACnB,kBAAe,iBAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;AAEH,qCAAkD;AAAzC,4BAAA,OAAO,CAAA;AAAE,iCAAA,YAAY,CAAA;AAC9B,2CAA0C;AAAjC,kCAAA,UAAU,CAAA"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /*
3
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
6
6
  * the License. A copy of the License is located at
@@ -1,6 +1,6 @@
1
1
  import { __assign, __awaiter, __generator, __rest } from "tslib";
2
2
  /*
3
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
4
  *
5
5
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
6
6
  * the License. A copy of the License is located at
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
@@ -1,4 +1,2 @@
1
- import { RestAPI } from './RestAPI';
2
1
  export { RestAPI, RestAPIClass } from './RestAPI';
3
2
  export { RestClient } from './RestClient';
4
- export default RestAPI;
package/lib-esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
@@ -10,8 +10,6 @@
10
10
  * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
11
11
  * and limitations under the License.
12
12
  */
13
- import { RestAPI } from './RestAPI';
14
13
  export { RestAPI, RestAPIClass } from './RestAPI';
15
14
  export { RestClient } from './RestClient';
16
- export default RestAPI;
17
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/api-rest",
3
- "version": "2.0.49-next.20+072846a9f",
3
+ "version": "2.0.49-next.36+580cda186",
4
4
  "description": "Api-rest category of aws-amplify",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
@@ -28,7 +28,8 @@
28
28
  "build": "npm run clean && npm run build:esm && npm run build:cjs",
29
29
  "clean": "rimraf lib-esm lib dist",
30
30
  "format": "echo \"Not implemented\"",
31
- "lint": "tslint 'src/**/*.ts'"
31
+ "lint": "tslint 'src/**/*.ts' && npm run ts-coverage",
32
+ "ts-coverage": "typescript-coverage-report -p ./tsconfig.build.json -t 65.41"
32
33
  },
33
34
  "repository": {
34
35
  "type": "git",
@@ -40,8 +41,13 @@
40
41
  "url": "https://github.com/aws/aws-amplify/issues"
41
42
  },
42
43
  "homepage": "https://aws-amplify.github.io/",
44
+ "files": [
45
+ "lib",
46
+ "lib-esm",
47
+ "src"
48
+ ],
43
49
  "dependencies": {
44
- "@aws-amplify/core": "4.6.2-next.20+072846a9f",
50
+ "@aws-amplify/core": "4.6.2-next.36+580cda186",
45
51
  "axios": "0.26.0",
46
52
  "tslib": "^2.0.0"
47
53
  },
@@ -89,5 +95,5 @@
89
95
  "lib-esm"
90
96
  ]
91
97
  },
92
- "gitHead": "072846a9f0bd91f145e58aca2fca91a6478286b0"
98
+ "gitHead": "580cda186f10ead3bb99acb7a4825c435c657d33"
93
99
  }
package/src/RestAPI.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
package/src/RestClient.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
@@ -11,8 +11,5 @@
11
11
  * and limitations under the License.
12
12
  */
13
13
 
14
- import { RestAPI } from './RestAPI';
15
-
16
14
  export { RestAPI, RestAPIClass } from './RestAPI';
17
15
  export { RestClient } from './RestClient';
18
- export default RestAPI;
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
+ * Copyright 2017-2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
  *
4
4
  * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
5
5
  * the License. A copy of the License is located at
package/build.js DELETED
@@ -1,5 +0,0 @@
1
- 'use strict';
2
-
3
- const build = require('../../scripts/build');
4
-
5
- build(process.argv[2], process.argv[3]);