@cipherstash/stack 1.0.0-rc.0 → 1.0.0-rc.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 (40) hide show
  1. package/CHANGELOG.md +65 -0
  2. package/README.md +321 -239
  3. package/dist/adapter-kit.cjs +81 -2
  4. package/dist/adapter-kit.cjs.map +1 -1
  5. package/dist/adapter-kit.d.cts +41 -3
  6. package/dist/adapter-kit.d.ts +41 -3
  7. package/dist/adapter-kit.js +77 -2
  8. package/dist/adapter-kit.js.map +1 -1
  9. package/dist/{chunk-V2Q3NYIH.js → chunk-6SGN52W6.js} +1 -1
  10. package/dist/{chunk-V2Q3NYIH.js.map → chunk-6SGN52W6.js.map} +1 -1
  11. package/dist/{chunk-OFQ555AX.js → chunk-IDKP6ABU.js} +2 -2
  12. package/dist/{chunk-ZTP5QJ27.js → chunk-L7ISHSG7.js} +3 -3
  13. package/dist/{chunk-LBMC4D6D.js → chunk-NVKK7UDN.js} +1 -1
  14. package/dist/chunk-NVKK7UDN.js.map +1 -0
  15. package/dist/{columns-rZc7fQHI.d.ts → columns-0lbT9stl.d.ts} +2 -2
  16. package/dist/{columns-D2_YzrCX.d.cts → columns-Bxv7Oo9o.d.cts} +2 -2
  17. package/dist/encryption/index.cjs.map +1 -1
  18. package/dist/encryption/index.js +3 -3
  19. package/dist/encryption/v3.cjs.map +1 -1
  20. package/dist/encryption/v3.d.cts +2 -2
  21. package/dist/encryption/v3.d.ts +2 -2
  22. package/dist/encryption/v3.js +4 -4
  23. package/dist/eql/v3/index.cjs.map +1 -1
  24. package/dist/eql/v3/index.d.cts +2 -2
  25. package/dist/eql/v3/index.d.ts +2 -2
  26. package/dist/eql/v3/index.js +1 -1
  27. package/dist/errors/index.cjs.map +1 -1
  28. package/dist/errors/index.d.cts +5 -5
  29. package/dist/errors/index.d.ts +5 -5
  30. package/dist/errors/index.js +1 -1
  31. package/dist/identity/index.cjs.map +1 -1
  32. package/dist/identity/index.js +2 -2
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.js +3 -3
  35. package/dist/wasm-inline.d.ts +2 -2
  36. package/dist/wasm-inline.js.map +1 -1
  37. package/package.json +1 -1
  38. package/dist/chunk-LBMC4D6D.js.map +0 -1
  39. /package/dist/{chunk-OFQ555AX.js.map → chunk-IDKP6ABU.js.map} +0 -0
  40. /package/dist/{chunk-ZTP5QJ27.js.map → chunk-L7ISHSG7.js.map} +0 -0
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Encryption
3
- } from "./chunk-ZTP5QJ27.js";
4
- import "./chunk-OFQ555AX.js";
3
+ } from "./chunk-L7ISHSG7.js";
4
+ import "./chunk-IDKP6ABU.js";
5
5
  import {
6
6
  encryptedToPgComposite,
7
7
  isEncryptedPayload
@@ -15,7 +15,7 @@ import "./chunk-7333ZC6L.js";
15
15
  import "./chunk-3B5ZX3IS.js";
16
16
  import "./chunk-JSG2AMDI.js";
17
17
  import "./chunk-HQANMV7R.js";
18
- import "./chunk-LBMC4D6D.js";
18
+ import "./chunk-NVKK7UDN.js";
19
19
  import "./chunk-PZ5AY32C.js";
20
20
 
21
21
  // src/index.ts
@@ -1213,9 +1213,9 @@ type PlaintextForColumn<C> = C extends EncryptedV3Column<infer D> ? PlaintextFro
1213
1213
  * The user-facing `queryType` names a v3 column supports, derived 1:1 from its
1214
1214
  * capability flags. Resolves to `never` for a storage-only column (all flags
1215
1215
  * `false`) and for any non-v3 value. The names mirror the {@link QueryCapabilities}
1216
- * keys and the first three {@link import('@/types').QueryTypeName} members.
1216
+ * keys, each of which is also a {@link import('@/types').QueryTypeName} member.
1217
1217
  */
1218
- type QueryTypesForColumn<C> = C extends EncryptedV3Column<infer D> ? (D['capabilities']['equality'] extends true ? 'equality' : never) | (D['capabilities']['orderAndRange'] extends true ? 'orderAndRange' : never) | (D['capabilities']['freeTextSearch'] extends true ? 'freeTextSearch' : never) : never;
1218
+ type QueryTypesForColumn<C> = C extends EncryptedV3Column<infer D> ? (D['capabilities']['equality'] extends true ? 'equality' : never) | (D['capabilities']['orderAndRange'] extends true ? 'orderAndRange' : never) | (D['capabilities']['freeTextSearch'] extends true ? 'freeTextSearch' : never) | (D['capabilities']['searchableJson'] extends true ? 'searchableJson' : never) : never;
1219
1219
  /**
1220
1220
  * The concrete EQL v3 type string for a single column, read from the literal
1221
1221
  * domain definition carried on the base class's private field (mirrors