@aws-amplify/api 6.0.6-unstable.ef20ad8.0 → 6.0.6
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.
|
@@ -24,7 +24,7 @@ export declare class InternalAPIClass {
|
|
|
24
24
|
* Executes a GraphQL operation
|
|
25
25
|
*
|
|
26
26
|
* @param options - GraphQL Options
|
|
27
|
-
* @param [additionalHeaders] - headers to merge in after any `
|
|
27
|
+
* @param [additionalHeaders] - headers to merge in after any `libraryConfigHeaders` set in the config
|
|
28
28
|
* @returns An Observable if queryType is 'subscription', else a promise of the graphql result from the query.
|
|
29
29
|
*/
|
|
30
30
|
graphql<T>(options: GraphQLOptions, additionalHeaders?: CustomHeaders, customUserAgentDetails?: CustomUserAgentDetails): T extends GraphQLQuery<T> ? Promise<GraphQLResult<T>> : T extends GraphQLSubscription<T> ? Observable<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/api",
|
|
3
|
-
"version": "6.0.6
|
|
3
|
+
"version": "6.0.6",
|
|
4
4
|
"description": "Api category of aws-amplify",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.mjs",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"server"
|
|
82
82
|
],
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@aws-amplify/api-graphql": "4.0.6
|
|
85
|
-
"@aws-amplify/api-rest": "4.0.6
|
|
84
|
+
"@aws-amplify/api-graphql": "4.0.6",
|
|
85
|
+
"@aws-amplify/api-rest": "4.0.6",
|
|
86
86
|
"tslib": "^2.5.0"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "5cee7197b6d3ffa5fd12da514d5981294b0e0efa"
|
|
89
89
|
}
|
|
@@ -62,7 +62,7 @@ export class InternalAPIClass {
|
|
|
62
62
|
* Executes a GraphQL operation
|
|
63
63
|
*
|
|
64
64
|
* @param options - GraphQL Options
|
|
65
|
-
* @param [additionalHeaders] - headers to merge in after any `
|
|
65
|
+
* @param [additionalHeaders] - headers to merge in after any `libraryConfigHeaders` set in the config
|
|
66
66
|
* @returns An Observable if queryType is 'subscription', else a promise of the graphql result from the query.
|
|
67
67
|
*/
|
|
68
68
|
graphql<T>(
|