@shushed/helpers 0.0.198-v2-20251107110735 → 0.0.198-v2-20251107121008

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.
@@ -311,7 +311,6 @@ class EnvEngine extends runtime_1.default {
311
311
  const jsonEnv = JSON.parse(process.env[`${this.systemEnvName}ProjectEnv`] || '{ "__mock_invalid": true }');
312
312
  this._envCache[this.systemEnvName] = jsonEnv;
313
313
  }
314
- this.logging.log('Resolving env name', this.systemEnvName, envName, this._envCache[this.systemEnvName]);
315
314
  const envObj = this._envCache[this.systemEnvName];
316
315
  return envObj[envName] || envName;
317
316
  }
@@ -669,7 +668,7 @@ class EnvEngine extends runtime_1.default {
669
668
  let messageBodyRaw;
670
669
  if (typeof requestBody?.message?.data === 'string' && Buffer.from(requestBody.message.data, "base64").toString('base64') === requestBody.message.data) {
671
670
  messageBodyRaw = Buffer.from(requestBody.message.data, "base64").toString('utf-8');
672
- messageBody = Promise.resolve(messageBodyRaw).then(x => {
671
+ messageBody = await Promise.resolve(messageBodyRaw).then(x => {
673
672
  return Promise.resolve(x).then(x => JSON.parse(x)).catch((_) => x);
674
673
  });
675
674
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shushed/helpers",
3
- "version": "0.0.198-v2-20251107110735",
3
+ "version": "0.0.198-v2-20251107121008",
4
4
  "author": "",
5
5
  "license": "UNLICENSED",
6
6
  "description": "",