@shushed/helpers 0.0.51 → 0.0.53
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 +2 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -823,7 +823,7 @@ var PubSubHelper = class extends Runtime {
|
|
|
823
823
|
"created-by-bs-workflowid": this.workflowId.toLowerCase(),
|
|
824
824
|
"bs-envname": this.systemEnvName.toLowerCase(),
|
|
825
825
|
"env": this.envName.toLowerCase(),
|
|
826
|
-
[
|
|
826
|
+
[`w-${this.workflowId}-${this.triggerId}`.toLowerCase()]: "true"
|
|
827
827
|
}
|
|
828
828
|
};
|
|
829
829
|
let topicMetadata;
|
|
@@ -959,12 +959,11 @@ var PubSubHelper = class extends Runtime {
|
|
|
959
959
|
}
|
|
960
960
|
if (subscription && nextMetadata) {
|
|
961
961
|
try {
|
|
962
|
-
|
|
962
|
+
return null;
|
|
963
963
|
} catch (err) {
|
|
964
964
|
console.error("Invariant: While updating subscription - " + err.message + ` - ${this.pubSub.projectId} - ${subscriptionName} - ${JSON.stringify(nextMetadata)}`);
|
|
965
965
|
throw new Error("Invariant: While updating subscription - " + err.message);
|
|
966
966
|
}
|
|
967
|
-
return null;
|
|
968
967
|
}
|
|
969
968
|
return nextMetadata;
|
|
970
969
|
}
|