@shushed/helpers 0.0.198-v2-20251117103844 → 0.0.198-v2-20251117110037

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.
@@ -363,7 +363,7 @@ class EnvEngine extends runtime_1.default {
363
363
  return false;
364
364
  }
365
365
  if (meta.aud !== expectedAudience) {
366
- const receivedMoreSpecific = (expectedAudience + '-' + this.workflowId + '-' + this.triggerId) === meta.aud || (expectedAudience + '-' + this.workflowId) === meta.aud;
366
+ const receivedMoreSpecific = (expectedAudience + '-' + this.triggerId) === meta.aud || (expectedAudience + '-' + this.workflowId + '-' + this.triggerId) === meta.aud || (expectedAudience + '-' + this.workflowId) === meta.aud || (expectedAudience + '/' + this.workflowId + '/' + this.triggerId) === meta.aud || (expectedAudience + '/' + this.workflowId) === meta.aud || (expectedAudience + '/' + this.triggerId) === meta.aud;
367
367
  if (!receivedMoreSpecific) {
368
368
  this.logging.error(`Authorization header - Wrong audience, got ${meta?.aud}, expected ${expectedAudience}`);
369
369
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.198-v2-20251117103844",
3
+ "version": "0.0.198-v2-20251117110037",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",