@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.
- package/CHANGELOG.md +65 -0
- package/README.md +321 -239
- package/dist/adapter-kit.cjs +81 -2
- package/dist/adapter-kit.cjs.map +1 -1
- package/dist/adapter-kit.d.cts +41 -3
- package/dist/adapter-kit.d.ts +41 -3
- package/dist/adapter-kit.js +77 -2
- package/dist/adapter-kit.js.map +1 -1
- package/dist/{chunk-V2Q3NYIH.js → chunk-6SGN52W6.js} +1 -1
- package/dist/{chunk-V2Q3NYIH.js.map → chunk-6SGN52W6.js.map} +1 -1
- package/dist/{chunk-OFQ555AX.js → chunk-IDKP6ABU.js} +2 -2
- package/dist/{chunk-ZTP5QJ27.js → chunk-L7ISHSG7.js} +3 -3
- package/dist/{chunk-LBMC4D6D.js → chunk-NVKK7UDN.js} +1 -1
- package/dist/chunk-NVKK7UDN.js.map +1 -0
- package/dist/{columns-rZc7fQHI.d.ts → columns-0lbT9stl.d.ts} +2 -2
- package/dist/{columns-D2_YzrCX.d.cts → columns-Bxv7Oo9o.d.cts} +2 -2
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.js +3 -3
- package/dist/encryption/v3.cjs.map +1 -1
- package/dist/encryption/v3.d.cts +2 -2
- package/dist/encryption/v3.d.ts +2 -2
- package/dist/encryption/v3.js +4 -4
- package/dist/eql/v3/index.cjs.map +1 -1
- package/dist/eql/v3/index.d.cts +2 -2
- package/dist/eql/v3/index.d.ts +2 -2
- package/dist/eql/v3/index.js +1 -1
- package/dist/errors/index.cjs.map +1 -1
- package/dist/errors/index.d.cts +5 -5
- package/dist/errors/index.d.ts +5 -5
- package/dist/errors/index.js +1 -1
- package/dist/identity/index.cjs.map +1 -1
- package/dist/identity/index.js +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/wasm-inline.d.ts +2 -2
- package/dist/wasm-inline.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-LBMC4D6D.js.map +0 -1
- /package/dist/{chunk-OFQ555AX.js.map → chunk-IDKP6ABU.js.map} +0 -0
- /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-
|
|
4
|
-
import "./chunk-
|
|
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-
|
|
18
|
+
import "./chunk-NVKK7UDN.js";
|
|
19
19
|
import "./chunk-PZ5AY32C.js";
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
package/dist/wasm-inline.d.ts
CHANGED
|
@@ -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
|
|
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
|