@cipherstash/protect-ffi 0.17.1 → 0.18.1

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/lib/index.d.cts +6 -0
  2. package/package.json +7 -7
package/lib/index.d.cts CHANGED
@@ -116,6 +116,12 @@ export type ClientOpts = {
116
116
  accessKey?: string;
117
117
  clientId?: string;
118
118
  clientKey?: string;
119
+ keyset?: KeysetIdentifier;
120
+ };
121
+ export type KeysetIdentifier = {
122
+ Uuid: string;
123
+ } | {
124
+ Name: string;
119
125
  };
120
126
  export type JsPlaintext = string | number | Record<string, unknown> | JsPlaintext[];
121
127
  export type EncryptOptions = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cipherstash/protect-ffi",
3
- "version": "0.17.1",
3
+ "version": "0.18.1",
4
4
  "description": "",
5
5
  "main": "./lib/index.cjs",
6
6
  "scripts": {
@@ -67,11 +67,11 @@
67
67
  "@neon-rs/load": "^0.1.82"
68
68
  },
69
69
  "optionalDependencies": {
70
- "@cipherstash/protect-ffi-darwin-x64": "0.17.1",
71
- "@cipherstash/protect-ffi-darwin-arm64": "0.17.1",
72
- "@cipherstash/protect-ffi-win32-x64-msvc": "0.17.1",
73
- "@cipherstash/protect-ffi-linux-x64-gnu": "0.17.1",
74
- "@cipherstash/protect-ffi-linux-arm64-gnu": "0.17.1",
75
- "@cipherstash/protect-ffi-linux-x64-musl": "0.17.1"
70
+ "@cipherstash/protect-ffi-darwin-x64": "0.18.1",
71
+ "@cipherstash/protect-ffi-darwin-arm64": "0.18.1",
72
+ "@cipherstash/protect-ffi-win32-x64-msvc": "0.18.1",
73
+ "@cipherstash/protect-ffi-linux-x64-gnu": "0.18.1",
74
+ "@cipherstash/protect-ffi-linux-arm64-gnu": "0.18.1",
75
+ "@cipherstash/protect-ffi-linux-x64-musl": "0.18.1"
76
76
  }
77
77
  }