@shushed/helpers 0.0.51 → 0.0.52

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -959,12 +959,11 @@ var PubSubHelper = class extends Runtime {
959
959
  }
960
960
  if (subscription && nextMetadata) {
961
961
  try {
962
- await subscription.setMetadata(nextMetadata);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.51",
3
+ "version": "0.0.52",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",