@cipherstash/stack 0.5.0 → 0.7.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/CHANGELOG.md +12 -0
- package/dist/bin/stash.js +13 -5
- package/dist/bin/stash.js.map +1 -1
- package/dist/{chunk-TGUELLJS.js → chunk-H7IHWDZI.js} +9 -1
- package/dist/chunk-H7IHWDZI.js.map +1 -0
- package/dist/{chunk-YLISU7FD.js → chunk-URZNWMOO.js} +2 -2
- package/dist/{client-BVQvgvdY.d.cts → client-DQMy1ux5.d.cts} +7 -1
- package/dist/{client-BFrHTgC6.d.ts → client-zxrOpegN.d.ts} +7 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/drizzle/index.d.cts +2 -2
- package/dist/drizzle/index.d.ts +2 -2
- package/dist/dynamodb/index.d.cts +2 -2
- package/dist/dynamodb/index.d.ts +2 -2
- package/dist/encryption/index.cjs +8 -0
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.d.cts +2 -2
- package/dist/encryption/index.d.ts +2 -2
- package/dist/encryption/index.js +1 -1
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2 -2
- package/dist/schema/index.d.cts +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/secrets/index.cjs +8 -0
- package/dist/secrets/index.cjs.map +1 -1
- package/dist/secrets/index.d.cts +1 -1
- package/dist/secrets/index.d.ts +1 -1
- package/dist/secrets/index.js +2 -2
- package/dist/supabase/index.d.cts +2 -2
- package/dist/supabase/index.d.ts +2 -2
- package/dist/{types-public-dKxDzTIL.d.ts → types-public-07ilcGY-.d.cts} +1 -1
- package/dist/{types-public-dKxDzTIL.d.cts → types-public-07ilcGY-.d.ts} +1 -1
- package/dist/types-public.d.cts +1 -1
- package/dist/types-public.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-TGUELLJS.js.map +0 -1
- /package/dist/{chunk-YLISU7FD.js.map → chunk-URZNWMOO.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as Encrypted } from './types-public-
|
|
2
|
-
export {
|
|
3
|
-
export { E as Encryption } from './client-
|
|
1
|
+
import { E as Encrypted } from './types-public-07ilcGY-.cjs';
|
|
2
|
+
export { e as encryptedColumn, a as encryptedField, b as encryptedTable } from './types-public-07ilcGY-.cjs';
|
|
3
|
+
export { E as Encryption } from './client-DQMy1ux5.cjs';
|
|
4
4
|
export { Secrets } from './secrets/index.cjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@cipherstash/protect-ffi';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { E as Encrypted } from './types-public-
|
|
2
|
-
export {
|
|
3
|
-
export { E as Encryption } from './client-
|
|
1
|
+
import { E as Encrypted } from './types-public-07ilcGY-.js';
|
|
2
|
+
export { e as encryptedColumn, a as encryptedField, b as encryptedTable } from './types-public-07ilcGY-.js';
|
|
3
|
+
export { E as Encryption } from './client-zxrOpegN.js';
|
|
4
4
|
export { Secrets } from './secrets/index.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@cipherstash/protect-ffi';
|
package/dist/index.js
CHANGED
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CastAs,
|
|
1
|
+
export { C as CastAs, u as ColumnSchema, q as EncryptConfig, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, I as InferEncrypted, t as InferPlaintext, M as MatchIndexOpts, O as OreIndexOpts, v as SteVecIndexOpts, T as TokenFilter, U as UniqueIndexOpts, w as buildEncryptConfig, x as castAsEnum, y as encryptConfigSchema, e as encryptedColumn, a as encryptedField, b as encryptedTable } from '../types-public-07ilcGY-.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@cipherstash/protect-ffi';
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { C as CastAs,
|
|
1
|
+
export { C as CastAs, u as ColumnSchema, q as EncryptConfig, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, I as InferEncrypted, t as InferPlaintext, M as MatchIndexOpts, O as OreIndexOpts, v as SteVecIndexOpts, T as TokenFilter, U as UniqueIndexOpts, w as buildEncryptConfig, x as castAsEnum, y as encryptConfigSchema, e as encryptedColumn, a as encryptedField, b as encryptedTable } from '../types-public-07ilcGY-.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@cipherstash/protect-ffi';
|
package/dist/secrets/index.cjs
CHANGED
|
@@ -2809,6 +2809,14 @@ var EncryptionClient = class {
|
|
|
2809
2809
|
workspaceId: this.workspaceId
|
|
2810
2810
|
};
|
|
2811
2811
|
}
|
|
2812
|
+
/**
|
|
2813
|
+
* Get the encrypt config object.
|
|
2814
|
+
*
|
|
2815
|
+
* @returns The encrypt config object.
|
|
2816
|
+
*/
|
|
2817
|
+
getEncryptConfig() {
|
|
2818
|
+
return this.encryptConfig;
|
|
2819
|
+
}
|
|
2812
2820
|
};
|
|
2813
2821
|
var Encryption = async (config) => {
|
|
2814
2822
|
const { schemas, config: clientConfig } = config;
|