@shushed/helpers 0.0.173 → 0.0.174
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -106922,7 +106922,7 @@ var EnvEngine = class extends Runtime {
|
|
|
106922
106922
|
return false;
|
|
106923
106923
|
}
|
|
106924
106924
|
if (meta.aud !== expectedAudience) {
|
|
106925
|
-
const splittedReceived = meta.aud;
|
|
106925
|
+
const splittedReceived = meta.aud.split("-");
|
|
106926
106926
|
const splittedExpected = expectedAudience.split("-");
|
|
106927
106927
|
const receivedMoreSpecific = splittedExpected.length < splittedReceived.length && splittedExpected.length >= 2 && splittedExpected.every((x, i) => x === splittedReceived[i]) && (splittedExpected.length >= 3 || splittedReceived[2] === this.workflowId) && (splittedExpected.length >= 4 || splittedReceived[3] === this.triggerId);
|
|
106928
106928
|
if (!receivedMoreSpecific) {
|