mongodb 6.7.0-dev.20240626.sha.4f32decc → 6.7.0-dev.20240627.sha.fb724eb6
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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client-side-encryption/providers/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/client-side-encryption/providers/index.ts"],"names":[],"mappings":";;;AACA,+BAA2C;AAC3C,mCAA+C;AAC/C,+BAA2C;AAqJ3C;;;;;;;GAOG;AACH,SAAgB,kBAAkB,CAChC,YAA6C,EAC7C,YAA0B;IAE1B,MAAM,QAAQ,GAAG,YAAY,CAAC,YAAY,CAAC,CAAC;IAC5C,IAAI,QAAQ,IAAI,IAAI,EAAE;QACpB,OAAO,KAAK,CAAC;KACd;IACD,OAAO,OAAO,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC;AAC5E,CAAC;AATD,gDASC;AAED;;;;;;GAMG;AACI,KAAK,UAAU,qBAAqB,CAAC,YAA0B;IACpE,IAAI,iBAAiB,GAAG,YAAY,CAAC;IAErC,IAAI,kBAAkB,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE;QAC3C,iBAAiB,GAAG,MAAM,IAAA,wBAAkB,EAAC,iBAAiB,CAAC,CAAC;KACjE;IAED,IAAI,kBAAkB,CAAC,KAAK,EAAE,YAAY,CAAC,EAAE;QAC3C,iBAAiB,GAAG,MAAM,IAAA,wBAAkB,EAAC,iBAAiB,CAAC,CAAC;KACjE;IAED,IAAI,kBAAkB,CAAC,OAAO,EAAE,YAAY,CAAC,EAAE;QAC7C,iBAAiB,GAAG,MAAM,IAAA,4BAAoB,EAAC,iBAAiB,CAAC,CAAC;KACnE;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC;AAfD,sDAeC"}
|
package/mongodb.d.ts
CHANGED
|
@@ -4725,7 +4725,7 @@ export declare interface LocalKMSProviderConfiguration {
|
|
|
4725
4725
|
* The master key used to encrypt/decrypt data keys.
|
|
4726
4726
|
* A 96-byte long Buffer or base64 encoded string.
|
|
4727
4727
|
*/
|
|
4728
|
-
key:
|
|
4728
|
+
key: Binary | Uint8Array | string;
|
|
4729
4729
|
}
|
|
4730
4730
|
|
|
4731
4731
|
/* Excluded from this release type: Log */
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Binary } from '../../bson';
|
|
1
2
|
import { loadAWSCredentials } from './aws';
|
|
2
3
|
import { loadAzureCredentials } from './azure';
|
|
3
4
|
import { loadGCPCredentials } from './gcp';
|
|
@@ -39,7 +40,7 @@ export interface LocalKMSProviderConfiguration {
|
|
|
39
40
|
* The master key used to encrypt/decrypt data keys.
|
|
40
41
|
* A 96-byte long Buffer or base64 encoded string.
|
|
41
42
|
*/
|
|
42
|
-
key:
|
|
43
|
+
key: Binary | Uint8Array | string;
|
|
43
44
|
}
|
|
44
45
|
|
|
45
46
|
/** @public */
|