@colyseus/core 0.14.21 → 0.15.0-preview.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.
- package/build/Debug.d.ts +4 -3
- package/build/Debug.js +7 -4
- package/build/Debug.js.map +1 -1
- package/build/Debug.mjs +7 -5
- package/build/Debug.mjs.map +1 -1
- package/build/Logger.d.ts +9 -0
- package/build/Logger.js +12 -0
- package/build/Logger.js.map +1 -0
- package/build/Logger.mjs +8 -0
- package/build/Logger.mjs.map +1 -0
- package/build/MatchMaker.d.ts +10 -2
- package/build/MatchMaker.js +36 -21
- package/build/MatchMaker.js.map +1 -1
- package/build/MatchMaker.mjs +36 -22
- package/build/MatchMaker.mjs.map +1 -1
- package/build/Protocol.d.ts +1 -1
- package/build/Protocol.js +7 -3
- package/build/Protocol.js.map +1 -1
- package/build/Protocol.mjs +7 -3
- package/build/Protocol.mjs.map +1 -1
- package/build/Room.d.ts +15 -9
- package/build/Room.js +81 -22
- package/build/Room.js.map +1 -1
- package/build/Room.mjs +84 -25
- package/build/Room.mjs.map +1 -1
- package/build/Server.d.ts +4 -4
- package/build/Server.js +19 -17
- package/build/Server.js.map +1 -1
- package/build/Server.mjs +20 -18
- package/build/Server.mjs.map +1 -1
- package/build/Transport.d.ts +3 -1
- package/build/Transport.js.map +1 -1
- package/build/Transport.mjs.map +1 -1
- package/build/Utils.d.ts +35 -1
- package/build/Utils.js +138 -13
- package/build/Utils.js.map +1 -1
- package/build/Utils.mjs +137 -14
- package/build/Utils.mjs.map +1 -1
- package/build/_virtual/AggregationCursor.js_commonjs-proxy +3 -0
- package/build/_virtual/AggregationCursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/BufferList.js_commonjs-proxy +3 -0
- package/build/_virtual/BufferList.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ChangeStream.js_commonjs-proxy +3 -0
- package/build/_virtual/ChangeStream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/PopulateOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/PopulateOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/QueryCursor.js_commonjs-proxy +3 -0
- package/build/_virtual/QueryCursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ReadPreference.js_commonjs-proxy +3 -0
- package/build/_virtual/ReadPreference.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaArrayOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaBufferOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaDateOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaDocumentArrayOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaMapOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaNumberOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaObjectIdOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaSingleNestedOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaStringOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/SchemaTypeOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy +3 -0
- package/build/_virtual/SingleNestedPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy +3 -0
- package/build/_virtual/SkipPopulateValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/VirtualOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/VirtualOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_commonjsHelpers.js +28 -0
- package/build/_virtual/_commonjsHelpers.js.map +1 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_duplex.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_passthrough.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_readable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_transform.js_commonjs-proxy.map +1 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy +3 -0
- package/build/_virtual/_stream_writable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/addAutoId.js_commonjs-proxy +3 -0
- package/build/_virtual/addAutoId.js_commonjs-proxy.map +1 -0
- package/build/_virtual/add_user.js_commonjs-proxy +3 -0
- package/build/_virtual/add_user.js_commonjs-proxy.map +1 -0
- package/build/_virtual/admin.js_commonjs-proxy +3 -0
- package/build/_virtual/admin.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregate.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregate2.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregate2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/aggregation_cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/allServersUnknown.js_commonjs-proxy +3 -0
- package/build/_virtual/allServersUnknown.js_commonjs-proxy.map +1 -0
- package/build/_virtual/any.js_commonjs-proxy +3 -0
- package/build/_virtual/any.js_commonjs-proxy.map +1 -0
- package/build/_virtual/apm.js_commonjs-proxy +3 -0
- package/build/_virtual/apm.js_commonjs-proxy.map +1 -0
- package/build/_virtual/apm2.js_commonjs-proxy +3 -0
- package/build/_virtual/apm2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy +3 -0
- package/build/_virtual/applyGlobalMaxTimeMS.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyHooks.js_commonjs-proxy +3 -0
- package/build/_virtual/applyHooks.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyMethods.js_commonjs-proxy +3 -0
- package/build/_virtual/applyMethods.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyPlugins.js_commonjs-proxy +3 -0
- package/build/_virtual/applyPlugins.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy +3 -0
- package/build/_virtual/applyQueryMiddleware.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy +3 -0
- package/build/_virtual/applyStaticHooks.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyStatics.js_commonjs-proxy +3 -0
- package/build/_virtual/applyStatics.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy +3 -0
- package/build/_virtual/applyTimestampsToChildren.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy +3 -0
- package/build/_virtual/applyTimestampsToUpdate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy +3 -0
- package/build/_virtual/applyWriteConcern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy +3 -0
- package/build/_virtual/areDiscriminatorValuesEqual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/array.js_commonjs-proxy +3 -0
- package/build/_virtual/array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/array2.js_commonjs-proxy +3 -0
- package/build/_virtual/array2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/arrayDepth.js_commonjs-proxy +3 -0
- package/build/_virtual/arrayDepth.js_commonjs-proxy.map +1 -0
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy +3 -0
- package/build/_virtual/assignRawDocsToIdStructure.js_commonjs-proxy.map +1 -0
- package/build/_virtual/assignVals.js_commonjs-proxy +3 -0
- package/build/_virtual/assignVals.js_commonjs-proxy.map +1 -0
- package/build/_virtual/async.js_commonjs-proxy +3 -0
- package/build/_virtual/async.js_commonjs-proxy.map +1 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy +3 -0
- package/build/_virtual/async_iterator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/auth_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/auth_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/aws4.js_commonjs-proxy +3 -0
- package/build/_virtual/aws4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/binary.js_commonjs-proxy +3 -0
- package/build/_virtual/binary.js_commonjs-proxy.map +1 -0
- package/build/_virtual/binary2.js_commonjs-proxy +3 -0
- package/build/_virtual/binary2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bind.js_commonjs-proxy +3 -0
- package/build/_virtual/bind.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bitwise.js_commonjs-proxy +3 -0
- package/build/_virtual/bitwise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bl.js_commonjs-proxy +3 -0
- package/build/_virtual/bl.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bluebird.js_commonjs-proxy +3 -0
- package/build/_virtual/bluebird.js_commonjs-proxy.map +1 -0
- package/build/_virtual/boolean.js_commonjs-proxy +3 -0
- package/build/_virtual/boolean.js_commonjs-proxy.map +1 -0
- package/build/_virtual/boolean2.js_commonjs-proxy +3 -0
- package/build/_virtual/boolean2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/browserDocument.js_commonjs-proxy +3 -0
- package/build/_virtual/browserDocument.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bson.js_commonjs-proxy +3 -0
- package/build/_virtual/bson.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer-util.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer-util.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/buffer2.js_commonjs-proxy +3 -0
- package/build/_virtual/buffer2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/bulk_write.js_commonjs-proxy +3 -0
- package/build/_virtual/bulk_write.js_commonjs-proxy.map +1 -0
- package/build/_virtual/calculate_size.js_commonjs-proxy +3 -0
- package/build/_virtual/calculate_size.js_commonjs-proxy.map +1 -0
- package/build/_virtual/call_get.js_commonjs-proxy +3 -0
- package/build/_virtual/call_get.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cancel.js_commonjs-proxy +3 -0
- package/build/_virtual/cancel.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cast.js_commonjs-proxy +3 -0
- package/build/_virtual/cast.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cast2.js_commonjs-proxy +3 -0
- package/build/_virtual/cast2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castArrayFilters.js_commonjs-proxy +3 -0
- package/build/_virtual/castArrayFilters.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castBulkWrite.js_commonjs-proxy +3 -0
- package/build/_virtual/castBulkWrite.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castFilterPath.js_commonjs-proxy +3 -0
- package/build/_virtual/castFilterPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/castUpdate.js_commonjs-proxy +3 -0
- package/build/_virtual/castUpdate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/catch_filter.js_commonjs-proxy +3 -0
- package/build/_virtual/catch_filter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/change_stream.js_commonjs-proxy +3 -0
- package/build/_virtual/change_stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/checkEmbeddedDiscriminatorKeyProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/chunk.js_commonjs-proxy +3 -0
- package/build/_virtual/chunk.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy +3 -0
- package/build/_virtual/cleanModifiedSubpaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy +3 -0
- package/build/_virtual/cleanPositionalOperators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/clone.js_commonjs-proxy +3 -0
- package/build/_virtual/clone.js_commonjs-proxy.map +1 -0
- package/build/_virtual/code.js_commonjs-proxy +3 -0
- package/build/_virtual/code.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection.js_commonjs-proxy +3 -0
- package/build/_virtual/collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection2.js_commonjs-proxy +3 -0
- package/build/_virtual/collection2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection3.js_commonjs-proxy +3 -0
- package/build/_virtual/collection3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection4.js_commonjs-proxy +3 -0
- package/build/_virtual/collection4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collection_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/collection_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/collections.js_commonjs-proxy +3 -0
- package/build/_virtual/collections.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command.js_commonjs-proxy +3 -0
- package/build/_virtual/command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command2.js_commonjs-proxy +3 -0
- package/build/_virtual/command2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command3.js_commonjs-proxy +3 -0
- package/build/_virtual/command3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/command_cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_result.js_commonjs-proxy +3 -0
- package/build/_virtual/command_result.js_commonjs-proxy.map +1 -0
- package/build/_virtual/command_v2.js_commonjs-proxy +3 -0
- package/build/_virtual/command_v2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/commands.js_commonjs-proxy +3 -0
- package/build/_virtual/commands.js_commonjs-proxy.map +1 -0
- package/build/_virtual/commands2.js_commonjs-proxy +3 -0
- package/build/_virtual/commands2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common.js_commonjs-proxy +3 -0
- package/build/_virtual/common.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common2.js_commonjs-proxy +3 -0
- package/build/_virtual/common2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common3.js_commonjs-proxy +3 -0
- package/build/_virtual/common3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/common_functions.js_commonjs-proxy +3 -0
- package/build/_virtual/common_functions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/compile.js_commonjs-proxy +3 -0
- package/build/_virtual/compile.js_commonjs-proxy.map +1 -0
- package/build/_virtual/completeMany.js_commonjs-proxy +3 -0
- package/build/_virtual/completeMany.js_commonjs-proxy.map +1 -0
- package/build/_virtual/compression.js_commonjs-proxy +3 -0
- package/build/_virtual/compression.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connect.js_commonjs-proxy +3 -0
- package/build/_virtual/connect.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connect2.js_commonjs-proxy +3 -0
- package/build/_virtual/connect2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection.js_commonjs-proxy +3 -0
- package/build/_virtual/connection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection2.js_commonjs-proxy +3 -0
- package/build/_virtual/connection2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection3.js_commonjs-proxy +3 -0
- package/build/_virtual/connection3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection4.js_commonjs-proxy +3 -0
- package/build/_virtual/connection4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connection_pool.js_commonjs-proxy +3 -0
- package/build/_virtual/connection_pool.js_commonjs-proxy.map +1 -0
- package/build/_virtual/connectionstate.js_commonjs-proxy +3 -0
- package/build/_virtual/connectionstate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants.js_commonjs-proxy +3 -0
- package/build/_virtual/constants.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants2.js_commonjs-proxy +3 -0
- package/build/_virtual/constants2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/constants3.js_commonjs-proxy +3 -0
- package/build/_virtual/constants3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/context.js_commonjs-proxy +3 -0
- package/build/_virtual/context.js_commonjs-proxy.map +1 -0
- package/build/_virtual/core_array.js_commonjs-proxy +3 -0
- package/build/_virtual/core_array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/count.js_commonjs-proxy +3 -0
- package/build/_virtual/count.js_commonjs-proxy.map +1 -0
- package/build/_virtual/count_documents.js_commonjs-proxy +3 -0
- package/build/_virtual/count_documents.js_commonjs-proxy.map +1 -0
- package/build/_virtual/createClient.js_commonjs-proxy +3 -0
- package/build/_virtual/createClient.js_commonjs-proxy.map +1 -0
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy +3 -0
- package/build/_virtual/createPopulateQueryFilter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/create_collection.js_commonjs-proxy +3 -0
- package/build/_virtual/create_collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/create_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/create_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor2.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/cursor_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/cursor_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/customErrors.js_commonjs-proxy +3 -0
- package/build/_virtual/customErrors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/date.js_commonjs-proxy +3 -0
- package/build/_virtual/date.js_commonjs-proxy.map +1 -0
- package/build/_virtual/date2.js_commonjs-proxy +3 -0
- package/build/_virtual/date2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db.js_commonjs-proxy +3 -0
- package/build/_virtual/db.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db_ops.js_commonjs-proxy +3 -0
- package/build/_virtual/db_ops.js_commonjs-proxy.map +1 -0
- package/build/_virtual/db_ref.js_commonjs-proxy +3 -0
- package/build/_virtual/db_ref.js_commonjs-proxy.map +1 -0
- package/build/_virtual/debug.js_commonjs-proxy +3 -0
- package/build/_virtual/debug.js_commonjs-proxy.map +1 -0
- package/build/_virtual/debuggability.js_commonjs-proxy +3 -0
- package/build/_virtual/debuggability.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal128.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal128.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1282.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1282.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1283.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1283.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1284.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1284.js_commonjs-proxy.map +1 -0
- package/build/_virtual/decimal1285.js_commonjs-proxy +3 -0
- package/build/_virtual/decimal1285.js_commonjs-proxy.map +1 -0
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy +3 -0
- package/build/_virtual/defaultAuthProviders.js_commonjs-proxy.map +1 -0
- package/build/_virtual/delete_many.js_commonjs-proxy +3 -0
- package/build/_virtual/delete_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/delete_one.js_commonjs-proxy +3 -0
- package/build/_virtual/delete_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/deque.js_commonjs-proxy +3 -0
- package/build/_virtual/deque.js_commonjs-proxy.map +1 -0
- package/build/_virtual/deserializer.js_commonjs-proxy +3 -0
- package/build/_virtual/deserializer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/destroy.js_commonjs-proxy +3 -0
- package/build/_virtual/destroy.js_commonjs-proxy.map +1 -0
- package/build/_virtual/direct_resolve.js_commonjs-proxy +3 -0
- package/build/_virtual/direct_resolve.js_commonjs-proxy.map +1 -0
- package/build/_virtual/discriminator.js_commonjs-proxy +3 -0
- package/build/_virtual/discriminator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/distinct.js_commonjs-proxy +3 -0
- package/build/_virtual/distinct.js_commonjs-proxy.map +1 -0
- package/build/_virtual/divergentArray.js_commonjs-proxy +3 -0
- package/build/_virtual/divergentArray.js_commonjs-proxy.map +1 -0
- package/build/_virtual/document.js_commonjs-proxy +3 -0
- package/build/_virtual/document.js_commonjs-proxy.map +1 -0
- package/build/_virtual/document_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/document_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/documentarray.js_commonjs-proxy +3 -0
- package/build/_virtual/documentarray.js_commonjs-proxy.map +1 -0
- package/build/_virtual/documentarray2.js_commonjs-proxy +3 -0
- package/build/_virtual/documentarray2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/double.js_commonjs-proxy +3 -0
- package/build/_virtual/double.js_commonjs-proxy.map +1 -0
- package/build/_virtual/download.js_commonjs-proxy +3 -0
- package/build/_virtual/download.js_commonjs-proxy.map +1 -0
- package/build/_virtual/driver.js_commonjs-proxy +3 -0
- package/build/_virtual/driver.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop.js_commonjs-proxy +3 -0
- package/build/_virtual/drop.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop_index.js_commonjs-proxy +3 -0
- package/build/_virtual/drop_index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/drop_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/drop_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy +3 -0
- package/build/_virtual/dynamic_loaders.js_commonjs-proxy.map +1 -0
- package/build/_virtual/each.js_commonjs-proxy +3 -0
- package/build/_virtual/each.js_commonjs-proxy.map +1 -0
- package/build/_virtual/each2.js_commonjs-proxy +3 -0
- package/build/_virtual/each2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/eachAsync.js_commonjs-proxy +3 -0
- package/build/_virtual/eachAsync.js_commonjs-proxy.map +1 -0
- package/build/_virtual/embedded.js_commonjs-proxy +3 -0
- package/build/_virtual/embedded.js_commonjs-proxy.map +1 -0
- package/build/_virtual/encrypter.js_commonjs-proxy +3 -0
- package/build/_virtual/encrypter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/env.js_commonjs-proxy +3 -0
- package/build/_virtual/env.js_commonjs-proxy.map +1 -0
- package/build/_virtual/error.js_commonjs-proxy +3 -0
- package/build/_virtual/error.js_commonjs-proxy.map +1 -0
- package/build/_virtual/error2.js_commonjs-proxy +3 -0
- package/build/_virtual/error2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/errors.js_commonjs-proxy +3 -0
- package/build/_virtual/errors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/errors2.js_commonjs-proxy +3 -0
- package/build/_virtual/errors2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/es5.js_commonjs-proxy +3 -0
- package/build/_virtual/es5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/estimated_document_count.js_commonjs-proxy +3 -0
- package/build/_virtual/estimated_document_count.js_commonjs-proxy.map +1 -0
- package/build/_virtual/event-target.js_commonjs-proxy +3 -0
- package/build/_virtual/event-target.js_commonjs-proxy.map +1 -0
- package/build/_virtual/events.js_commonjs-proxy +3 -0
- package/build/_virtual/events.js_commonjs-proxy.map +1 -0
- package/build/_virtual/events2.js_commonjs-proxy +3 -0
- package/build/_virtual/events2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy +3 -0
- package/build/_virtual/execute_db_admin_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/execute_operation.js_commonjs-proxy +3 -0
- package/build/_virtual/execute_operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/exists.js_commonjs-proxy +3 -0
- package/build/_virtual/exists.js_commonjs-proxy.map +1 -0
- package/build/_virtual/explain.js_commonjs-proxy +3 -0
- package/build/_virtual/explain.js_commonjs-proxy.map +1 -0
- package/build/_virtual/extension.js_commonjs-proxy +3 -0
- package/build/_virtual/extension.js_commonjs-proxy.map +1 -0
- package/build/_virtual/filter.js_commonjs-proxy +3 -0
- package/build/_virtual/filter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/finally.js_commonjs-proxy +3 -0
- package/build/_virtual/finally.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find.js_commonjs-proxy +3 -0
- package/build/_virtual/find.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_and_modify.js_commonjs-proxy +3 -0
- package/build/_virtual/find_and_modify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_delete.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_replace.js_commonjs-proxy.map +1 -0
- package/build/_virtual/find_one_and_update.js_commonjs-proxy +3 -0
- package/build/_virtual/find_one_and_update.js_commonjs-proxy.map +1 -0
- package/build/_virtual/float_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/float_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/generators.js_commonjs-proxy +3 -0
- package/build/_virtual/generators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy +3 -0
- package/build/_virtual/geo_haystack_search.js_commonjs-proxy.map +1 -0
- package/build/_virtual/geospatial.js_commonjs-proxy +3 -0
- package/build/_virtual/geospatial.js_commonjs-proxy.map +1 -0
- package/build/_virtual/get.js_commonjs-proxy +3 -0
- package/build/_virtual/get.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getConstructor.js_commonjs-proxy +3 -0
- package/build/_virtual/getConstructor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy +3 -0
- package/build/_virtual/getDefaultBulkwriteResult.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy +3 -0
- package/build/_virtual/getDiscriminatorByValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy +3 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy +3 -0
- package/build/_virtual/getEmbeddedDiscriminatorPath2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getFunctionName.js_commonjs-proxy +3 -0
- package/build/_virtual/getFunctionName.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getIndexes.js_commonjs-proxy +3 -0
- package/build/_virtual/getIndexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy +3 -0
- package/build/_virtual/getModelsMapForPopulate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getPath.js_commonjs-proxy +3 -0
- package/build/_virtual/getPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy +3 -0
- package/build/_virtual/getSchemaDiscriminatorByValue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy +3 -0
- package/build/_virtual/getSchemaTypes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/getVirtual.js_commonjs-proxy +3 -0
- package/build/_virtual/getVirtual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/get_more.js_commonjs-proxy +3 -0
- package/build/_virtual/get_more.js_commonjs-proxy.map +1 -0
- package/build/_virtual/grid_store.js_commonjs-proxy +3 -0
- package/build/_virtual/grid_store.js_commonjs-proxy.map +1 -0
- package/build/_virtual/gssapi.js_commonjs-proxy +3 -0
- package/build/_virtual/gssapi.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleIdOption.js_commonjs-proxy +3 -0
- package/build/_virtual/handleIdOption.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleImmutable.js_commonjs-proxy +3 -0
- package/build/_virtual/handleImmutable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleImmutable2.js_commonjs-proxy +3 -0
- package/build/_virtual/handleImmutable2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy +3 -0
- package/build/_virtual/handleSpreadDoc.js_commonjs-proxy.map +1 -0
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy +3 -0
- package/build/_virtual/handleTimestampOption.js_commonjs-proxy.map +1 -0
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy +3 -0
- package/build/_virtual/hasDollarKeys.js_commonjs-proxy.map +1 -0
- package/build/_virtual/helpers.js_commonjs-proxy +3 -0
- package/build/_virtual/helpers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/hiredis.js_commonjs-proxy +3 -0
- package/build/_virtual/hiredis.js_commonjs-proxy.map +1 -0
- package/build/_virtual/idGetter.js_commonjs-proxy +3 -0
- package/build/_virtual/idGetter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/immediate.js_commonjs-proxy +3 -0
- package/build/_virtual/immediate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index.js_commonjs-proxy +3 -0
- package/build/_virtual/index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index10.js_commonjs-proxy +3 -0
- package/build/_virtual/index10.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index11.js_commonjs-proxy +3 -0
- package/build/_virtual/index11.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index12.js_commonjs-proxy +3 -0
- package/build/_virtual/index12.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index13.js_commonjs-proxy +3 -0
- package/build/_virtual/index13.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index14.js_commonjs-proxy +3 -0
- package/build/_virtual/index14.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index15.js_commonjs-proxy +3 -0
- package/build/_virtual/index15.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index16.js_commonjs-proxy +3 -0
- package/build/_virtual/index16.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index17.js_commonjs-proxy +3 -0
- package/build/_virtual/index17.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index18.js_commonjs-proxy +3 -0
- package/build/_virtual/index18.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index19.js_commonjs-proxy +3 -0
- package/build/_virtual/index19.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index2.js_commonjs-proxy +3 -0
- package/build/_virtual/index2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index20.js_commonjs-proxy +3 -0
- package/build/_virtual/index20.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index21.js_commonjs-proxy +7 -0
- package/build/_virtual/index21.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index22.js_commonjs-proxy +3 -0
- package/build/_virtual/index22.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index23.js_commonjs-proxy +3 -0
- package/build/_virtual/index23.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index24.js_commonjs-proxy +3 -0
- package/build/_virtual/index24.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index25.js_commonjs-proxy +3 -0
- package/build/_virtual/index25.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index26.js_commonjs-proxy +3 -0
- package/build/_virtual/index26.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index27.js_commonjs-proxy +3 -0
- package/build/_virtual/index27.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index28.js_commonjs-proxy +3 -0
- package/build/_virtual/index28.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index29.js_commonjs-proxy +3 -0
- package/build/_virtual/index29.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index3.js_commonjs-proxy +3 -0
- package/build/_virtual/index3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index30.js_commonjs-proxy +3 -0
- package/build/_virtual/index30.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index31.js_commonjs-proxy +3 -0
- package/build/_virtual/index31.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index4.js_commonjs-proxy +3 -0
- package/build/_virtual/index4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index5.js_commonjs-proxy +3 -0
- package/build/_virtual/index5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index6.js_commonjs-proxy +3 -0
- package/build/_virtual/index6.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index7.js_commonjs-proxy +3 -0
- package/build/_virtual/index7.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index8.js_commonjs-proxy +3 -0
- package/build/_virtual/index8.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index9.js_commonjs-proxy +3 -0
- package/build/_virtual/index9.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index_exists.js_commonjs-proxy +3 -0
- package/build/_virtual/index_exists.js_commonjs-proxy.map +1 -0
- package/build/_virtual/index_information.js_commonjs-proxy +3 -0
- package/build/_virtual/index_information.js_commonjs-proxy.map +1 -0
- package/build/_virtual/indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/inherits.js_commonjs-proxy +3 -0
- package/build/_virtual/inherits.js_commonjs-proxy.map +1 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy +3 -0
- package/build/_virtual/inherits_browser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/insert_many.js_commonjs-proxy +3 -0
- package/build/_virtual/insert_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/insert_one.js_commonjs-proxy +3 -0
- package/build/_virtual/insert_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/int_32.js_commonjs-proxy +3 -0
- package/build/_virtual/int_32.js_commonjs-proxy.map +1 -0
- package/build/_virtual/internal.js_commonjs-proxy +3 -0
- package/build/_virtual/internal.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isAtlas.js_commonjs-proxy +3 -0
- package/build/_virtual/isAtlas.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isBsonType.js_commonjs-proxy +3 -0
- package/build/_virtual/isBsonType.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy +3 -0
- package/build/_virtual/isDefaultIdIndex.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/isDefiningProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isExclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isExclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isInclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isInclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isIndexEqual.js_commonjs-proxy +3 -0
- package/build/_virtual/isIndexEqual.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isMongooseObject.js_commonjs-proxy +3 -0
- package/build/_virtual/isMongooseObject.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isObject.js_commonjs-proxy +3 -0
- package/build/_virtual/isObject.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isOperator.js_commonjs-proxy +3 -0
- package/build/_virtual/isOperator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPathExcluded.js_commonjs-proxy +3 -0
- package/build/_virtual/isPathExcluded.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy +3 -0
- package/build/_virtual/isPathSelectedInclusive.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isPromise.js_commonjs-proxy +3 -0
- package/build/_virtual/isPromise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/isSSLError.js_commonjs-proxy +3 -0
- package/build/_virtual/isSSLError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/is_capped.js_commonjs-proxy +3 -0
- package/build/_virtual/is_capped.js_commonjs-proxy.map +1 -0
- package/build/_virtual/join.js_commonjs-proxy +3 -0
- package/build/_virtual/join.js_commonjs-proxy.map +1 -0
- package/build/_virtual/kill_cursors.js_commonjs-proxy +3 -0
- package/build/_virtual/kill_cursors.js_commonjs-proxy.map +1 -0
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy +3 -0
- package/build/_virtual/leanPopulateMap.js_commonjs-proxy.map +1 -0
- package/build/_virtual/limiter.js_commonjs-proxy +3 -0
- package/build/_virtual/limiter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_collections.js_commonjs-proxy +3 -0
- package/build/_virtual/list_collections.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_databases.js_commonjs-proxy +3 -0
- package/build/_virtual/list_databases.js_commonjs-proxy.map +1 -0
- package/build/_virtual/list_indexes.js_commonjs-proxy +3 -0
- package/build/_virtual/list_indexes.js_commonjs-proxy.map +1 -0
- package/build/_virtual/logger.js_commonjs-proxy +3 -0
- package/build/_virtual/logger.js_commonjs-proxy.map +1 -0
- package/build/_virtual/long.js_commonjs-proxy +3 -0
- package/build/_virtual/long.js_commonjs-proxy.map +1 -0
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy +3 -0
- package/build/_virtual/lookupLocalFields.js_commonjs-proxy.map +1 -0
- package/build/_virtual/lru.js_commonjs-proxy +3 -0
- package/build/_virtual/lru.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map.js_commonjs-proxy +3 -0
- package/build/_virtual/map.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map2.js_commonjs-proxy +3 -0
- package/build/_virtual/map2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map3.js_commonjs-proxy +3 -0
- package/build/_virtual/map3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map4.js_commonjs-proxy +3 -0
- package/build/_virtual/map4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/map_reduce.js_commonjs-proxy +3 -0
- package/build/_virtual/map_reduce.js_commonjs-proxy.map +1 -0
- package/build/_virtual/max_key.js_commonjs-proxy +3 -0
- package/build/_virtual/max_key.js_commonjs-proxy.map +1 -0
- package/build/_virtual/memory-code-points.js_commonjs-proxy +3 -0
- package/build/_virtual/memory-code-points.js_commonjs-proxy.map +1 -0
- package/build/_virtual/merge.js_commonjs-proxy +3 -0
- package/build/_virtual/merge.js_commonjs-proxy.map +1 -0
- package/build/_virtual/message_stream.js_commonjs-proxy +3 -0
- package/build/_virtual/message_stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/messages.js_commonjs-proxy +3 -0
- package/build/_virtual/messages.js_commonjs-proxy.map +1 -0
- package/build/_virtual/method.js_commonjs-proxy +3 -0
- package/build/_virtual/method.js_commonjs-proxy.map +1 -0
- package/build/_virtual/min_key.js_commonjs-proxy +3 -0
- package/build/_virtual/min_key.js_commonjs-proxy.map +1 -0
- package/build/_virtual/missingSchema.js_commonjs-proxy +3 -0
- package/build/_virtual/missingSchema.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mixed.js_commonjs-proxy +3 -0
- package/build/_virtual/mixed.js_commonjs-proxy.map +1 -0
- package/build/_virtual/model.js_commonjs-proxy +3 -0
- package/build/_virtual/model.js_commonjs-proxy.map +1 -0
- package/build/_virtual/modifiedPaths.js_commonjs-proxy +3 -0
- package/build/_virtual/modifiedPaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongo_client.js_commonjs-proxy +3 -0
- package/build/_virtual/mongo_client.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongo_credentials.js_commonjs-proxy +3 -0
- package/build/_virtual/mongo_credentials.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongocr.js_commonjs-proxy +3 -0
- package/build/_virtual/mongocr.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongodb_aws.js_commonjs-proxy +3 -0
- package/build/_virtual/mongodb_aws.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongooseError.js_commonjs-proxy +3 -0
- package/build/_virtual/mongooseError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongos.js_commonjs-proxy +3 -0
- package/build/_virtual/mongos.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mongos2.js_commonjs-proxy +3 -0
- package/build/_virtual/mongos2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/monitor.js_commonjs-proxy +3 -0
- package/build/_virtual/monitor.js_commonjs-proxy.map +1 -0
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy +3 -0
- package/build/_virtual/moveImmutableProperties.js_commonjs-proxy.map +1 -0
- package/build/_virtual/mquery.js_commonjs-proxy +3 -0
- package/build/_virtual/mquery.js_commonjs-proxy.map +1 -0
- package/build/_virtual/msg.js_commonjs-proxy +3 -0
- package/build/_virtual/msg.js_commonjs-proxy.map +1 -0
- package/build/_virtual/multi.js_commonjs-proxy +3 -0
- package/build/_virtual/multi.js_commonjs-proxy.map +1 -0
- package/build/_virtual/native_topology.js_commonjs-proxy +3 -0
- package/build/_virtual/native_topology.js_commonjs-proxy.map +1 -0
- package/build/_virtual/node.js_commonjs-proxy +3 -0
- package/build/_virtual/node.js_commonjs-proxy.map +1 -0
- package/build/_virtual/node2.js_commonjs-proxy +3 -0
- package/build/_virtual/node2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/nodeback.js_commonjs-proxy +3 -0
- package/build/_virtual/nodeback.js_commonjs-proxy.map +1 -0
- package/build/_virtual/nodeify.js_commonjs-proxy +3 -0
- package/build/_virtual/nodeify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy +3 -0
- package/build/_virtual/normalizeRefPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/notFound.js_commonjs-proxy +3 -0
- package/build/_virtual/notFound.js_commonjs-proxy.map +1 -0
- package/build/_virtual/number.js_commonjs-proxy +3 -0
- package/build/_virtual/number.js_commonjs-proxy.map +1 -0
- package/build/_virtual/number2.js_commonjs-proxy +3 -0
- package/build/_virtual/number2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectExpected.js_commonjs-proxy +3 -0
- package/build/_virtual/objectExpected.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectParameter.js_commonjs-proxy +3 -0
- package/build/_virtual/objectParameter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid2.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid3.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid4.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/objectid5.js_commonjs-proxy +3 -0
- package/build/_virtual/objectid5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/operation.js_commonjs-proxy +3 -0
- package/build/_virtual/operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/options.js_commonjs-proxy +3 -0
- package/build/_virtual/options.js_commonjs-proxy.map +1 -0
- package/build/_virtual/options_operation.js_commonjs-proxy +3 -0
- package/build/_virtual/options_operation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/ordered.js_commonjs-proxy +3 -0
- package/build/_virtual/ordered.js_commonjs-proxy.map +1 -0
- package/build/_virtual/overwriteModel.js_commonjs-proxy +3 -0
- package/build/_virtual/overwriteModel.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelLimit.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelLimit.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelSave.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelSave.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parallelValidate.js_commonjs-proxy +3 -0
- package/build/_virtual/parallelValidate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parentPaths.js_commonjs-proxy +3 -0
- package/build/_virtual/parentPaths.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parseProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/parseProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parser.js_commonjs-proxy +3 -0
- package/build/_virtual/parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/parserError.js_commonjs-proxy +3 -0
- package/build/_virtual/parserError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/permessage-deflate.js_commonjs-proxy +3 -0
- package/build/_virtual/permessage-deflate.js_commonjs-proxy.map +1 -0
- package/build/_virtual/permissions.js_commonjs-proxy +3 -0
- package/build/_virtual/permissions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/plain.js_commonjs-proxy +3 -0
- package/build/_virtual/plain.js_commonjs-proxy.map +1 -0
- package/build/_virtual/pool.js_commonjs-proxy +3 -0
- package/build/_virtual/pool.js_commonjs-proxy.map +1 -0
- package/build/_virtual/profiling_level.js_commonjs-proxy +3 -0
- package/build/_virtual/profiling_level.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise.js_commonjs-proxy +3 -0
- package/build/_virtual/promise.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy +3 -0
- package/build/_virtual/promiseOrCallback.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise_array.js_commonjs-proxy +3 -0
- package/build/_virtual/promise_array.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promise_provider.js_commonjs-proxy +3 -0
- package/build/_virtual/promise_provider.js_commonjs-proxy.map +1 -0
- package/build/_virtual/promisify.js_commonjs-proxy +3 -0
- package/build/_virtual/promisify.js_commonjs-proxy.map +1 -0
- package/build/_virtual/propertyOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/propertyOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/props.js_commonjs-proxy +3 -0
- package/build/_virtual/props.js_commonjs-proxy.map +1 -0
- package/build/_virtual/query.js_commonjs-proxy +3 -0
- package/build/_virtual/query.js_commonjs-proxy.map +1 -0
- package/build/_virtual/query2.js_commonjs-proxy +3 -0
- package/build/_virtual/query2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/queryhelpers.js_commonjs-proxy +3 -0
- package/build/_virtual/queryhelpers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/queue.js_commonjs-proxy +3 -0
- package/build/_virtual/queue.js_commonjs-proxy.map +1 -0
- package/build/_virtual/race.js_commonjs-proxy +3 -0
- package/build/_virtual/race.js_commonjs-proxy.map +1 -0
- package/build/_virtual/re_index.js_commonjs-proxy +3 -0
- package/build/_virtual/re_index.js_commonjs-proxy.map +1 -0
- package/build/_virtual/read_concern.js_commonjs-proxy +3 -0
- package/build/_virtual/read_concern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/read_preference.js_commonjs-proxy +3 -0
- package/build/_virtual/read_preference.js_commonjs-proxy.map +1 -0
- package/build/_virtual/readable.js_commonjs-proxy +3 -0
- package/build/_virtual/readable.js_commonjs-proxy.map +1 -0
- package/build/_virtual/receiver.js_commonjs-proxy +3 -0
- package/build/_virtual/receiver.js_commonjs-proxy.map +1 -0
- package/build/_virtual/redisError.js_commonjs-proxy +3 -0
- package/build/_virtual/redisError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/reduce.js_commonjs-proxy +3 -0
- package/build/_virtual/reduce.js_commonjs-proxy.map +1 -0
- package/build/_virtual/regexp.js_commonjs-proxy +3 -0
- package/build/_virtual/regexp.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy +3 -0
- package/build/_virtual/removeDeselectedForeignField.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/removeOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeSubdocs.js_commonjs-proxy +3 -0
- package/build/_virtual/removeSubdocs.js_commonjs-proxy.map +1 -0
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy +3 -0
- package/build/_virtual/removeUnusedArrayFilters.js_commonjs-proxy.map +1 -0
- package/build/_virtual/remove_user.js_commonjs-proxy +3 -0
- package/build/_virtual/remove_user.js_commonjs-proxy.map +1 -0
- package/build/_virtual/rename.js_commonjs-proxy +3 -0
- package/build/_virtual/rename.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replace_one.js_commonjs-proxy +3 -0
- package/build/_virtual/replace_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset.js_commonjs-proxy +3 -0
- package/build/_virtual/replset.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset2.js_commonjs-proxy +3 -0
- package/build/_virtual/replset2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replset_state.js_commonjs-proxy +3 -0
- package/build/_virtual/replset_state.js_commonjs-proxy.map +1 -0
- package/build/_virtual/replyError.js_commonjs-proxy +3 -0
- package/build/_virtual/replyError.js_commonjs-proxy.map +1 -0
- package/build/_virtual/run_command.js_commonjs-proxy +3 -0
- package/build/_virtual/run_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy +3 -0
- package/build/_virtual/sanitizeProjection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/saveOptions.js_commonjs-proxy +3 -0
- package/build/_virtual/saveOptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/saveSubdocs.js_commonjs-proxy +3 -0
- package/build/_virtual/saveSubdocs.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schedule.js_commonjs-proxy +3 -0
- package/build/_virtual/schedule.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schema.js_commonjs-proxy +3 -0
- package/build/_virtual/schema.js_commonjs-proxy.map +1 -0
- package/build/_virtual/schematype.js_commonjs-proxy +3 -0
- package/build/_virtual/schematype.js_commonjs-proxy.map +1 -0
- package/build/_virtual/scram.js_commonjs-proxy +3 -0
- package/build/_virtual/scram.js_commonjs-proxy.map +1 -0
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy +3 -0
- package/build/_virtual/selectPopulatedFields.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sender.js_commonjs-proxy +3 -0
- package/build/_virtual/sender.js_commonjs-proxy.map +1 -0
- package/build/_virtual/serializer.js_commonjs-proxy +3 -0
- package/build/_virtual/serializer.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server.js_commonjs-proxy +3 -0
- package/build/_virtual/server.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server2.js_commonjs-proxy +3 -0
- package/build/_virtual/server2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server3.js_commonjs-proxy +3 -0
- package/build/_virtual/server3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/serverSelection.js_commonjs-proxy +3 -0
- package/build/_virtual/serverSelection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server_description.js_commonjs-proxy +3 -0
- package/build/_virtual/server_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/server_selection.js_commonjs-proxy +3 -0
- package/build/_virtual/server_selection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sessions.js_commonjs-proxy +3 -0
- package/build/_virtual/sessions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy +3 -0
- package/build/_virtual/setDefaultsOnInsert.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setDottedPath.js_commonjs-proxy +3 -0
- package/build/_virtual/setDottedPath.js_commonjs-proxy.map +1 -0
- package/build/_virtual/set_profiling_level.js_commonjs-proxy +3 -0
- package/build/_virtual/set_profiling_level.js_commonjs-proxy.map +1 -0
- package/build/_virtual/settle.js_commonjs-proxy +3 -0
- package/build/_virtual/settle.js_commonjs-proxy.map +1 -0
- package/build/_virtual/setupTimestamps.js_commonjs-proxy +3 -0
- package/build/_virtual/setupTimestamps.js_commonjs-proxy.map +1 -0
- package/build/_virtual/sharding.js_commonjs-proxy +3 -0
- package/build/_virtual/sharding.js_commonjs-proxy.map +1 -0
- package/build/_virtual/shared.js_commonjs-proxy +3 -0
- package/build/_virtual/shared.js_commonjs-proxy.map +1 -0
- package/build/_virtual/shared2.js_commonjs-proxy +3 -0
- package/build/_virtual/shared2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/some.js_commonjs-proxy +3 -0
- package/build/_virtual/some.js_commonjs-proxy.map +1 -0
- package/build/_virtual/specialProperties.js_commonjs-proxy +3 -0
- package/build/_virtual/specialProperties.js_commonjs-proxy.map +1 -0
- package/build/_virtual/srv_polling.js_commonjs-proxy +3 -0
- package/build/_virtual/srv_polling.js_commonjs-proxy.map +1 -0
- package/build/_virtual/statemachine.js_commonjs-proxy +3 -0
- package/build/_virtual/statemachine.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stats.js_commonjs-proxy +3 -0
- package/build/_virtual/stats.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream.js_commonjs-proxy +3 -0
- package/build/_virtual/stream.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream2.js_commonjs-proxy +3 -0
- package/build/_virtual/stream2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stream_description.js_commonjs-proxy +3 -0
- package/build/_virtual/stream_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/strict.js_commonjs-proxy +3 -0
- package/build/_virtual/strict.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string.js_commonjs-proxy +3 -0
- package/build/_virtual/string.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string2.js_commonjs-proxy +3 -0
- package/build/_virtual/string2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stringToParts.js_commonjs-proxy +3 -0
- package/build/_virtual/stringToParts.js_commonjs-proxy.map +1 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy +3 -0
- package/build/_virtual/string_decoder.js_commonjs-proxy.map +1 -0
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy +3 -0
- package/build/_virtual/stringifyFunctionOperators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/subdocument.js_commonjs-proxy +3 -0
- package/build/_virtual/subdocument.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbol.js_commonjs-proxy +3 -0
- package/build/_virtual/symbol.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbols.js_commonjs-proxy +3 -0
- package/build/_virtual/symbols.js_commonjs-proxy.map +1 -0
- package/build/_virtual/symbols2.js_commonjs-proxy +3 -0
- package/build/_virtual/symbols2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy +3 -0
- package/build/_virtual/synchronous_inspection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/text.js_commonjs-proxy +3 -0
- package/build/_virtual/text.js_commonjs-proxy.map +1 -0
- package/build/_virtual/thenables.js_commonjs-proxy +3 -0
- package/build/_virtual/thenables.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timers.js_commonjs-proxy +3 -0
- package/build/_virtual/timers.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timers2.js_commonjs-proxy +3 -0
- package/build/_virtual/timers2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/timestamp.js_commonjs-proxy +3 -0
- package/build/_virtual/timestamp.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology.js_commonjs-proxy +3 -0
- package/build/_virtual/topology.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology_base.js_commonjs-proxy +3 -0
- package/build/_virtual/topology_base.js_commonjs-proxy.map +1 -0
- package/build/_virtual/topology_description.js_commonjs-proxy +3 -0
- package/build/_virtual/topology_description.js_commonjs-proxy.map +1 -0
- package/build/_virtual/trackTransaction.js_commonjs-proxy +3 -0
- package/build/_virtual/trackTransaction.js_commonjs-proxy.map +1 -0
- package/build/_virtual/transactions.js_commonjs-proxy +3 -0
- package/build/_virtual/transactions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/type.js_commonjs-proxy +3 -0
- package/build/_virtual/type.js_commonjs-proxy.map +1 -0
- package/build/_virtual/unordered.js_commonjs-proxy +3 -0
- package/build/_virtual/unordered.js_commonjs-proxy.map +1 -0
- package/build/_virtual/updateValidators.js_commonjs-proxy +3 -0
- package/build/_virtual/updateValidators.js_commonjs-proxy.map +1 -0
- package/build/_virtual/update_many.js_commonjs-proxy +3 -0
- package/build/_virtual/update_many.js_commonjs-proxy.map +1 -0
- package/build/_virtual/update_one.js_commonjs-proxy +3 -0
- package/build/_virtual/update_one.js_commonjs-proxy.map +1 -0
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy +3 -0
- package/build/_virtual/updatedPathsByArrayFilter.js_commonjs-proxy.map +1 -0
- package/build/_virtual/upload.js_commonjs-proxy +3 -0
- package/build/_virtual/upload.js_commonjs-proxy.map +1 -0
- package/build/_virtual/uri_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/uri_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/url_parser.js_commonjs-proxy +3 -0
- package/build/_virtual/url_parser.js_commonjs-proxy.map +1 -0
- package/build/_virtual/using.js_commonjs-proxy +3 -0
- package/build/_virtual/using.js_commonjs-proxy.map +1 -0
- package/build/_virtual/util.js_commonjs-proxy +3 -0
- package/build/_virtual/util.js_commonjs-proxy.map +1 -0
- package/build/_virtual/util2.js_commonjs-proxy +3 -0
- package/build/_virtual/util2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils.js_commonjs-proxy +3 -0
- package/build/_virtual/utils.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils2.js_commonjs-proxy +3 -0
- package/build/_virtual/utils2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils3.js_commonjs-proxy +3 -0
- package/build/_virtual/utils3.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils4.js_commonjs-proxy +3 -0
- package/build/_virtual/utils4.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils5.js_commonjs-proxy +3 -0
- package/build/_virtual/utils5.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils6.js_commonjs-proxy +3 -0
- package/build/_virtual/utils6.js_commonjs-proxy.map +1 -0
- package/build/_virtual/utils7.js_commonjs-proxy +3 -0
- package/build/_virtual/utils7.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy +3 -0
- package/build/_virtual/validateBeforeSave.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validateRef.js_commonjs-proxy +3 -0
- package/build/_virtual/validateRef.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validate_collection.js_commonjs-proxy +3 -0
- package/build/_virtual/validate_collection.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validation.js_commonjs-proxy +3 -0
- package/build/_virtual/validation.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validation2.js_commonjs-proxy +3 -0
- package/build/_virtual/validation2.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validator.js_commonjs-proxy +3 -0
- package/build/_virtual/validator.js_commonjs-proxy.map +1 -0
- package/build/_virtual/validoptions.js_commonjs-proxy +3 -0
- package/build/_virtual/validoptions.js_commonjs-proxy.map +1 -0
- package/build/_virtual/version.js_commonjs-proxy +3 -0
- package/build/_virtual/version.js_commonjs-proxy.map +1 -0
- package/build/_virtual/virtualtype.js_commonjs-proxy +3 -0
- package/build/_virtual/virtualtype.js_commonjs-proxy.map +1 -0
- package/build/_virtual/websocket-server.js_commonjs-proxy +3 -0
- package/build/_virtual/websocket-server.js_commonjs-proxy.map +1 -0
- package/build/_virtual/websocket.js_commonjs-proxy +3 -0
- package/build/_virtual/websocket.js_commonjs-proxy.map +1 -0
- package/build/_virtual/wrapThunk.js_commonjs-proxy +3 -0
- package/build/_virtual/wrapThunk.js_commonjs-proxy.map +1 -0
- package/build/_virtual/write_command.js_commonjs-proxy +3 -0
- package/build/_virtual/write_command.js_commonjs-proxy.map +1 -0
- package/build/_virtual/write_concern.js_commonjs-proxy +3 -0
- package/build/_virtual/write_concern.js_commonjs-proxy.map +1 -0
- package/build/_virtual/x509.js_commonjs-proxy +3 -0
- package/build/_virtual/x509.js_commonjs-proxy.map +1 -0
- package/build/bundles/colyseus/build/index.mjs +13 -0
- package/build/bundles/colyseus/build/index.mjs.js +25 -0
- package/build/bundles/colyseus/build/index.mjs.js.map +1 -0
- package/build/bundles/colyseus/build/index.mjs.map +1 -0
- package/build/index.d.ts +3 -2
- package/build/index.js +9 -0
- package/build/index.js.map +1 -1
- package/build/index.mjs +3 -2
- package/build/index.mjs.map +1 -1
- package/build/matchmaker/RegisteredHandler.js +4 -3
- package/build/matchmaker/RegisteredHandler.js.map +1 -1
- package/build/matchmaker/RegisteredHandler.mjs +4 -3
- package/build/matchmaker/RegisteredHandler.mjs.map +1 -1
- package/build/matchmaker/controller.d.ts +3 -0
- package/build/matchmaker/controller.js +9 -2
- package/build/matchmaker/controller.js.map +1 -1
- package/build/matchmaker/controller.mjs +7 -3
- package/build/matchmaker/controller.mjs.map +1 -1
- package/build/matchmaker/driver/RoomData.d.ts +2 -0
- package/build/matchmaker/driver/RoomData.js +2 -0
- package/build/matchmaker/driver/RoomData.js.map +1 -1
- package/build/matchmaker/driver/RoomData.mjs +2 -0
- package/build/matchmaker/driver/RoomData.mjs.map +1 -1
- package/build/matchmaker/driver/interfaces.d.ts +1 -0
- package/build/node_modules/aws4/aws4.js +388 -0
- package/build/node_modules/aws4/aws4.js.map +1 -0
- package/build/node_modules/aws4/aws4.mjs +380 -0
- package/build/node_modules/aws4/aws4.mjs.map +1 -0
- package/build/node_modules/aws4/lru.js +101 -0
- package/build/node_modules/aws4/lru.js.map +1 -0
- package/build/node_modules/aws4/lru.mjs +99 -0
- package/build/node_modules/aws4/lru.mjs.map +1 -0
- package/build/node_modules/bl/bl.js +403 -0
- package/build/node_modules/bl/bl.js.map +1 -0
- package/build/node_modules/bl/bl.mjs +397 -0
- package/build/node_modules/bl/bl.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js +114 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs +112 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_duplex.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js +29 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs +27 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_passthrough.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js +1020 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs +1013 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_readable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js +158 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs +156 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_transform.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js +667 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs +665 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/_stream_writable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js +93 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs +87 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/BufferList.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js +79 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs +77 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/destroy.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js +12 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs +6 -0
- package/build/node_modules/bl/node_modules/readable-stream/lib/internal/streams/stream.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.js +37 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.js.map +1 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs +31 -0
- package/build/node_modules/bl/node_modules/readable-stream/readable.mjs.map +1 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js +286 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.js.map +1 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs +282 -0
- package/build/node_modules/bl/node_modules/string_decoder/lib/string_decoder.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/any.js +25 -0
- package/build/node_modules/bluebird/js/release/any.js.map +1 -0
- package/build/node_modules/bluebird/js/release/any.mjs +23 -0
- package/build/node_modules/bluebird/js/release/any.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/async.js +173 -0
- package/build/node_modules/bluebird/js/release/async.js.map +1 -0
- package/build/node_modules/bluebird/js/release/async.mjs +169 -0
- package/build/node_modules/bluebird/js/release/async.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/bind.js +71 -0
- package/build/node_modules/bluebird/js/release/bind.js.map +1 -0
- package/build/node_modules/bluebird/js/release/bind.mjs +69 -0
- package/build/node_modules/bluebird/js/release/bind.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/bluebird.js +17 -0
- package/build/node_modules/bluebird/js/release/bluebird.js.map +1 -0
- package/build/node_modules/bluebird/js/release/bluebird.mjs +15 -0
- package/build/node_modules/bluebird/js/release/bluebird.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/call_get.js +128 -0
- package/build/node_modules/bluebird/js/release/call_get.js.map +1 -0
- package/build/node_modules/bluebird/js/release/call_get.mjs +126 -0
- package/build/node_modules/bluebird/js/release/call_get.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/cancel.js +135 -0
- package/build/node_modules/bluebird/js/release/cancel.js.map +1 -0
- package/build/node_modules/bluebird/js/release/cancel.mjs +133 -0
- package/build/node_modules/bluebird/js/release/cancel.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/catch_filter.js +49 -0
- package/build/node_modules/bluebird/js/release/catch_filter.js.map +1 -0
- package/build/node_modules/bluebird/js/release/catch_filter.mjs +47 -0
- package/build/node_modules/bluebird/js/release/catch_filter.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/context.js +73 -0
- package/build/node_modules/bluebird/js/release/context.js.map +1 -0
- package/build/node_modules/bluebird/js/release/context.mjs +71 -0
- package/build/node_modules/bluebird/js/release/context.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/debuggability.js +922 -0
- package/build/node_modules/bluebird/js/release/debuggability.js.map +1 -0
- package/build/node_modules/bluebird/js/release/debuggability.mjs +920 -0
- package/build/node_modules/bluebird/js/release/debuggability.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.js +50 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.js.map +1 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs +48 -0
- package/build/node_modules/bluebird/js/release/direct_resolve.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/each.js +33 -0
- package/build/node_modules/bluebird/js/release/each.js.map +1 -0
- package/build/node_modules/bluebird/js/release/each.mjs +31 -0
- package/build/node_modules/bluebird/js/release/each.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/errors.js +122 -0
- package/build/node_modules/bluebird/js/release/errors.js.map +1 -0
- package/build/node_modules/bluebird/js/release/errors.mjs +120 -0
- package/build/node_modules/bluebird/js/release/errors.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/es5.js +88 -0
- package/build/node_modules/bluebird/js/release/es5.js.map +1 -0
- package/build/node_modules/bluebird/js/release/es5.mjs +86 -0
- package/build/node_modules/bluebird/js/release/es5.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/filter.js +16 -0
- package/build/node_modules/bluebird/js/release/filter.js.map +1 -0
- package/build/node_modules/bluebird/js/release/filter.mjs +14 -0
- package/build/node_modules/bluebird/js/release/filter.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/finally.js +153 -0
- package/build/node_modules/bluebird/js/release/finally.js.map +1 -0
- package/build/node_modules/bluebird/js/release/finally.mjs +151 -0
- package/build/node_modules/bluebird/js/release/finally.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/generators.js +229 -0
- package/build/node_modules/bluebird/js/release/generators.js.map +1 -0
- package/build/node_modules/bluebird/js/release/generators.mjs +227 -0
- package/build/node_modules/bluebird/js/release/generators.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/join.js +172 -0
- package/build/node_modules/bluebird/js/release/join.js.map +1 -0
- package/build/node_modules/bluebird/js/release/join.mjs +170 -0
- package/build/node_modules/bluebird/js/release/join.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/map.js +173 -0
- package/build/node_modules/bluebird/js/release/map.js.map +1 -0
- package/build/node_modules/bluebird/js/release/map.mjs +171 -0
- package/build/node_modules/bluebird/js/release/map.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/method.js +61 -0
- package/build/node_modules/bluebird/js/release/method.js.map +1 -0
- package/build/node_modules/bluebird/js/release/method.mjs +59 -0
- package/build/node_modules/bluebird/js/release/method.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeback.js +57 -0
- package/build/node_modules/bluebird/js/release/nodeback.js.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeback.mjs +55 -0
- package/build/node_modules/bluebird/js/release/nodeback.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeify.js +64 -0
- package/build/node_modules/bluebird/js/release/nodeify.js.map +1 -0
- package/build/node_modules/bluebird/js/release/nodeify.mjs +62 -0
- package/build/node_modules/bluebird/js/release/nodeify.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promise.js +815 -0
- package/build/node_modules/bluebird/js/release/promise.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promise.mjs +813 -0
- package/build/node_modules/bluebird/js/release/promise.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promise_array.js +190 -0
- package/build/node_modules/bluebird/js/release/promise_array.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promise_array.mjs +188 -0
- package/build/node_modules/bluebird/js/release/promise_array.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/promisify.js +321 -0
- package/build/node_modules/bluebird/js/release/promisify.js.map +1 -0
- package/build/node_modules/bluebird/js/release/promisify.mjs +319 -0
- package/build/node_modules/bluebird/js/release/promisify.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/props.js +125 -0
- package/build/node_modules/bluebird/js/release/props.js.map +1 -0
- package/build/node_modules/bluebird/js/release/props.mjs +123 -0
- package/build/node_modules/bluebird/js/release/props.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/queue.js +77 -0
- package/build/node_modules/bluebird/js/release/queue.js.map +1 -0
- package/build/node_modules/bluebird/js/release/queue.mjs +75 -0
- package/build/node_modules/bluebird/js/release/queue.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/race.js +55 -0
- package/build/node_modules/bluebird/js/release/race.js.map +1 -0
- package/build/node_modules/bluebird/js/release/race.mjs +53 -0
- package/build/node_modules/bluebird/js/release/race.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/reduce.js +178 -0
- package/build/node_modules/bluebird/js/release/reduce.js.map +1 -0
- package/build/node_modules/bluebird/js/release/reduce.mjs +176 -0
- package/build/node_modules/bluebird/js/release/reduce.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/schedule.js +67 -0
- package/build/node_modules/bluebird/js/release/schedule.js.map +1 -0
- package/build/node_modules/bluebird/js/release/schedule.mjs +65 -0
- package/build/node_modules/bluebird/js/release/schedule.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/settle.js +49 -0
- package/build/node_modules/bluebird/js/release/settle.js.map +1 -0
- package/build/node_modules/bluebird/js/release/settle.mjs +47 -0
- package/build/node_modules/bluebird/js/release/settle.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/some.js +155 -0
- package/build/node_modules/bluebird/js/release/some.js.map +1 -0
- package/build/node_modules/bluebird/js/release/some.mjs +153 -0
- package/build/node_modules/bluebird/js/release/some.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js +107 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.js.map +1 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs +105 -0
- package/build/node_modules/bluebird/js/release/synchronous_inspection.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/thenables.js +92 -0
- package/build/node_modules/bluebird/js/release/thenables.js.map +1 -0
- package/build/node_modules/bluebird/js/release/thenables.mjs +90 -0
- package/build/node_modules/bluebird/js/release/thenables.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/timers.js +99 -0
- package/build/node_modules/bluebird/js/release/timers.js.map +1 -0
- package/build/node_modules/bluebird/js/release/timers.mjs +97 -0
- package/build/node_modules/bluebird/js/release/timers.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/using.js +233 -0
- package/build/node_modules/bluebird/js/release/using.js.map +1 -0
- package/build/node_modules/bluebird/js/release/using.mjs +231 -0
- package/build/node_modules/bluebird/js/release/using.mjs.map +1 -0
- package/build/node_modules/bluebird/js/release/util.js +380 -0
- package/build/node_modules/bluebird/js/release/util.js.map +1 -0
- package/build/node_modules/bluebird/js/release/util.mjs +378 -0
- package/build/node_modules/bluebird/js/release/util.mjs.map +1 -0
- package/build/node_modules/bson/index.js +51 -0
- package/build/node_modules/bson/index.js.map +1 -0
- package/build/node_modules/bson/index.mjs +49 -0
- package/build/node_modules/bson/index.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/binary.js +401 -0
- package/build/node_modules/bson/lib/bson/binary.js.map +1 -0
- package/build/node_modules/bson/lib/bson/binary.mjs +393 -0
- package/build/node_modules/bson/lib/bson/binary.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/bson.js +422 -0
- package/build/node_modules/bson/lib/bson/bson.js.map +1 -0
- package/build/node_modules/bson/lib/bson/bson.mjs +404 -0
- package/build/node_modules/bson/lib/bson/bson.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/code.js +33 -0
- package/build/node_modules/bson/lib/bson/code.js.map +1 -0
- package/build/node_modules/bson/lib/bson/code.mjs +29 -0
- package/build/node_modules/bson/lib/bson/code.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/db_ref.js +41 -0
- package/build/node_modules/bson/lib/bson/db_ref.js.map +1 -0
- package/build/node_modules/bson/lib/bson/db_ref.mjs +37 -0
- package/build/node_modules/bson/lib/bson/db_ref.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/decimal128.js +826 -0
- package/build/node_modules/bson/lib/bson/decimal128.js.map +1 -0
- package/build/node_modules/bson/lib/bson/decimal128.mjs +822 -0
- package/build/node_modules/bson/lib/bson/decimal128.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/double.js +42 -0
- package/build/node_modules/bson/lib/bson/double.js.map +1 -0
- package/build/node_modules/bson/lib/bson/double.mjs +38 -0
- package/build/node_modules/bson/lib/bson/double.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/float_parser.js +138 -0
- package/build/node_modules/bson/lib/bson/float_parser.js.map +1 -0
- package/build/node_modules/bson/lib/bson/float_parser.mjs +133 -0
- package/build/node_modules/bson/lib/bson/float_parser.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/int_32.js +42 -0
- package/build/node_modules/bson/lib/bson/int_32.js.map +1 -0
- package/build/node_modules/bson/lib/bson/int_32.mjs +38 -0
- package/build/node_modules/bson/lib/bson/int_32.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/long.js +874 -0
- package/build/node_modules/bson/lib/bson/long.js.map +1 -0
- package/build/node_modules/bson/lib/bson/long.mjs +870 -0
- package/build/node_modules/bson/lib/bson/long.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/map.js +136 -0
- package/build/node_modules/bson/lib/bson/map.js.map +1 -0
- package/build/node_modules/bson/lib/bson/map.mjs +134 -0
- package/build/node_modules/bson/lib/bson/map.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/max_key.js +23 -0
- package/build/node_modules/bson/lib/bson/max_key.js.map +1 -0
- package/build/node_modules/bson/lib/bson/max_key.mjs +19 -0
- package/build/node_modules/bson/lib/bson/max_key.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/min_key.js +23 -0
- package/build/node_modules/bson/lib/bson/min_key.js.map +1 -0
- package/build/node_modules/bson/lib/bson/min_key.mjs +19 -0
- package/build/node_modules/bson/lib/bson/min_key.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/objectid.js +410 -0
- package/build/node_modules/bson/lib/bson/objectid.js.map +1 -0
- package/build/node_modules/bson/lib/bson/objectid.mjs +401 -0
- package/build/node_modules/bson/lib/bson/objectid.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js +271 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs +269 -0
- package/build/node_modules/bson/lib/bson/parser/calculate_size.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.js +798 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs +796 -0
- package/build/node_modules/bson/lib/bson/parser/deserializer.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.js +1200 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs +1198 -0
- package/build/node_modules/bson/lib/bson/parser/serializer.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/utils.js +30 -0
- package/build/node_modules/bson/lib/bson/parser/utils.js.map +1 -0
- package/build/node_modules/bson/lib/bson/parser/utils.mjs +28 -0
- package/build/node_modules/bson/lib/bson/parser/utils.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/regexp.js +42 -0
- package/build/node_modules/bson/lib/bson/regexp.js.map +1 -0
- package/build/node_modules/bson/lib/bson/regexp.mjs +38 -0
- package/build/node_modules/bson/lib/bson/regexp.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/symbol.js +65 -0
- package/build/node_modules/bson/lib/bson/symbol.js.map +1 -0
- package/build/node_modules/bson/lib/bson/symbol.mjs +57 -0
- package/build/node_modules/bson/lib/bson/symbol.mjs.map +1 -0
- package/build/node_modules/bson/lib/bson/timestamp.js +863 -0
- package/build/node_modules/bson/lib/bson/timestamp.js.map +1 -0
- package/build/node_modules/bson/lib/bson/timestamp.mjs +859 -0
- package/build/node_modules/bson/lib/bson/timestamp.mjs.map +1 -0
- package/build/node_modules/core-util-is/lib/util.js +147 -0
- package/build/node_modules/core-util-is/lib/util.js.map +1 -0
- package/build/node_modules/core-util-is/lib/util.mjs +129 -0
- package/build/node_modules/core-util-is/lib/util.mjs.map +1 -0
- package/build/node_modules/denque/index.js +446 -0
- package/build/node_modules/denque/index.js.map +1 -0
- package/build/node_modules/denque/index.mjs +444 -0
- package/build/node_modules/denque/index.mjs.map +1 -0
- package/build/node_modules/double-ended-queue/js/deque.js +279 -0
- package/build/node_modules/double-ended-queue/js/deque.js.map +1 -0
- package/build/node_modules/double-ended-queue/js/deque.mjs +277 -0
- package/build/node_modules/double-ended-queue/js/deque.mjs.map +1 -0
- package/build/node_modules/inherits/inherits.js +24 -0
- package/build/node_modules/inherits/inherits.js.map +1 -0
- package/build/node_modules/inherits/inherits.mjs +18 -0
- package/build/node_modules/inherits/inherits.mjs.map +1 -0
- package/build/node_modules/inherits/inherits_browser.js +36 -0
- package/build/node_modules/inherits/inherits_browser.js.map +1 -0
- package/build/node_modules/inherits/inherits_browser.mjs +34 -0
- package/build/node_modules/inherits/inherits_browser.mjs.map +1 -0
- package/build/node_modules/isarray/index.js +10 -0
- package/build/node_modules/isarray/index.js.map +1 -0
- package/build/node_modules/isarray/index.mjs +8 -0
- package/build/node_modules/isarray/index.mjs.map +1 -0
- package/build/node_modules/kareem/index.js +514 -0
- package/build/node_modules/kareem/index.js.map +1 -0
- package/build/node_modules/kareem/index.mjs +512 -0
- package/build/node_modules/kareem/index.mjs.map +1 -0
- package/build/node_modules/memory-pager/index.js +165 -0
- package/build/node_modules/memory-pager/index.js.map +1 -0
- package/build/node_modules/memory-pager/index.mjs +163 -0
- package/build/node_modules/memory-pager/index.mjs.map +1 -0
- package/build/node_modules/mongodb/index.js +93 -0
- package/build/node_modules/mongodb/index.js.map +1 -0
- package/build/node_modules/mongodb/index.mjs +91 -0
- package/build/node_modules/mongodb/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/admin.js +307 -0
- package/build/node_modules/mongodb/lib/admin.js.map +1 -0
- package/build/node_modules/mongodb/lib/admin.mjs +305 -0
- package/build/node_modules/mongodb/lib/admin.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.js +376 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs +374 -0
- package/build/node_modules/mongodb/lib/aggregation_cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/apm.js +41 -0
- package/build/node_modules/mongodb/lib/apm.js.map +1 -0
- package/build/node_modules/mongodb/lib/apm.mjs +35 -0
- package/build/node_modules/mongodb/lib/apm.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.js +43 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.js.map +1 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs +39 -0
- package/build/node_modules/mongodb/lib/async/async_iterator.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/common.js +1381 -0
- package/build/node_modules/mongodb/lib/bulk/common.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/common.mjs +1379 -0
- package/build/node_modules/mongodb/lib/bulk/common.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.js +119 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs +115 -0
- package/build/node_modules/mongodb/lib/bulk/ordered.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.js +140 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.js.map +1 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs +136 -0
- package/build/node_modules/mongodb/lib/bulk/unordered.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/change_stream.js +640 -0
- package/build/node_modules/mongodb/lib/change_stream.js.map +1 -0
- package/build/node_modules/mongodb/lib/change_stream.mjs +634 -0
- package/build/node_modules/mongodb/lib/change_stream.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection.js +404 -0
- package/build/node_modules/mongodb/lib/cmap/connection.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection.mjs +398 -0
- package/build/node_modules/mongodb/lib/cmap/connection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js +608 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs +602 -0
- package/build/node_modules/mongodb/lib/cmap/connection_pool.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/errors.js +41 -0
- package/build/node_modules/mongodb/lib/cmap/errors.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/errors.mjs +39 -0
- package/build/node_modules/mongodb/lib/cmap/errors.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/events.js +157 -0
- package/build/node_modules/mongodb/lib/cmap/events.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/events.mjs +155 -0
- package/build/node_modules/mongodb/lib/cmap/events.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.js +211 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs +205 -0
- package/build/node_modules/mongodb/lib/cmap/message_stream.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.js +51 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs +49 -0
- package/build/node_modules/mongodb/lib/cmap/stream_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/collection.js +2294 -0
- package/build/node_modules/mongodb/lib/collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/collection.mjs +2288 -0
- package/build/node_modules/mongodb/lib/collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/command_cursor.js +276 -0
- package/build/node_modules/mongodb/lib/command_cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/command_cursor.mjs +274 -0
- package/build/node_modules/mongodb/lib/command_cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/constants.js +13 -0
- package/build/node_modules/mongodb/lib/constants.js.map +1 -0
- package/build/node_modules/mongodb/lib/constants.mjs +11 -0
- package/build/node_modules/mongodb/lib/constants.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js +58 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs +56 -0
- package/build/node_modules/mongodb/lib/core/auth/auth_provider.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js +35 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs +33 -0
- package/build/node_modules/mongodb/lib/core/auth/defaultAuthProviders.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js +162 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs +156 -0
- package/build/node_modules/mongodb/lib/core/auth/gssapi.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js +110 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs +108 -0
- package/build/node_modules/mongodb/lib/core/auth/mongo_credentials.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js +54 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs +48 -0
- package/build/node_modules/mongodb/lib/core/auth/mongocr.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js +275 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs +267 -0
- package/build/node_modules/mongodb/lib/core/auth/mongodb_aws.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.js +35 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs +33 -0
- package/build/node_modules/mongodb/lib/core/auth/plain.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.js +362 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs +356 -0
- package/build/node_modules/mongodb/lib/core/auth/scram.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.js +41 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs +39 -0
- package/build/node_modules/mongodb/lib/core/auth/x509.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.js +259 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs +257 -0
- package/build/node_modules/mongodb/lib/core/connection/apm.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.js +39 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs +37 -0
- package/build/node_modules/mongodb/lib/core/connection/command_result.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.js +514 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs +512 -0
- package/build/node_modules/mongodb/lib/core/connection/commands.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.js +367 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs +360 -0
- package/build/node_modules/mongodb/lib/core/connection/connect.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.js +731 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs +724 -0
- package/build/node_modules/mongodb/lib/core/connection/connection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.js +262 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs +256 -0
- package/build/node_modules/mongodb/lib/core/connection/logger.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.js +232 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs +230 -0
- package/build/node_modules/mongodb/lib/core/connection/msg.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.js +1304 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs +1297 -0
- package/build/node_modules/mongodb/lib/core/connection/pool.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.js +59 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs +57 -0
- package/build/node_modules/mongodb/lib/core/connection/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/cursor.js +891 -0
- package/build/node_modules/mongodb/lib/core/cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/cursor.mjs +885 -0
- package/build/node_modules/mongodb/lib/core/cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/error.js +354 -0
- package/build/node_modules/mongodb/lib/core/error.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/error.mjs +352 -0
- package/build/node_modules/mongodb/lib/core/error.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/index.js +77 -0
- package/build/node_modules/mongodb/lib/core/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/index.mjs +75 -0
- package/build/node_modules/mongodb/lib/core/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.js +70 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs +68 -0
- package/build/node_modules/mongodb/lib/core/sdam/common.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.js +127 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs +125 -0
- package/build/node_modules/mongodb/lib/core/sdam/events.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js +430 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs +424 -0
- package/build/node_modules/mongodb/lib/core/sdam/monitor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.js +584 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs +578 -0
- package/build/node_modules/mongodb/lib/core/sdam/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js +234 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs +232 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js +246 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs +244 -0
- package/build/node_modules/mongodb/lib/core/sdam/server_selection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js +155 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs +145 -0
- package/build/node_modules/mongodb/lib/core/sdam/srv_polling.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.js +1170 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs +1163 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js +468 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs +466 -0
- package/build/node_modules/mongodb/lib/core/sdam/topology_description.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/sessions.js +797 -0
- package/build/node_modules/mongodb/lib/core/sessions.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/sessions.mjs +791 -0
- package/build/node_modules/mongodb/lib/core/sessions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js +1415 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs +1408 -0
- package/build/node_modules/mongodb/lib/core/topologies/mongos.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js +273 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs +271 -0
- package/build/node_modules/mongodb/lib/core/topologies/read_preference.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.js +1586 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs +1579 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js +1135 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs +1128 -0
- package/build/node_modules/mongodb/lib/core/topologies/replset_state.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.js +1006 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs +999 -0
- package/build/node_modules/mongodb/lib/core/topologies/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.js +464 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs +462 -0
- package/build/node_modules/mongodb/lib/core/topologies/shared.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/transactions.js +188 -0
- package/build/node_modules/mongodb/lib/core/transactions.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/transactions.mjs +186 -0
- package/build/node_modules/mongodb/lib/core/transactions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.js +745 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs +737 -0
- package/build/node_modules/mongodb/lib/core/uri_parser.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/utils.js +307 -0
- package/build/node_modules/mongodb/lib/core/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/utils.mjs +300 -0
- package/build/node_modules/mongodb/lib/core/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js +193 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs +191 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js +83 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs +77 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/compression.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js +16 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs +14 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/constants.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js +105 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs +103 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/get_more.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js +26 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs +24 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js +80 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs +78 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/kill_cursors.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js +247 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs +245 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/query.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js +122 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs +120 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/shared.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js +68 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs +66 -0
- package/build/node_modules/mongodb/lib/core/wireprotocol/write_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/cursor.js +1156 -0
- package/build/node_modules/mongodb/lib/cursor.js.map +1 -0
- package/build/node_modules/mongodb/lib/cursor.mjs +1149 -0
- package/build/node_modules/mongodb/lib/cursor.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/db.js +1092 -0
- package/build/node_modules/mongodb/lib/db.js.map +1 -0
- package/build/node_modules/mongodb/lib/db.mjs +1085 -0
- package/build/node_modules/mongodb/lib/db.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.js +39 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.js.map +1 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs +37 -0
- package/build/node_modules/mongodb/lib/dynamic_loaders.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/encrypter.js +176 -0
- package/build/node_modules/mongodb/lib/encrypter.js.map +1 -0
- package/build/node_modules/mongodb/lib/encrypter.mjs +170 -0
- package/build/node_modules/mongodb/lib/encrypter.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/error.js +48 -0
- package/build/node_modules/mongodb/lib/error.js.map +1 -0
- package/build/node_modules/mongodb/lib/error.mjs +46 -0
- package/build/node_modules/mongodb/lib/error.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/explain.js +60 -0
- package/build/node_modules/mongodb/lib/explain.js.map +1 -0
- package/build/node_modules/mongodb/lib/explain.mjs +58 -0
- package/build/node_modules/mongodb/lib/explain.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.js +242 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs +240 -0
- package/build/node_modules/mongodb/lib/gridfs/chunk.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js +1940 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs +1932 -0
- package/build/node_modules/mongodb/lib/gridfs/grid_store.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js +441 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs +434 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/download.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js +366 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs +359 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js +552 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.js.map +1 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs +544 -0
- package/build/node_modules/mongodb/lib/gridfs-stream/upload.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/mongo_client.js +514 -0
- package/build/node_modules/mongodb/lib/mongo_client.js.map +1 -0
- package/build/node_modules/mongodb/lib/mongo_client.mjs +507 -0
- package/build/node_modules/mongodb/lib/mongo_client.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/add_user.js +111 -0
- package/build/node_modules/mongodb/lib/operations/add_user.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/add_user.mjs +105 -0
- package/build/node_modules/mongodb/lib/operations/add_user.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.js +111 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs +109 -0
- package/build/node_modules/mongodb/lib/operations/aggregate.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.js +103 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs +101 -0
- package/build/node_modules/mongodb/lib/operations/bulk_write.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.js +361 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs +359 -0
- package/build/node_modules/mongodb/lib/operations/collection_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collections.js +62 -0
- package/build/node_modules/mongodb/lib/operations/collections.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/collections.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/collections.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command.js +126 -0
- package/build/node_modules/mongodb/lib/operations/command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command.mjs +124 -0
- package/build/node_modules/mongodb/lib/operations/command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.js +131 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs +129 -0
- package/build/node_modules/mongodb/lib/operations/command_v2.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.js +408 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs +406 -0
- package/build/node_modules/mongodb/lib/operations/common_functions.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/connect.js +805 -0
- package/build/node_modules/mongodb/lib/operations/connect.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/connect.mjs +798 -0
- package/build/node_modules/mongodb/lib/operations/connect.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count.js +74 -0
- package/build/node_modules/mongodb/lib/operations/count.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count.mjs +72 -0
- package/build/node_modules/mongodb/lib/operations/count.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.js +44 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/count_documents.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.js +111 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs +109 -0
- package/build/node_modules/mongodb/lib/operations/create_collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.js +146 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs +144 -0
- package/build/node_modules/mongodb/lib/operations/create_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js +175 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs +173 -0
- package/build/node_modules/mongodb/lib/operations/cursor_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.js +474 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs +472 -0
- package/build/node_modules/mongodb/lib/operations/db_ops.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.js +44 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/delete_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.js +44 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/delete_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/distinct.js +102 -0
- package/build/node_modules/mongodb/lib/operations/distinct.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/distinct.mjs +100 -0
- package/build/node_modules/mongodb/lib/operations/distinct.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop.js +60 -0
- package/build/node_modules/mongodb/lib/operations/drop.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop.mjs +58 -0
- package/build/node_modules/mongodb/lib/operations/drop.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.js +49 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs +47 -0
- package/build/node_modules/mongodb/lib/operations/drop_index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js +30 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs +28 -0
- package/build/node_modules/mongodb/lib/operations/drop_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js +64 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs +62 -0
- package/build/node_modules/mongodb/lib/operations/estimated_document_count.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js +41 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs +39 -0
- package/build/node_modules/mongodb/lib/operations/execute_db_admin_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.js +173 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs +171 -0
- package/build/node_modules/mongodb/lib/operations/execute_operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find.js +57 -0
- package/build/node_modules/mongodb/lib/operations/find.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find.mjs +55 -0
- package/build/node_modules/mongodb/lib/operations/find.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js +138 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs +136 -0
- package/build/node_modules/mongodb/lib/operations/find_and_modify.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one.js +47 -0
- package/build/node_modules/mongodb/lib/operations/find_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one.mjs +45 -0
- package/build/node_modules/mongodb/lib/operations/find_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js +24 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_delete.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js +44 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_replace.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js +44 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/find_one_and_update.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js +87 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs +85 -0
- package/build/node_modules/mongodb/lib/operations/geo_haystack_search.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.js +46 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs +44 -0
- package/build/node_modules/mongodb/lib/operations/index_exists.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_information.js +29 -0
- package/build/node_modules/mongodb/lib/operations/index_information.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/index_information.mjs +27 -0
- package/build/node_modules/mongodb/lib/operations/index_information.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/indexes.js +28 -0
- package/build/node_modules/mongodb/lib/operations/indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/indexes.mjs +26 -0
- package/build/node_modules/mongodb/lib/operations/indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.js +67 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs +65 -0
- package/build/node_modules/mongodb/lib/operations/insert_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.js +46 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs +44 -0
- package/build/node_modules/mongodb/lib/operations/insert_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.js +24 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/is_capped.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.js +113 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs +111 -0
- package/build/node_modules/mongodb/lib/operations/list_collections.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.js +44 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs +42 -0
- package/build/node_modules/mongodb/lib/operations/list_databases.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.js +48 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs +46 -0
- package/build/node_modules/mongodb/lib/operations/list_indexes.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.js +220 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs +218 -0
- package/build/node_modules/mongodb/lib/operations/map_reduce.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/operation.js +82 -0
- package/build/node_modules/mongodb/lib/operations/operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/operation.mjs +80 -0
- package/build/node_modules/mongodb/lib/operations/operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.js +39 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs +37 -0
- package/build/node_modules/mongodb/lib/operations/options_operation.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.js +34 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs +32 -0
- package/build/node_modules/mongodb/lib/operations/profiling_level.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/re_index.js +41 -0
- package/build/node_modules/mongodb/lib/operations/re_index.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/re_index.mjs +39 -0
- package/build/node_modules/mongodb/lib/operations/re_index.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.js +60 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs +58 -0
- package/build/node_modules/mongodb/lib/operations/remove_user.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/rename.js +69 -0
- package/build/node_modules/mongodb/lib/operations/rename.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/rename.mjs +67 -0
- package/build/node_modules/mongodb/lib/operations/rename.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.js +61 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs +59 -0
- package/build/node_modules/mongodb/lib/operations/replace_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/run_command.js +24 -0
- package/build/node_modules/mongodb/lib/operations/run_command.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/run_command.mjs +22 -0
- package/build/node_modules/mongodb/lib/operations/run_command.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js +52 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs +50 -0
- package/build/node_modules/mongodb/lib/operations/set_profiling_level.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/stats.js +51 -0
- package/build/node_modules/mongodb/lib/operations/stats.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/stats.mjs +49 -0
- package/build/node_modules/mongodb/lib/operations/stats.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_many.js +62 -0
- package/build/node_modules/mongodb/lib/operations/update_many.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_many.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/update_many.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_one.js +62 -0
- package/build/node_modules/mongodb/lib/operations/update_one.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/update_one.mjs +60 -0
- package/build/node_modules/mongodb/lib/operations/update_one.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.js +42 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.js.map +1 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs +40 -0
- package/build/node_modules/mongodb/lib/operations/validate_collection.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/read_concern.js +64 -0
- package/build/node_modules/mongodb/lib/read_concern.js.map +1 -0
- package/build/node_modules/mongodb/lib/read_concern.mjs +62 -0
- package/build/node_modules/mongodb/lib/read_concern.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.js +454 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs +452 -0
- package/build/node_modules/mongodb/lib/topologies/mongos.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.js +86 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs +84 -0
- package/build/node_modules/mongodb/lib/topologies/native_topology.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/replset.js +496 -0
- package/build/node_modules/mongodb/lib/topologies/replset.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/replset.mjs +494 -0
- package/build/node_modules/mongodb/lib/topologies/replset.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/server.js +456 -0
- package/build/node_modules/mongodb/lib/topologies/server.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/server.mjs +454 -0
- package/build/node_modules/mongodb/lib/topologies/server.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.js +439 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.js.map +1 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs +428 -0
- package/build/node_modules/mongodb/lib/topologies/topology_base.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/url_parser.js +646 -0
- package/build/node_modules/mongodb/lib/url_parser.js.map +1 -0
- package/build/node_modules/mongodb/lib/url_parser.mjs +637 -0
- package/build/node_modules/mongodb/lib/url_parser.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/utils.js +919 -0
- package/build/node_modules/mongodb/lib/utils.js.map +1 -0
- package/build/node_modules/mongodb/lib/utils.mjs +917 -0
- package/build/node_modules/mongodb/lib/utils.mjs.map +1 -0
- package/build/node_modules/mongodb/lib/write_concern.js +99 -0
- package/build/node_modules/mongodb/lib/write_concern.js.map +1 -0
- package/build/node_modules/mongodb/lib/write_concern.mjs +97 -0
- package/build/node_modules/mongodb/lib/write_concern.mjs.map +1 -0
- package/build/node_modules/mongodb/package.json.js +146 -0
- package/build/node_modules/mongodb/package.json.js.map +1 -0
- package/build/node_modules/mongodb/package.mjs +127 -0
- package/build/node_modules/mongodb/package.mjs.map +1 -0
- package/build/node_modules/mongoose/index.js +8 -0
- package/build/node_modules/mongoose/index.js.map +1 -0
- package/build/node_modules/mongoose/index.mjs +6 -0
- package/build/node_modules/mongoose/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/aggregate.js +1176 -0
- package/build/node_modules/mongoose/lib/aggregate.js.map +1 -0
- package/build/node_modules/mongoose/lib/aggregate.mjs +1170 -0
- package/build/node_modules/mongoose/lib/aggregate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/browserDocument.js +119 -0
- package/build/node_modules/mongoose/lib/browserDocument.js.map +1 -0
- package/build/node_modules/mongoose/lib/browserDocument.mjs +113 -0
- package/build/node_modules/mongoose/lib/browserDocument.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/boolean.js +41 -0
- package/build/node_modules/mongoose/lib/cast/boolean.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/boolean.mjs +39 -0
- package/build/node_modules/mongoose/lib/cast/boolean.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/date.js +48 -0
- package/build/node_modules/mongoose/lib/cast/date.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/date.mjs +42 -0
- package/build/node_modules/mongoose/lib/cast/date.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.js +43 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs +37 -0
- package/build/node_modules/mongoose/lib/cast/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/number.js +50 -0
- package/build/node_modules/mongoose/lib/cast/number.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/number.mjs +44 -0
- package/build/node_modules/mongoose/lib/cast/number.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/objectid.js +39 -0
- package/build/node_modules/mongoose/lib/cast/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/objectid.mjs +33 -0
- package/build/node_modules/mongoose/lib/cast/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast/string.js +40 -0
- package/build/node_modules/mongoose/lib/cast/string.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast/string.mjs +38 -0
- package/build/node_modules/mongoose/lib/cast/string.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cast.js +382 -0
- package/build/node_modules/mongoose/lib/cast.js.map +1 -0
- package/build/node_modules/mongoose/lib/cast.mjs +376 -0
- package/build/node_modules/mongoose/lib/cast.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/collection.js +333 -0
- package/build/node_modules/mongoose/lib/collection.js.map +1 -0
- package/build/node_modules/mongoose/lib/collection.mjs +327 -0
- package/build/node_modules/mongoose/lib/collection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/connection.js +1534 -0
- package/build/node_modules/mongoose/lib/connection.js.map +1 -0
- package/build/node_modules/mongoose/lib/connection.mjs +1528 -0
- package/build/node_modules/mongoose/lib/connection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/connectionstate.js +29 -0
- package/build/node_modules/mongoose/lib/connectionstate.js.map +1 -0
- package/build/node_modules/mongoose/lib/connectionstate.mjs +27 -0
- package/build/node_modules/mongoose/lib/connectionstate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js +384 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs +377 -0
- package/build/node_modules/mongoose/lib/cursor/AggregationCursor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js +70 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs +64 -0
- package/build/node_modules/mongoose/lib/cursor/ChangeStream.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js +522 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.js.map +1 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs +515 -0
- package/build/node_modules/mongoose/lib/cursor/QueryCursor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/document.js +4305 -0
- package/build/node_modules/mongoose/lib/document.js.map +1 -0
- package/build/node_modules/mongoose/lib/document.mjs +4298 -0
- package/build/node_modules/mongoose/lib/document.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/document_provider.js +40 -0
- package/build/node_modules/mongoose/lib/document_provider.js.map +1 -0
- package/build/node_modules/mongoose/lib/document_provider.mjs +36 -0
- package/build/node_modules/mongoose/lib/document_provider.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/driver.js +27 -0
- package/build/node_modules/mongoose/lib/driver.js.map +1 -0
- package/build/node_modules/mongoose/lib/driver.mjs +22 -0
- package/build/node_modules/mongoose/lib/driver.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js +52 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs +50 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/ReadPreference.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js +14 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs +12 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/binary.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js +470 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs +463 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js +219 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs +217 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js +12 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs +10 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js +39 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs +30 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js +18 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs +16 -0
- package/build/node_modules/mongoose/lib/drivers/node-mongodb-native/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/cast.js +161 -0
- package/build/node_modules/mongoose/lib/error/cast.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/cast.mjs +155 -0
- package/build/node_modules/mongoose/lib/error/cast.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.js +35 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/divergentArray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/index.js +225 -0
- package/build/node_modules/mongoose/lib/error/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/index.mjs +223 -0
- package/build/node_modules/mongoose/lib/error/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/messages.js +32 -0
- package/build/node_modules/mongoose/lib/error/messages.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/messages.mjs +30 -0
- package/build/node_modules/mongoose/lib/error/messages.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.js +28 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs +26 -0
- package/build/node_modules/mongoose/lib/error/missingSchema.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.js +16 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs +14 -0
- package/build/node_modules/mongoose/lib/error/mongooseError.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/notFound.js +54 -0
- package/build/node_modules/mongoose/lib/error/notFound.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/notFound.mjs +48 -0
- package/build/node_modules/mongoose/lib/error/notFound.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.js +35 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/objectExpected.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.js +35 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/objectParameter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.js +26 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs +24 -0
- package/build/node_modules/mongoose/lib/error/overwriteModel.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.js +35 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs +33 -0
- package/build/node_modules/mongoose/lib/error/parallelSave.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.js +36 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs +34 -0
- package/build/node_modules/mongoose/lib/error/parallelValidate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.js +69 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs +67 -0
- package/build/node_modules/mongoose/lib/error/serverSelection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/strict.js +38 -0
- package/build/node_modules/mongoose/lib/error/strict.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/strict.mjs +36 -0
- package/build/node_modules/mongoose/lib/error/strict.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/validation.js +121 -0
- package/build/node_modules/mongoose/lib/error/validation.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/validation.mjs +115 -0
- package/build/node_modules/mongoose/lib/error/validation.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/validator.js +99 -0
- package/build/node_modules/mongoose/lib/error/validator.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/validator.mjs +97 -0
- package/build/node_modules/mongoose/lib/error/validator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/error/version.js +41 -0
- package/build/node_modules/mongoose/lib/error/version.js.map +1 -0
- package/build/node_modules/mongoose/lib/error/version.mjs +39 -0
- package/build/node_modules/mongoose/lib/error/version.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js +53 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs +51 -0
- package/build/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js +36 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs +34 -0
- package/build/node_modules/mongoose/lib/helpers/arrayDepth.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/clone.js +141 -0
- package/build/node_modules/mongoose/lib/helpers/clone.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/clone.mjs +139 -0
- package/build/node_modules/mongoose/lib/helpers/clone.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/common.js +123 -0
- package/build/node_modules/mongoose/lib/helpers/common.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/common.mjs +118 -0
- package/build/node_modules/mongoose/lib/helpers/common.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js +163 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs +161 -0
- package/build/node_modules/mongoose/lib/helpers/cursor/eachAsync.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js +28 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs +26 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getConstructor.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js +30 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs +28 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js +29 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs +27 -0
- package/build/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.js +229 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs +224 -0
- package/build/node_modules/mongoose/lib/helpers/document/compile.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js +46 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs +44 -0
- package/build/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js +20 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs +18 -0
- package/build/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/each.js +28 -0
- package/build/node_modules/mongoose/lib/helpers/each.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/each.mjs +26 -0
- package/build/node_modules/mongoose/lib/helpers/each.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/get.js +67 -0
- package/build/node_modules/mongoose/lib/helpers/get.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/get.mjs +65 -0
- package/build/node_modules/mongoose/lib/helpers/get.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js +11 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs +9 -0
- package/build/node_modules/mongoose/lib/helpers/getFunctionName.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.js +17 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs +15 -0
- package/build/node_modules/mongoose/lib/helpers/immediate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js +98 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs +96 -0
- package/build/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/isBsonType.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js +24 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs +22 -0
- package/build/node_modules/mongoose/lib/helpers/isMongooseObject.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/isObject.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/isPromise.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js +141 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs +139 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyHooks.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js +59 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs +57 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyMethods.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js +77 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs +75 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStaticHooks.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/model/applyStatics.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js +227 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs +225 -0
- package/build/node_modules/mongoose/lib/helpers/model/castBulkWrite.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js +212 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs +210 -0
- package/build/node_modules/mongoose/lib/helpers/model/discriminator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js +58 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs +56 -0
- package/build/node_modules/mongoose/lib/helpers/parallelLimit.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/path/parentPaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js +19 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs +17 -0
- package/build/node_modules/mongoose/lib/helpers/path/setDottedPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js +13 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs +11 -0
- package/build/node_modules/mongoose/lib/helpers/populate/SkipPopulateValue.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js +104 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs +102 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js +291 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs +289 -0
- package/build/node_modules/mongoose/lib/helpers/populate/assignVals.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js +82 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs +80 -0
- package/build/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js +550 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs +544 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js +218 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs +216 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js +75 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs +73 -0
- package/build/node_modules/mongoose/lib/helpers/populate/getVirtual.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js +48 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs +46 -0
- package/build/node_modules/mongoose/lib/helpers/populate/normalizeRefPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js +34 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs +32 -0
- package/build/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js +26 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs +20 -0
- package/build/node_modules/mongoose/lib/helpers/populate/validateRef.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js +16 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs +14 -0
- package/build/node_modules/mongoose/lib/helpers/printJestWarning.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js +35 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs +33 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isExclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js +37 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs +35 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isInclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathExcluded.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js +36 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs +34 -0
- package/build/node_modules/mongoose/lib/helpers/projection/parseProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js +49 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs +47 -0
- package/build/node_modules/mongoose/lib/helpers/promiseOrCallback.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js +18 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs +16 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyGlobalMaxTimeMS.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js +96 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs +94 -0
- package/build/node_modules/mongoose/lib/helpers/query/applyQueryMiddleware.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js +58 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs +56 -0
- package/build/node_modules/mongoose/lib/helpers/query/castFilterPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js +561 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs +559 -0
- package/build/node_modules/mongoose/lib/helpers/query/castUpdate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js +54 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs +52 -0
- package/build/node_modules/mongoose/lib/helpers/query/completeMany.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js +87 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs +85 -0
- package/build/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js +31 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs +29 -0
- package/build/node_modules/mongoose/lib/helpers/query/handleImmutable.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js +22 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs +20 -0
- package/build/node_modules/mongoose/lib/helpers/query/hasDollarKeys.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js +14 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs +12 -0
- package/build/node_modules/mongoose/lib/helpers/query/isOperator.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js +17 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs +15 -0
- package/build/node_modules/mongoose/lib/helpers/query/sanitizeProjection.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js +52 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs +50 -0
- package/build/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/query/wrapThunk.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js +10 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs +8 -0
- package/build/node_modules/mongoose/lib/helpers/schema/addAutoId.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js +47 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs +45 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyPlugins.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js +33 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs +31 -0
- package/build/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js +158 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs +156 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getIndexes.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/schema/getPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js +23 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs +21 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleIdOption.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js +27 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs +25 -0
- package/build/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js +30 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs +28 -0
- package/build/node_modules/mongoose/lib/helpers/schema/merge.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js +48 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs +46 -0
- package/build/node_modules/mongoose/lib/helpers/schematype/handleImmutable.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js +134 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs +132 -0
- package/build/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js +6 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs +4 -0
- package/build/node_modules/mongoose/lib/helpers/specialProperties.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.js +61 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs +41 -0
- package/build/node_modules/mongoose/lib/helpers/symbols.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timers.js +13 -0
- package/build/node_modules/mongoose/lib/helpers/timers.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timers.mjs +9 -0
- package/build/node_modules/mongoose/lib/helpers/timers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js +114 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs +112 -0
- package/build/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js +14 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs +12 -0
- package/build/node_modules/mongoose/lib/helpers/topology/allServersUnknown.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js +15 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs +13 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isAtlas.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js +18 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs +16 -0
- package/build/node_modules/mongoose/lib/helpers/topology/isSSLError.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js +175 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs +173 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js +124 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs +122 -0
- package/build/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js +63 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs +61 -0
- package/build/node_modules/mongoose/lib/helpers/update/castArrayFilters.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js +38 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs +36 -0
- package/build/node_modules/mongoose/lib/helpers/update/modifiedPaths.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js +56 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs +54 -0
- package/build/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js +21 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs +19 -0
- package/build/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js +27 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs +25 -0
- package/build/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js +263 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.js.map +1 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs +261 -0
- package/build/node_modules/mongoose/lib/helpers/updateValidators.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/index.js +1208 -0
- package/build/node_modules/mongoose/lib/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/index.mjs +1201 -0
- package/build/node_modules/mongoose/lib/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/internal.js +47 -0
- package/build/node_modules/mongoose/lib/internal.js.map +1 -0
- package/build/node_modules/mongoose/lib/internal.mjs +45 -0
- package/build/node_modules/mongoose/lib/internal.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/model.js +5089 -0
- package/build/node_modules/mongoose/lib/model.js.map +1 -0
- package/build/node_modules/mongoose/lib/model.mjs +5082 -0
- package/build/node_modules/mongoose/lib/model.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js +39 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs +37 -0
- package/build/node_modules/mongoose/lib/options/PopulateOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js +63 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs +61 -0
- package/build/node_modules/mongoose/lib/options/SchemaArrayOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js +42 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs +40 -0
- package/build/node_modules/mongoose/lib/options/SchemaBufferOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js +68 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs +66 -0
- package/build/node_modules/mongoose/lib/options/SchemaDateOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js +72 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs +70 -0
- package/build/node_modules/mongoose/lib/options/SchemaDocumentArrayOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js +47 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs +45 -0
- package/build/node_modules/mongoose/lib/options/SchemaMapOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js +103 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs +101 -0
- package/build/node_modules/mongoose/lib/options/SchemaNumberOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js +67 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs +65 -0
- package/build/node_modules/mongoose/lib/options/SchemaObjectIdOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js +46 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs +44 -0
- package/build/node_modules/mongoose/lib/options/SchemaSingleNestedOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js +142 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs +140 -0
- package/build/node_modules/mongoose/lib/options/SchemaStringOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js +235 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs +233 -0
- package/build/node_modules/mongoose/lib/options/SchemaTypeOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js +167 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs +165 -0
- package/build/node_modules/mongoose/lib/options/VirtualOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.js +11 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs +9 -0
- package/build/node_modules/mongoose/lib/options/propertyOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.js +17 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs +15 -0
- package/build/node_modules/mongoose/lib/options/removeOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.js +17 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs +15 -0
- package/build/node_modules/mongoose/lib/options/saveOptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/options.js +25 -0
- package/build/node_modules/mongoose/lib/options.js.map +1 -0
- package/build/node_modules/mongoose/lib/options.mjs +21 -0
- package/build/node_modules/mongoose/lib/options.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.js +31 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs +29 -0
- package/build/node_modules/mongoose/lib/plugins/idGetter.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js +34 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs +32 -0
- package/build/node_modules/mongoose/lib/plugins/removeSubdocs.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js +69 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs +67 -0
- package/build/node_modules/mongoose/lib/plugins/saveSubdocs.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.js +93 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs +89 -0
- package/build/node_modules/mongoose/lib/plugins/sharding.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js +96 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs +94 -0
- package/build/node_modules/mongoose/lib/plugins/trackTransaction.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js +48 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.js.map +1 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs +46 -0
- package/build/node_modules/mongoose/lib/plugins/validateBeforeSave.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/promise_provider.js +60 -0
- package/build/node_modules/mongoose/lib/promise_provider.js.map +1 -0
- package/build/node_modules/mongoose/lib/promise_provider.mjs +54 -0
- package/build/node_modules/mongoose/lib/promise_provider.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/query.js +5588 -0
- package/build/node_modules/mongoose/lib/query.js.map +1 -0
- package/build/node_modules/mongoose/lib/query.mjs +5582 -0
- package/build/node_modules/mongoose/lib/query.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/queryhelpers.js +341 -0
- package/build/node_modules/mongoose/lib/queryhelpers.js.map +1 -0
- package/build/node_modules/mongoose/lib/queryhelpers.mjs +339 -0
- package/build/node_modules/mongoose/lib/queryhelpers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js +358 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs +352 -0
- package/build/node_modules/mongoose/lib/schema/SingleNestedPath.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/array.js +676 -0
- package/build/node_modules/mongoose/lib/schema/array.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/array.mjs +670 -0
- package/build/node_modules/mongoose/lib/schema/array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/boolean.js +278 -0
- package/build/node_modules/mongoose/lib/schema/boolean.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/boolean.mjs +276 -0
- package/build/node_modules/mongoose/lib/schema/boolean.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/buffer.js +276 -0
- package/build/node_modules/mongoose/lib/schema/buffer.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/buffer.mjs +274 -0
- package/build/node_modules/mongoose/lib/schema/buffer.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/date.js +411 -0
- package/build/node_modules/mongoose/lib/schema/date.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/date.mjs +409 -0
- package/build/node_modules/mongoose/lib/schema/date.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.js +218 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs +216 -0
- package/build/node_modules/mongoose/lib/schema/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.js +591 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs +584 -0
- package/build/node_modules/mongoose/lib/schema/documentarray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/index.js +52 -0
- package/build/node_modules/mongoose/lib/schema/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/index.mjs +50 -0
- package/build/node_modules/mongoose/lib/schema/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/map.js +84 -0
- package/build/node_modules/mongoose/lib/schema/map.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/map.mjs +82 -0
- package/build/node_modules/mongoose/lib/schema/map.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/mixed.js +140 -0
- package/build/node_modules/mongoose/lib/schema/mixed.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/mixed.mjs +138 -0
- package/build/node_modules/mongoose/lib/schema/mixed.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/number.js +443 -0
- package/build/node_modules/mongoose/lib/schema/number.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/number.mjs +441 -0
- package/build/node_modules/mongoose/lib/schema/number.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/objectid.js +307 -0
- package/build/node_modules/mongoose/lib/schema/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/objectid.mjs +305 -0
- package/build/node_modules/mongoose/lib/schema/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js +43 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs +41 -0
- package/build/node_modules/mongoose/lib/schema/operators/bitwise.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.js +15 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs +13 -0
- package/build/node_modules/mongoose/lib/schema/operators/exists.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js +121 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs +115 -0
- package/build/node_modules/mongoose/lib/schema/operators/geospatial.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js +46 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs +41 -0
- package/build/node_modules/mongoose/lib/schema/operators/helpers.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.js +42 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs +40 -0
- package/build/node_modules/mongoose/lib/schema/operators/text.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.js +23 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs +21 -0
- package/build/node_modules/mongoose/lib/schema/operators/type.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/string.js +681 -0
- package/build/node_modules/mongoose/lib/schema/string.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/string.mjs +679 -0
- package/build/node_modules/mongoose/lib/schema/string.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema/symbols.js +17 -0
- package/build/node_modules/mongoose/lib/schema/symbols.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema/symbols.mjs +12 -0
- package/build/node_modules/mongoose/lib/schema/symbols.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schema.js +2205 -0
- package/build/node_modules/mongoose/lib/schema.js.map +1 -0
- package/build/node_modules/mongoose/lib/schema.mjs +2198 -0
- package/build/node_modules/mongoose/lib/schema.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/schematype.js +1694 -0
- package/build/node_modules/mongoose/lib/schematype.js.map +1 -0
- package/build/node_modules/mongoose/lib/schematype.mjs +1688 -0
- package/build/node_modules/mongoose/lib/schematype.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/statemachine.js +184 -0
- package/build/node_modules/mongoose/lib/statemachine.js.map +1 -0
- package/build/node_modules/mongoose/lib/statemachine.mjs +182 -0
- package/build/node_modules/mongoose/lib/statemachine.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/array.js +91 -0
- package/build/node_modules/mongoose/lib/types/array.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/array.mjs +89 -0
- package/build/node_modules/mongoose/lib/types/array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/buffer.js +283 -0
- package/build/node_modules/mongoose/lib/types/buffer.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/buffer.mjs +281 -0
- package/build/node_modules/mongoose/lib/types/buffer.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/core_array.js +982 -0
- package/build/node_modules/mongoose/lib/types/core_array.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/core_array.mjs +976 -0
- package/build/node_modules/mongoose/lib/types/core_array.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/decimal128.js +18 -0
- package/build/node_modules/mongoose/lib/types/decimal128.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/decimal128.mjs +16 -0
- package/build/node_modules/mongoose/lib/types/decimal128.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/documentarray.js +462 -0
- package/build/node_modules/mongoose/lib/types/documentarray.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/documentarray.mjs +456 -0
- package/build/node_modules/mongoose/lib/types/documentarray.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/embedded.js +474 -0
- package/build/node_modules/mongoose/lib/types/embedded.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/embedded.mjs +467 -0
- package/build/node_modules/mongoose/lib/types/embedded.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/index.js +31 -0
- package/build/node_modules/mongoose/lib/types/index.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/index.mjs +29 -0
- package/build/node_modules/mongoose/lib/types/index.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/map.js +252 -0
- package/build/node_modules/mongoose/lib/types/map.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/map.mjs +246 -0
- package/build/node_modules/mongoose/lib/types/map.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/objectid.js +36 -0
- package/build/node_modules/mongoose/lib/types/objectid.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/objectid.mjs +34 -0
- package/build/node_modules/mongoose/lib/types/objectid.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/types/subdocument.js +308 -0
- package/build/node_modules/mongoose/lib/types/subdocument.js.map +1 -0
- package/build/node_modules/mongoose/lib/types/subdocument.mjs +306 -0
- package/build/node_modules/mongoose/lib/types/subdocument.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/utils.js +962 -0
- package/build/node_modules/mongoose/lib/utils.js.map +1 -0
- package/build/node_modules/mongoose/lib/utils.mjs +960 -0
- package/build/node_modules/mongoose/lib/utils.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/validoptions.js +39 -0
- package/build/node_modules/mongoose/lib/validoptions.js.map +1 -0
- package/build/node_modules/mongoose/lib/validoptions.mjs +37 -0
- package/build/node_modules/mongoose/lib/validoptions.mjs.map +1 -0
- package/build/node_modules/mongoose/lib/virtualtype.js +179 -0
- package/build/node_modules/mongoose/lib/virtualtype.js.map +1 -0
- package/build/node_modules/mongoose/lib/virtualtype.mjs +177 -0
- package/build/node_modules/mongoose/lib/virtualtype.mjs.map +1 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js +80 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.js.map +1 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs +74 -0
- package/build/node_modules/mongoose/node_modules/safe-buffer/index.mjs.map +1 -0
- package/build/node_modules/mongoose/package.json.js +299 -0
- package/build/node_modules/mongoose/package.json.js.map +1 -0
- package/build/node_modules/mongoose/package.mjs +277 -0
- package/build/node_modules/mongoose/package.mjs.map +1 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.js +104 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.js.map +1 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs +102 -0
- package/build/node_modules/mongoose-legacy-pluralize/index.mjs.map +1 -0
- package/build/node_modules/mpath/index.js +12 -0
- package/build/node_modules/mpath/index.js.map +1 -0
- package/build/node_modules/mpath/index.mjs +10 -0
- package/build/node_modules/mpath/index.mjs.map +1 -0
- package/build/node_modules/mpath/lib/index.js +325 -0
- package/build/node_modules/mpath/lib/index.js.map +1 -0
- package/build/node_modules/mpath/lib/index.mjs +323 -0
- package/build/node_modules/mpath/lib/index.mjs.map +1 -0
- package/build/node_modules/mpath/lib/stringToParts.js +51 -0
- package/build/node_modules/mpath/lib/stringToParts.js.map +1 -0
- package/build/node_modules/mpath/lib/stringToParts.mjs +49 -0
- package/build/node_modules/mpath/lib/stringToParts.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/collection.js +54 -0
- package/build/node_modules/mquery/lib/collection/collection.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/collection.mjs +52 -0
- package/build/node_modules/mquery/lib/collection/collection.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/index.js +17 -0
- package/build/node_modules/mquery/lib/collection/index.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/index.mjs +15 -0
- package/build/node_modules/mquery/lib/collection/index.mjs.map +1 -0
- package/build/node_modules/mquery/lib/collection/node.js +161 -0
- package/build/node_modules/mquery/lib/collection/node.js.map +1 -0
- package/build/node_modules/mquery/lib/collection/node.mjs +159 -0
- package/build/node_modules/mquery/lib/collection/node.mjs.map +1 -0
- package/build/node_modules/mquery/lib/env.js +30 -0
- package/build/node_modules/mquery/lib/env.js.map +1 -0
- package/build/node_modules/mquery/lib/env.mjs +28 -0
- package/build/node_modules/mquery/lib/env.mjs.map +1 -0
- package/build/node_modules/mquery/lib/mquery.js +3276 -0
- package/build/node_modules/mquery/lib/mquery.js.map +1 -0
- package/build/node_modules/mquery/lib/mquery.mjs +3268 -0
- package/build/node_modules/mquery/lib/mquery.mjs.map +1 -0
- package/build/node_modules/mquery/lib/permissions.js +96 -0
- package/build/node_modules/mquery/lib/permissions.js.map +1 -0
- package/build/node_modules/mquery/lib/permissions.mjs +94 -0
- package/build/node_modules/mquery/lib/permissions.mjs.map +1 -0
- package/build/node_modules/mquery/lib/utils.js +373 -0
- package/build/node_modules/mquery/lib/utils.js.map +1 -0
- package/build/node_modules/mquery/lib/utils.mjs +371 -0
- package/build/node_modules/mquery/lib/utils.mjs.map +1 -0
- package/build/node_modules/ms/index.js +166 -0
- package/build/node_modules/ms/index.js.map +1 -0
- package/build/node_modules/ms/index.mjs +164 -0
- package/build/node_modules/ms/index.mjs.map +1 -0
- package/build/node_modules/optional-require/index.js +82 -0
- package/build/node_modules/optional-require/index.js.map +1 -0
- package/build/node_modules/optional-require/index.mjs +76 -0
- package/build/node_modules/optional-require/index.mjs.map +1 -0
- package/build/node_modules/process-nextick-args/index.js +52 -0
- package/build/node_modules/process-nextick-args/index.js.map +1 -0
- package/build/node_modules/process-nextick-args/index.mjs +50 -0
- package/build/node_modules/process-nextick-args/index.mjs.map +1 -0
- package/build/node_modules/redis/index.js +1136 -0
- package/build/node_modules/redis/index.js.map +1 -0
- package/build/node_modules/redis/index.mjs +1127 -0
- package/build/node_modules/redis/index.mjs.map +1 -0
- package/build/node_modules/redis/lib/command.js +19 -0
- package/build/node_modules/redis/lib/command.js.map +1 -0
- package/build/node_modules/redis/lib/command.mjs +17 -0
- package/build/node_modules/redis/lib/command.mjs.map +1 -0
- package/build/node_modules/redis/lib/commands.js +127 -0
- package/build/node_modules/redis/lib/commands.js.map +1 -0
- package/build/node_modules/redis/lib/commands.mjs +125 -0
- package/build/node_modules/redis/lib/commands.mjs.map +1 -0
- package/build/node_modules/redis/lib/createClient.js +87 -0
- package/build/node_modules/redis/lib/createClient.js.map +1 -0
- package/build/node_modules/redis/lib/createClient.mjs +81 -0
- package/build/node_modules/redis/lib/createClient.mjs.map +1 -0
- package/build/node_modules/redis/lib/customErrors.js +69 -0
- package/build/node_modules/redis/lib/customErrors.js.map +1 -0
- package/build/node_modules/redis/lib/customErrors.mjs +62 -0
- package/build/node_modules/redis/lib/customErrors.mjs.map +1 -0
- package/build/node_modules/redis/lib/debug.js +14 -0
- package/build/node_modules/redis/lib/debug.js.map +1 -0
- package/build/node_modules/redis/lib/debug.mjs +12 -0
- package/build/node_modules/redis/lib/debug.mjs.map +1 -0
- package/build/node_modules/redis/lib/extendedApi.js +117 -0
- package/build/node_modules/redis/lib/extendedApi.js.map +1 -0
- package/build/node_modules/redis/lib/extendedApi.mjs +115 -0
- package/build/node_modules/redis/lib/extendedApi.mjs.map +1 -0
- package/build/node_modules/redis/lib/individualCommands.js +620 -0
- package/build/node_modules/redis/lib/individualCommands.js.map +1 -0
- package/build/node_modules/redis/lib/individualCommands.mjs +618 -0
- package/build/node_modules/redis/lib/individualCommands.mjs.map +1 -0
- package/build/node_modules/redis/lib/multi.js +190 -0
- package/build/node_modules/redis/lib/multi.js.map +1 -0
- package/build/node_modules/redis/lib/multi.mjs +188 -0
- package/build/node_modules/redis/lib/multi.mjs.map +1 -0
- package/build/node_modules/redis/lib/utils.js +137 -0
- package/build/node_modules/redis/lib/utils.js.map +1 -0
- package/build/node_modules/redis/lib/utils.mjs +135 -0
- package/build/node_modules/redis/lib/utils.mjs.map +1 -0
- package/build/node_modules/redis-commands/commands.json.js +2785 -0
- package/build/node_modules/redis-commands/commands.json.js.map +1 -0
- package/build/node_modules/redis-commands/commands.mjs +2560 -0
- package/build/node_modules/redis-commands/commands.mjs.map +1 -0
- package/build/node_modules/redis-commands/index.js +177 -0
- package/build/node_modules/redis-commands/index.js.map +1 -0
- package/build/node_modules/redis-commands/index.mjs +175 -0
- package/build/node_modules/redis-commands/index.mjs.map +1 -0
- package/build/node_modules/redis-parser/index.js +21 -0
- package/build/node_modules/redis-parser/index.js.map +1 -0
- package/build/node_modules/redis-parser/index.mjs +15 -0
- package/build/node_modules/redis-parser/index.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/hiredis.js +69 -0
- package/build/node_modules/redis-parser/lib/hiredis.js.map +1 -0
- package/build/node_modules/redis-parser/lib/hiredis.mjs +63 -0
- package/build/node_modules/redis-parser/lib/hiredis.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/parser.js +593 -0
- package/build/node_modules/redis-parser/lib/parser.js.map +1 -0
- package/build/node_modules/redis-parser/lib/parser.mjs +587 -0
- package/build/node_modules/redis-parser/lib/parser.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/parserError.js +34 -0
- package/build/node_modules/redis-parser/lib/parserError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/parserError.mjs +27 -0
- package/build/node_modules/redis-parser/lib/parserError.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/redisError.js +31 -0
- package/build/node_modules/redis-parser/lib/redisError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/redisError.mjs +25 -0
- package/build/node_modules/redis-parser/lib/redisError.mjs.map +1 -0
- package/build/node_modules/redis-parser/lib/replyError.js +31 -0
- package/build/node_modules/redis-parser/lib/replyError.js.map +1 -0
- package/build/node_modules/redis-parser/lib/replyError.mjs +25 -0
- package/build/node_modules/redis-parser/lib/replyError.mjs.map +1 -0
- package/build/node_modules/regexp-clone/index.js +34 -0
- package/build/node_modules/regexp-clone/index.js.map +1 -0
- package/build/node_modules/regexp-clone/index.mjs +32 -0
- package/build/node_modules/regexp-clone/index.mjs.map +1 -0
- package/build/node_modules/safe-buffer/index.js +76 -0
- package/build/node_modules/safe-buffer/index.js.map +1 -0
- package/build/node_modules/safe-buffer/index.mjs +70 -0
- package/build/node_modules/safe-buffer/index.mjs.map +1 -0
- package/build/node_modules/saslprep/index.js +162 -0
- package/build/node_modules/saslprep/index.js.map +1 -0
- package/build/node_modules/saslprep/index.mjs +160 -0
- package/build/node_modules/saslprep/index.mjs.map +1 -0
- package/build/node_modules/saslprep/lib/memory-code-points.js +47 -0
- package/build/node_modules/saslprep/lib/memory-code-points.js.map +1 -0
- package/build/node_modules/saslprep/lib/memory-code-points.mjs +40 -0
- package/build/node_modules/saslprep/lib/memory-code-points.mjs.map +1 -0
- package/build/node_modules/sift/es5m/index.js +683 -0
- package/build/node_modules/sift/es5m/index.js.map +1 -0
- package/build/node_modules/sift/es5m/index.mjs +652 -0
- package/build/node_modules/sift/es5m/index.mjs.map +1 -0
- package/build/node_modules/sliced/index.js +36 -0
- package/build/node_modules/sliced/index.js.map +1 -0
- package/build/node_modules/sliced/index.mjs +34 -0
- package/build/node_modules/sliced/index.mjs.map +1 -0
- package/build/node_modules/sparse-bitfield/index.js +100 -0
- package/build/node_modules/sparse-bitfield/index.js.map +1 -0
- package/build/node_modules/sparse-bitfield/index.mjs +98 -0
- package/build/node_modules/sparse-bitfield/index.mjs.map +1 -0
- package/build/node_modules/util-deprecate/node.js +16 -0
- package/build/node_modules/util-deprecate/node.js.map +1 -0
- package/build/node_modules/util-deprecate/node.mjs +10 -0
- package/build/node_modules/util-deprecate/node.mjs.map +1 -0
- package/build/node_modules/ws/index.js +17 -0
- package/build/node_modules/ws/index.js.map +1 -0
- package/build/node_modules/ws/index.mjs +15 -0
- package/build/node_modules/ws/index.mjs.map +1 -0
- package/build/node_modules/ws/lib/buffer-util.js +143 -0
- package/build/node_modules/ws/lib/buffer-util.js.map +1 -0
- package/build/node_modules/ws/lib/buffer-util.mjs +137 -0
- package/build/node_modules/ws/lib/buffer-util.mjs.map +1 -0
- package/build/node_modules/ws/lib/constants.js +13 -0
- package/build/node_modules/ws/lib/constants.js.map +1 -0
- package/build/node_modules/ws/lib/constants.mjs +11 -0
- package/build/node_modules/ws/lib/constants.mjs.map +1 -0
- package/build/node_modules/ws/lib/event-target.js +187 -0
- package/build/node_modules/ws/lib/event-target.js.map +1 -0
- package/build/node_modules/ws/lib/event-target.mjs +185 -0
- package/build/node_modules/ws/lib/event-target.mjs.map +1 -0
- package/build/node_modules/ws/lib/extension.js +226 -0
- package/build/node_modules/ws/lib/extension.js.map +1 -0
- package/build/node_modules/ws/lib/extension.mjs +224 -0
- package/build/node_modules/ws/lib/extension.mjs.map +1 -0
- package/build/node_modules/ws/lib/limiter.js +58 -0
- package/build/node_modules/ws/lib/limiter.js.map +1 -0
- package/build/node_modules/ws/lib/limiter.mjs +56 -0
- package/build/node_modules/ws/lib/limiter.mjs.map +1 -0
- package/build/node_modules/ws/lib/permessage-deflate.js +526 -0
- package/build/node_modules/ws/lib/permessage-deflate.js.map +1 -0
- package/build/node_modules/ws/lib/permessage-deflate.mjs +520 -0
- package/build/node_modules/ws/lib/permessage-deflate.mjs.map +1 -0
- package/build/node_modules/ws/lib/receiver.js +620 -0
- package/build/node_modules/ws/lib/receiver.js.map +1 -0
- package/build/node_modules/ws/lib/receiver.mjs +614 -0
- package/build/node_modules/ws/lib/receiver.mjs.map +1 -0
- package/build/node_modules/ws/lib/sender.js +424 -0
- package/build/node_modules/ws/lib/sender.js.map +1 -0
- package/build/node_modules/ws/lib/sender.mjs +418 -0
- package/build/node_modules/ws/lib/sender.mjs.map +1 -0
- package/build/node_modules/ws/lib/stream.js +186 -0
- package/build/node_modules/ws/lib/stream.js.map +1 -0
- package/build/node_modules/ws/lib/stream.mjs +180 -0
- package/build/node_modules/ws/lib/stream.mjs.map +1 -0
- package/build/node_modules/ws/lib/validation.js +117 -0
- package/build/node_modules/ws/lib/validation.js.map +1 -0
- package/build/node_modules/ws/lib/validation.mjs +111 -0
- package/build/node_modules/ws/lib/validation.mjs.map +1 -0
- package/build/node_modules/ws/lib/websocket-server.js +467 -0
- package/build/node_modules/ws/lib/websocket-server.js.map +1 -0
- package/build/node_modules/ws/lib/websocket-server.mjs +459 -0
- package/build/node_modules/ws/lib/websocket-server.mjs.map +1 -0
- package/build/node_modules/ws/lib/websocket.js +1138 -0
- package/build/node_modules/ws/lib/websocket.js.map +1 -0
- package/build/node_modules/ws/lib/websocket.mjs +1126 -0
- package/build/node_modules/ws/lib/websocket.mjs.map +1 -0
- package/build/packages/core/src/Debug.js +34 -0
- package/build/packages/core/src/Debug.js.map +1 -0
- package/build/packages/core/src/Debug.mjs +20 -0
- package/build/packages/core/src/Debug.mjs.map +1 -0
- package/build/packages/core/src/IPC.js +65 -0
- package/build/packages/core/src/IPC.js.map +1 -0
- package/build/packages/core/src/IPC.mjs +60 -0
- package/build/packages/core/src/IPC.mjs.map +1 -0
- package/build/packages/core/src/Logger.js +12 -0
- package/build/packages/core/src/Logger.js.map +1 -0
- package/build/packages/core/src/Logger.mjs +8 -0
- package/build/packages/core/src/Logger.mjs.map +1 -0
- package/build/packages/core/src/MatchMaker.js +401 -0
- package/build/packages/core/src/MatchMaker.js.map +1 -0
- package/build/packages/core/src/MatchMaker.mjs +382 -0
- package/build/packages/core/src/MatchMaker.mjs.map +1 -0
- package/build/packages/core/src/Protocol.js +164 -0
- package/build/packages/core/src/Protocol.js.map +1 -0
- package/build/packages/core/src/Protocol.mjs +154 -0
- package/build/packages/core/src/Protocol.mjs.map +1 -0
- package/build/packages/core/src/Room.js +569 -0
- package/build/packages/core/src/Room.js.map +1 -0
- package/build/packages/core/src/Room.mjs +559 -0
- package/build/packages/core/src/Room.mjs.map +1 -0
- package/build/packages/core/src/Server.js +222 -0
- package/build/packages/core/src/Server.js.map +1 -0
- package/build/packages/core/src/Server.mjs +218 -0
- package/build/packages/core/src/Server.mjs.map +1 -0
- package/build/packages/core/src/Transport.js +17 -0
- package/build/packages/core/src/Transport.js.map +1 -0
- package/build/packages/core/src/Transport.mjs +13 -0
- package/build/packages/core/src/Transport.mjs.map +1 -0
- package/build/packages/core/src/Utils.js +225 -0
- package/build/packages/core/src/Utils.js.map +1 -0
- package/build/packages/core/src/Utils.mjs +209 -0
- package/build/packages/core/src/Utils.mjs.map +1 -0
- package/build/packages/core/src/discovery/index.js +31 -0
- package/build/packages/core/src/discovery/index.js.map +1 -0
- package/build/packages/core/src/discovery/index.mjs +22 -0
- package/build/packages/core/src/discovery/index.mjs.map +1 -0
- package/build/packages/core/src/errors/SeatReservationError.js +12 -0
- package/build/packages/core/src/errors/SeatReservationError.js.map +1 -0
- package/build/packages/core/src/errors/SeatReservationError.mjs +8 -0
- package/build/packages/core/src/errors/SeatReservationError.mjs.map +1 -0
- package/build/packages/core/src/errors/ServerError.js +21 -0
- package/build/packages/core/src/errors/ServerError.js.map +1 -0
- package/build/packages/core/src/errors/ServerError.mjs +17 -0
- package/build/packages/core/src/errors/ServerError.mjs.map +1 -0
- package/build/packages/core/src/index.js +96 -0
- package/build/packages/core/src/index.js.map +1 -0
- package/build/packages/core/src/index.mjs +19 -0
- package/build/packages/core/src/index.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/Lobby.js +31 -0
- package/build/packages/core/src/matchmaker/Lobby.js.map +1 -0
- package/build/packages/core/src/matchmaker/Lobby.mjs +26 -0
- package/build/packages/core/src/matchmaker/Lobby.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.js +72 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.js.map +1 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs +67 -0
- package/build/packages/core/src/matchmaker/RegisteredHandler.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/controller.js +46 -0
- package/build/packages/core/src/matchmaker/controller.js.map +1 -0
- package/build/packages/core/src/matchmaker/controller.mjs +39 -0
- package/build/packages/core/src/matchmaker/controller.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/Query.js +53 -0
- package/build/packages/core/src/matchmaker/driver/Query.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/Query.mjs +49 -0
- package/build/packages/core/src/matchmaker/driver/Query.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.js +80 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs +76 -0
- package/build/packages/core/src/matchmaker/driver/RoomData.mjs.map +1 -0
- package/build/packages/core/src/matchmaker/driver/index.js +34 -0
- package/build/packages/core/src/matchmaker/driver/index.js.map +1 -0
- package/build/packages/core/src/matchmaker/driver/index.mjs +30 -0
- package/build/packages/core/src/matchmaker/driver/index.mjs.map +1 -0
- package/build/packages/core/src/presence/LocalPresence.js +156 -0
- package/build/packages/core/src/presence/LocalPresence.js.map +1 -0
- package/build/packages/core/src/presence/LocalPresence.mjs +152 -0
- package/build/packages/core/src/presence/LocalPresence.mjs.map +1 -0
- package/build/packages/core/src/rooms/LobbyRoom.js +101 -0
- package/build/packages/core/src/rooms/LobbyRoom.js.map +1 -0
- package/build/packages/core/src/rooms/LobbyRoom.mjs +97 -0
- package/build/packages/core/src/rooms/LobbyRoom.mjs.map +1 -0
- package/build/packages/core/src/rooms/RelayRoom.js +79 -0
- package/build/packages/core/src/rooms/RelayRoom.js.map +1 -0
- package/build/packages/core/src/rooms/RelayRoom.mjs +75 -0
- package/build/packages/core/src/rooms/RelayRoom.mjs.map +1 -0
- package/build/packages/core/src/serializer/NoneSerializer.js +19 -0
- package/build/packages/core/src/serializer/NoneSerializer.js.map +1 -0
- package/build/packages/core/src/serializer/NoneSerializer.mjs +15 -0
- package/build/packages/core/src/serializer/NoneSerializer.mjs.map +1 -0
- package/build/packages/core/src/serializer/SchemaSerializer.js +85 -0
- package/build/packages/core/src/serializer/SchemaSerializer.js.map +1 -0
- package/build/packages/core/src/serializer/SchemaSerializer.mjs +81 -0
- package/build/packages/core/src/serializer/SchemaSerializer.mjs.map +1 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs +23 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js +25 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.js.map +1 -0
- package/build/packages/drivers/mongoose-driver/build/index.mjs.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs +70 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js +74 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.js.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketClient.mjs.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs +102 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js +110 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.js.map +1 -0
- package/build/packages/transport/ws-transport/build/WebSocketTransport.mjs.map +1 -0
- package/build/rooms/RelayRoom.js +2 -2
- package/build/rooms/RelayRoom.js.map +1 -1
- package/build/rooms/RelayRoom.mjs +2 -2
- package/build/rooms/RelayRoom.mjs.map +1 -1
- package/package.json +3 -3
package/build/Debug.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import debug from 'debug';
|
|
2
|
-
export declare const debugMatchMaking: debug.IDebugger;
|
|
3
|
-
export declare const debugPatch: debug.IDebugger;
|
|
4
|
-
export declare const debugError: debug.IDebugger;
|
|
5
2
|
export declare const debugConnection: debug.IDebugger;
|
|
6
3
|
export declare const debugDriver: debug.IDebugger;
|
|
4
|
+
export declare const debugError: debug.IDebugger;
|
|
5
|
+
export declare const debugMatchMaking: debug.IDebugger;
|
|
6
|
+
export declare const debugMessage: debug.IDebugger;
|
|
7
|
+
export declare const debugPatch: debug.IDebugger;
|
|
7
8
|
export declare const debugPresence: debug.IDebugger;
|
|
8
9
|
export declare const debugAndPrintError: (e: Error | string) => void;
|
package/build/Debug.js
CHANGED
|
@@ -3,22 +3,24 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var debug = require('debug');
|
|
6
|
+
var Logger = require('./Logger.js');
|
|
6
7
|
var ServerError = require('./errors/ServerError.js');
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
10
11
|
var debug__default = /*#__PURE__*/_interopDefaultLegacy(debug);
|
|
11
12
|
|
|
12
|
-
const debugMatchMaking = debug__default['default']('colyseus:matchmaking');
|
|
13
|
-
const debugPatch = debug__default['default']('colyseus:patch');
|
|
14
|
-
const debugError = debug__default['default']('colyseus:errors');
|
|
15
13
|
const debugConnection = debug__default['default']('colyseus:connection');
|
|
16
14
|
const debugDriver = debug__default['default']('colyseus:driver');
|
|
15
|
+
const debugError = debug__default['default']('colyseus:errors');
|
|
16
|
+
const debugMatchMaking = debug__default['default']('colyseus:matchmaking');
|
|
17
|
+
const debugMessage = debug__default['default']('colyseus:message');
|
|
18
|
+
const debugPatch = debug__default['default']('colyseus:patch');
|
|
17
19
|
const debugPresence = debug__default['default']('colyseus:presence');
|
|
18
20
|
const debugAndPrintError = (e) => {
|
|
19
21
|
const message = (e instanceof Error) ? e.stack : e;
|
|
20
22
|
if (!(e instanceof ServerError.ServerError)) {
|
|
21
|
-
|
|
23
|
+
Logger.logger.error(message);
|
|
22
24
|
}
|
|
23
25
|
debugError.call(debugError, message);
|
|
24
26
|
};
|
|
@@ -28,6 +30,7 @@ exports.debugConnection = debugConnection;
|
|
|
28
30
|
exports.debugDriver = debugDriver;
|
|
29
31
|
exports.debugError = debugError;
|
|
30
32
|
exports.debugMatchMaking = debugMatchMaking;
|
|
33
|
+
exports.debugMessage = debugMessage;
|
|
31
34
|
exports.debugPatch = debugPatch;
|
|
32
35
|
exports.debugPresence = debugPresence;
|
|
33
36
|
//# sourceMappingURL=Debug.js.map
|
package/build/Debug.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Debug.js","sources":["../src/Debug.ts"],"sourcesContent":["import debug from 'debug';\nimport { ServerError } from './errors/ServerError';\n\nexport const
|
|
1
|
+
{"version":3,"file":"Debug.js","sources":["../src/Debug.ts"],"sourcesContent":["import debug from 'debug';\nimport { logger } from './Logger';\nimport { ServerError } from './errors/ServerError';\n\nexport const debugConnection = debug('colyseus:connection');\nexport const debugDriver = debug('colyseus:driver');\nexport const debugError = debug('colyseus:errors');\nexport const debugMatchMaking = debug('colyseus:matchmaking');\nexport const debugMessage = debug('colyseus:message');\nexport const debugPatch = debug('colyseus:patch');\nexport const debugPresence = debug('colyseus:presence');\n\nexport const debugAndPrintError = (e: Error | string) => {\n const message = (e instanceof Error) ? e.stack : e;\n\n if (!(e instanceof ServerError)) {\n logger.error(message);\n }\n\n debugError.call(debugError, message);\n};\n"],"names":["debug","ServerError","logger"],"mappings":";;;;;;;;;;;;MAIa,eAAe,GAAGA,yBAAK,CAAC,qBAAqB,EAAE;MAC/C,WAAW,GAAGA,yBAAK,CAAC,iBAAiB,EAAE;MACvC,UAAU,GAAGA,yBAAK,CAAC,iBAAiB,EAAE;MACtC,gBAAgB,GAAGA,yBAAK,CAAC,sBAAsB,EAAE;MACjD,YAAY,GAAGA,yBAAK,CAAC,kBAAkB,EAAE;MACzC,UAAU,GAAGA,yBAAK,CAAC,gBAAgB,EAAE;MACrC,aAAa,GAAGA,yBAAK,CAAC,mBAAmB,EAAE;MAE3C,kBAAkB,GAAG,CAAC,CAAiB;IAClD,MAAM,OAAO,GAAG,CAAC,CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;IAEnD,IAAI,EAAE,CAAC,YAAYC,uBAAW,CAAC,EAAE;QAC/BC,aAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACvB;IAED,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AACvC;;;;;;;;;;;"}
|
package/build/Debug.mjs
CHANGED
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import debug from 'debug';
|
|
2
|
+
import { logger } from './Logger.mjs';
|
|
2
3
|
import { ServerError } from './errors/ServerError.mjs';
|
|
3
4
|
|
|
4
|
-
const debugMatchMaking = debug('colyseus:matchmaking');
|
|
5
|
-
const debugPatch = debug('colyseus:patch');
|
|
6
|
-
const debugError = debug('colyseus:errors');
|
|
7
5
|
const debugConnection = debug('colyseus:connection');
|
|
8
6
|
const debugDriver = debug('colyseus:driver');
|
|
7
|
+
const debugError = debug('colyseus:errors');
|
|
8
|
+
const debugMatchMaking = debug('colyseus:matchmaking');
|
|
9
|
+
const debugMessage = debug('colyseus:message');
|
|
10
|
+
const debugPatch = debug('colyseus:patch');
|
|
9
11
|
const debugPresence = debug('colyseus:presence');
|
|
10
12
|
const debugAndPrintError = (e) => {
|
|
11
13
|
const message = (e instanceof Error) ? e.stack : e;
|
|
12
14
|
if (!(e instanceof ServerError)) {
|
|
13
|
-
|
|
15
|
+
logger.error(message);
|
|
14
16
|
}
|
|
15
17
|
debugError.call(debugError, message);
|
|
16
18
|
};
|
|
17
19
|
|
|
18
|
-
export { debugAndPrintError, debugConnection, debugDriver, debugError, debugMatchMaking, debugPatch, debugPresence };
|
|
20
|
+
export { debugAndPrintError, debugConnection, debugDriver, debugError, debugMatchMaking, debugMessage, debugPatch, debugPresence };
|
|
19
21
|
//# sourceMappingURL=Debug.mjs.map
|
package/build/Debug.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Debug.mjs","sources":["../src/Debug.ts"],"sourcesContent":["import debug from 'debug';\nimport { ServerError } from './errors/ServerError';\n\nexport const
|
|
1
|
+
{"version":3,"file":"Debug.mjs","sources":["../src/Debug.ts"],"sourcesContent":["import debug from 'debug';\nimport { logger } from './Logger';\nimport { ServerError } from './errors/ServerError';\n\nexport const debugConnection = debug('colyseus:connection');\nexport const debugDriver = debug('colyseus:driver');\nexport const debugError = debug('colyseus:errors');\nexport const debugMatchMaking = debug('colyseus:matchmaking');\nexport const debugMessage = debug('colyseus:message');\nexport const debugPatch = debug('colyseus:patch');\nexport const debugPresence = debug('colyseus:presence');\n\nexport const debugAndPrintError = (e: Error | string) => {\n const message = (e instanceof Error) ? e.stack : e;\n\n if (!(e instanceof ServerError)) {\n logger.error(message);\n }\n\n debugError.call(debugError, message);\n};\n"],"names":[],"mappings":";;;;MAIa,eAAe,GAAG,KAAK,CAAC,qBAAqB,EAAE;MAC/C,WAAW,GAAG,KAAK,CAAC,iBAAiB,EAAE;MACvC,UAAU,GAAG,KAAK,CAAC,iBAAiB,EAAE;MACtC,gBAAgB,GAAG,KAAK,CAAC,sBAAsB,EAAE;MACjD,YAAY,GAAG,KAAK,CAAC,kBAAkB,EAAE;MACzC,UAAU,GAAG,KAAK,CAAC,gBAAgB,EAAE;MACrC,aAAa,GAAG,KAAK,CAAC,mBAAmB,EAAE;MAE3C,kBAAkB,GAAG,CAAC,CAAiB;IAClD,MAAM,OAAO,GAAG,CAAC,CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC;IAEnD,IAAI,EAAE,CAAC,YAAY,WAAW,CAAC,EAAE;QAC/B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KACvB;IAED,UAAU,CAAC,IAAI,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;AACvC;;;;"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare class Logger {
|
|
2
|
+
debug(...args: any[]): void;
|
|
3
|
+
error(...args: any[]): void;
|
|
4
|
+
info(...args: any[]): void;
|
|
5
|
+
trace(...args: any[]): void;
|
|
6
|
+
warn(...args: any[]): void;
|
|
7
|
+
}
|
|
8
|
+
export declare let logger: Logger;
|
|
9
|
+
export declare function setLogger(instance: Logger): void;
|
package/build/Logger.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logger.js","sources":["../src/Logger.ts"],"sourcesContent":["//\n// Abstract logging adaptor\n//\nexport class Logger {\n debug(...args) {\n logger.debug(...args);\n }\n\n error(...args) {\n logger.error(...args);\n }\n\n info(...args) {\n logger.info(...args);\n }\n\n trace(...args) {\n logger.trace(...args);\n }\n\n warn(...args) {\n logger.warn(...args);\n }\n}\n\nexport let logger: Logger = console;\n\nexport function setLogger(instance: Logger) {\n logger = instance;\n}\n"],"names":["logger"],"mappings":";;;;AAAA;AAyBWA,cAAM,GAAW,QAAQ;SAEpB,SAAS,CAAC,QAAgB;IACxCA,cAAM,GAAG,QAAQ,CAAC;AACpB;;;;"}
|
package/build/Logger.mjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Logger.mjs","sources":["../src/Logger.ts"],"sourcesContent":["//\n// Abstract logging adaptor\n//\nexport class Logger {\n debug(...args) {\n logger.debug(...args);\n }\n\n error(...args) {\n logger.error(...args);\n }\n\n info(...args) {\n logger.info(...args);\n }\n\n trace(...args) {\n logger.trace(...args);\n }\n\n warn(...args) {\n logger.warn(...args);\n }\n}\n\nexport let logger: Logger = console;\n\nexport function setLogger(instance: Logger) {\n logger = instance;\n}\n"],"names":[],"mappings":"AAAA;IAyBW,MAAM,GAAW,QAAQ;SAEpB,SAAS,CAAC,QAAgB;IACxC,MAAM,GAAG,QAAQ,CAAC;AACpB;;;;"}
|
package/build/MatchMaker.d.ts
CHANGED
|
@@ -10,10 +10,11 @@ export interface SeatReservation {
|
|
|
10
10
|
sessionId: string;
|
|
11
11
|
room: RoomListingData;
|
|
12
12
|
}
|
|
13
|
+
export declare let publicAddress: string;
|
|
13
14
|
export declare let processId: string;
|
|
14
15
|
export declare let presence: Presence;
|
|
15
16
|
export declare let driver: MatchMakerDriver;
|
|
16
|
-
export declare function setup(_presence?: Presence, _driver?: MatchMakerDriver, _processId?: string): void;
|
|
17
|
+
export declare function setup(_presence?: Presence, _driver?: MatchMakerDriver, _processId?: string, _publicAddress?: string): void;
|
|
17
18
|
/**
|
|
18
19
|
* Join or create into a room and return seat reservation
|
|
19
20
|
*/
|
|
@@ -32,10 +33,17 @@ export declare function join(roomName: string, clientOptions?: ClientOptions): P
|
|
|
32
33
|
/**
|
|
33
34
|
* Join a room by id and return seat reservation
|
|
34
35
|
*/
|
|
35
|
-
export declare function
|
|
36
|
+
export declare function reconnect(roomId: string, clientOptions?: ClientOptions): Promise<{
|
|
36
37
|
room: RoomListingData<any>;
|
|
37
38
|
sessionId: any;
|
|
38
39
|
}>;
|
|
40
|
+
/**
|
|
41
|
+
* Join a room by id and return seat reservation
|
|
42
|
+
*/
|
|
43
|
+
export declare function joinById(roomId: string, clientOptions?: ClientOptions): Promise<{
|
|
44
|
+
room: RoomListingData<any>;
|
|
45
|
+
sessionId: string;
|
|
46
|
+
}>;
|
|
39
47
|
/**
|
|
40
48
|
* Perform a query for all cached rooms
|
|
41
49
|
*/
|
package/build/MatchMaker.js
CHANGED
|
@@ -16,14 +16,16 @@ var controller = require('./matchmaker/controller.js');
|
|
|
16
16
|
|
|
17
17
|
const handlers = {};
|
|
18
18
|
const rooms = {};
|
|
19
|
+
exports.publicAddress = void 0;
|
|
19
20
|
exports.processId = void 0;
|
|
20
21
|
exports.presence = void 0;
|
|
21
22
|
exports.driver = void 0;
|
|
22
23
|
let isGracefullyShuttingDown;
|
|
23
|
-
function setup(_presence, _driver, _processId) {
|
|
24
|
+
function setup(_presence, _driver, _processId, _publicAddress) {
|
|
24
25
|
exports.presence = _presence || new LocalPresence.LocalPresence();
|
|
25
26
|
exports.driver = _driver || new index.LocalDriver();
|
|
26
27
|
exports.processId = _processId;
|
|
28
|
+
exports.publicAddress = _publicAddress;
|
|
27
29
|
isGracefullyShuttingDown = false;
|
|
28
30
|
/**
|
|
29
31
|
* Subscribe to remote `handleCreateRoom` calls.
|
|
@@ -67,30 +69,37 @@ async function join(roomName, clientOptions = {}) {
|
|
|
67
69
|
/**
|
|
68
70
|
* Join a room by id and return seat reservation
|
|
69
71
|
*/
|
|
70
|
-
async function
|
|
72
|
+
async function reconnect(roomId, clientOptions = {}) {
|
|
71
73
|
const room = await exports.driver.findOne({ roomId });
|
|
72
|
-
if (room) {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
else if (!room.locked) {
|
|
85
|
-
return reserveSeatFor(room, clientOptions);
|
|
86
|
-
}
|
|
87
|
-
else {
|
|
88
|
-
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" is locked`);
|
|
89
|
-
}
|
|
74
|
+
if (!room) {
|
|
75
|
+
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" not found`);
|
|
76
|
+
}
|
|
77
|
+
// check for reconnection
|
|
78
|
+
const reconnectionToken = clientOptions.reconnectionToken;
|
|
79
|
+
if (!reconnectionToken) {
|
|
80
|
+
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_UNHANDLED, `'reconnectionToken' must be provided for reconnection.`);
|
|
81
|
+
}
|
|
82
|
+
// respond to re-connection!
|
|
83
|
+
const sessionId = await remoteRoomCall(room.roomId, 'checkReconnectionToken', [reconnectionToken]);
|
|
84
|
+
if (sessionId) {
|
|
85
|
+
return { room, sessionId };
|
|
90
86
|
}
|
|
91
87
|
else {
|
|
88
|
+
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_EXPIRED, `invalid reconnection token or expired.`);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Join a room by id and return seat reservation
|
|
93
|
+
*/
|
|
94
|
+
async function joinById(roomId, clientOptions = {}) {
|
|
95
|
+
const room = await exports.driver.findOne({ roomId });
|
|
96
|
+
if (!room) {
|
|
92
97
|
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" not found`);
|
|
93
98
|
}
|
|
99
|
+
else if (room.locked) {
|
|
100
|
+
throw new ServerError.ServerError(Protocol.ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" is locked`);
|
|
101
|
+
}
|
|
102
|
+
return reserveSeatFor(room, clientOptions);
|
|
94
103
|
}
|
|
95
104
|
/**
|
|
96
105
|
* Perform a query for all cached rooms
|
|
@@ -190,11 +199,16 @@ async function handleCreateRoom(roomName, clientOptions) {
|
|
|
190
199
|
room.roomId = Utils.generateId();
|
|
191
200
|
room.roomName = roomName;
|
|
192
201
|
room.presence = exports.presence;
|
|
202
|
+
const additionalListingData = registeredHandler.getFilterOptions(clientOptions);
|
|
203
|
+
// assign public host
|
|
204
|
+
if (exports.publicAddress) {
|
|
205
|
+
additionalListingData.publicAddress = exports.publicAddress;
|
|
206
|
+
}
|
|
193
207
|
// create a RoomCache reference.
|
|
194
208
|
room.listing = exports.driver.createInstance({
|
|
195
209
|
name: roomName,
|
|
196
210
|
processId: exports.processId,
|
|
197
|
-
...
|
|
211
|
+
...additionalListingData
|
|
198
212
|
});
|
|
199
213
|
if (room.onCreate) {
|
|
200
214
|
try {
|
|
@@ -388,6 +402,7 @@ exports.join = join;
|
|
|
388
402
|
exports.joinById = joinById;
|
|
389
403
|
exports.joinOrCreate = joinOrCreate;
|
|
390
404
|
exports.query = query;
|
|
405
|
+
exports.reconnect = reconnect;
|
|
391
406
|
exports.remoteRoomCall = remoteRoomCall;
|
|
392
407
|
exports.removeRoomType = removeRoomType;
|
|
393
408
|
exports.reserveSeatFor = reserveSeatFor;
|
package/build/MatchMaker.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MatchMaker.js","sources":["../src/MatchMaker.ts"],"sourcesContent":["import { ErrorCode } from './Protocol';\n\nimport { requestFromIPC, subscribeIPC } from './IPC';\nimport { generateId, merge, REMOTE_ROOM_SHORT_TIMEOUT, retry } from './Utils';\n\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Room, RoomInternalState } from './Room';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { Presence } from './presence/Presence';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport { SeatReservationError } from './errors/SeatReservationError';\nimport { ServerError } from './errors/ServerError';\n\nimport { IRoomListingData, MatchMakerDriver, RoomListingData, LocalDriver } from './matchmaker/driver';\nimport * as controller from './matchmaker/controller';\n\nimport { Client } from './Transport';\nimport { Type } from './types';\n\nexport { MatchMakerDriver, controller };\n\nexport type ClientOptions = any;\n\nexport interface SeatReservation {\n sessionId: string;\n room: RoomListingData;\n}\n\nconst handlers: {[id: string]: RegisteredHandler} = {};\nconst rooms: {[roomId: string]: Room} = {};\n\nexport let processId: string;\nexport let presence: Presence;\nexport let driver: MatchMakerDriver;\n\nlet isGracefullyShuttingDown: boolean;\n\nexport function setup(_presence?: Presence, _driver?: MatchMakerDriver, _processId?: string) {\n presence = _presence || new LocalPresence();\n driver = _driver || new LocalDriver();\n processId = _processId;\n isGracefullyShuttingDown = false;\n\n /**\n * Subscribe to remote `handleCreateRoom` calls.\n */\n subscribeIPC(presence, processId, getProcessChannel(), (_, args) => {\n return handleCreateRoom.apply(undefined, args);\n });\n\n presence.hset(getRoomCountKey(), processId, '0');\n}\n\n/**\n * Join or create into a room and return seat reservation\n */\nexport async function joinOrCreate(roomName: string, clientOptions: ClientOptions = {}) {\n return await retry<Promise<SeatReservation>>(async () => {\n let room = await findOneRoomAvailable(roomName, clientOptions);\n\n if (!room) {\n room = await createRoom(roomName, clientOptions);\n }\n\n return await reserveSeatFor(room, clientOptions);\n }, 5, [SeatReservationError]);\n}\n\n/**\n * Create a room and return seat reservation\n */\nexport async function create(roomName: string, clientOptions: ClientOptions = {}) {\n const room = await createRoom(roomName, clientOptions);\n return reserveSeatFor(room, clientOptions);\n}\n\n/**\n * Join a room and return seat reservation\n */\nexport async function join(roomName: string, clientOptions: ClientOptions = {}) {\n return await retry<Promise<SeatReservation>>(async () => {\n const room = await findOneRoomAvailable(roomName, clientOptions);\n\n if (!room) {\n throw new ServerError(ErrorCode.MATCHMAKE_INVALID_CRITERIA, `no rooms found with provided criteria`);\n }\n\n return reserveSeatFor(room, clientOptions);\n });\n}\n\n/**\n * Join a room by id and return seat reservation\n */\nexport async function joinById(roomId: string, clientOptions: ClientOptions = {}) {\n const room = await driver.findOne({ roomId });\n\n if (room) {\n const rejoinSessionId = clientOptions.sessionId;\n\n if (rejoinSessionId) {\n // handle re-connection!\n const hasReservedSeat = await remoteRoomCall(room.roomId, 'hasReservedSeat', [rejoinSessionId]);\n\n if (hasReservedSeat) {\n return { room, sessionId: rejoinSessionId };\n\n } else {\n throw new ServerError(ErrorCode.MATCHMAKE_EXPIRED, `session expired: ${rejoinSessionId}`);\n\n }\n\n } else if (!room.locked) {\n return reserveSeatFor(room, clientOptions);\n\n } else {\n throw new ServerError( ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room \"${roomId}\" is locked`);\n\n }\n\n } else {\n throw new ServerError( ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room \"${roomId}\" not found`);\n }\n\n}\n\n/**\n * Perform a query for all cached rooms\n */\nexport async function query(conditions: Partial<IRoomListingData> = {}) {\n return await driver.find(conditions);\n}\n\n/**\n * Find for a public and unlocked room available\n */\nexport async function findOneRoomAvailable(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n return await awaitRoomAvailable(roomName, async () => {\n const handler = handlers[roomName];\n if (!handler) {\n throw new ServerError( ErrorCode.MATCHMAKE_NO_HANDLER, `provided room name \"${roomName}\" not defined`);\n }\n\n const roomQuery = driver.findOne({\n locked: false,\n name: roomName,\n private: false,\n ...handler.getFilterOptions(clientOptions),\n });\n\n if (handler.sortOptions) {\n roomQuery.sort(handler.sortOptions);\n }\n\n return await roomQuery;\n });\n}\n\n/**\n * Call a method or return a property on a remote room.\n */\nexport async function remoteRoomCall<R= any>(\n roomId: string,\n method: string,\n args?: any[],\n rejectionTimeout = REMOTE_ROOM_SHORT_TIMEOUT,\n): Promise<R> {\n const room = rooms[roomId];\n\n if (!room) {\n try {\n return await requestFromIPC<R>(presence, getRoomChannel(roomId), method, args);\n\n } catch (e) {\n const request = `${method}${args && ' with args ' + JSON.stringify(args) || ''}`;\n throw new ServerError(\n ErrorCode.MATCHMAKE_UNHANDLED,\n `remote room (${roomId}) timed out, requesting \"${request}\". (${rejectionTimeout}ms exceeded)`,\n );\n }\n\n } else {\n return (!args && typeof (room[method]) !== 'function')\n ? room[method]\n : (await room[method].apply(room, args));\n }\n}\n\nexport function defineRoomType<T extends Type<Room>>(\n name: string,\n klass: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n) {\n const registeredHandler = new RegisteredHandler(klass, defaultOptions);\n\n handlers[name] = registeredHandler;\n\n cleanupStaleRooms(name);\n\n return registeredHandler;\n}\n\nexport function removeRoomType(name: string) {\n delete handlers[name];\n cleanupStaleRooms(name);\n}\n\nexport function hasHandler(name: string) {\n return handlers[ name ] !== undefined;\n}\n\n/**\n * Create a room\n */\nexport async function createRoom(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n const roomsSpawnedByProcessId = await presence.hgetall(getRoomCountKey());\n\n const processIdWithFewerRooms = (\n Object.keys(roomsSpawnedByProcessId).sort((p1, p2) => {\n return (Number(roomsSpawnedByProcessId[p1]) > Number(roomsSpawnedByProcessId[p2]))\n ? 1\n : -1;\n })[0]\n ) || processId;\n\n if (processIdWithFewerRooms === processId) {\n // create the room on this process!\n return await handleCreateRoom(roomName, clientOptions);\n\n } else {\n // ask other process to create the room!\n let room: RoomListingData;\n\n try {\n room = await requestFromIPC<RoomListingData>(\n presence,\n getProcessChannel(processIdWithFewerRooms),\n undefined,\n [roomName, clientOptions],\n REMOTE_ROOM_SHORT_TIMEOUT,\n );\n\n } catch (e) {\n // if other process failed to respond, create the room on this process\n debugAndPrintError(e);\n room = await handleCreateRoom(roomName, clientOptions);\n }\n\n return room;\n }\n}\n\nasync function handleCreateRoom(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n const registeredHandler = handlers[roomName];\n\n if (!registeredHandler) {\n throw new ServerError( ErrorCode.MATCHMAKE_NO_HANDLER, `provided room name \"${roomName}\" not defined`);\n }\n\n const room = new registeredHandler.klass();\n\n // set room public attributes\n room.roomId = generateId();\n room.roomName = roomName;\n room.presence = presence;\n\n // create a RoomCache reference.\n room.listing = driver.createInstance({\n name: roomName,\n processId,\n ...registeredHandler.getFilterOptions(clientOptions),\n });\n\n if (room.onCreate) {\n try {\n await room.onCreate(merge({}, clientOptions, registeredHandler.options));\n\n // increment amount of rooms this process is handling\n presence.hincrby(getRoomCountKey(), processId, 1);\n\n } catch (e) {\n debugAndPrintError(e);\n throw new ServerError(\n e.code || ErrorCode.MATCHMAKE_UNHANDLED,\n e.message,\n );\n }\n }\n\n room.internalState = RoomInternalState.CREATED;\n\n room.listing.roomId = room.roomId;\n room.listing.maxClients = room.maxClients;\n\n // imediatelly ask client to join the room\n debugMatchMaking('spawning \\'%s\\', roomId: %s, processId: %s', roomName, room.roomId, processId);\n\n room._events.on('lock', lockRoom.bind(this, room));\n room._events.on('unlock', unlockRoom.bind(this, room));\n room._events.on('join', onClientJoinRoom.bind(this, room));\n room._events.on('leave', onClientLeaveRoom.bind(this, room));\n room._events.once('dispose', disposeRoom.bind(this, roomName, room));\n room._events.once('disconnect', () => room._events.removeAllListeners());\n\n // room always start unlocked\n await createRoomReferences(room, true);\n await room.listing.save();\n\n registeredHandler.emit('create', room);\n\n return room.listing;\n}\n\nexport function getRoomById(roomId: string) {\n return rooms[roomId];\n}\n\n/**\n * Disconnects every client on every room in the current process.\n */\nexport function disconnectAll() {\n const promises: Array<Promise<any>> = [];\n\n for (const roomId in rooms) {\n if (!rooms.hasOwnProperty(roomId)) { continue; }\n promises.push(rooms[roomId].disconnect());\n }\n\n return promises;\n}\n\nexport function gracefullyShutdown(): Promise<any> {\n if (isGracefullyShuttingDown) {\n return Promise.reject('already_shutting_down');\n }\n\n isGracefullyShuttingDown = true;\n\n debugMatchMaking(`${processId} is shutting down!`);\n\n // remove processId from room count key\n presence.hdel(getRoomCountKey(), processId);\n\n // unsubscribe from process id channel\n presence.unsubscribe(getProcessChannel());\n\n return Promise.all(disconnectAll());\n}\n\n/**\n * Reserve a seat for a client in a room\n */\nexport async function reserveSeatFor(room: RoomListingData, options: any) {\n const sessionId: string = generateId();\n\n debugMatchMaking(\n 'reserving seat. sessionId: \\'%s\\', roomId: \\'%s\\', processId: \\'%s\\'',\n sessionId, room.roomId, processId,\n );\n\n let successfulSeatReservation: boolean;\n\n try {\n successfulSeatReservation = await remoteRoomCall(room.roomId, '_reserveSeat', [sessionId, options]);\n\n } catch (e) {\n debugMatchMaking(e);\n successfulSeatReservation = false;\n }\n\n if (!successfulSeatReservation) {\n throw new SeatReservationError(`${room.roomId} is already full.`);\n }\n\n return { room, sessionId };\n}\n\nasync function cleanupStaleRooms(roomName: string) {\n //\n // clean-up possibly stale room ids\n // (ungraceful shutdowns using Redis can result on stale room ids still on memory.)\n //\n const cachedRooms = await driver.find({ name: roomName }, { _id: 1 });\n\n // remove connecting counts\n await presence.del(getHandlerConcurrencyKey(roomName));\n\n await Promise.all(cachedRooms.map(async (room) => {\n try {\n // use hardcoded short timeout for cleaning up stale rooms.\n await remoteRoomCall(room.roomId, 'roomId');\n\n } catch (e) {\n debugMatchMaking(`cleaning up stale room '${roomName}', roomId: ${room.roomId}`);\n room.remove();\n }\n }));\n}\n\nasync function createRoomReferences(room: Room, init: boolean = false): Promise<boolean> {\n rooms[room.roomId] = room;\n\n if (init) {\n await subscribeIPC(\n presence,\n processId,\n getRoomChannel(room.roomId),\n (method, args) => {\n return (!args && typeof (room[method]) !== 'function')\n ? room[method]\n : room[method].apply(room, args);\n },\n );\n }\n\n return true;\n}\n\nasync function awaitRoomAvailable(roomToJoin: string, callback: Function): Promise<RoomListingData> {\n return new Promise(async (resolve, reject) => {\n const concurrencyKey = getHandlerConcurrencyKey(roomToJoin);\n const concurrency = await presence.incr(concurrencyKey) - 1;\n\n // avoid having too long timeout if 10+ clients ask to join at the same time\n const concurrencyTimeout = Math.min(concurrency * 100, REMOTE_ROOM_SHORT_TIMEOUT);\n\n if (concurrency > 0) {\n debugMatchMaking(\n 'receiving %d concurrent requests for joining \\'%s\\' (waiting %d ms)',\n concurrency, roomToJoin, concurrencyTimeout,\n );\n }\n\n setTimeout(async () => {\n try {\n const result = await callback();\n resolve(result);\n\n } catch (e) {\n reject(e);\n\n } finally {\n await presence.decr(concurrencyKey);\n }\n }, concurrencyTimeout);\n });\n}\n\nfunction onClientJoinRoom(room: Room, client: Client) {\n handlers[room.roomName].emit('join', room, client);\n}\n\nfunction onClientLeaveRoom(room: Room, client: Client, willDispose: boolean) {\n handlers[room.roomName].emit('leave', room, client, willDispose);\n}\n\nfunction lockRoom(room: Room): void {\n // emit public event on registered handler\n handlers[room.roomName].emit('lock', room);\n}\n\nasync function unlockRoom(room: Room) {\n if (await createRoomReferences(room)) {\n // emit public event on registered handler\n handlers[room.roomName].emit('unlock', room);\n }\n}\n\nasync function disposeRoom(roomName: string, room: Room) {\n debugMatchMaking('disposing \\'%s\\' (%s) on processId \\'%s\\'', roomName, room.roomId, processId);\n\n // decrease amount of rooms this process is handling\n if (!isGracefullyShuttingDown) {\n presence.hincrby(getRoomCountKey(), processId, -1);\n }\n\n // remove from room listing (already removed if `disconnect()` has been called)\n if (room.internalState !== RoomInternalState.DISCONNECTING) {\n await room.listing.remove();\n }\n\n // emit disposal on registered session handler\n handlers[roomName].emit('dispose', room);\n\n // remove concurrency key\n presence.del(getHandlerConcurrencyKey(roomName));\n\n // unsubscribe from remote connections\n presence.unsubscribe(getRoomChannel(room.roomId));\n\n // remove actual room reference\n delete rooms[room.roomId];\n}\n\n//\n// Presence keys\n//\n\nfunction getRoomChannel(roomId: string) {\n return `$${roomId}`;\n}\n\nfunction getHandlerConcurrencyKey(name: string) {\n return `c:${name}`;\n}\n\nfunction getProcessChannel(id: string = processId) {\n return `p:${id}`;\n}\n\nfunction getRoomCountKey() {\n return 'roomcount';\n}\n"],"names":["processId","presence","driver","LocalPresence","LocalDriver","subscribeIPC","retry","SeatReservationError","ServerError","ErrorCode","REMOTE_ROOM_SHORT_TIMEOUT","requ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CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;;IAGzCf,gBAAQ,CAAC,GAAG,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC;;IAGjDA,gBAAQ,CAAC,WAAW,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;;IAGlD,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AAC5B,CAAC;AAED;AACA;AACA;AAEA,SAAS,cAAc,CAAC,MAAc;IACpC,OAAO,IAAI,MAAM,EAAE,CAAC;AACtB,CAAC;AAED,SAAS,wBAAwB,CAAC,IAAY;IAC5C,OAAO,KAAK,IAAI,EAAE,CAAC;AACrB,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAaD,iBAAS;IAC/C,OAAO,KAAK,EAAE,EAAE,CAAC;AACnB,CAAC;AAED,SAAS,eAAe;IACtB,OAAO,WAAW,CAAC;AACrB;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"MatchMaker.js","sources":["../src/MatchMaker.ts"],"sourcesContent":["import { ErrorCode } from './Protocol';\n\nimport { requestFromIPC, subscribeIPC } from './IPC';\nimport { generateId, merge, REMOTE_ROOM_SHORT_TIMEOUT, retry } from './Utils';\n\nimport { RegisteredHandler } from './matchmaker/RegisteredHandler';\nimport { Room, RoomInternalState } from './Room';\n\nimport { LocalPresence } from './presence/LocalPresence';\nimport { Presence } from './presence/Presence';\n\nimport { debugAndPrintError, debugMatchMaking } from './Debug';\nimport { SeatReservationError } from './errors/SeatReservationError';\nimport { ServerError } from './errors/ServerError';\n\nimport { IRoomListingData, MatchMakerDriver, RoomListingData, LocalDriver } from './matchmaker/driver';\nimport * as controller from './matchmaker/controller';\n\nimport { Client } from './Transport';\nimport { Type } from './types';\n\nexport { MatchMakerDriver, controller };\n\nexport type ClientOptions = any;\n\nexport interface SeatReservation {\n sessionId: string;\n room: RoomListingData;\n}\n\nconst handlers: {[id: string]: RegisteredHandler} = {};\nconst rooms: {[roomId: string]: Room} = {};\n\nexport let publicAddress: string;\nexport let processId: string;\nexport let presence: Presence;\nexport let driver: MatchMakerDriver;\n\nlet isGracefullyShuttingDown: boolean;\n\nexport function setup(\n _presence?: Presence,\n _driver?: MatchMakerDriver,\n _processId?: string,\n _publicAddress?: string\n) {\n presence = _presence || new LocalPresence();\n driver = _driver || new LocalDriver();\n processId = _processId;\n publicAddress = _publicAddress;\n\n isGracefullyShuttingDown = false;\n\n /**\n * Subscribe to remote `handleCreateRoom` calls.\n */\n subscribeIPC(presence, processId, getProcessChannel(), (_, args) => {\n return handleCreateRoom.apply(undefined, args);\n });\n\n presence.hset(getRoomCountKey(), processId, '0');\n}\n\n/**\n * Join or create into a room and return seat reservation\n */\nexport async function joinOrCreate(roomName: string, clientOptions: ClientOptions = {}) {\n return await retry<Promise<SeatReservation>>(async () => {\n let room = await findOneRoomAvailable(roomName, clientOptions);\n\n if (!room) {\n room = await createRoom(roomName, clientOptions);\n }\n\n return await reserveSeatFor(room, clientOptions);\n }, 5, [SeatReservationError]);\n}\n\n/**\n * Create a room and return seat reservation\n */\nexport async function create(roomName: string, clientOptions: ClientOptions = {}) {\n const room = await createRoom(roomName, clientOptions);\n return reserveSeatFor(room, clientOptions);\n}\n\n/**\n * Join a room and return seat reservation\n */\nexport async function join(roomName: string, clientOptions: ClientOptions = {}) {\n return await retry<Promise<SeatReservation>>(async () => {\n const room = await findOneRoomAvailable(roomName, clientOptions);\n\n if (!room) {\n throw new ServerError(ErrorCode.MATCHMAKE_INVALID_CRITERIA, `no rooms found with provided criteria`);\n }\n\n return reserveSeatFor(room, clientOptions);\n });\n}\n\n/**\n * Join a room by id and return seat reservation\n */\nexport async function reconnect(roomId: string, clientOptions: ClientOptions = {}) {\n const room = await driver.findOne({ roomId });\n if (!room) { throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room \"${roomId}\" not found`); }\n\n // check for reconnection\n const reconnectionToken = clientOptions.reconnectionToken;\n if (!reconnectionToken) { throw new ServerError(ErrorCode.MATCHMAKE_UNHANDLED, `'reconnectionToken' must be provided for reconnection.`); }\n\n // respond to re-connection!\n const sessionId = await remoteRoomCall(room.roomId, 'checkReconnectionToken', [reconnectionToken]);\n if (sessionId) {\n return { room, sessionId };\n\n } else {\n throw new ServerError(ErrorCode.MATCHMAKE_EXPIRED, `invalid reconnection token or expired.`);\n }\n}\n\n/**\n * Join a room by id and return seat reservation\n */\nexport async function joinById(roomId: string, clientOptions: ClientOptions = {}) {\n const room = await driver.findOne({ roomId });\n\n if (!room) {\n throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room \"${roomId}\" not found`);\n\n } else if (room.locked) {\n throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room \"${roomId}\" is locked`);\n }\n\n return reserveSeatFor(room, clientOptions);\n}\n\n/**\n * Perform a query for all cached rooms\n */\nexport async function query(conditions: Partial<IRoomListingData> = {}) {\n return await driver.find(conditions);\n}\n\n/**\n * Find for a public and unlocked room available\n */\nexport async function findOneRoomAvailable(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n return await awaitRoomAvailable(roomName, async () => {\n const handler = handlers[roomName];\n if (!handler) {\n throw new ServerError( ErrorCode.MATCHMAKE_NO_HANDLER, `provided room name \"${roomName}\" not defined`);\n }\n\n const roomQuery = driver.findOne({\n locked: false,\n name: roomName,\n private: false,\n ...handler.getFilterOptions(clientOptions),\n });\n\n if (handler.sortOptions) {\n roomQuery.sort(handler.sortOptions);\n }\n\n return await roomQuery;\n });\n}\n\n/**\n * Call a method or return a property on a remote room.\n */\nexport async function remoteRoomCall<R= any>(\n roomId: string,\n method: string,\n args?: any[],\n rejectionTimeout = REMOTE_ROOM_SHORT_TIMEOUT,\n): Promise<R> {\n const room = rooms[roomId];\n\n if (!room) {\n try {\n return await requestFromIPC<R>(presence, getRoomChannel(roomId), method, args);\n\n } catch (e) {\n const request = `${method}${args && ' with args ' + JSON.stringify(args) || ''}`;\n throw new ServerError(\n ErrorCode.MATCHMAKE_UNHANDLED,\n `remote room (${roomId}) timed out, requesting \"${request}\". (${rejectionTimeout}ms exceeded)`,\n );\n }\n\n } else {\n return (!args && typeof (room[method]) !== 'function')\n ? room[method]\n : (await room[method].apply(room, args));\n }\n}\n\nexport function defineRoomType<T extends Type<Room>>(\n name: string,\n klass: T,\n defaultOptions?: Parameters<NonNullable<InstanceType<T>['onCreate']>>[0],\n) {\n const registeredHandler = new RegisteredHandler(klass, defaultOptions);\n\n handlers[name] = registeredHandler;\n\n cleanupStaleRooms(name);\n\n return registeredHandler;\n}\n\nexport function removeRoomType(name: string) {\n delete handlers[name];\n cleanupStaleRooms(name);\n}\n\nexport function hasHandler(name: string) {\n return handlers[ name ] !== undefined;\n}\n\n/**\n * Create a room\n */\nexport async function createRoom(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n const roomsSpawnedByProcessId = await presence.hgetall(getRoomCountKey());\n\n const processIdWithFewerRooms = (\n Object.keys(roomsSpawnedByProcessId).sort((p1, p2) => {\n return (Number(roomsSpawnedByProcessId[p1]) > Number(roomsSpawnedByProcessId[p2]))\n ? 1\n : -1;\n })[0]\n ) || processId;\n\n if (processIdWithFewerRooms === processId) {\n // create the room on this process!\n return await handleCreateRoom(roomName, clientOptions);\n\n } else {\n // ask other process to create the room!\n let room: RoomListingData;\n\n try {\n room = await requestFromIPC<RoomListingData>(\n presence,\n getProcessChannel(processIdWithFewerRooms),\n undefined,\n [roomName, clientOptions],\n REMOTE_ROOM_SHORT_TIMEOUT,\n );\n\n } catch (e) {\n // if other process failed to respond, create the room on this process\n debugAndPrintError(e);\n room = await handleCreateRoom(roomName, clientOptions);\n }\n\n return room;\n }\n}\n\nasync function handleCreateRoom(roomName: string, clientOptions: ClientOptions): Promise<RoomListingData> {\n const registeredHandler = handlers[roomName];\n\n if (!registeredHandler) {\n throw new ServerError( ErrorCode.MATCHMAKE_NO_HANDLER, `provided room name \"${roomName}\" not defined`);\n }\n\n const room = new registeredHandler.klass();\n\n // set room public attributes\n room.roomId = generateId();\n room.roomName = roomName;\n room.presence = presence;\n\n const additionalListingData: any = registeredHandler.getFilterOptions(clientOptions);\n\n // assign public host\n if (publicAddress) {\n additionalListingData.publicAddress = publicAddress;\n }\n\n // create a RoomCache reference.\n room.listing = driver.createInstance({\n name: roomName,\n processId,\n ...additionalListingData\n });\n\n if (room.onCreate) {\n try {\n await room.onCreate(merge({}, clientOptions, registeredHandler.options));\n\n // increment amount of rooms this process is handling\n presence.hincrby(getRoomCountKey(), processId, 1);\n\n } catch (e) {\n debugAndPrintError(e);\n throw new ServerError(\n e.code || ErrorCode.MATCHMAKE_UNHANDLED,\n e.message,\n );\n }\n }\n\n room.internalState = RoomInternalState.CREATED;\n\n room.listing.roomId = room.roomId;\n room.listing.maxClients = room.maxClients;\n\n // imediatelly ask client to join the room\n debugMatchMaking('spawning \\'%s\\', roomId: %s, processId: %s', roomName, room.roomId, processId);\n\n room._events.on('lock', lockRoom.bind(this, room));\n room._events.on('unlock', unlockRoom.bind(this, room));\n room._events.on('join', onClientJoinRoom.bind(this, room));\n room._events.on('leave', onClientLeaveRoom.bind(this, room));\n room._events.once('dispose', disposeRoom.bind(this, roomName, room));\n room._events.once('disconnect', () => room._events.removeAllListeners());\n\n // room always start unlocked\n await createRoomReferences(room, true);\n await room.listing.save();\n\n registeredHandler.emit('create', room);\n\n return room.listing;\n}\n\nexport function getRoomById(roomId: string) {\n return rooms[roomId];\n}\n\n/**\n * Disconnects every client on every room in the current process.\n */\nexport function disconnectAll() {\n const promises: Array<Promise<any>> = [];\n\n for (const roomId in rooms) {\n if (!rooms.hasOwnProperty(roomId)) { continue; }\n promises.push(rooms[roomId].disconnect());\n }\n\n return promises;\n}\n\nexport function gracefullyShutdown(): Promise<any> {\n if (isGracefullyShuttingDown) {\n return Promise.reject('already_shutting_down');\n }\n\n isGracefullyShuttingDown = true;\n\n debugMatchMaking(`${processId} is shutting down!`);\n\n // remove processId from room count key\n presence.hdel(getRoomCountKey(), processId);\n\n // unsubscribe from process id channel\n presence.unsubscribe(getProcessChannel());\n\n return Promise.all(disconnectAll());\n}\n\n/**\n * Reserve a seat for a client in a room\n */\nexport async function reserveSeatFor(room: RoomListingData, options: any) {\n const sessionId: string = generateId();\n\n debugMatchMaking(\n 'reserving seat. sessionId: \\'%s\\', roomId: \\'%s\\', processId: \\'%s\\'',\n sessionId, room.roomId, processId,\n );\n\n let successfulSeatReservation: boolean;\n\n try {\n successfulSeatReservation = await remoteRoomCall(room.roomId, '_reserveSeat', [sessionId, options]);\n\n } catch (e) {\n debugMatchMaking(e);\n successfulSeatReservation = false;\n }\n\n if (!successfulSeatReservation) {\n throw new SeatReservationError(`${room.roomId} is already full.`);\n }\n\n return { room, sessionId };\n}\n\nasync function cleanupStaleRooms(roomName: string) {\n //\n // clean-up possibly stale room ids\n // (ungraceful shutdowns using Redis can result on stale room ids still on memory.)\n //\n const cachedRooms = await driver.find({ name: roomName }, { _id: 1 });\n\n // remove connecting counts\n await presence.del(getHandlerConcurrencyKey(roomName));\n\n await Promise.all(cachedRooms.map(async (room) => {\n try {\n // use hardcoded short timeout for cleaning up stale rooms.\n await remoteRoomCall(room.roomId, 'roomId');\n\n } catch (e) {\n debugMatchMaking(`cleaning up stale room '${roomName}', roomId: ${room.roomId}`);\n room.remove();\n }\n }));\n}\n\nasync function createRoomReferences(room: Room, init: boolean = false): Promise<boolean> {\n rooms[room.roomId] = room;\n\n if (init) {\n await subscribeIPC(\n presence,\n processId,\n getRoomChannel(room.roomId),\n (method, args) => {\n return (!args && typeof (room[method]) !== 'function')\n ? room[method]\n : room[method].apply(room, args);\n },\n );\n }\n\n return true;\n}\n\nasync function awaitRoomAvailable(roomToJoin: string, callback: Function): Promise<RoomListingData> {\n return new Promise(async (resolve, reject) => {\n const concurrencyKey = getHandlerConcurrencyKey(roomToJoin);\n const concurrency = await presence.incr(concurrencyKey) - 1;\n\n // avoid having too long timeout if 10+ clients ask to join at the same time\n const concurrencyTimeout = Math.min(concurrency * 100, REMOTE_ROOM_SHORT_TIMEOUT);\n\n if (concurrency > 0) {\n debugMatchMaking(\n 'receiving %d concurrent requests for joining \\'%s\\' (waiting %d ms)',\n concurrency, roomToJoin, concurrencyTimeout,\n );\n }\n\n setTimeout(async () => {\n try {\n const result = await callback();\n resolve(result);\n\n } catch (e) {\n reject(e);\n\n } finally {\n await presence.decr(concurrencyKey);\n }\n }, concurrencyTimeout);\n });\n}\n\nfunction onClientJoinRoom(room: Room, client: Client) {\n handlers[room.roomName].emit('join', room, client);\n}\n\nfunction onClientLeaveRoom(room: Room, client: Client, willDispose: boolean) {\n handlers[room.roomName].emit('leave', room, client, willDispose);\n}\n\nfunction lockRoom(room: Room): void {\n // emit public event on registered handler\n handlers[room.roomName].emit('lock', room);\n}\n\nasync function unlockRoom(room: Room) {\n if (await createRoomReferences(room)) {\n // emit public event on registered handler\n handlers[room.roomName].emit('unlock', room);\n }\n}\n\nasync function disposeRoom(roomName: string, room: Room) {\n debugMatchMaking('disposing \\'%s\\' (%s) on processId \\'%s\\'', roomName, room.roomId, processId);\n\n // decrease amount of rooms this process is handling\n if (!isGracefullyShuttingDown) {\n presence.hincrby(getRoomCountKey(), processId, -1);\n }\n\n // remove from room listing (already removed if `disconnect()` has been called)\n if (room.internalState !== RoomInternalState.DISCONNECTING) {\n await room.listing.remove();\n }\n\n // emit disposal on registered session handler\n handlers[roomName].emit('dispose', room);\n\n // remove concurrency key\n presence.del(getHandlerConcurrencyKey(roomName));\n\n // unsubscribe from remote connections\n presence.unsubscribe(getRoomChannel(room.roomId));\n\n // remove actual room reference\n delete rooms[room.roomId];\n}\n\n//\n// Presence keys\n//\n\nfunction getRoomChannel(roomId: string) {\n return `$${roomId}`;\n}\n\nfunction getHandlerConcurrencyKey(name: string) {\n return `c:${name}`;\n}\n\nfunction getProcessChannel(id: string = processId) {\n return `p:${id}`;\n}\n\nfunction getRoomCountKey() {\n return 'roomcount';\n}\n"],"names":["publicAddress","processId","presence","driver","LocalPresence","LocalDriver","subscribeIPC","retry","SeatReservationError","ServerError","ErrorCode","REMOTE_ROOM_SHORT_TIMEOUT","requestFromIPC","RegisteredHandler","debugAndPrintError","generateId","merge","RoomInternalState","debugMatchMaking"],"mappings":";;;;;;;;;;;;;;;;AA8BA,MAAM,QAAQ,GAAsC,EAAE,CAAC;AACvD,MAAM,KAAK,GAA6B,EAAE,CAAC;AAEhCA,+BAAsB;AACtBC,2BAAkB;AAClBC,0BAAmB;AACnBC,wBAAyB;AAEpC,IAAI,wBAAiC,CAAC;SAEtB,KAAK,CACnB,SAAoB,EACpB,OAA0B,EAC1B,UAAmB,EACnB,cAAuB;IAEvBD,gBAAQ,GAAG,SAAS,IAAI,IAAIE,2BAAa,EAAE,CAAC;IAC5CD,cAAM,GAAG,OAAO,IAAI,IAAIE,iBAAW,EAAE,CAAC;IACtCJ,iBAAS,GAAG,UAAU,CAAC;IACvBD,qBAAa,GAAG,cAAc,CAAC;IAE/B,wBAAwB,GAAG,KAAK,CAAC;;;;IAKjCM,gBAAY,CAACJ,gBAAQ,EAAED,iBAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI;QAC7D,OAAO,gBAAgB,CAAC,KAAK,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC;KAChD,CAAC,CAAC;IAEHC,gBAAQ,CAAC,IAAI,CAAC,eAAe,EAAE,EAAED,iBAAS,EAAE,GAAG,CAAC,CAAC;AACnD,CAAC;AAED;;;AAGO,eAAe,YAAY,CAAC,QAAgB,EAAE,gBAA+B,EAAE;IACpF,OAAO,MAAMM,WAAK,CAA2B;QAC3C,IAAI,IAAI,GAAG,MAAM,oBAAoB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;QAE/D,IAAI,CAAC,IAAI,EAAE;YACT,IAAI,GAAG,MAAM,UAAU,CAAC,QAAQ,EAAE,aAAa,CAAC,CAAC;SAClD;QAED,OAAO,MAAM,cAAc,CAAC,IAAI,EAAE,aAAa,CAAC,CAAC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,14 +13,16 @@ export { controller };
|
|
|
13
13
|
|
|
14
14
|
const handlers = {};
|
|
15
15
|
const rooms = {};
|
|
16
|
+
let publicAddress;
|
|
16
17
|
let processId;
|
|
17
18
|
let presence;
|
|
18
19
|
let driver;
|
|
19
20
|
let isGracefullyShuttingDown;
|
|
20
|
-
function setup(_presence, _driver, _processId) {
|
|
21
|
+
function setup(_presence, _driver, _processId, _publicAddress) {
|
|
21
22
|
presence = _presence || new LocalPresence();
|
|
22
23
|
driver = _driver || new LocalDriver();
|
|
23
24
|
processId = _processId;
|
|
25
|
+
publicAddress = _publicAddress;
|
|
24
26
|
isGracefullyShuttingDown = false;
|
|
25
27
|
/**
|
|
26
28
|
* Subscribe to remote `handleCreateRoom` calls.
|
|
@@ -64,30 +66,37 @@ async function join(roomName, clientOptions = {}) {
|
|
|
64
66
|
/**
|
|
65
67
|
* Join a room by id and return seat reservation
|
|
66
68
|
*/
|
|
67
|
-
async function
|
|
69
|
+
async function reconnect(roomId, clientOptions = {}) {
|
|
68
70
|
const room = await driver.findOne({ roomId });
|
|
69
|
-
if (room) {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
else if (!room.locked) {
|
|
82
|
-
return reserveSeatFor(room, clientOptions);
|
|
83
|
-
}
|
|
84
|
-
else {
|
|
85
|
-
throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" is locked`);
|
|
86
|
-
}
|
|
71
|
+
if (!room) {
|
|
72
|
+
throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" not found`);
|
|
73
|
+
}
|
|
74
|
+
// check for reconnection
|
|
75
|
+
const reconnectionToken = clientOptions.reconnectionToken;
|
|
76
|
+
if (!reconnectionToken) {
|
|
77
|
+
throw new ServerError(ErrorCode.MATCHMAKE_UNHANDLED, `'reconnectionToken' must be provided for reconnection.`);
|
|
78
|
+
}
|
|
79
|
+
// respond to re-connection!
|
|
80
|
+
const sessionId = await remoteRoomCall(room.roomId, 'checkReconnectionToken', [reconnectionToken]);
|
|
81
|
+
if (sessionId) {
|
|
82
|
+
return { room, sessionId };
|
|
87
83
|
}
|
|
88
84
|
else {
|
|
85
|
+
throw new ServerError(ErrorCode.MATCHMAKE_EXPIRED, `invalid reconnection token or expired.`);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Join a room by id and return seat reservation
|
|
90
|
+
*/
|
|
91
|
+
async function joinById(roomId, clientOptions = {}) {
|
|
92
|
+
const room = await driver.findOne({ roomId });
|
|
93
|
+
if (!room) {
|
|
89
94
|
throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" not found`);
|
|
90
95
|
}
|
|
96
|
+
else if (room.locked) {
|
|
97
|
+
throw new ServerError(ErrorCode.MATCHMAKE_INVALID_ROOM_ID, `room "${roomId}" is locked`);
|
|
98
|
+
}
|
|
99
|
+
return reserveSeatFor(room, clientOptions);
|
|
91
100
|
}
|
|
92
101
|
/**
|
|
93
102
|
* Perform a query for all cached rooms
|
|
@@ -187,11 +196,16 @@ async function handleCreateRoom(roomName, clientOptions) {
|
|
|
187
196
|
room.roomId = generateId();
|
|
188
197
|
room.roomName = roomName;
|
|
189
198
|
room.presence = presence;
|
|
199
|
+
const additionalListingData = registeredHandler.getFilterOptions(clientOptions);
|
|
200
|
+
// assign public host
|
|
201
|
+
if (publicAddress) {
|
|
202
|
+
additionalListingData.publicAddress = publicAddress;
|
|
203
|
+
}
|
|
190
204
|
// create a RoomCache reference.
|
|
191
205
|
room.listing = driver.createInstance({
|
|
192
206
|
name: roomName,
|
|
193
207
|
processId,
|
|
194
|
-
...
|
|
208
|
+
...additionalListingData
|
|
195
209
|
});
|
|
196
210
|
if (room.onCreate) {
|
|
197
211
|
try {
|
|
@@ -372,5 +386,5 @@ function getRoomCountKey() {
|
|
|
372
386
|
return 'roomcount';
|
|
373
387
|
}
|
|
374
388
|
|
|
375
|
-
export { create, createRoom, defineRoomType, disconnectAll, driver, findOneRoomAvailable, getRoomById, gracefullyShutdown, hasHandler, join, joinById, joinOrCreate, presence, processId, query, remoteRoomCall, removeRoomType, reserveSeatFor, setup };
|
|
389
|
+
export { create, createRoom, defineRoomType, disconnectAll, driver, findOneRoomAvailable, getRoomById, gracefullyShutdown, hasHandler, join, joinById, joinOrCreate, presence, processId, publicAddress, query, reconnect, remoteRoomCall, removeRoomType, reserveSeatFor, setup };
|
|
376
390
|
//# sourceMappingURL=MatchMaker.mjs.map
|