@shushed/helpers 0.0.198-v2-20251107153925 → 0.0.198-v2-20251110084509
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.
|
@@ -237,7 +237,9 @@ class PubSubHelper extends runtime_1.default {
|
|
|
237
237
|
const metadata = {
|
|
238
238
|
labels: {
|
|
239
239
|
'bs-envname': this.systemEnvName.toLowerCase(),
|
|
240
|
-
'env': this.envName.toLowerCase()
|
|
240
|
+
'env': this.envName.toLowerCase(),
|
|
241
|
+
'bs-is-deadletter': topicName.indexOf('.dlq') > -1 ? '1' : '0',
|
|
242
|
+
'respectful-nudge': '1'
|
|
241
243
|
}
|
|
242
244
|
};
|
|
243
245
|
if (topic && !process.env.PUBSUB_EMULATOR_HOST) {
|
|
@@ -332,9 +334,10 @@ class PubSubHelper extends runtime_1.default {
|
|
|
332
334
|
'env': this.envName.toLowerCase(),
|
|
333
335
|
'bs-workflowid': this.workflowId.toLowerCase(),
|
|
334
336
|
'bs-envname': this.systemEnvName.toLowerCase(),
|
|
335
|
-
'bs-is-deadletter': subscriptionName.indexOf('
|
|
337
|
+
'bs-is-deadletter': subscriptionName.indexOf('.dlq') > -1 ? '1' : '0',
|
|
336
338
|
'bs-bigquery-tableid': isSubscriptionBigQuery(opts) && opts.tableId ? opts.tableId.replace(/\./g, '-').toLowerCase() : '',
|
|
337
|
-
'bs-is-bigquery': isSubscriptionBigQuery(opts) && opts.tableId ? '
|
|
339
|
+
'bs-is-bigquery': isSubscriptionBigQuery(opts) && opts.tableId ? '1' : '0',
|
|
340
|
+
'respectful-nudge': '1'
|
|
338
341
|
};
|
|
339
342
|
const simLabels = Object.assign({}, subscriptionMetaData?.labels || {}, proposedLabels);
|
|
340
343
|
if (!(0, lodash_isequal_1.default)(simLabels, subscriptionMetaData?.labels)) {
|