@shushed/helpers 0.0.102 → 0.0.103

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -850,7 +850,7 @@ var PubSubHelper = class extends Runtime {
850
850
  body: messageBody,
851
851
  exportableToBigQuery: !!rawMessage.message?.attributes?.bigquery,
852
852
  extraAttributes: (0, import_lodash2.default)(rawMessage.message?.attributes || {}, ["source_system", "target_system", "process_started_at", "record_modified_at", "original_publish_time", "buildship_id", "publish_time", "bigquery"]),
853
- subscriptionName: rawMessage.subscription.split("/").pop()
853
+ subscriptionName: rawMessage.message.subscription?.split("/").pop()
854
854
  };
855
855
  return message;
856
856
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.102",
3
+ "version": "0.0.103",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",