wirejs-deploy-amplify-basic 0.0.36 → 0.0.37

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.
@@ -5,7 +5,4 @@ export const auth = defineAuth({
5
5
  loginWith: {
6
6
  email: true,
7
7
  },
8
- access: allow => [
9
- allow.resource(api).to(['manageUsers', 'listUsers'])
10
- ]
11
8
  });
@@ -20,7 +20,6 @@ const backend = defineBackend({
20
20
  /**
21
21
  * Amplify resource augmentations
22
22
  */
23
-
24
23
  const userPoolClient = backend.auth.resources.cfnResources.cfnUserPoolClient;
25
24
  userPoolClient.explicitAuthFlows = userPoolClient.explicitAuthFlows || [];
26
25
  userPoolClient.explicitAuthFlows.push(
@@ -45,9 +44,9 @@ bucket.grantReadWrite(backend.api.resources.lambda);
45
44
  backend.api.addEnvironment(
46
45
  'BUCKET', bucket.bucketName,
47
46
  );
48
- // backend.api.addEnvironment(
49
- // 'COGNITO_CLIENT_ID', backend.auth.resources.userPoolClient.userPoolClientId
50
- // );
47
+ backend.api.addEnvironment(
48
+ 'COGNITO_CLIENT_ID', backend.auth.resources.userPoolClient.userPoolClientId
49
+ );
51
50
 
52
51
 
53
52
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wirejs-deploy-amplify-basic",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",