@aws-amplify/api 5.4.23 → 5.4.26
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/lib/API.d.ts +8 -0
- package/lib/API.js +8 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/index.d.ts +10 -0
- package/lib-esm/API.d.ts +8 -0
- package/lib-esm/API.js +8 -0
- package/lib-esm/tsconfig.tsbuildinfo +1 -1
- package/lib-esm/types/index.d.ts +10 -0
- package/package.json +20 -13
- package/src/API.ts +8 -0
- package/src/types/index.ts +10 -0
package/lib/API.d.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { InternalAPIClass } from './internals/InternalAPI';
|
|
|
7
7
|
* @deprecated
|
|
8
8
|
* Use RestApi or GraphQLAPI to reduce your application bundle size
|
|
9
9
|
* Export Cloud Logic APIs
|
|
10
|
+
* Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
|
|
11
|
+
* See the migration guide:
|
|
12
|
+
* https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
|
|
10
13
|
*/
|
|
11
14
|
export declare class APIClass extends InternalAPIClass {
|
|
12
15
|
getModuleName(): string;
|
|
@@ -24,4 +27,9 @@ export declare class APIClass extends InternalAPIClass {
|
|
|
24
27
|
value: GraphQLResult<T>;
|
|
25
28
|
}> : Promise<GraphQLResult<any>> | Observable<object>;
|
|
26
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
|
|
32
|
+
* See the migration guide:
|
|
33
|
+
* https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
|
|
34
|
+
*/
|
|
27
35
|
export declare const API: APIClass;
|
package/lib/API.js
CHANGED
|
@@ -9,6 +9,9 @@ var logger = new core_1.ConsoleLogger('API');
|
|
|
9
9
|
* @deprecated
|
|
10
10
|
* Use RestApi or GraphQLAPI to reduce your application bundle size
|
|
11
11
|
* Export Cloud Logic APIs
|
|
12
|
+
* Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
|
|
13
|
+
* See the migration guide:
|
|
14
|
+
* https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
|
|
12
15
|
*/
|
|
13
16
|
var APIClass = /** @class */ (function (_super) {
|
|
14
17
|
tslib_1.__extends(APIClass, _super);
|
|
@@ -24,5 +27,10 @@ var APIClass = /** @class */ (function (_super) {
|
|
|
24
27
|
return APIClass;
|
|
25
28
|
}(InternalAPI_1.InternalAPIClass));
|
|
26
29
|
exports.APIClass = APIClass;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated Amplify JavaScript v5 is in maintenance mode. Upgrade to v6.
|
|
32
|
+
* See the migration guide:
|
|
33
|
+
* https://docs.amplify.aws/gen1/javascript/build-a-backend/troubleshooting/migrate-from-javascript-v5-to-v6/
|
|
34
|
+
*/
|
|
27
35
|
exports.API = new APIClass(null);
|
|
28
36
|
core_1.Amplify.register(exports.API);
|