asherah 3.0.14 → 3.0.15

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/.asherah-version CHANGED
@@ -1 +1 @@
1
- ASHERAH_VERSION=v0.4.36
1
+ ASHERAH_VERSION=v0.4.38
package/README.md CHANGED
@@ -31,7 +31,8 @@ const config: AsherahConfig = {
31
31
  SessionCacheDuration: null,
32
32
  RegionMap: {"us-west-2": "arn:aws:kms:us-west-2:XXXXXXXXX:key/XXXXXXXXXX"},
33
33
  PreferredRegion: null,
34
- EnableRegionSuffix: null
34
+ EnableRegionSuffix: null,
35
+ DisableZeroCopy: null
35
36
  };
36
37
 
37
38
  setup(config)
@@ -77,7 +78,8 @@ const config = {
77
78
  SessionCacheDuration: null,
78
79
  RegionMap: {"us-west-2": "arn:aws:kms:us-west-2:XXXXXXXXX:key/XXXXXXXXXX"},
79
80
  PreferredRegion: null,
80
- EnableRegionSuffix: null
81
+ EnableRegionSuffix: null,
82
+ DisableZeroCopy: null
81
83
  };
82
84
 
83
85
  asherah.setup(config)
@@ -126,7 +128,8 @@ const config = {
126
128
  SessionCacheDuration: null,
127
129
  RegionMap: {"us-west-2": "arn:aws:kms:us-west-2:XXXXXXXXX:key/XXXXXXXXXX"},
128
130
  PreferredRegion: null,
129
- EnableRegionSuffix: null
131
+ EnableRegionSuffix: null,
132
+ DisableZeroCopy: null
130
133
  };
131
134
 
132
135
  // Read the AWS environment variables from the JSON file
package/SHA256SUMS ADDED
@@ -0,0 +1,12 @@
1
+ ed379314cc9194dadd947de0f05a88110ca5d6134cd94a6aa5eafc9fad6657d6 ./go-warmup-linux-arm64.h
2
+ 52a170874307e08cc328950f425470b9b0d7dfb3fef9046591b64db32b2c7560 ./go-warmup-linux-arm64.so
3
+ ed379314cc9194dadd947de0f05a88110ca5d6134cd94a6aa5eafc9fad6657d6 ./go-warmup-linux-x64.h
4
+ 14b82feb6d68978d7a797a177f566b4c7c62b1d369c44839ca6a8952a9088638 ./go-warmup-linux-x64.so
5
+ c31aed02d6918236e85d9289f657dffd0a05d8261d58596a6c087a028ce0f11c ./libasherah-arm64-archive.h
6
+ cf93c9709922fa141a7c4ffa5965d12a3355c65c4ea638cbfa3705b7da00f1e0 ./libasherah-arm64.a
7
+ c31aed02d6918236e85d9289f657dffd0a05d8261d58596a6c087a028ce0f11c ./libasherah-arm64.h
8
+ 9dda85a32721911e52d956672cdac1cb11438f9dfcfa2cfffe0c29ea3c6d7962 ./libasherah-arm64.so
9
+ c31aed02d6918236e85d9289f657dffd0a05d8261d58596a6c087a028ce0f11c ./libasherah-x64-archive.h
10
+ 894f4409fd6be9812c7b1c79542592a3ba639efe3940bccf37670181443f1ee8 ./libasherah-x64.a
11
+ c31aed02d6918236e85d9289f657dffd0a05d8261d58596a6c087a028ce0f11c ./libasherah-x64.h
12
+ fd2c3bd2ffa7e677268392acdc735b869b83d400f9b594cc6ca27ab3a18fd7b5 ./libasherah-x64.so
@@ -0,0 +1,12 @@
1
+ 0531da05efc83b6d56407928cac86ea3b4c0ba17c9e2f7858dc433f6c0f7408f ./go-warmup-darwin-arm64.dylib
2
+ 338f0cace67a2fe3cea5488c33f32669bdfcd3643206f239d39128fd5da11573 ./go-warmup-darwin-arm64.h
3
+ f1816181cf65c09ae797b8bc617acd7ceedb97ef1bcd3a7ef89a265847ffaa09 ./go-warmup-darwin-x64.dylib
4
+ 338f0cace67a2fe3cea5488c33f32669bdfcd3643206f239d39128fd5da11573 ./go-warmup-darwin-x64.h
5
+ 74582ea77d40528015e63fae307d13d171fcc0252ab0bf2552ec9c973a08726a ./libasherah-arm64.dylib
6
+ 990d039a1cfb9f98cddc423018cb3ceb8d735acf7066e37ef40425f0ceab5997 ./libasherah-darwin-arm64-archive.h
7
+ d9d86a121e1c6d1b233ead552374af9932daaab18c88e53d8646d78df11e838c ./libasherah-darwin-arm64.a
8
+ 990d039a1cfb9f98cddc423018cb3ceb8d735acf7066e37ef40425f0ceab5997 ./libasherah-darwin-arm64.h
9
+ 990d039a1cfb9f98cddc423018cb3ceb8d735acf7066e37ef40425f0ceab5997 ./libasherah-darwin-x64-archive.h
10
+ c52ba085ef75415f690d673ea9eeac600148c6996752fc44e1e1d4dc962df40e ./libasherah-darwin-x64.a
11
+ 990d039a1cfb9f98cddc423018cb3ceb8d735acf7066e37ef40425f0ceab5997 ./libasherah-darwin-x64.h
12
+ 9a1866a2424833db40968fbb74d9b66394bf5e3c5be1e053f3407c0a0b680b0e ./libasherah-x64.dylib
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asherah",
3
- "version": "3.0.14",
3
+ "version": "3.0.15",
4
4
  "description": "Asherah envelope encryption and key rotation library",
5
5
  "main": "./dist/asherah.node",
6
6
  "types": "./dist/asherah.d.ts",
@@ -69,7 +69,7 @@
69
69
  "mocha": "^10.0.0",
70
70
  "node-api-headers": "^1.5.0",
71
71
  "nyc": "^17.1.0",
72
- "ts-mocha": "^10.0.0",
72
+ "tsx": "^4.21.0",
73
73
  "typescript": "^5.7.3",
74
74
  "winston": "^3.17.0"
75
75
  },
@@ -79,7 +79,7 @@
79
79
  ],
80
80
  "recursive": true,
81
81
  "spec": "test/**/*.spec.ts",
82
- "require": "ts-node/register"
82
+ "require": "tsx"
83
83
  },
84
84
  "dependencies": {
85
85
  "node-addon-api": "^8.3.0"
package/src/asherah.d.ts CHANGED
@@ -40,6 +40,8 @@ export type AsherahConfig = {
40
40
  EnableSessionCaching: boolean | null;
41
41
  /** Enable verbose logging output */
42
42
  Verbose: boolean | null;
43
+ /** Disable the zero-copy optimization for the cobhan buffer protocol */
44
+ DisableZeroCopy: boolean | null;
43
45
  };
44
46
 
45
47
  type LogHookCallback = (level: number, message: string) => void;