@shushed/helpers 0.0.46 → 0.0.48
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 +0 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -912,7 +912,6 @@ var PubSubHelper = class extends Runtime {
|
|
|
912
912
|
"bs-triggerid": this.triggerId.toLowerCase(),
|
|
913
913
|
"bs-workflowid": this.workflowId.toLowerCase(),
|
|
914
914
|
"bs-envname": this.systemEnvName.toLowerCase(),
|
|
915
|
-
"bs-runtimeurl": this.runtimeUrl.toLowerCase(),
|
|
916
915
|
"bs-is-deadletter": subscriptionName.indexOf("-dlq") > -1 ? "true" : "false",
|
|
917
916
|
"bs-is-push-enabled": isSubscriptionOptionsPush(opts) && opts.endpointUrl ? "true" : "false",
|
|
918
917
|
"bs-bigquery-tableid": !(isSubscriptionOptionsPush(opts) || isSubscriptionOptionsPull(opts)) && opts.tableId ? opts.tableId.replace(/\./g, "-").toLowerCase() : "",
|
|
@@ -957,7 +956,6 @@ var PubSubHelper = class extends Runtime {
|
|
|
957
956
|
}
|
|
958
957
|
async ensureSubscribtionExists(subscriptionName, opts) {
|
|
959
958
|
let [subscriptions] = await opts.topic.getSubscriptions();
|
|
960
|
-
console.log("subscriptions x", JSON.stringify(subscriptions), subscriptionName);
|
|
961
959
|
let subscription = subscriptions.find((subscription2) => this.getNameFromFullyQualifiedName(subscription2.name) === subscriptionName) || null;
|
|
962
960
|
const [subscriptionMetaData] = await subscription?.getMetadata() || [null];
|
|
963
961
|
const createPayload = await this.updateSubscription(subscriptionName, subscription, subscriptionMetaData, opts);
|