@vita-mojo/aggregator 1.10.0 → 1.11.0

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/main.js.enc CHANGED
Binary file
package/main.js.map.enc CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vita-mojo/aggregator",
3
- "version": "1.10.0",
3
+ "version": "1.11.0",
4
4
  "type": "commonjs",
5
5
  "scripts": {
6
6
  "postinstall": "node postinstall.js"
package/postinstall.js CHANGED
@@ -79,7 +79,7 @@ function decryptFiles() {
79
79
  }
80
80
 
81
81
  // Shared secret must be 32 bytes (256 bits) for AES-256
82
- const sharedSecret = Buffer.from(sharedSecretEnv, 'base64');
82
+ const sharedSecret = Buffer.from(sharedSecretEnv, 'utf8');
83
83
  if (sharedSecret.length !== 32) {
84
84
  throw new Error(`AGGREGATOR_ENCRYPTION_KEY must be 32 bytes (256 bits), got ${sharedSecret.length} bytes`);
85
85
  }