@shushed/helpers 0.0.45 → 0.0.47
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 -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() : "",
|
|
@@ -920,7 +919,7 @@ var PubSubHelper = class extends Runtime {
|
|
|
920
919
|
};
|
|
921
920
|
const simLabels = Object.assign({}, subscriptionMetaData?.labels || {}, proposedLabels);
|
|
922
921
|
if (!(0, import_lodash.default)(simLabels, subscriptionMetaData?.labels)) {
|
|
923
|
-
simLabels["last-modified-at"] = (/* @__PURE__ */ new Date()).
|
|
922
|
+
simLabels["last-modified-at"] = (/* @__PURE__ */ new Date()).getTime();
|
|
924
923
|
nextMetadata = nextMetadata || {};
|
|
925
924
|
nextMetadata.labels = simLabels;
|
|
926
925
|
}
|