@cipherstash/protect-ffi 0.21.2 → 0.21.4
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/lib/index.d.cts +1 -1
- package/package.json +15 -9
package/lib/index.d.cts
CHANGED
|
@@ -138,7 +138,7 @@ export type Column = {
|
|
|
138
138
|
cast_as?: CastAs;
|
|
139
139
|
indexes?: Indexes;
|
|
140
140
|
};
|
|
141
|
-
export type CastAs = 'bigint' | 'boolean' | 'date' | 'number' | 'string' | 'text' | 'json';
|
|
141
|
+
export type CastAs = 'bigint' | 'boolean' | 'date' | 'number' | 'string' | 'text' | 'timestamp' | 'json';
|
|
142
142
|
type TablesOf<C extends EncryptConfig> = C['tables'];
|
|
143
143
|
export type Identifier<C extends EncryptConfig> = {
|
|
144
144
|
[T in keyof TablesOf<C>]: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cipherstash/protect-ffi",
|
|
3
|
-
"version": "0.21.
|
|
3
|
+
"version": "0.21.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"scripts": {
|
|
@@ -13,13 +13,16 @@
|
|
|
13
13
|
"test:format": "npm run test:format:ts",
|
|
14
14
|
"test:format:ts": "biome format",
|
|
15
15
|
"test:format:rust": "cargo fmt --check",
|
|
16
|
-
"cargo-build": "tsc &&cargo build --message-format=json-render-diagnostics > cargo.log",
|
|
17
|
-
"cross-build": "tsc &&cross build --message-format=json-render-diagnostics > cross.log",
|
|
16
|
+
"cargo-build": "tsc && cargo build --message-format=json-render-diagnostics > cargo.log",
|
|
17
|
+
"cross-build": "tsc && cross build --message-format=json-render-diagnostics > cross.log",
|
|
18
|
+
"zig-build": "tsc && cargo zigbuild --message-format=json-render-diagnostics > zig.log",
|
|
18
19
|
"postcargo-build": "neon dist < cargo.log",
|
|
19
20
|
"postcross-build": "neon dist -m /target < cross.log",
|
|
21
|
+
"postzig-build": "neon dist < zig.log",
|
|
20
22
|
"debug": "npm run cargo-build --",
|
|
21
23
|
"build": "npm run cargo-build -- --release",
|
|
22
24
|
"cross": "npm run cross-build -- --release",
|
|
25
|
+
"zigbuild": "npm run zig-build -- --release",
|
|
23
26
|
"prepack": "tsc &&neon update",
|
|
24
27
|
"version": "neon bump --binaries platforms && git add .",
|
|
25
28
|
"release": "gh workflow run release.yml -f dryrun=false -f version=patch",
|
|
@@ -68,12 +71,15 @@
|
|
|
68
71
|
"dependencies": {
|
|
69
72
|
"@neon-rs/load": "^0.1.82"
|
|
70
73
|
},
|
|
74
|
+
"overrides": {
|
|
75
|
+
"vite": "^8.0.5"
|
|
76
|
+
},
|
|
71
77
|
"optionalDependencies": {
|
|
72
|
-
"@cipherstash/protect-ffi-darwin-x64": "0.21.
|
|
73
|
-
"@cipherstash/protect-ffi-darwin-arm64": "0.21.
|
|
74
|
-
"@cipherstash/protect-ffi-win32-x64-msvc": "0.21.
|
|
75
|
-
"@cipherstash/protect-ffi-linux-x64-gnu": "0.21.
|
|
76
|
-
"@cipherstash/protect-ffi-linux-arm64-gnu": "0.21.
|
|
77
|
-
"@cipherstash/protect-ffi-linux-x64-musl": "0.21.
|
|
78
|
+
"@cipherstash/protect-ffi-darwin-x64": "0.21.4",
|
|
79
|
+
"@cipherstash/protect-ffi-darwin-arm64": "0.21.4",
|
|
80
|
+
"@cipherstash/protect-ffi-win32-x64-msvc": "0.21.4",
|
|
81
|
+
"@cipherstash/protect-ffi-linux-x64-gnu": "0.21.4",
|
|
82
|
+
"@cipherstash/protect-ffi-linux-arm64-gnu": "0.21.4",
|
|
83
|
+
"@cipherstash/protect-ffi-linux-x64-musl": "0.21.4"
|
|
78
84
|
}
|
|
79
85
|
}
|