@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.
Files changed (40) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/bin/stash.js +13 -5
  3. package/dist/bin/stash.js.map +1 -1
  4. package/dist/{chunk-TGUELLJS.js → chunk-H7IHWDZI.js} +9 -1
  5. package/dist/chunk-H7IHWDZI.js.map +1 -0
  6. package/dist/{chunk-YLISU7FD.js → chunk-URZNWMOO.js} +2 -2
  7. package/dist/{client-BVQvgvdY.d.cts → client-DQMy1ux5.d.cts} +7 -1
  8. package/dist/{client-BFrHTgC6.d.ts → client-zxrOpegN.d.ts} +7 -1
  9. package/dist/client.d.cts +2 -2
  10. package/dist/client.d.ts +2 -2
  11. package/dist/drizzle/index.d.cts +2 -2
  12. package/dist/drizzle/index.d.ts +2 -2
  13. package/dist/dynamodb/index.d.cts +2 -2
  14. package/dist/dynamodb/index.d.ts +2 -2
  15. package/dist/encryption/index.cjs +8 -0
  16. package/dist/encryption/index.cjs.map +1 -1
  17. package/dist/encryption/index.d.cts +2 -2
  18. package/dist/encryption/index.d.ts +2 -2
  19. package/dist/encryption/index.js +1 -1
  20. package/dist/index.cjs +8 -0
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.d.cts +3 -3
  23. package/dist/index.d.ts +3 -3
  24. package/dist/index.js +2 -2
  25. package/dist/schema/index.d.cts +1 -1
  26. package/dist/schema/index.d.ts +1 -1
  27. package/dist/secrets/index.cjs +8 -0
  28. package/dist/secrets/index.cjs.map +1 -1
  29. package/dist/secrets/index.d.cts +1 -1
  30. package/dist/secrets/index.d.ts +1 -1
  31. package/dist/secrets/index.js +2 -2
  32. package/dist/supabase/index.d.cts +2 -2
  33. package/dist/supabase/index.d.ts +2 -2
  34. package/dist/{types-public-dKxDzTIL.d.ts → types-public-07ilcGY-.d.cts} +1 -1
  35. package/dist/{types-public-dKxDzTIL.d.cts → types-public-07ilcGY-.d.ts} +1 -1
  36. package/dist/types-public.d.cts +1 -1
  37. package/dist/types-public.d.ts +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-TGUELLJS.js.map +0 -1
  40. /package/dist/{chunk-YLISU7FD.js.map → chunk-URZNWMOO.js.map} +0 -0
@@ -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-DQMy1ux5.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-zxrOpegN.js';
6
6
  import 'zod';
7
7
  import '../identity/index.js';
@@ -2,7 +2,7 @@ import {
2
2
  Encryption,
3
3
  EncryptionClient,
4
4
  noClientError
5
- } from "../chunk-TGUELLJS.js";
5
+ } from "../chunk-H7IHWDZI.js";
6
6
  import "../chunk-4RNBI3UH.js";
7
7
  import "../chunk-Y35W4WFN.js";
8
8
  import "../chunk-HCL75LXQ.js";
package/dist/index.cjs CHANGED
@@ -2818,6 +2818,14 @@ var EncryptionClient = class {
2818
2818
  workspaceId: this.workspaceId
2819
2819
  };
2820
2820
  }
2821
+ /**
2822
+ * Get the encrypt config object.
2823
+ *
2824
+ * @returns The encrypt config object.
2825
+ */
2826
+ getEncryptConfig() {
2827
+ return this.encryptConfig;
2828
+ }
2821
2829
  };
2822
2830
  var Encryption = async (config) => {
2823
2831
  const { schemas, config: clientConfig } = config;