@cipherstash/stack 0.5.0 → 0.6.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 +6 -0
- package/dist/bin/stash.js +5 -5
- package/dist/bin/stash.js.map +1 -1
- package/dist/{client-BVQvgvdY.d.cts → client-CJueivkw.d.cts} +1 -1
- package/dist/{client-BFrHTgC6.d.ts → client-hHEpZIZH.d.ts} +1 -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.d.cts +2 -2
- package/dist/encryption/index.d.ts +2 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/schema/index.d.cts +1 -1
- package/dist/schema/index.d.ts +1 -1
- package/dist/secrets/index.d.cts +1 -1
- package/dist/secrets/index.d.ts +1 -1
- package/dist/supabase/index.d.cts +2 -2
- package/dist/supabase/index.d.ts +2 -2
- package/dist/{types-public-dKxDzTIL.d.cts → types-public-07ilcGY-.d.cts} +1 -1
- package/dist/{types-public-dKxDzTIL.d.ts → 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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as EncryptedQueryResult, i as Client, S as ScalarQueryTerm, B as BulkDecryptedData, j as BulkDecryptPayload, D as Decrypted, k as BulkEncryptedData, l as BulkEncryptPayload, m as EncryptOptions, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, E as Encrypted, o as EncryptQueryOptions, Q as QueryTypeName, p as EncryptedReturnType, q as EncryptConfig, K as KeysetIdentifier, r as EncryptedFromSchema, s as EncryptionClientConfig } from './types-public-
|
|
1
|
+
import { h as EncryptedQueryResult, i as Client, S as ScalarQueryTerm, B as BulkDecryptedData, j as BulkDecryptPayload, D as Decrypted, k as BulkEncryptedData, l as BulkEncryptPayload, m as EncryptOptions, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, E as Encrypted, o as EncryptQueryOptions, Q as QueryTypeName, p as EncryptedReturnType, q as EncryptConfig, K as KeysetIdentifier, r as EncryptedFromSchema, s as EncryptionClientConfig } from './types-public-07ilcGY-.cjs';
|
|
2
2
|
import { EncryptionError } from './errors/index.cjs';
|
|
3
3
|
import { Result } from '@byteslice/result';
|
|
4
4
|
import { JsPlaintext } from '@cipherstash/protect-ffi';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as EncryptedQueryResult, i as Client, S as ScalarQueryTerm, B as BulkDecryptedData, j as BulkDecryptPayload, D as Decrypted, k as BulkEncryptedData, l as BulkEncryptPayload, m as EncryptOptions, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, E as Encrypted, o as EncryptQueryOptions, Q as QueryTypeName, p as EncryptedReturnType, q as EncryptConfig, K as KeysetIdentifier, r as EncryptedFromSchema, s as EncryptionClientConfig } from './types-public-
|
|
1
|
+
import { h as EncryptedQueryResult, i as Client, S as ScalarQueryTerm, B as BulkDecryptedData, j as BulkDecryptPayload, D as Decrypted, k as BulkEncryptedData, l as BulkEncryptPayload, m as EncryptOptions, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, E as Encrypted, o as EncryptQueryOptions, Q as QueryTypeName, p as EncryptedReturnType, q as EncryptConfig, K as KeysetIdentifier, r as EncryptedFromSchema, s as EncryptionClientConfig } from './types-public-07ilcGY-.js';
|
|
2
2
|
import { EncryptionError } from './errors/index.js';
|
|
3
3
|
import { Result } from '@byteslice/result';
|
|
4
4
|
import { JsPlaintext } from '@cipherstash/protect-ffi';
|
package/dist/client.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn,
|
|
2
|
-
export { a as EncryptionClient } from './client-
|
|
1
|
+
export { f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, I as InferEncrypted, t as InferPlaintext, e as encryptedColumn, a as encryptedField, b as encryptedTable } from './types-public-07ilcGY-.cjs';
|
|
2
|
+
export { a as EncryptionClient } from './client-CJueivkw.cjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@cipherstash/protect-ffi';
|
|
5
5
|
import './errors/index.cjs';
|
package/dist/client.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn,
|
|
2
|
-
export { a as EncryptionClient } from './client-
|
|
1
|
+
export { f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, I as InferEncrypted, t as InferPlaintext, e as encryptedColumn, a as encryptedField, b as encryptedTable } from './types-public-07ilcGY-.js';
|
|
2
|
+
export { a as EncryptionClient } from './client-hHEpZIZH.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '@cipherstash/protect-ffi';
|
|
5
5
|
import './errors/index.js';
|
package/dist/drizzle/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
2
2
|
import { PgTable, PgCustomColumn } from 'drizzle-orm/pg-core';
|
|
3
|
-
import { c as EncryptedTable, f as EncryptedColumn, C as CastAs, M as MatchIndexOpts, T as TokenFilter } from '../types-public-
|
|
4
|
-
import { a as EncryptionClient } from '../client-
|
|
3
|
+
import { c as EncryptedTable, f as EncryptedColumn, C as CastAs, M as MatchIndexOpts, T as TokenFilter } from '../types-public-07ilcGY-.cjs';
|
|
4
|
+
import { a as EncryptionClient } from '../client-CJueivkw.cjs';
|
|
5
5
|
import { SQLWrapper, SQL, exists, notExists, isNull, isNotNull, not, arrayContains, arrayContained, arrayOverlaps } from 'drizzle-orm';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@cipherstash/protect-ffi';
|
package/dist/drizzle/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
|
|
2
2
|
import { PgTable, PgCustomColumn } from 'drizzle-orm/pg-core';
|
|
3
|
-
import { c as EncryptedTable, f as EncryptedColumn, C as CastAs, M as MatchIndexOpts, T as TokenFilter } from '../types-public-
|
|
4
|
-
import { a as EncryptionClient } from '../client-
|
|
3
|
+
import { c as EncryptedTable, f as EncryptedColumn, C as CastAs, M as MatchIndexOpts, T as TokenFilter } from '../types-public-07ilcGY-.js';
|
|
4
|
+
import { a as EncryptionClient } from '../client-hHEpZIZH.js';
|
|
5
5
|
import { SQLWrapper, SQL, exists, notExists, isNull, isNotNull, not, arrayContains, arrayContained, arrayOverlaps } from 'drizzle-orm';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '@cipherstash/protect-ffi';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EncryptionClient } from '../client-
|
|
2
|
-
import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-
|
|
1
|
+
import { a as EncryptionClient } from '../client-CJueivkw.cjs';
|
|
2
|
+
import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-07ilcGY-.cjs';
|
|
3
3
|
import { ProtectErrorCode } from '@cipherstash/protect-ffi';
|
|
4
4
|
import { Result } from '@byteslice/result';
|
|
5
5
|
import '../errors/index.cjs';
|
package/dist/dynamodb/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as EncryptionClient } from '../client-
|
|
2
|
-
import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-
|
|
1
|
+
import { a as EncryptionClient } from '../client-hHEpZIZH.js';
|
|
2
|
+
import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-07ilcGY-.js';
|
|
3
3
|
import { ProtectErrorCode } from '@cipherstash/protect-ffi';
|
|
4
4
|
import { Result } from '@byteslice/result';
|
|
5
5
|
import '../errors/index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../errors/index.cjs';
|
|
2
|
-
import '../types-public-
|
|
2
|
+
import '../types-public-07ilcGY-.cjs';
|
|
3
3
|
import '@byteslice/result';
|
|
4
4
|
import '@cipherstash/protect-ffi';
|
|
5
|
-
export { E as Encryption, a as EncryptionClient, n as noClientError } from '../client-
|
|
5
|
+
export { E as Encryption, a as EncryptionClient, n as noClientError } from '../client-CJueivkw.cjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../identity/index.cjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../errors/index.js';
|
|
2
|
-
import '../types-public-
|
|
2
|
+
import '../types-public-07ilcGY-.js';
|
|
3
3
|
import '@byteslice/result';
|
|
4
4
|
import '@cipherstash/protect-ffi';
|
|
5
|
-
export { E as Encryption, a as EncryptionClient, n as noClientError } from '../client-
|
|
5
|
+
export { E as Encryption, a as EncryptionClient, n as noClientError } from '../client-hHEpZIZH.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../identity/index.js';
|
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-CJueivkw.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-hHEpZIZH.js';
|
|
4
4
|
export { Secrets } from './secrets/index.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@cipherstash/protect-ffi';
|
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.d.cts
CHANGED
package/dist/secrets/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as AuditConfig, a as EncryptionClient } from '../client-CJueivkw.cjs';
|
|
2
2
|
import { EncryptionError } from '../errors/index.cjs';
|
|
3
3
|
import { LockContext } from '../identity/index.cjs';
|
|
4
|
-
import { c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-
|
|
4
|
+
import { c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-07ilcGY-.cjs';
|
|
5
5
|
import '@byteslice/result';
|
|
6
6
|
import '@cipherstash/protect-ffi';
|
|
7
7
|
import 'zod';
|
package/dist/supabase/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as AuditConfig, a as EncryptionClient } from '../client-hHEpZIZH.js';
|
|
2
2
|
import { EncryptionError } from '../errors/index.js';
|
|
3
3
|
import { LockContext } from '../identity/index.js';
|
|
4
|
-
import { c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-
|
|
4
|
+
import { c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-07ilcGY-.js';
|
|
5
5
|
import '@byteslice/result';
|
|
6
6
|
import '@cipherstash/protect-ffi';
|
|
7
7
|
import 'zod';
|
|
@@ -1065,4 +1065,4 @@ declare function encryptedField(valueName: string): EncryptedField;
|
|
|
1065
1065
|
*/
|
|
1066
1066
|
declare function buildEncryptConfig(...protectTables: Array<EncryptedTable<EncryptedTableColumn>>): EncryptConfig;
|
|
1067
1067
|
|
|
1068
|
-
export { type
|
|
1068
|
+
export { type DecryptedFields as A, type BulkDecryptedData as B, type CastAs as C, type Decrypted as D, type Encrypted as E, type DecryptionResult as F, type EncryptedFields as G, type EncryptedSearchTerm as H, type InferEncrypted as I, type OtherFields as J, type KeysetIdentifier as K, type SearchTerm as L, type MatchIndexOpts as M, queryTypes as N, type OreIndexOpts as O, type QueryTypeName as Q, type ScalarQueryTerm as S, type TokenFilter as T, type UniqueIndexOpts as U, encryptedField as a, encryptedTable as b, EncryptedTable as c, type EncryptedTableColumn as d, encryptedColumn as e, EncryptedColumn as f, type EncryptedValue as g, type EncryptedQueryResult as h, type Client as i, type BulkDecryptPayload as j, type BulkEncryptedData as k, type BulkEncryptPayload as l, type EncryptOptions as m, EncryptedField as n, type EncryptQueryOptions as o, type EncryptedReturnType as p, type EncryptConfig as q, type EncryptedFromSchema as r, type EncryptionClientConfig as s, type InferPlaintext as t, type ColumnSchema as u, type SteVecIndexOpts as v, buildEncryptConfig as w, castAsEnum as x, encryptConfigSchema as y, type ClientConfig as z };
|
|
@@ -1065,4 +1065,4 @@ declare function encryptedField(valueName: string): EncryptedField;
|
|
|
1065
1065
|
*/
|
|
1066
1066
|
declare function buildEncryptConfig(...protectTables: Array<EncryptedTable<EncryptedTableColumn>>): EncryptConfig;
|
|
1067
1067
|
|
|
1068
|
-
export { type
|
|
1068
|
+
export { type DecryptedFields as A, type BulkDecryptedData as B, type CastAs as C, type Decrypted as D, type Encrypted as E, type DecryptionResult as F, type EncryptedFields as G, type EncryptedSearchTerm as H, type InferEncrypted as I, type OtherFields as J, type KeysetIdentifier as K, type SearchTerm as L, type MatchIndexOpts as M, queryTypes as N, type OreIndexOpts as O, type QueryTypeName as Q, type ScalarQueryTerm as S, type TokenFilter as T, type UniqueIndexOpts as U, encryptedField as a, encryptedTable as b, EncryptedTable as c, type EncryptedTableColumn as d, encryptedColumn as e, EncryptedColumn as f, type EncryptedValue as g, type EncryptedQueryResult as h, type Client as i, type BulkDecryptPayload as j, type BulkEncryptedData as k, type BulkEncryptPayload as l, type EncryptOptions as m, EncryptedField as n, type EncryptQueryOptions as o, type EncryptedReturnType as p, type EncryptConfig as q, type EncryptedFromSchema as r, type EncryptionClientConfig as s, type InferPlaintext as t, type ColumnSchema as u, type SteVecIndexOpts as v, buildEncryptConfig as w, castAsEnum as x, encryptConfigSchema as y, type ClientConfig as z };
|
package/dist/types-public.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { j as BulkDecryptPayload, B as BulkDecryptedData, l as BulkEncryptPayload, k as BulkEncryptedData, i as Client, z as ClientConfig, D as Decrypted,
|
|
1
|
+
export { j as BulkDecryptPayload, B as BulkDecryptedData, l as BulkEncryptPayload, k as BulkEncryptedData, i as Client, z as ClientConfig, D as Decrypted, A as DecryptedFields, F as DecryptionResult, m as EncryptOptions, o as EncryptQueryOptions, E as Encrypted, G as EncryptedFields, h as EncryptedQueryResult, p as EncryptedReturnType, H as EncryptedSearchTerm, g as EncryptedValue, s as EncryptionClientConfig, K as KeysetIdentifier, J as OtherFields, Q as QueryTypeName, S as ScalarQueryTerm, L as SearchTerm, N as queryTypes } from './types-public-07ilcGY-.cjs';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@cipherstash/protect-ffi';
|
package/dist/types-public.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { j as BulkDecryptPayload, B as BulkDecryptedData, l as BulkEncryptPayload, k as BulkEncryptedData, i as Client, z as ClientConfig, D as Decrypted,
|
|
1
|
+
export { j as BulkDecryptPayload, B as BulkDecryptedData, l as BulkEncryptPayload, k as BulkEncryptedData, i as Client, z as ClientConfig, D as Decrypted, A as DecryptedFields, F as DecryptionResult, m as EncryptOptions, o as EncryptQueryOptions, E as Encrypted, G as EncryptedFields, h as EncryptedQueryResult, p as EncryptedReturnType, H as EncryptedSearchTerm, g as EncryptedValue, s as EncryptionClientConfig, K as KeysetIdentifier, J as OtherFields, Q as QueryTypeName, S as ScalarQueryTerm, L as SearchTerm, N as queryTypes } from './types-public-07ilcGY-.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import '@cipherstash/protect-ffi';
|