@tstdl/base 0.93.4 → 0.93.5

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.
@@ -186,14 +186,14 @@ let ApiGateway = ApiGateway_1 = class ApiGateway {
186
186
  parameters: validatedParameters,
187
187
  body,
188
188
  request: context.request,
189
- async tryGetToken() {
189
+ tryGetToken: async () => {
190
190
  return await requestTokenProvider.tryGetToken(requestContext);
191
191
  },
192
- async getToken() {
192
+ getToken: async () => {
193
193
  return await requestTokenProvider.getToken(requestContext);
194
194
  },
195
- async getAuditor() {
196
- const token = await this.tryGetToken();
195
+ getAuditor: async () => {
196
+ const token = await requestContext.tryGetToken();
197
197
  return auditor.fork(context.api.resource)
198
198
  .withCorrelation()
199
199
  .with({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tstdl/base",
3
- "version": "0.93.4",
3
+ "version": "0.93.5",
4
4
  "author": "Patrick Hein",
5
5
  "publishConfig": {
6
6
  "access": "public"