Martin Pllu
05/10/2022, 6:25 PMnpm init sst
. The project uses @serverless-stack/resources 1.0.4
which appears to be incompatible with some of the other docs. For example, https://docs.serverless-stack.com/api#authentication refers to defaultAuthorizationType
which does not exist in the API props in this version. I found some other examples of this, for example cognito
is missing from Auth props.
If however I use npx create-serverless-stack@latest --language typescript myproject
as per the Guide, the project uses @serverless-stack/resources 0.69.7
which appears to be aligned with the Docs as well as the Guide.
Can you please advise on the recommended version and command to create a new project? Unless I've missed something obvious, it may also be worth updating the docs.Tim
05/10/2022, 8:06 PMTim
05/10/2022, 8:07 PMdefaultAuthorizationType
change you ran into https://docs.serverless-stack.com/constructs/v0/migration#authorizersMartin Pllu
05/11/2022, 7:01 AMFrank
Frank
Frank
Martin Pllu
05/12/2022, 8:20 AM