@octaviaflow/telemetry 1.1.2 → 2.0.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.
@@ -3065,7 +3065,7 @@ var require_bson = __commonJS({
3065
3065
  }
3066
3066
  }
3067
3067
  var BSON_MAJOR_VERSION = 7;
3068
- var BSON_VERSION_SYMBOL = Symbol.for("@@mdb.bson.version");
3068
+ var BSON_VERSION_SYMBOL = /* @__PURE__ */ Symbol.for("@@mdb.bson.version");
3069
3069
  var BSON_INT32_MAX = 2147483647;
3070
3070
  var BSON_INT32_MIN = -2147483648;
3071
3071
  var BSON_INT64_MAX = Math.pow(2, 63) - 1;
@@ -3480,7 +3480,7 @@ var require_bson = __commonJS({
3480
3480
  };
3481
3481
  var hasGlobalBuffer = typeof Buffer === "function" && Buffer.prototype?._isBuffer !== true;
3482
3482
  var ByteUtils = hasGlobalBuffer ? nodeJsByteUtils : webByteUtils;
3483
- var bsonType = Symbol.for("@@mdb.bson.type");
3483
+ var bsonType = /* @__PURE__ */ Symbol.for("@@mdb.bson.type");
3484
3484
  var BSONValue = class {
3485
3485
  get [bsonType]() {
3486
3486
  return this._bsontype;
@@ -3488,7 +3488,7 @@ var require_bson = __commonJS({
3488
3488
  get [BSON_VERSION_SYMBOL]() {
3489
3489
  return BSON_MAJOR_VERSION;
3490
3490
  }
3491
- [Symbol.for("nodejs.util.inspect.custom")](depth, options2, inspect) {
3491
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")](depth, options2, inspect) {
3492
3492
  return this.inspect(depth, options2, inspect);
3493
3493
  }
3494
3494
  };
@@ -9078,8 +9078,8 @@ var require_constants2 = __commonJS({
9078
9078
  ]);
9079
9079
  exports.LEGACY_HELLO_COMMAND = "ismaster";
9080
9080
  exports.LEGACY_HELLO_COMMAND_CAMEL_CASE = "isMaster";
9081
- exports.kDecorateResult = Symbol.for("@@mdb.decorateDecryptionResult");
9082
- exports.kDecoratedKeys = Symbol.for("@@mdb.decryptedKeys");
9081
+ exports.kDecorateResult = /* @__PURE__ */ Symbol.for("@@mdb.decorateDecryptionResult");
9082
+ exports.kDecoratedKeys = /* @__PURE__ */ Symbol.for("@@mdb.decryptedKeys");
9083
9083
  }
9084
9084
  });
9085
9085
 
@@ -10306,7 +10306,7 @@ var require_utils = __commonJS({
10306
10306
  }
10307
10307
  Object.freeze(this);
10308
10308
  }
10309
- [Symbol.for("nodejs.util.inspect.custom")]() {
10309
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
10310
10310
  return this.inspect();
10311
10311
  }
10312
10312
  inspect() {
@@ -10584,7 +10584,7 @@ var require_utils = __commonJS({
10584
10584
  decorateDecryptionResult(decrypted[k], originalValue, false);
10585
10585
  }
10586
10586
  }
10587
- exports.kDispose = Symbol.dispose ?? Symbol("dispose");
10587
+ exports.kDispose = Symbol.dispose ?? /* @__PURE__ */ Symbol("dispose");
10588
10588
  function addAbortListener(signal, listener) {
10589
10589
  if (signal == null)
10590
10590
  return;
@@ -10938,15 +10938,15 @@ var require_operation = __commonJS({
10938
10938
  var bson_1 = require_bson2();
10939
10939
  var read_preference_1 = require_read_preference();
10940
10940
  exports.Aspect = {
10941
- READ_OPERATION: Symbol("READ_OPERATION"),
10942
- WRITE_OPERATION: Symbol("WRITE_OPERATION"),
10943
- RETRYABLE: Symbol("RETRYABLE"),
10944
- EXPLAINABLE: Symbol("EXPLAINABLE"),
10945
- SKIP_COLLATION: Symbol("SKIP_COLLATION"),
10946
- CURSOR_CREATING: Symbol("CURSOR_CREATING"),
10947
- MUST_SELECT_SAME_SERVER: Symbol("MUST_SELECT_SAME_SERVER"),
10948
- COMMAND_BATCHING: Symbol("COMMAND_BATCHING"),
10949
- SUPPORTS_RAW_DATA: Symbol("SUPPORTS_RAW_DATA")
10941
+ READ_OPERATION: /* @__PURE__ */ Symbol("READ_OPERATION"),
10942
+ WRITE_OPERATION: /* @__PURE__ */ Symbol("WRITE_OPERATION"),
10943
+ RETRYABLE: /* @__PURE__ */ Symbol("RETRYABLE"),
10944
+ EXPLAINABLE: /* @__PURE__ */ Symbol("EXPLAINABLE"),
10945
+ SKIP_COLLATION: /* @__PURE__ */ Symbol("SKIP_COLLATION"),
10946
+ CURSOR_CREATING: /* @__PURE__ */ Symbol("CURSOR_CREATING"),
10947
+ MUST_SELECT_SAME_SERVER: /* @__PURE__ */ Symbol("MUST_SELECT_SAME_SERVER"),
10948
+ COMMAND_BATCHING: /* @__PURE__ */ Symbol("COMMAND_BATCHING"),
10949
+ SUPPORTS_RAW_DATA: /* @__PURE__ */ Symbol("SUPPORTS_RAW_DATA")
10950
10950
  };
10951
10951
  var AbstractOperation = class {
10952
10952
  constructor(options2 = {}) {
@@ -11214,7 +11214,7 @@ var require_execute_operation = __commonJS({
11214
11214
  let session = operation.session;
11215
11215
  let owner;
11216
11216
  if (session == null) {
11217
- owner = Symbol();
11217
+ owner = /* @__PURE__ */ Symbol();
11218
11218
  session = client.startSession({ owner, explicit: false });
11219
11219
  } else if (session.hasEnded) {
11220
11220
  throw new error_1.MongoExpiredSessionError("Use of expired sessions is not permitted");
@@ -17970,7 +17970,7 @@ var require_drop2 = __commonJS({
17970
17970
  const listCollectionsResult = await db.listCollections({ name }, {
17971
17971
  nameOnly: false,
17972
17972
  session: options2.session,
17973
- timeoutContext: new abstract_cursor_1.CursorTimeoutContext(timeoutContext, Symbol())
17973
+ timeoutContext: new abstract_cursor_1.CursorTimeoutContext(timeoutContext, /* @__PURE__ */ Symbol())
17974
17974
  }).toArray();
17975
17975
  encryptedFields = listCollectionsResult?.[0]?.options?.encryptedFields;
17976
17976
  }
@@ -23529,10 +23529,10 @@ var require_utils3 = __commonJS({
23529
23529
  Object.getOwnPropertyDescriptors(object)
23530
23530
  );
23531
23531
  }
23532
- var wrapperSymbol = Symbol("wrapper");
23533
- var implSymbol = Symbol("impl");
23534
- var sameObjectCaches = Symbol("SameObject caches");
23535
- var ctorRegistrySymbol = Symbol.for("[webidl2js] constructor registry");
23532
+ var wrapperSymbol = /* @__PURE__ */ Symbol("wrapper");
23533
+ var implSymbol = /* @__PURE__ */ Symbol("impl");
23534
+ var sameObjectCaches = /* @__PURE__ */ Symbol("SameObject caches");
23535
+ var ctorRegistrySymbol = /* @__PURE__ */ Symbol.for("[webidl2js] constructor registry");
23536
23536
  var AsyncIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {
23537
23537
  }).prototype);
23538
23538
  function initCtorRegistry(globalObject) {
@@ -23580,7 +23580,7 @@ var require_utils3 = __commonJS({
23580
23580
  const impl = implForWrapper(wrapper);
23581
23581
  return impl ? impl : wrapper;
23582
23582
  }
23583
- var iterInternalSymbol = Symbol("internal");
23583
+ var iterInternalSymbol = /* @__PURE__ */ Symbol("internal");
23584
23584
  function isArrayIndexPropName(P) {
23585
23585
  if (typeof P !== "string") {
23586
23586
  return false;
@@ -23619,21 +23619,21 @@ var require_utils3 = __commonJS({
23619
23619
  }
23620
23620
  return { value: result, done: false };
23621
23621
  }
23622
- var supportsPropertyIndex = Symbol("supports property index");
23623
- var supportedPropertyIndices = Symbol("supported property indices");
23624
- var supportsPropertyName = Symbol("supports property name");
23625
- var supportedPropertyNames = Symbol("supported property names");
23626
- var indexedGet = Symbol("indexed property get");
23627
- var indexedSetNew = Symbol("indexed property set new");
23628
- var indexedSetExisting = Symbol("indexed property set existing");
23629
- var namedGet = Symbol("named property get");
23630
- var namedSetNew = Symbol("named property set new");
23631
- var namedSetExisting = Symbol("named property set existing");
23632
- var namedDelete = Symbol("named property delete");
23633
- var asyncIteratorNext = Symbol("async iterator get the next iteration result");
23634
- var asyncIteratorReturn = Symbol("async iterator return steps");
23635
- var asyncIteratorInit = Symbol("async iterator initialization steps");
23636
- var asyncIteratorEOI = Symbol("async iterator end of iteration");
23622
+ var supportsPropertyIndex = /* @__PURE__ */ Symbol("supports property index");
23623
+ var supportedPropertyIndices = /* @__PURE__ */ Symbol("supported property indices");
23624
+ var supportsPropertyName = /* @__PURE__ */ Symbol("supports property name");
23625
+ var supportedPropertyNames = /* @__PURE__ */ Symbol("supported property names");
23626
+ var indexedGet = /* @__PURE__ */ Symbol("indexed property get");
23627
+ var indexedSetNew = /* @__PURE__ */ Symbol("indexed property set new");
23628
+ var indexedSetExisting = /* @__PURE__ */ Symbol("indexed property set existing");
23629
+ var namedGet = /* @__PURE__ */ Symbol("named property get");
23630
+ var namedSetNew = /* @__PURE__ */ Symbol("named property set new");
23631
+ var namedSetExisting = /* @__PURE__ */ Symbol("named property set existing");
23632
+ var namedDelete = /* @__PURE__ */ Symbol("named property delete");
23633
+ var asyncIteratorNext = /* @__PURE__ */ Symbol("async iterator get the next iteration result");
23634
+ var asyncIteratorReturn = /* @__PURE__ */ Symbol("async iterator return steps");
23635
+ var asyncIteratorInit = /* @__PURE__ */ Symbol("async iterator initialization steps");
23636
+ var asyncIteratorEOI = /* @__PURE__ */ Symbol("async iterator end of iteration");
23637
23637
  module.exports = exports = {
23638
23638
  isObject: isObject2,
23639
23639
  hasOwn,
@@ -24424,7 +24424,7 @@ var require_url_state_machine = __commonJS({
24424
24424
  ws: 80,
24425
24425
  wss: 443
24426
24426
  };
24427
- var failure = Symbol("failure");
24427
+ var failure = /* @__PURE__ */ Symbol("failure");
24428
24428
  function countSymbols(str2) {
24429
24429
  return [...str2].length;
24430
24430
  }
@@ -27065,7 +27065,7 @@ var require_lib2 = __commonJS({
27065
27065
  const _sametype = false;
27066
27066
  return this.searchParams;
27067
27067
  }
27068
- [Symbol.for("nodejs.util.inspect.custom")]() {
27068
+ [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
27069
27069
  const { href, origin, protocol, username, password, hosts, pathname, search, searchParams, hash } = this;
27070
27070
  return {
27071
27071
  href,
@@ -28386,7 +28386,7 @@ var require_state_machine = __commonJS({
28386
28386
  const cursor = client.db(db).listCollections(filter, {
28387
28387
  promoteLongs: false,
28388
28388
  promoteValues: false,
28389
- timeoutContext: options2?.timeoutContext && new abstract_cursor_1.CursorTimeoutContext(options2?.timeoutContext, Symbol()),
28389
+ timeoutContext: options2?.timeoutContext && new abstract_cursor_1.CursorTimeoutContext(options2?.timeoutContext, /* @__PURE__ */ Symbol()),
28390
28390
  signal: options2?.signal,
28391
28391
  nameOnly: false
28392
28392
  });
@@ -28435,7 +28435,7 @@ var require_state_machine = __commonJS({
28435
28435
  signal: void 0
28436
28436
  };
28437
28437
  if (options2?.timeoutContext != null) {
28438
- commandOptions.timeoutContext = new abstract_cursor_1.CursorTimeoutContext(options2.timeoutContext, Symbol());
28438
+ commandOptions.timeoutContext = new abstract_cursor_1.CursorTimeoutContext(options2.timeoutContext, /* @__PURE__ */ Symbol());
28439
28439
  }
28440
28440
  if (options2?.signal != null) {
28441
28441
  commandOptions.signal = options2.signal;
@@ -35835,7 +35835,7 @@ var require_executor = __commonJS({
35835
35835
  } else {
35836
35836
  const resultsMerger = new results_merger_1.ClientBulkWriteResultsMerger(this.options);
35837
35837
  while (commandBuilder.hasNextBatch()) {
35838
- const cursorContext = new abstract_cursor_1.CursorTimeoutContext(context, Symbol());
35838
+ const cursorContext = new abstract_cursor_1.CursorTimeoutContext(context, /* @__PURE__ */ Symbol());
35839
35839
  const options2 = {
35840
35840
  ...this.options,
35841
35841
  timeoutContext: cursorContext,
@@ -37073,7 +37073,7 @@ var require_mongo_client = __commonJS({
37073
37073
  async withSession(optionsOrExecutor, executor) {
37074
37074
  const options2 = {
37075
37075
  // Always define an owner
37076
- owner: Symbol(),
37076
+ owner: /* @__PURE__ */ Symbol(),
37077
37077
  // If it's an object inherit the options
37078
37078
  ...typeof optionsOrExecutor === "object" ? optionsOrExecutor : {}
37079
37079
  };
@@ -37189,9 +37189,9 @@ var require_change_stream = __commonJS({
37189
37189
  var timeout_1 = require_timeout();
37190
37190
  var utils_1 = require_utils();
37191
37191
  var CHANGE_DOMAIN_TYPES = {
37192
- COLLECTION: Symbol("Collection"),
37193
- DATABASE: Symbol("Database"),
37194
- CLUSTER: Symbol("Cluster")
37192
+ COLLECTION: /* @__PURE__ */ Symbol("Collection"),
37193
+ DATABASE: /* @__PURE__ */ Symbol("Database"),
37194
+ CLUSTER: /* @__PURE__ */ Symbol("Cluster")
37195
37195
  };
37196
37196
  var CHANGE_STREAM_EVENTS = [constants_1.RESUME_TOKEN_CHANGED, constants_1.END, constants_1.CLOSE];
37197
37197
  var NO_RESUME_TOKEN_ERROR = "A change stream document has been received that lacks a resume token (_id).";
@@ -37256,7 +37256,7 @@ var require_change_stream = __commonJS({
37256
37256
  } else {
37257
37257
  throw new error_1.MongoChangeStreamError("Parent provided to ChangeStream constructor must be an instance of Collection, Db, or MongoClient");
37258
37258
  }
37259
- this.contextOwner = Symbol();
37259
+ this.contextOwner = /* @__PURE__ */ Symbol();
37260
37260
  this.parent = parent;
37261
37261
  this.namespace = parent.s.namespace;
37262
37262
  if (!this.options.readPreference && parent.readPreference) {