@ttoss/appsync-api 0.20.5 → 0.21.1
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/dist/esm/index.js +3 -3
- package/dist/index.js +3 -3
- package/package.json +7 -7
package/dist/esm/index.js
CHANGED
|
@@ -147,10 +147,10 @@ var createApiTemplate = ({
|
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
149
|
};
|
|
150
|
-
|
|
150
|
+
for (const {
|
|
151
151
|
fieldName,
|
|
152
152
|
typeName
|
|
153
|
-
})
|
|
153
|
+
} of resolveMethodsEntries) {
|
|
154
154
|
template.Resources[`${fieldName}${typeName}AppSyncResolver`] = {
|
|
155
155
|
Type: "AWS::AppSync::Resolver",
|
|
156
156
|
DependsOn: AppSyncGraphQLSchemaLogicalId,
|
|
@@ -165,7 +165,7 @@ var createApiTemplate = ({
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
|
-
}
|
|
168
|
+
}
|
|
169
169
|
const apiKey = additionalAuthenticationProviders?.includes("API_KEY") || authenticationType === "API_KEY";
|
|
170
170
|
const cognitoUserPoolAuth = additionalAuthenticationProviders?.includes("AMAZON_COGNITO_USER_POOLS") || authenticationType === "AMAZON_COGNITO_USER_POOLS";
|
|
171
171
|
if (additionalAuthenticationProviders) {
|
package/dist/index.js
CHANGED
|
@@ -179,10 +179,10 @@ var createApiTemplate = ({
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
|
-
|
|
182
|
+
for (const {
|
|
183
183
|
fieldName,
|
|
184
184
|
typeName
|
|
185
|
-
})
|
|
185
|
+
} of resolveMethodsEntries) {
|
|
186
186
|
template.Resources[`${fieldName}${typeName}AppSyncResolver`] = {
|
|
187
187
|
Type: "AWS::AppSync::Resolver",
|
|
188
188
|
DependsOn: AppSyncGraphQLSchemaLogicalId,
|
|
@@ -197,7 +197,7 @@ var createApiTemplate = ({
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
};
|
|
200
|
-
}
|
|
200
|
+
}
|
|
201
201
|
const apiKey = additionalAuthenticationProviders?.includes("API_KEY") || authenticationType === "API_KEY";
|
|
202
202
|
const cognitoUserPoolAuth = additionalAuthenticationProviders?.includes("AMAZON_COGNITO_USER_POOLS") || authenticationType === "AMAZON_COGNITO_USER_POOLS";
|
|
203
203
|
if (additionalAuthenticationProviders) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ttoss/appsync-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.1",
|
|
4
4
|
"description": "A library for building GraphQL APIs for AWS AppSync.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "ttoss",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
],
|
|
25
25
|
"sideEffects": false,
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ttoss/cloudformation": "^0.10.
|
|
27
|
+
"@ttoss/cloudformation": "^0.10.19"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
30
|
"graphql": "^16.6.0",
|
|
31
|
-
"@ttoss/graphql-api": "^0.8.
|
|
31
|
+
"@ttoss/graphql-api": "^0.8.6"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/aws-lambda": "^8.10.146",
|
|
35
35
|
"graphql": "^16.9.0",
|
|
36
36
|
"graphql-shield": "^7.6.5",
|
|
37
|
-
"jest": "^30.0.
|
|
37
|
+
"jest": "^30.0.4",
|
|
38
38
|
"tsup": "^8.5.0",
|
|
39
|
-
"@ttoss/config": "^1.35.
|
|
40
|
-
"@ttoss/graphql-api": "^0.8.
|
|
41
|
-
"@ttoss/ids": "^0.3.
|
|
39
|
+
"@ttoss/config": "^1.35.5",
|
|
40
|
+
"@ttoss/graphql-api": "^0.8.6",
|
|
41
|
+
"@ttoss/ids": "^0.3.5"
|
|
42
42
|
},
|
|
43
43
|
"keywords": [
|
|
44
44
|
"api",
|