mongodb 6.7.0-dev.20240530.sha.f56938f → 6.7.0-dev.20240608.sha.0655c730

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/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;AAAA,mCAAgC;AAgF9B,sFAhFO,aAAK,OAgFP;AA/EP,4CAAsD;AA6FpD,qGA7FO,8BAAoB,OA6FP;AA5FtB,gDAA0D;AA8FxD,uGA9FO,kCAAsB,OA8FP;AA7FxB,mDAA+C;AAgF7C,6FAhFO,4BAAY,OAgFP;AA/Ed,6CAA0C;AAiFxC,2FAjFO,uBAAU,OAiFP;AAhFZ,8DAA0D;AAyExD,+FAzEO,gCAAc,OAyEP;AAxEhB,oEAAgE;AA2E9D,kGA3EO,sCAAiB,OA2EP;AA1EnB,sDAAkD;AAgFhD,2FAhFO,wBAAU,OAgFP;AA/EZ,8EAAyE;AAmFvE,sGAnFO,+CAAqB,OAmFP;AAlFvB,sEAAiE;AAmF/D,kGAnFO,uCAAiB,OAmFP;AAjFnB,6BAA0B;AA2ExB,mFA3EO,OAAE,OA2EP;AA1EJ,qCAAwC;AA4EtC,6FA5EO,qBAAY,OA4EP;AA3Ed,gDAA2D;AA4EzD,uGA5EO,iCAAsB,OA4EP;AA3ExB,4CAA0D;AA4ExD,wGA5EO,gCAAuB,OA4EP;AA3EzB,iDAA6C;AA8E3C,4FA9EO,0BAAW,OA8EP;AA7Eb,+CAAkD;AAkEhD,kGAlEO,+BAAiB,OAkEP;AAjEnB,yCAA2C;AAmEzC,8FAnEO,wBAAa,OAmEP;AAjEf,cAAc;AACd,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,+BAgBgB;AAfd,8FAAA,MAAM,OAAA;AACN,kGAAA,UAAU,OAAA;AACV,kGAAA,UAAU,OAAA;AACV,gGAAA,QAAQ,OAAA;AACR,4F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BAA4B,OAAA;AAC5B,kIAAA,wCAAwC,OAAA;AACxC,yGAAA,eAAe,OAAA;AACf,wHAAA,8BAA8B,OAAA;AAC9B,iIAAA,uCAAuC,OAAA;AA6IzC,6EAAyE;AAAhE,uIAAA,wBAAwB,OAAA"}
package/mongodb.d.ts CHANGED
@@ -10,17 +10,17 @@ import type { ConnectionOptions as ConnectionOptions_2 , TLSSocket , TLSSocketOp
10
10
 
11
11
  /** @public */
12
12
  export declare abstract class AbstractCursor<TSchema = any, CursorEvents extends AbstractCursorEvents = AbstractCursorEvents> extends TypedEventEmitter<CursorEvents> {
13
- /* Excluded from this release type: [kId] */
14
- /* Excluded from this release type: [kSession] */
15
- /* Excluded from this release type: [kServer] */
16
- /* Excluded from this release type: [kNamespace] */
17
- /* Excluded from this release type: [kDocuments] */
18
- /* Excluded from this release type: [kClient] */
19
- /* Excluded from this release type: [kTransform] */
20
- /* Excluded from this release type: [kInitialized] */
21
- /* Excluded from this release type: [kClosed] */
22
- /* Excluded from this release type: [kKilled] */
23
- /* Excluded from this release type: [kOptions] */
13
+ /* Excluded from this release type: cursorId */
14
+ /* Excluded from this release type: cursorSession */
15
+ /* Excluded from this release type: selectedServer */
16
+ /* Excluded from this release type: cursorNamespace */
17
+ /* Excluded from this release type: documents */
18
+ /* Excluded from this release type: cursorClient */
19
+ /* Excluded from this release type: transform */
20
+ /* Excluded from this release type: initialized */
21
+ /* Excluded from this release type: isClosed */
22
+ /* Excluded from this release type: isKilled */
23
+ /* Excluded from this release type: cursorOptions */
24
24
  /** @event */
25
25
  static readonly CLOSE: "close";
26
26
  /* Excluded from this release type: __constructor */
@@ -33,7 +33,6 @@ export declare abstract class AbstractCursor<TSchema = any, CursorEvents extends
33
33
  get readConcern(): ReadConcern | undefined;
34
34
  /* Excluded from this release type: session */
35
35
  /* Excluded from this release type: session */
36
- /* Excluded from this release type: cursorOptions */
37
36
  get closed(): boolean;
38
37
  get killed(): boolean;
39
38
  get loadBalanced(): boolean;
@@ -153,7 +152,13 @@ export declare abstract class AbstractCursor<TSchema = any, CursorEvents extends
153
152
  abstract clone(): AbstractCursor<TSchema>;
154
153
  /* Excluded from this release type: _initialize */
155
154
  /* Excluded from this release type: getMore */
156
- /* Excluded from this release type: [kInit] */
155
+ /* Excluded from this release type: cursorInit */
156
+ /* Excluded from this release type: fetchBatch */
157
+ /* Excluded from this release type: cleanup */
158
+ /* Excluded from this release type: hasEmittedClose */
159
+ /* Excluded from this release type: emitClose */
160
+ /* Excluded from this release type: transformDocument */
161
+ /* Excluded from this release type: throwIfInitialized */
157
162
  }
158
163
 
159
164
  /** @public */
@@ -351,10 +356,9 @@ export declare interface AggregateOptions extends CommandOperationOptions {
351
356
  * @public
352
357
  */
353
358
  export declare class AggregationCursor<TSchema = any> extends AbstractCursor<TSchema> {
354
- /* Excluded from this release type: [kPipeline] */
355
- /* Excluded from this release type: [kOptions] */
359
+ readonly pipeline: Document[];
360
+ /* Excluded from this release type: aggregateOptions */
356
361
  /* Excluded from this release type: __constructor */
357
- get pipeline(): Document[];
358
362
  clone(): AggregationCursor<TSchema>;
359
363
  map<T>(transform: (doc: TSchema) => T): AggregationCursor<T>;
360
364
  /* Excluded from this release type: _initialize */
@@ -1754,7 +1758,7 @@ export declare interface ClientEncryptionCreateDataKeyProviderOptions {
1754
1758
  /**
1755
1759
  * Identifies a new KMS-specific key used to encrypt the new data key
1756
1760
  */
1757
- masterKey?: AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions | undefined;
1761
+ masterKey?: AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions | KMIPEncryptionKeyOptions | undefined;
1758
1762
  /**
1759
1763
  * An optional list of string alternate names used to reference a key.
1760
1764
  * If a key is created with alternate names, then encryption may refer to the key by the unique alternate name instead of by _id.
@@ -1860,16 +1864,7 @@ export declare interface ClientEncryptionOptions {
1860
1864
  */
1861
1865
  export declare interface ClientEncryptionRewrapManyDataKeyProviderOptions {
1862
1866
  provider: ClientEncryptionDataKeyProvider;
1863
- masterKey?: AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions | undefined;
1864
- }
1865
-
1866
- /**
1867
- * @public
1868
- * @experimental
1869
- */
1870
- export declare interface ClientEncryptionRewrapManyDataKeyProviderOptions {
1871
- provider: ClientEncryptionDataKeyProvider;
1872
- masterKey?: AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions | undefined;
1867
+ masterKey?: AWSEncryptionKeyOptions | AzureEncryptionKeyOptions | GCPEncryptionKeyOptions | KMIPEncryptionKeyOptions | undefined;
1873
1868
  }
1874
1869
 
1875
1870
  /**
@@ -3662,9 +3657,9 @@ export declare interface FilterOperators<TValue> extends NonObjectIdLikeDocument
3662
3657
 
3663
3658
  /** @public */
3664
3659
  export declare class FindCursor<TSchema = any> extends AbstractCursor<TSchema> {
3665
- /* Excluded from this release type: [kFilter] */
3666
- /* Excluded from this release type: [kNumReturned] */
3667
- /* Excluded from this release type: [kBuiltOptions] */
3660
+ /* Excluded from this release type: cursorFilter */
3661
+ /* Excluded from this release type: numReturned */
3662
+ /* Excluded from this release type: findOptions */
3668
3663
  /* Excluded from this release type: __constructor */
3669
3664
  clone(): FindCursor<TSchema>;
3670
3665
  map<T>(transform: (doc: TSchema) => T): FindCursor<T>;
@@ -4435,8 +4430,6 @@ export declare type Join<T extends unknown[], D extends string> = T extends [] ?
4435
4430
 
4436
4431
  /* Excluded from this release type: kBeforeHandshake */
4437
4432
 
4438
- /* Excluded from this release type: kBuiltOptions */
4439
-
4440
4433
  /* Excluded from this release type: kCancellationToken */
4441
4434
 
4442
4435
  /* Excluded from this release type: kCancellationToken_2 */
@@ -4447,12 +4440,8 @@ export declare type Join<T extends unknown[], D extends string> = T extends [] ?
4447
4440
 
4448
4441
  /* Excluded from this release type: kCheckedOut */
4449
4442
 
4450
- /* Excluded from this release type: kClient */
4451
-
4452
4443
  /* Excluded from this release type: kClosed */
4453
4444
 
4454
- /* Excluded from this release type: kClosed_2 */
4455
-
4456
4445
  /* Excluded from this release type: kConnectionCounter */
4457
4446
 
4458
4447
  /* Excluded from this release type: kConnections */
@@ -4461,8 +4450,6 @@ export declare type Join<T extends unknown[], D extends string> = T extends [] ?
4461
4450
 
4462
4451
  /* Excluded from this release type: kDecorateResult */
4463
4452
 
4464
- /* Excluded from this release type: kDocuments */
4465
-
4466
4453
  /* Excluded from this release type: kErrorLabels */
4467
4454
 
4468
4455
  /** @public */
@@ -4475,24 +4462,37 @@ export declare type KeysOfOtherType<TSchema, Type> = {
4475
4462
  [key in keyof TSchema]: NonNullable<TSchema[key]> extends Type ? never : key;
4476
4463
  }[keyof TSchema];
4477
4464
 
4478
- /* Excluded from this release type: kFilter */
4479
-
4480
4465
  /* Excluded from this release type: kGeneration */
4481
4466
 
4482
- /* Excluded from this release type: kId */
4483
-
4484
- /* Excluded from this release type: kInit */
4485
-
4486
- /* Excluded from this release type: kInitialized */
4487
-
4488
4467
  /* Excluded from this release type: kInternalClient */
4489
4468
 
4490
- /* Excluded from this release type: kKilled */
4491
-
4492
4469
  /* Excluded from this release type: kMetrics */
4493
4470
 
4494
4471
  /* Excluded from this release type: kMinPoolSizeTimer */
4495
4472
 
4473
+ /**
4474
+ * @public
4475
+ * Configuration options for making a KMIP encryption key
4476
+ */
4477
+ export declare interface KMIPEncryptionKeyOptions {
4478
+ /**
4479
+ * keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object.
4480
+ *
4481
+ * If keyId is omitted, a random 96 byte KMIP Secret Data managed object will be created.
4482
+ */
4483
+ keyId?: string;
4484
+ /**
4485
+ * Host with optional port.
4486
+ */
4487
+ endpoint?: string;
4488
+ /**
4489
+ * If true, this key should be decrypted by the KMIP server.
4490
+ *
4491
+ * Requires `mongodb-client-encryption>=6.0.1`.
4492
+ */
4493
+ delegated?: boolean;
4494
+ }
4495
+
4496
4496
  /* Excluded from this release type: kMode */
4497
4497
 
4498
4498
  /* Excluded from this release type: kMonitorId */
@@ -4595,22 +4595,12 @@ export declare interface KMSProviders {
4595
4595
  } | Record<string, never>;
4596
4596
  }
4597
4597
 
4598
- /* Excluded from this release type: kNamespace */
4599
-
4600
- /* Excluded from this release type: kNumReturned */
4601
-
4602
4598
  /* Excluded from this release type: kOptions */
4603
4599
 
4604
- /* Excluded from this release type: kOptions_2 */
4605
-
4606
- /* Excluded from this release type: kOptions_3 */
4607
-
4608
4600
  /* Excluded from this release type: kPending */
4609
4601
 
4610
4602
  /* Excluded from this release type: kPinnedConnection */
4611
4603
 
4612
- /* Excluded from this release type: kPipeline */
4613
-
4614
4604
  /* Excluded from this release type: kPoolState */
4615
4605
 
4616
4606
  /* Excluded from this release type: kProcessingWaitQueue */
@@ -4619,8 +4609,6 @@ export declare interface KMSProviders {
4619
4609
 
4620
4610
  /* Excluded from this release type: kServer_2 */
4621
4611
 
4622
- /* Excluded from this release type: kServer_3 */
4623
-
4624
4612
  /* Excluded from this release type: kServerError */
4625
4613
 
4626
4614
  /* Excluded from this release type: kServerSession */
@@ -4629,14 +4617,10 @@ export declare interface KMSProviders {
4629
4617
 
4630
4618
  /* Excluded from this release type: kSession */
4631
4619
 
4632
- /* Excluded from this release type: kSession_2 */
4633
-
4634
4620
  /* Excluded from this release type: kSnapshotEnabled */
4635
4621
 
4636
4622
  /* Excluded from this release type: kSnapshotTime */
4637
4623
 
4638
- /* Excluded from this release type: kTransform */
4639
-
4640
4624
  /* Excluded from this release type: kTxnNumberIncrement */
4641
4625
 
4642
4626
  /* Excluded from this release type: kWaitQueue */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mongodb",
3
- "version": "6.7.0-dev.20240530.sha.f56938f",
3
+ "version": "6.7.0-dev.20240608.sha.0655c730",
4
4
  "description": "The official MongoDB driver for Node.js",
5
5
  "main": "lib/index.js",
6
6
  "files": [
@@ -98,7 +98,7 @@
98
98
  "js-yaml": "^4.1.0",
99
99
  "mocha": "^10.4.0",
100
100
  "mocha-sinon": "^2.1.2",
101
- "mongodb-client-encryption": "^6.0.0",
101
+ "mongodb-client-encryption": "^6.0.1",
102
102
  "mongodb-legacy": "^6.0.1",
103
103
  "nyc": "^15.1.0",
104
104
  "prettier": "^2.8.8",
@@ -773,6 +773,7 @@ export interface ClientEncryptionRewrapManyDataKeyProviderOptions {
773
773
  | AWSEncryptionKeyOptions
774
774
  | AzureEncryptionKeyOptions
775
775
  | GCPEncryptionKeyOptions
776
+ | KMIPEncryptionKeyOptions
776
777
  | undefined;
777
778
  }
778
779
 
@@ -885,6 +886,31 @@ export interface AzureEncryptionKeyOptions {
885
886
  keyVersion?: string | undefined;
886
887
  }
887
888
 
889
+ /**
890
+ * @public
891
+ * Configuration options for making a KMIP encryption key
892
+ */
893
+ export interface KMIPEncryptionKeyOptions {
894
+ /**
895
+ * keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object.
896
+ *
897
+ * If keyId is omitted, a random 96 byte KMIP Secret Data managed object will be created.
898
+ */
899
+ keyId?: string;
900
+
901
+ /**
902
+ * Host with optional port.
903
+ */
904
+ endpoint?: string;
905
+
906
+ /**
907
+ * If true, this key should be decrypted by the KMIP server.
908
+ *
909
+ * Requires `mongodb-client-encryption>=6.0.1`.
910
+ */
911
+ delegated?: boolean;
912
+ }
913
+
888
914
  /**
889
915
  * @public
890
916
  * Options to provide when creating a new data key.
@@ -897,6 +923,7 @@ export interface ClientEncryptionCreateDataKeyProviderOptions {
897
923
  | AWSEncryptionKeyOptions
898
924
  | AzureEncryptionKeyOptions
899
925
  | GCPEncryptionKeyOptions
926
+ | KMIPEncryptionKeyOptions
900
927
  | undefined;
901
928
 
902
929
  /**
@@ -909,19 +936,6 @@ export interface ClientEncryptionCreateDataKeyProviderOptions {
909
936
  keyMaterial?: Buffer | Binary;
910
937
  }
911
938
 
912
- /**
913
- * @public
914
- * @experimental
915
- */
916
- export interface ClientEncryptionRewrapManyDataKeyProviderOptions {
917
- provider: ClientEncryptionDataKeyProvider;
918
- masterKey?:
919
- | AWSEncryptionKeyOptions
920
- | AzureEncryptionKeyOptions
921
- | GCPEncryptionKeyOptions
922
- | undefined;
923
- }
924
-
925
939
  /**
926
940
  * @public
927
941
  * @experimental