@aws-amplify/api 6.0.6-unstable.f2b7a8d.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 `graphql_headers` set in the config
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-unstable.f2b7a8d.0+f2b7a8d",
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,59 +81,9 @@
81
81
  "server"
82
82
  ],
83
83
  "dependencies": {
84
- "@aws-amplify/api-graphql": "4.0.6-unstable.f2b7a8d.0+f2b7a8d",
85
- "@aws-amplify/api-rest": "4.0.6-unstable.f2b7a8d.0+f2b7a8d",
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
- "jest": {
89
- "globals": {
90
- "ts-jest": {
91
- "diagnostics": {
92
- "pathRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$"
93
- },
94
- "tsConfig": {
95
- "lib": [
96
- "es5",
97
- "es2015",
98
- "dom",
99
- "esnext.asynciterable",
100
- "es2017.object"
101
- ],
102
- "allowJs": true,
103
- "noEmitOnError": false,
104
- "strictNullChecks": true,
105
- "types": [
106
- "@types/jest"
107
- ]
108
- }
109
- }
110
- },
111
- "transform": {
112
- "^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
113
- },
114
- "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
115
- "moduleFileExtensions": [
116
- "ts",
117
- "tsx",
118
- "js",
119
- "json",
120
- "jsx"
121
- ],
122
- "testEnvironment": "jsdom",
123
- "testURL": "http://localhost/",
124
- "coverageThreshold": {
125
- "global": {
126
- "branches": 0,
127
- "functions": 0,
128
- "lines": 0,
129
- "statements": 0
130
- }
131
- },
132
- "coveragePathIgnorePatterns": [
133
- "node_modules",
134
- "dist",
135
- "__tests__"
136
- ]
137
- },
138
- "gitHead": "f2b7a8d78058af2e1c04f7d507525641def667c3"
88
+ "gitHead": "5cee7197b6d3ffa5fd12da514d5981294b0e0efa"
139
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 `graphql_headers` set in the config
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>(