asherah 1.0.47 → 1.0.48

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.
Binary file
Binary file
Binary file
Binary file
package/dist/asherah.js CHANGED
@@ -22,7 +22,7 @@ const Base64Overhead = 1.34;
22
22
  let EstimatedIntermediateKeyOverhead = 0;
23
23
  function estimate_buffer(dataLen, partitionLen) {
24
24
  const estimatedDataLen = (dataLen + EstimatedEncryptionOverhead) * Base64Overhead;
25
- return cobhan_1.header_size + EstimatedEnvelopeOverhead + EstimatedIntermediateKeyOverhead + partitionLen + estimatedDataLen;
25
+ return EstimatedEnvelopeOverhead + EstimatedIntermediateKeyOverhead + partitionLen + estimatedDataLen;
26
26
  }
27
27
  function find_binaries() {
28
28
  if (fs_1.default.existsSync('node_modules/asherah/binaries')) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asherah",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Asherah envelope encryption and key rotation library",
5
5
  "main": "dist/asherah.js",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "types": "dist/asherah.d.ts",
51
51
  "dependencies": {
52
- "cobhan": "^1.0.33",
52
+ "cobhan": "^1.0.34",
53
53
  "ref-napi": "^3.0.3"
54
54
  }
55
55
  }