@aws-amplify/api-graphql 2.0.7-geo.18 → 2.0.7-geo.25
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 +79 -0
- package/dist/aws-amplify-api-graphql.js +304 -61
- package/dist/aws-amplify-api-graphql.js.map +1 -1
- package/dist/aws-amplify-api-graphql.min.js +3 -3
- package/dist/aws-amplify-api-graphql.min.js.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib-esm/types/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/types/index.ts +1 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DocumentNode } from 'graphql/language/ast';
|
|
|
3
3
|
export interface GraphQLOptions {
|
|
4
4
|
query: string | DocumentNode;
|
|
5
5
|
variables?: object;
|
|
6
|
-
authMode?: GRAPHQL_AUTH_MODE;
|
|
6
|
+
authMode?: keyof typeof GRAPHQL_AUTH_MODE;
|
|
7
7
|
authToken?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare enum GRAPHQL_AUTH_MODE {
|
package/lib-esm/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DocumentNode } from 'graphql/language/ast';
|
|
|
3
3
|
export interface GraphQLOptions {
|
|
4
4
|
query: string | DocumentNode;
|
|
5
5
|
variables?: object;
|
|
6
|
-
authMode?: GRAPHQL_AUTH_MODE;
|
|
6
|
+
authMode?: keyof typeof GRAPHQL_AUTH_MODE;
|
|
7
7
|
authToken?: string;
|
|
8
8
|
}
|
|
9
9
|
export declare enum GRAPHQL_AUTH_MODE {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/api-graphql",
|
|
3
|
-
"version": "2.0.7-geo.
|
|
3
|
+
"version": "2.0.7-geo.25+991c6fe85",
|
|
4
4
|
"description": "Api-graphql category of aws-amplify",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@types/zen-observable": "^0.8.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@aws-amplify/api-rest": "2.0.7-geo.
|
|
48
|
-
"@aws-amplify/auth": "4.1.3-geo.
|
|
49
|
-
"@aws-amplify/cache": "4.0.9-geo.
|
|
50
|
-
"@aws-amplify/core": "4.2.1-geo.
|
|
51
|
-
"@aws-amplify/pubsub": "4.0.7-geo.
|
|
47
|
+
"@aws-amplify/api-rest": "2.0.7-geo.25+991c6fe85",
|
|
48
|
+
"@aws-amplify/auth": "4.1.3-geo.25+991c6fe85",
|
|
49
|
+
"@aws-amplify/cache": "4.0.9-geo.25+991c6fe85",
|
|
50
|
+
"@aws-amplify/core": "4.2.1-geo.25+991c6fe85",
|
|
51
|
+
"@aws-amplify/pubsub": "4.0.7-geo.25+991c6fe85",
|
|
52
52
|
"graphql": "14.0.0",
|
|
53
53
|
"uuid": "^3.2.1",
|
|
54
54
|
"zen-observable-ts": "0.8.19"
|
|
@@ -97,5 +97,5 @@
|
|
|
97
97
|
"lib-esm"
|
|
98
98
|
]
|
|
99
99
|
},
|
|
100
|
-
"gitHead": "
|
|
100
|
+
"gitHead": "991c6fe85f0c19e681ff08ee8ed6c0c726265522"
|
|
101
101
|
}
|
package/src/types/index.ts
CHANGED