@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.
@@ -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-dKxDzTIL.cjs';
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-dKxDzTIL.js';
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, t as InferEncrypted, I as InferPlaintext, a as encryptedColumn, b as encryptedField, e as encryptedTable } from './types-public-dKxDzTIL.cjs';
2
- export { a as EncryptionClient } from './client-BVQvgvdY.cjs';
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, t as InferEncrypted, I as InferPlaintext, a as encryptedColumn, b as encryptedField, e as encryptedTable } from './types-public-dKxDzTIL.js';
2
- export { a as EncryptionClient } from './client-BFrHTgC6.js';
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';
@@ -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-dKxDzTIL.cjs';
4
- import { a as EncryptionClient } from '../client-BVQvgvdY.cjs';
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';
@@ -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-dKxDzTIL.js';
4
- import { a as EncryptionClient } from '../client-BFrHTgC6.js';
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-BVQvgvdY.cjs';
2
- import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-dKxDzTIL.cjs';
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';
@@ -1,5 +1,5 @@
1
- import { a as EncryptionClient } from '../client-BFrHTgC6.js';
2
- import { D as Decrypted, g as EncryptedValue, c as EncryptedTable, d as EncryptedTableColumn } from '../types-public-dKxDzTIL.js';
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-dKxDzTIL.cjs';
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-BVQvgvdY.cjs';
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-dKxDzTIL.js';
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-BFrHTgC6.js';
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-dKxDzTIL.cjs';
2
- export { a as encryptedColumn, b as encryptedField, e as encryptedTable } from './types-public-dKxDzTIL.cjs';
3
- export { E as Encryption } from './client-BVQvgvdY.cjs';
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-dKxDzTIL.js';
2
- export { a as encryptedColumn, b as encryptedField, e as encryptedTable } from './types-public-dKxDzTIL.js';
3
- export { E as Encryption } from './client-BFrHTgC6.js';
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';
@@ -1,3 +1,3 @@
1
- export { C as CastAs, x as ColumnSchema, q as EncryptConfig, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, t as InferEncrypted, I as InferPlaintext, M as MatchIndexOpts, O as OreIndexOpts, w as SteVecIndexOpts, T as TokenFilter, U as UniqueIndexOpts, y as buildEncryptConfig, u as castAsEnum, v as encryptConfigSchema, a as encryptedColumn, b as encryptedField, e as encryptedTable } from '../types-public-dKxDzTIL.cjs';
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';
@@ -1,3 +1,3 @@
1
- export { C as CastAs, x as ColumnSchema, q as EncryptConfig, f as EncryptedColumn, n as EncryptedField, c as EncryptedTable, d as EncryptedTableColumn, t as InferEncrypted, I as InferPlaintext, M as MatchIndexOpts, O as OreIndexOpts, w as SteVecIndexOpts, T as TokenFilter, U as UniqueIndexOpts, y as buildEncryptConfig, u as castAsEnum, v as encryptConfigSchema, a as encryptedColumn, b as encryptedField, e as encryptedTable } from '../types-public-dKxDzTIL.js';
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';
@@ -1,4 +1,4 @@
1
- import { E as Encrypted } from '../types-public-dKxDzTIL.cjs';
1
+ import { E as Encrypted } from '../types-public-07ilcGY-.cjs';
2
2
  import { Result } from '@byteslice/result';
3
3
  import 'zod';
4
4
  import '@cipherstash/protect-ffi';
@@ -1,4 +1,4 @@
1
- import { E as Encrypted } from '../types-public-dKxDzTIL.js';
1
+ import { E as Encrypted } from '../types-public-07ilcGY-.js';
2
2
  import { Result } from '@byteslice/result';
3
3
  import 'zod';
4
4
  import '@cipherstash/protect-ffi';
@@ -1,7 +1,7 @@
1
- import { a as EncryptionClient, A as AuditConfig } from '../client-BVQvgvdY.cjs';
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-dKxDzTIL.cjs';
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';
@@ -1,7 +1,7 @@
1
- import { a as EncryptionClient, A as AuditConfig } from '../client-BFrHTgC6.js';
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-dKxDzTIL.js';
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 SearchTerm as A, type BulkDecryptedData as B, type CastAs as C, type Decrypted as D, type Encrypted as E, type EncryptedSearchTerm as F, type EncryptedFields as G, type OtherFields as H, type InferPlaintext as I, type DecryptedFields as J, type KeysetIdentifier as K, type DecryptionResult 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, encryptedColumn as a, encryptedField as b, EncryptedTable as c, type EncryptedTableColumn as d, encryptedTable 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 InferEncrypted as t, castAsEnum as u, encryptConfigSchema as v, type SteVecIndexOpts as w, type ColumnSchema as x, buildEncryptConfig as y, type ClientConfig as z };
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 SearchTerm as A, type BulkDecryptedData as B, type CastAs as C, type Decrypted as D, type Encrypted as E, type EncryptedSearchTerm as F, type EncryptedFields as G, type OtherFields as H, type InferPlaintext as I, type DecryptedFields as J, type KeysetIdentifier as K, type DecryptionResult 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, encryptedColumn as a, encryptedField as b, EncryptedTable as c, type EncryptedTableColumn as d, encryptedTable 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 InferEncrypted as t, castAsEnum as u, encryptConfigSchema as v, type SteVecIndexOpts as w, type ColumnSchema as x, buildEncryptConfig as y, type ClientConfig as z };
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 };
@@ -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, J as DecryptedFields, L as DecryptionResult, m as EncryptOptions, o as EncryptQueryOptions, E as Encrypted, G as EncryptedFields, h as EncryptedQueryResult, p as EncryptedReturnType, F as EncryptedSearchTerm, g as EncryptedValue, s as EncryptionClientConfig, K as KeysetIdentifier, H as OtherFields, Q as QueryTypeName, S as ScalarQueryTerm, A as SearchTerm, N as queryTypes } from './types-public-dKxDzTIL.cjs';
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';
@@ -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, J as DecryptedFields, L as DecryptionResult, m as EncryptOptions, o as EncryptQueryOptions, E as Encrypted, G as EncryptedFields, h as EncryptedQueryResult, p as EncryptedReturnType, F as EncryptedSearchTerm, g as EncryptedValue, s as EncryptionClientConfig, K as KeysetIdentifier, H as OtherFields, Q as QueryTypeName, S as ScalarQueryTerm, A as SearchTerm, N as queryTypes } from './types-public-dKxDzTIL.js';
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cipherstash/stack",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "CipherStash Stack for TypeScript and JavaScript",
5
5
  "keywords": [
6
6
  "encrypted",