@openclaw/matrix 2026.5.20-beta.2 → 2026.5.22
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/dist/api.js +1 -1
- package/dist/{approval-handler.runtime-Dd07_8Bl.js → approval-handler.runtime-Bb6fxC96.js} +1 -1
- package/dist/{channel-D_CwbxZT.js → channel-nkcpZsMB.js} +2 -2
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{monitor-BbxdWm4v.js → monitor-C-it5ue9.js} +23 -1
- package/dist/test-api.js +1 -1
- package/node_modules/@babel/runtime/LICENSE +22 -0
- package/node_modules/@babel/runtime/README.md +19 -0
- package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
- package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
- package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
- package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
- package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
- package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
- package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
- package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
- package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/extends.js +10 -0
- package/node_modules/@babel/runtime/helpers/get.js +11 -0
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/identity.js +4 -0
- package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
- package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
- package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
- package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
- package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
- package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
- package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
- package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
- package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
- package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
- package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
- package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
- package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
- package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
- package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
- package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
- package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
- package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
- package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
- package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
- package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
- package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
- package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
- package/node_modules/@babel/runtime/helpers/set.js +22 -0
- package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
- package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
- package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
- package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
- package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
- package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
- package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
- package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
- package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
- package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
- package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
- package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
- package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
- package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
- package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
- package/node_modules/@babel/runtime/helpers/using.js +12 -0
- package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
- package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
- package/node_modules/@babel/runtime/package.json +1107 -0
- package/node_modules/@babel/runtime/regenerator/index.js +15 -0
- package/node_modules/@borewit/text-codec/LICENSE.txt +9 -0
- package/node_modules/@borewit/text-codec/README.md +87 -0
- package/node_modules/@borewit/text-codec/lib/index.d.ts +6 -0
- package/node_modules/@borewit/text-codec/lib/index.js +380 -0
- package/node_modules/@borewit/text-codec/package.json +70 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/.node-version +1 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/CHANGELOG.md +104 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/LICENSE +177 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/README.md +225 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/RELEASING.md +15 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js +128 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.d.ts +989 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js +357 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/package.json +43 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/LICENSE +177 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/README.md +134 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index-wasm-esm.mjs +77 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.cjs +81 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.d.ts +49 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.mjs +83 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.cjs +128 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.mjs +125 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +88 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +5072 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +12674 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +12051 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
- package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +697 -0
- package/node_modules/@tokenizer/inflate/LICENSE +15 -0
- package/node_modules/@tokenizer/inflate/README.md +114 -0
- package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +6 -0
- package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +19 -0
- package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +26 -0
- package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +233 -0
- package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +94 -0
- package/node_modules/@tokenizer/inflate/lib/ZipToken.js +117 -0
- package/node_modules/@tokenizer/inflate/lib/index.d.ts +3 -0
- package/node_modules/@tokenizer/inflate/lib/index.js +2 -0
- package/node_modules/@tokenizer/inflate/package.json +76 -0
- package/node_modules/@tokenizer/token/README.md +19 -0
- package/node_modules/@tokenizer/token/index.d.ts +30 -0
- package/node_modules/@tokenizer/token/package.json +33 -0
- package/node_modules/@types/events/LICENSE +21 -0
- package/node_modules/@types/events/README.md +41 -0
- package/node_modules/@types/events/index.d.ts +22 -0
- package/node_modules/@types/events/package.json +30 -0
- package/node_modules/agent-base/LICENSE +22 -0
- package/node_modules/agent-base/README.md +69 -0
- package/node_modules/agent-base/dist/helpers.d.ts +15 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +66 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +41 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +178 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -0
- package/node_modules/another-json/.jshint +11 -0
- package/node_modules/another-json/.npmignore +2 -0
- package/node_modules/another-json/.travis.yml +3 -0
- package/node_modules/another-json/LICENSE +177 -0
- package/node_modules/another-json/README.md +17 -0
- package/node_modules/another-json/another-json.js +93 -0
- package/node_modules/another-json/package.json +28 -0
- package/node_modules/another-json/spec/another-json-spec.js +100 -0
- package/node_modules/argparse/CHANGELOG.md +216 -0
- package/node_modules/argparse/LICENSE +254 -0
- package/node_modules/argparse/README.md +84 -0
- package/node_modules/argparse/argparse.js +3707 -0
- package/node_modules/argparse/lib/sub.js +67 -0
- package/node_modules/argparse/lib/textwrap.js +440 -0
- package/node_modules/argparse/package.json +31 -0
- package/node_modules/base-x/LICENSE.md +22 -0
- package/node_modules/base-x/README.md +74 -0
- package/node_modules/base-x/package.json +58 -0
- package/node_modules/base-x/src/cjs/index.cjs +126 -0
- package/node_modules/base-x/src/cjs/index.d.ts +9 -0
- package/node_modules/base-x/src/esm/index.js +124 -0
- package/node_modules/bs58/LICENSE +21 -0
- package/node_modules/bs58/README.md +91 -0
- package/node_modules/bs58/package.json +54 -0
- package/node_modules/bs58/src/cjs/index.cjs +8 -0
- package/node_modules/bs58/src/cjs/index.d.ts +3 -0
- package/node_modules/bs58/src/esm/index.js +3 -0
- package/node_modules/content-type/HISTORY.md +29 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +94 -0
- package/node_modules/content-type/index.js +225 -0
- package/node_modules/content-type/package.json +42 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/entities/LICENSE +11 -0
- package/node_modules/entities/lib/decode.d.ts +211 -0
- package/node_modules/entities/lib/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/decode.js +536 -0
- package/node_modules/entities/lib/decode.js.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/decode_codepoint.js +76 -0
- package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/encode.d.ts +22 -0
- package/node_modules/entities/lib/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/encode.js +77 -0
- package/node_modules/entities/lib/encode.js.map +1 -0
- package/node_modules/entities/lib/escape.d.ts +43 -0
- package/node_modules/entities/lib/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/escape.js +122 -0
- package/node_modules/entities/lib/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/decode.d.ts +211 -0
- package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode.js +496 -0
- package/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/node_modules/entities/lib/esm/encode.d.ts +22 -0
- package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/encode.js +69 -0
- package/node_modules/entities/lib/esm/encode.js.map +1 -0
- package/node_modules/entities/lib/esm/escape.d.ts +43 -0
- package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/escape.js +116 -0
- package/node_modules/entities/lib/esm/escape.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/esm/index.d.ts +96 -0
- package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
- package/node_modules/entities/lib/esm/index.js +99 -0
- package/node_modules/entities/lib/esm/index.js.map +1 -0
- package/node_modules/entities/lib/esm/package.json +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
- package/node_modules/entities/lib/generated/encode-html.js +12 -0
- package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
- package/node_modules/entities/lib/index.d.ts +96 -0
- package/node_modules/entities/lib/index.d.ts.map +1 -0
- package/node_modules/entities/lib/index.js +126 -0
- package/node_modules/entities/lib/index.js.map +1 -0
- package/node_modules/entities/package.json +90 -0
- package/node_modules/entities/readme.md +122 -0
- package/node_modules/events/.airtap.yml +15 -0
- package/node_modules/events/.github/FUNDING.yml +12 -0
- package/node_modules/events/.travis.yml +18 -0
- package/node_modules/events/History.md +118 -0
- package/node_modules/events/LICENSE +22 -0
- package/node_modules/events/Readme.md +50 -0
- package/node_modules/events/events.js +497 -0
- package/node_modules/events/package.json +37 -0
- package/node_modules/events/security.md +10 -0
- package/node_modules/events/tests/add-listeners.js +111 -0
- package/node_modules/events/tests/check-listener-leaks.js +101 -0
- package/node_modules/events/tests/common.js +104 -0
- package/node_modules/events/tests/errors.js +13 -0
- package/node_modules/events/tests/events-list.js +28 -0
- package/node_modules/events/tests/events-once.js +234 -0
- package/node_modules/events/tests/index.js +64 -0
- package/node_modules/events/tests/legacy-compat.js +16 -0
- package/node_modules/events/tests/listener-count.js +37 -0
- package/node_modules/events/tests/listeners-side-effects.js +56 -0
- package/node_modules/events/tests/listeners.js +168 -0
- package/node_modules/events/tests/max-listeners.js +47 -0
- package/node_modules/events/tests/method-names.js +35 -0
- package/node_modules/events/tests/modify-in-emit.js +90 -0
- package/node_modules/events/tests/num-args.js +60 -0
- package/node_modules/events/tests/once.js +83 -0
- package/node_modules/events/tests/prepend.js +31 -0
- package/node_modules/events/tests/remove-all-listeners.js +133 -0
- package/node_modules/events/tests/remove-listeners.js +212 -0
- package/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
- package/node_modules/events/tests/special-event-names.js +45 -0
- package/node_modules/events/tests/subclass.js +66 -0
- package/node_modules/events/tests/symbols.js +25 -0
- package/node_modules/fake-indexeddb/LICENSE +209 -0
- package/node_modules/fake-indexeddb/README.md +245 -0
- package/node_modules/fake-indexeddb/auto/index.js +52 -0
- package/node_modules/fake-indexeddb/auto/index.mjs +52 -0
- package/node_modules/fake-indexeddb/auto/package.json +3 -0
- package/node_modules/fake-indexeddb/auto.d.ts +1 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBCursor.js +480 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBCursorWithValue.js +19 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBDatabase.js +179 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBFactory.js +414 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBIndex.js +217 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBKeyRange.js +78 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBObjectStore.js +409 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBOpenDBRequest.js +17 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBRecord.js +36 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBRequest.js +41 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBTransaction.js +272 -0
- package/node_modules/fake-indexeddb/build/cjs/FDBVersionChangeEvent.js +20 -0
- package/node_modules/fake-indexeddb/build/cjs/fakeIndexedDB.js +11 -0
- package/node_modules/fake-indexeddb/build/cjs/forceCloseDatabase.js +29 -0
- package/node_modules/fake-indexeddb/build/cjs/index.js +106 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/Database.js +51 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/FakeDOMStringList.js +48 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/FakeEvent.js +45 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/FakeEventTarget.js +127 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/Index.js +180 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/KeyGenerator.js +29 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/ObjectStore.js +246 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/RecordStore.js +112 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/binarySearchTree.js +308 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/canInjectKey.js +30 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/cloneValueForInsertion.js +30 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/closeConnection.js +36 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/cmp.js +85 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/enforceRange.js +20 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/errors.js +100 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/extractGetAllOptions.js +40 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/extractKey.js +61 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/getKeyPath.js +16 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/intersection.js +18 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/isPotentiallyValidKeyRange.js +26 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/isSharedArrayBuffer.js +10 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/scheduling.js +46 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/types.js +1 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/validateKeyPath.js +54 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/validateRequiredArguments.js +13 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/valueToKey.js +22 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyRange.js +26 -0
- package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyWithoutThrowing.js +102 -0
- package/node_modules/fake-indexeddb/build/cjs/package.json +1 -0
- package/node_modules/fake-indexeddb/build/esm/FDBCursor.js +472 -0
- package/node_modules/fake-indexeddb/build/esm/FDBCursorWithValue.js +11 -0
- package/node_modules/fake-indexeddb/build/esm/FDBDatabase.js +171 -0
- package/node_modules/fake-indexeddb/build/esm/FDBFactory.js +406 -0
- package/node_modules/fake-indexeddb/build/esm/FDBIndex.js +209 -0
- package/node_modules/fake-indexeddb/build/esm/FDBKeyRange.js +70 -0
- package/node_modules/fake-indexeddb/build/esm/FDBObjectStore.js +401 -0
- package/node_modules/fake-indexeddb/build/esm/FDBOpenDBRequest.js +9 -0
- package/node_modules/fake-indexeddb/build/esm/FDBRecord.js +29 -0
- package/node_modules/fake-indexeddb/build/esm/FDBRequest.js +33 -0
- package/node_modules/fake-indexeddb/build/esm/FDBTransaction.js +264 -0
- package/node_modules/fake-indexeddb/build/esm/FDBVersionChangeEvent.js +12 -0
- package/node_modules/fake-indexeddb/build/esm/fakeIndexedDB.js +3 -0
- package/node_modules/fake-indexeddb/build/esm/forceCloseDatabase.js +21 -0
- package/node_modules/fake-indexeddb/build/esm/index.js +16 -0
- package/node_modules/fake-indexeddb/build/esm/lib/Database.js +44 -0
- package/node_modules/fake-indexeddb/build/esm/lib/FakeDOMStringList.js +41 -0
- package/node_modules/fake-indexeddb/build/esm/lib/FakeEvent.js +38 -0
- package/node_modules/fake-indexeddb/build/esm/lib/FakeEventTarget.js +120 -0
- package/node_modules/fake-indexeddb/build/esm/lib/Index.js +172 -0
- package/node_modules/fake-indexeddb/build/esm/lib/KeyGenerator.js +22 -0
- package/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js +238 -0
- package/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js +104 -0
- package/node_modules/fake-indexeddb/build/esm/lib/binarySearchTree.js +299 -0
- package/node_modules/fake-indexeddb/build/esm/lib/canInjectKey.js +23 -0
- package/node_modules/fake-indexeddb/build/esm/lib/cloneValueForInsertion.js +24 -0
- package/node_modules/fake-indexeddb/build/esm/lib/closeConnection.js +28 -0
- package/node_modules/fake-indexeddb/build/esm/lib/cmp.js +77 -0
- package/node_modules/fake-indexeddb/build/esm/lib/enforceRange.js +13 -0
- package/node_modules/fake-indexeddb/build/esm/lib/errors.js +83 -0
- package/node_modules/fake-indexeddb/build/esm/lib/extractGetAllOptions.js +32 -0
- package/node_modules/fake-indexeddb/build/esm/lib/extractKey.js +53 -0
- package/node_modules/fake-indexeddb/build/esm/lib/getKeyPath.js +10 -0
- package/node_modules/fake-indexeddb/build/esm/lib/intersection.js +12 -0
- package/node_modules/fake-indexeddb/build/esm/lib/isPotentiallyValidKeyRange.js +18 -0
- package/node_modules/fake-indexeddb/build/esm/lib/isSharedArrayBuffer.js +3 -0
- package/node_modules/fake-indexeddb/build/esm/lib/scheduling.js +39 -0
- package/node_modules/fake-indexeddb/build/esm/lib/types.js +1 -0
- package/node_modules/fake-indexeddb/build/esm/lib/validateKeyPath.js +47 -0
- package/node_modules/fake-indexeddb/build/esm/lib/validateRequiredArguments.js +7 -0
- package/node_modules/fake-indexeddb/build/esm/lib/valueToKey.js +14 -0
- package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyRange.js +19 -0
- package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyWithoutThrowing.js +95 -0
- package/node_modules/fake-indexeddb/lib/FDBCursor.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBCursor.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBDatabase.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBDatabase.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBFactory.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBFactory.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBIndex.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBIndex.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBKeyRange.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBKeyRange.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBObjectStore.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBObjectStore.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBRequest.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBRequest.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBTransaction.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBTransaction.js +1 -0
- package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.js +1 -0
- package/node_modules/fake-indexeddb/lib/README.md +5 -0
- package/node_modules/fake-indexeddb/lib/fakeIndexedDB.d.ts +2 -0
- package/node_modules/fake-indexeddb/lib/package.json +3 -0
- package/node_modules/fake-indexeddb/package.json +151 -0
- package/node_modules/fake-indexeddb/types.d.ts +33 -0
- package/node_modules/file-type/license +9 -0
- package/node_modules/file-type/package.json +274 -0
- package/node_modules/file-type/readme.md +597 -0
- package/node_modules/file-type/source/detectors/asf.js +127 -0
- package/node_modules/file-type/source/detectors/ebml.js +120 -0
- package/node_modules/file-type/source/detectors/png.js +123 -0
- package/node_modules/file-type/source/detectors/zip.js +643 -0
- package/node_modules/file-type/source/index.d.ts +280 -0
- package/node_modules/file-type/source/index.js +1917 -0
- package/node_modules/file-type/source/index.test-d.ts +53 -0
- package/node_modules/file-type/source/parser.js +65 -0
- package/node_modules/file-type/source/supported.js +368 -0
- package/node_modules/file-type/source/tokens.js +60 -0
- package/node_modules/https-proxy-agent/LICENSE +22 -0
- package/node_modules/https-proxy-agent/README.md +70 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
- package/node_modules/https-proxy-agent/package.json +50 -0
- package/node_modules/ieee754/LICENSE +11 -0
- package/node_modules/ieee754/README.md +51 -0
- package/node_modules/ieee754/index.d.ts +10 -0
- package/node_modules/ieee754/index.js +85 -0
- package/node_modules/ieee754/package.json +52 -0
- package/node_modules/is-network-error/index.d.ts +26 -0
- package/node_modules/is-network-error/index.js +47 -0
- package/node_modules/is-network-error/license +9 -0
- package/node_modules/is-network-error/package.json +43 -0
- package/node_modules/is-network-error/readme.md +44 -0
- package/node_modules/jwt-decode/LICENSE +21 -0
- package/node_modules/jwt-decode/README.md +134 -0
- package/node_modules/jwt-decode/build/cjs/index.d.ts +23 -0
- package/node_modules/jwt-decode/build/cjs/index.js +62 -0
- package/node_modules/jwt-decode/build/cjs/package.json +1 -0
- package/node_modules/jwt-decode/build/esm/index.d.ts +23 -0
- package/node_modules/jwt-decode/build/esm/index.js +57 -0
- package/node_modules/jwt-decode/package.json +81 -0
- package/node_modules/linkify-it/LICENSE +22 -0
- package/node_modules/linkify-it/README.md +196 -0
- package/node_modules/linkify-it/build/index.cjs.js +832 -0
- package/node_modules/linkify-it/index.mjs +642 -0
- package/node_modules/linkify-it/lib/re.mjs +189 -0
- package/node_modules/linkify-it/package.json +58 -0
- package/node_modules/loglevel/.editorconfig +27 -0
- package/node_modules/loglevel/CONTRIBUTING.md +98 -0
- package/node_modules/loglevel/Gruntfile.js +165 -0
- package/node_modules/loglevel/LICENSE-MIT +22 -0
- package/node_modules/loglevel/README.md +408 -0
- package/node_modules/loglevel/_config.yml +1 -0
- package/node_modules/loglevel/bower.json +11 -0
- package/node_modules/loglevel/demo/index.html +139 -0
- package/node_modules/loglevel/demo/script.js +86 -0
- package/node_modules/loglevel/demo/styles.css +107 -0
- package/node_modules/loglevel/dist/loglevel.js +352 -0
- package/node_modules/loglevel/dist/loglevel.min.js +3 -0
- package/node_modules/loglevel/index.d.ts +203 -0
- package/node_modules/loglevel/lib/loglevel.js +357 -0
- package/node_modules/loglevel/package.json +63 -0
- package/node_modules/markdown-it/LICENSE +22 -0
- package/node_modules/markdown-it/README.md +324 -0
- package/node_modules/markdown-it/bin/markdown-it.mjs +107 -0
- package/node_modules/markdown-it/dist/index.cjs.js +5547 -0
- package/node_modules/markdown-it/dist/markdown-it.js +6969 -0
- package/node_modules/markdown-it/dist/markdown-it.min.js +2 -0
- package/node_modules/markdown-it/index.mjs +1 -0
- package/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
- package/node_modules/markdown-it/lib/common/html_re.mjs +25 -0
- package/node_modules/markdown-it/lib/common/utils.mjs +304 -0
- package/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
- package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +77 -0
- package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +49 -0
- package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +66 -0
- package/node_modules/markdown-it/lib/index.mjs +565 -0
- package/node_modules/markdown-it/lib/parser_block.mjs +134 -0
- package/node_modules/markdown-it/lib/parser_core.mjs +62 -0
- package/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
- package/node_modules/markdown-it/lib/presets/commonmark.mjs +88 -0
- package/node_modules/markdown-it/lib/presets/default.mjs +47 -0
- package/node_modules/markdown-it/lib/presets/zero.mjs +70 -0
- package/node_modules/markdown-it/lib/renderer.mjs +322 -0
- package/node_modules/markdown-it/lib/ruler.mjs +340 -0
- package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +209 -0
- package/node_modules/markdown-it/lib/rules_block/code.mjs +30 -0
- package/node_modules/markdown-it/lib/rules_block/fence.mjs +94 -0
- package/node_modules/markdown-it/lib/rules_block/heading.mjs +51 -0
- package/node_modules/markdown-it/lib/rules_block/hr.mjs +40 -0
- package/node_modules/markdown-it/lib/rules_block/html_block.mjs +69 -0
- package/node_modules/markdown-it/lib/rules_block/lheading.mjs +82 -0
- package/node_modules/markdown-it/lib/rules_block/list.mjs +331 -0
- package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +46 -0
- package/node_modules/markdown-it/lib/rules_block/reference.mjs +212 -0
- package/node_modules/markdown-it/lib/rules_block/state_block.mjs +220 -0
- package/node_modules/markdown-it/lib/rules_block/table.mjs +228 -0
- package/node_modules/markdown-it/lib/rules_core/block.mjs +13 -0
- package/node_modules/markdown-it/lib/rules_core/inline.mjs +11 -0
- package/node_modules/markdown-it/lib/rules_core/linkify.mjs +134 -0
- package/node_modules/markdown-it/lib/rules_core/normalize.mjs +17 -0
- package/node_modules/markdown-it/lib/rules_core/replacements.mjs +101 -0
- package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +193 -0
- package/node_modules/markdown-it/lib/rules_core/state_core.mjs +17 -0
- package/node_modules/markdown-it/lib/rules_core/text_join.mjs +43 -0
- package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +72 -0
- package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +60 -0
- package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +124 -0
- package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +123 -0
- package/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
- package/node_modules/markdown-it/lib/rules_inline/escape.mjs +69 -0
- package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +38 -0
- package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +50 -0
- package/node_modules/markdown-it/lib/rules_inline/image.mjs +138 -0
- package/node_modules/markdown-it/lib/rules_inline/link.mjs +139 -0
- package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +63 -0
- package/node_modules/markdown-it/lib/rules_inline/newline.mjs +42 -0
- package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +123 -0
- package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +127 -0
- package/node_modules/markdown-it/lib/rules_inline/text.mjs +86 -0
- package/node_modules/markdown-it/lib/token.mjs +191 -0
- package/node_modules/markdown-it/package.json +92 -0
- package/node_modules/matrix-events-sdk/LICENSE +201 -0
- package/node_modules/matrix-events-sdk/README.md +78 -0
- package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.d.ts +74 -0
- package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.js +189 -0
- package/node_modules/matrix-events-sdk/lib/IPartialEvent.d.ts +7 -0
- package/node_modules/matrix-events-sdk/lib/IPartialEvent.js +5 -0
- package/node_modules/matrix-events-sdk/lib/InvalidEventError.d.ts +6 -0
- package/node_modules/matrix-events-sdk/lib/InvalidEventError.js +69 -0
- package/node_modules/matrix-events-sdk/lib/NamespacedMap.d.ts +55 -0
- package/node_modules/matrix-events-sdk/lib/NamespacedMap.js +149 -0
- package/node_modules/matrix-events-sdk/lib/NamespacedValue.d.ts +24 -0
- package/node_modules/matrix-events-sdk/lib/NamespacedValue.js +166 -0
- package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.d.ts +21 -0
- package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.js +99 -0
- package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.d.ts +38 -0
- package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.js +60 -0
- package/node_modules/matrix-events-sdk/lib/events/MessageEvent.d.ts +58 -0
- package/node_modules/matrix-events-sdk/lib/events/MessageEvent.js +214 -0
- package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.d.ts +21 -0
- package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.js +99 -0
- package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.d.ts +33 -0
- package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.js +138 -0
- package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.d.ts +49 -0
- package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.js +198 -0
- package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.d.ts +71 -0
- package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.js +287 -0
- package/node_modules/matrix-events-sdk/lib/events/message_types.d.ts +81 -0
- package/node_modules/matrix-events-sdk/lib/events/message_types.js +74 -0
- package/node_modules/matrix-events-sdk/lib/events/poll_types.d.ts +89 -0
- package/node_modules/matrix-events-sdk/lib/events/poll_types.js +70 -0
- package/node_modules/matrix-events-sdk/lib/events/relationship_types.d.ts +19 -0
- package/node_modules/matrix-events-sdk/lib/events/relationship_types.js +34 -0
- package/node_modules/matrix-events-sdk/lib/index.d.ts +21 -0
- package/node_modules/matrix-events-sdk/lib/index.js +278 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.d.ts +12 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.js +62 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.d.ts +5 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.js +40 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.d.ts +10 -0
- package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.js +41 -0
- package/node_modules/matrix-events-sdk/lib/types.d.ts +34 -0
- package/node_modules/matrix-events-sdk/lib/types.js +49 -0
- package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.d.ts +20 -0
- package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.js +59 -0
- package/node_modules/matrix-events-sdk/lib/utility/events.d.ts +13 -0
- package/node_modules/matrix-events-sdk/lib/utility/events.js +51 -0
- package/node_modules/matrix-events-sdk/package.json +48 -0
- package/node_modules/matrix-js-sdk/CHANGELOG.md +6509 -0
- package/node_modules/matrix-js-sdk/LICENSE +177 -0
- package/node_modules/matrix-js-sdk/README.md +478 -0
- package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts +14 -0
- package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts +9 -0
- package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts +140 -0
- package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/PushRules.js +94 -0
- package/node_modules/matrix-js-sdk/lib/@types/PushRules.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js +0 -0
- package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts +213 -0
- package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/auth.js +107 -0
- package/node_modules/matrix-js-sdk/lib/@types/auth.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts +106 -0
- package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/beacon.js +119 -0
- package/node_modules/matrix-js-sdk/lib/@types/beacon.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/common.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/@types/common.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/common.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/common.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts +46 -0
- package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/crypto.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/crypto.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/event.d.ts +365 -0
- package/node_modules/matrix-js-sdk/lib/@types/event.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/event.js +280 -0
- package/node_modules/matrix-js-sdk/lib/@types/event.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/events.d.ts +92 -0
- package/node_modules/matrix-js-sdk/lib/@types/events.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/events.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/events.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts +98 -0
- package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js +116 -0
- package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/global.d.js +18 -0
- package/node_modules/matrix-js-sdk/lib/@types/global.d.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/json.d.ts +7 -0
- package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/json.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts +4 -0
- package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/location.d.ts +60 -0
- package/node_modules/matrix-js-sdk/lib/@types/location.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/location.js +66 -0
- package/node_modules/matrix-js-sdk/lib/@types/location.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/media.d.ts +220 -0
- package/node_modules/matrix-js-sdk/lib/@types/media.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/media.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/media.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts +41 -0
- package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/membership.js +58 -0
- package/node_modules/matrix-js-sdk/lib/@types/membership.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts +72 -0
- package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/partials.js +71 -0
- package/node_modules/matrix-js-sdk/lib/@types/partials.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts +89 -0
- package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/polls.js +86 -0
- package/node_modules/matrix-js-sdk/lib/@types/polls.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts +36 -0
- package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js +27 -0
- package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts +85 -0
- package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/registration.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/registration.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts +266 -0
- package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/requests.js +42 -0
- package/node_modules/matrix-js-sdk/lib/@types/requests.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/search.d.ts +90 -0
- package/node_modules/matrix-js-sdk/lib/@types/search.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/search.js +30 -0
- package/node_modules/matrix-js-sdk/lib/@types/search.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts +9 -0
- package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/signed.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/signed.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts +16 -0
- package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/spaces.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/spaces.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts +121 -0
- package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/state_events.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/state_events.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts +19 -0
- package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/synapse.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/synapse.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts +8 -0
- package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/sync.js +25 -0
- package/node_modules/matrix-js-sdk/lib/@types/sync.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts +12 -0
- package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/threepids.js +24 -0
- package/node_modules/matrix-js-sdk/lib/@types/threepids.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts +55 -0
- package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/topic.js +62 -0
- package/node_modules/matrix-js-sdk/lib/@types/topic.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts +8 -0
- package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/uia.js +1 -0
- package/node_modules/matrix-js-sdk/lib/@types/uia.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts +32 -0
- package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/NamespacedValue.js +113 -0
- package/node_modules/matrix-js-sdk/lib/NamespacedValue.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts +15 -0
- package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/ReEmitter.js +87 -0
- package/node_modules/matrix-js-sdk/lib/ReEmitter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts +30 -0
- package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js +135 -0
- package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts +136 -0
- package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/autodiscovery.js +463 -0
- package/node_modules/matrix-js-sdk/lib/autodiscovery.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/base64.d.ts +25 -0
- package/node_modules/matrix-js-sdk/lib/base64.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/base64.js +95 -0
- package/node_modules/matrix-js-sdk/lib/base64.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/browser-index.d.ts +8 -0
- package/node_modules/matrix-js-sdk/lib/browser-index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/browser-index.js +35 -0
- package/node_modules/matrix-js-sdk/lib/browser-index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/client.d.ts +3508 -0
- package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/client.js +7451 -0
- package/node_modules/matrix-js-sdk/lib/client.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +239 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +67 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts +14 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js +33 -0
- package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts +90 -0
- package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/content-helpers.js +260 -0
- package/node_modules/matrix-js-sdk/lib/content-helpers.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/content-repo.d.ts +25 -0
- package/node_modules/matrix-js-sdk/lib/content-repo.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/content-repo.js +115 -0
- package/node_modules/matrix-js-sdk/lib/content-repo.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts +301 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/base.js +145 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/base.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts +94 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js +602 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts +251 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js +475 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts +102 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js +376 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts +117 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js +313 -0
- package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts +120 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js +137 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts +26 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts +1181 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/index.js +435 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts +11 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js +51 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts +87 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts +11 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js +65 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts +315 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js +130 -0
- package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/digest.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/digest.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/digest.js +40 -0
- package/node_modules/matrix-js-sdk/lib/digest.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/embedded.d.ts +182 -0
- package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/embedded.js +730 -0
- package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/errors.d.ts +38 -0
- package/node_modules/matrix-js-sdk/lib/errors.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/errors.js +73 -0
- package/node_modules/matrix-js-sdk/lib/errors.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts +9 -0
- package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/event-mapper.js +74 -0
- package/node_modules/matrix-js-sdk/lib/event-mapper.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts +38 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js +57 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts +7 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js +25 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts +44 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js +134 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts +33 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js +88 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts +49 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js +134 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts +71 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js +185 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts +14 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js +34 -0
- package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/feature.d.ts +20 -0
- package/node_modules/matrix-js-sdk/lib/feature.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/feature.js +93 -0
- package/node_modules/matrix-js-sdk/lib/feature.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/filter-component.d.ts +64 -0
- package/node_modules/matrix-js-sdk/lib/filter-component.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/filter-component.js +173 -0
- package/node_modules/matrix-js-sdk/lib/filter-component.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/filter.d.ts +112 -0
- package/node_modules/matrix-js-sdk/lib/filter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/filter.js +226 -0
- package/node_modules/matrix-js-sdk/lib/filter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts +117 -0
- package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/errors.js +249 -0
- package/node_modules/matrix-js-sdk/lib/http-api/errors.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +80 -0
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +330 -0
- package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts +33 -0
- package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/index.js +178 -0
- package/node_modules/matrix-js-sdk/lib/http-api/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts +186 -0
- package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/interface.js +39 -0
- package/node_modules/matrix-js-sdk/lib/http-api/interface.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/method.js +27 -0
- package/node_modules/matrix-js-sdk/lib/http-api/method.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts +31 -0
- package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/prefix.js +50 -0
- package/node_modules/matrix-js-sdk/lib/http-api/prefix.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts +53 -0
- package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/refresh.js +172 -0
- package/node_modules/matrix-js-sdk/lib/http-api/refresh.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts +37 -0
- package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/http-api/utils.js +182 -0
- package/node_modules/matrix-js-sdk/lib/http-api/utils.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/index.d.ts +4 -0
- package/node_modules/matrix-js-sdk/lib/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/index.js +24 -0
- package/node_modules/matrix-js-sdk/lib/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js +51 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts +7 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js +25 -0
- package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts +341 -0
- package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/interactive-auth.js +553 -0
- package/node_modules/matrix-js-sdk/lib/interactive-auth.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/logger.d.ts +124 -0
- package/node_modules/matrix-js-sdk/lib/logger.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/logger.js +228 -0
- package/node_modules/matrix-js-sdk/lib/logger.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrix.d.ts +117 -0
- package/node_modules/matrix-js-sdk/lib/matrix.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrix.js +144 -0
- package/node_modules/matrix-js-sdk/lib/matrix.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +154 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +455 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +44 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js +13 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts +37 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js +27 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts +94 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js +40 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +23 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +29 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +343 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +619 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts +46 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js +148 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts +210 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +970 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts +59 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js +124 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +110 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +373 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts +30 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js +164 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts +9 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js +23 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts +8 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js +26 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts +4 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js +20 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +33 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +138 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts +77 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js +62 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +169 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +117 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts +27 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js +78 -0
- package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts +98 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js +240 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts +166 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js +519 -0
- package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js +1 -0
- package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts +52 -0
- package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/beacon.js +168 -0
- package/node_modules/matrix-js-sdk/lib/models/beacon.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts +24 -0
- package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js +120 -0
- package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/device.d.ts +45 -0
- package/node_modules/matrix-js-sdk/lib/models/device.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/device.js +70 -0
- package/node_modules/matrix-js-sdk/lib/models/device.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts +62 -0
- package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-context.js +112 -0
- package/node_modules/matrix-js-sdk/lib/models/event-context.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts +19 -0
- package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-status.js +36 -0
- package/node_modules/matrix-js-sdk/lib/models/event-status.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts +308 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +795 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts +224 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline.js +427 -0
- package/node_modules/matrix-js-sdk/lib/models/event-timeline.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event.d.ts +844 -0
- package/node_modules/matrix-js-sdk/lib/models/event.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/event.js +1583 -0
- package/node_modules/matrix-js-sdk/lib/models/event.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts +27 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js +56 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts +112 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js +353 -0
- package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/poll.d.ts +67 -0
- package/node_modules/matrix-js-sdk/lib/models/poll.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/poll.js +235 -0
- package/node_modules/matrix-js-sdk/lib/models/poll.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/profile-keys.js +34 -0
- package/node_modules/matrix-js-sdk/lib/models/profile-keys.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts +115 -0
- package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/read-receipt.js +370 -0
- package/node_modules/matrix-js-sdk/lib/models/read-receipt.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts +11 -0
- package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/related-relations.js +31 -0
- package/node_modules/matrix-js-sdk/lib/models/related-relations.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts +44 -0
- package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/relations-container.js +130 -0
- package/node_modules/matrix-js-sdk/lib/models/relations-container.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/relations.d.ts +123 -0
- package/node_modules/matrix-js-sdk/lib/models/relations.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/relations.js +375 -0
- package/node_modules/matrix-js-sdk/lib/models/relations.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts +221 -0
- package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-member.js +354 -0
- package/node_modules/matrix-js-sdk/lib/models/room-member.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +39 -0
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +395 -0
- package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts +463 -0
- package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-state.js +1066 -0
- package/node_modules/matrix-js-sdk/lib/models/room-state.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts +110 -0
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js +368 -0
- package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts +59 -0
- package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room-summary.js +39 -0
- package/node_modules/matrix-js-sdk/lib/models/room-summary.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room.d.ts +1285 -0
- package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/room.js +3525 -0
- package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts +20 -0
- package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/search-result.js +52 -0
- package/node_modules/matrix-js-sdk/lib/models/search-result.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/thread.d.ts +245 -0
- package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/thread.js +821 -0
- package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts +157 -0
- package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js +227 -0
- package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/user.d.ts +200 -0
- package/node_modules/matrix-js-sdk/lib/models/user.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/models/user.js +204 -0
- package/node_modules/matrix-js-sdk/lib/models/user.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts +157 -0
- package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/authorize.js +398 -0
- package/node_modules/matrix-js-sdk/lib/oidc/authorize.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts +22 -0
- package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/discovery.js +78 -0
- package/node_modules/matrix-js-sdk/lib/oidc/discovery.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts +18 -0
- package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/error.js +35 -0
- package/node_modules/matrix-js-sdk/lib/oidc/error.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts +16 -0
- package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/index.js +29 -0
- package/node_modules/matrix-js-sdk/lib/oidc/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts +70 -0
- package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/register.js +140 -0
- package/node_modules/matrix-js-sdk/lib/oidc/register.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts +91 -0
- package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js +184 -0
- package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts +78 -0
- package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/oidc/validate.js +181 -0
- package/node_modules/matrix-js-sdk/lib/oidc/validate.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts +140 -0
- package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/pushprocessor.js +705 -0
- package/node_modules/matrix-js-sdk/lib/pushprocessor.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/randomstring.d.ts +32 -0
- package/node_modules/matrix-js-sdk/lib/randomstring.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/randomstring.js +97 -0
- package/node_modules/matrix-js-sdk/lib/randomstring.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts +18 -0
- package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js +177 -0
- package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts +51 -0
- package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js +173 -0
- package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +129 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js +466 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts +27 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts +9 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts +6 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js +23 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts +31 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js +47 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js +22 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts +36 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts +58 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js +243 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts +2 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js +18 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts +46 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.js +138 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts +61 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js +245 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts +2 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js +18 -0
- package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts +35 -0
- package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/room-hierarchy.js +131 -0
- package/node_modules/matrix-js-sdk/lib/room-hierarchy.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts +35 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js +163 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts +118 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js +360 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts +33 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js +81 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts +36 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js +201 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts +47 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js +175 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts +120 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js +467 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts +100 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js +308 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts +282 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js +924 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts +3 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js +19 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts +28 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js +132 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +65 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +159 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts +81 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js +454 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +605 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +2392 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts +22 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js +63 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts +321 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js +817 -0
- package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/scheduler.d.ts +132 -0
- package/node_modules/matrix-js-sdk/lib/scheduler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/scheduler.js +259 -0
- package/node_modules/matrix-js-sdk/lib/scheduler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts +383 -0
- package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/secret-storage.js +493 -0
- package/node_modules/matrix-js-sdk/lib/secret-storage.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts +78 -0
- package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/serverCapabilities.js +101 -0
- package/node_modules/matrix-js-sdk/lib/serverCapabilities.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/service-types.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/service-types.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/service-types.js +23 -0
- package/node_modules/matrix-js-sdk/lib/service-types.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts +107 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +887 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +306 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync.js +580 -0
- package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/index.d.ts +217 -0
- package/node_modules/matrix-js-sdk/lib/store/index.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/index.js +1 -0
- package/node_modules/matrix-js-sdk/lib/store/index.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts +28 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts +132 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js +648 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts +83 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js +226 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts +35 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js +154 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts +146 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb.js +367 -0
- package/node_modules/matrix-js-sdk/lib/store/indexeddb.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts +30 -0
- package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js +37 -0
- package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/memory.d.ts +213 -0
- package/node_modules/matrix-js-sdk/lib/store/memory.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/memory.js +447 -0
- package/node_modules/matrix-js-sdk/lib/store/memory.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/stub.d.ts +164 -0
- package/node_modules/matrix-js-sdk/lib/store/stub.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/store/stub.js +283 -0
- package/node_modules/matrix-js-sdk/lib/store/stub.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts +222 -0
- package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sync-accumulator.js +590 -0
- package/node_modules/matrix-js-sdk/lib/sync-accumulator.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sync.d.ts +281 -0
- package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/sync.js +1799 -0
- package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/testing.d.ts +98 -0
- package/node_modules/matrix-js-sdk/lib/testing.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/testing.js +205 -0
- package/node_modules/matrix-js-sdk/lib/testing.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/thread-utils.js +31 -0
- package/node_modules/matrix-js-sdk/lib/thread-utils.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts +168 -0
- package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/timeline-window.js +490 -0
- package/node_modules/matrix-js-sdk/lib/timeline-window.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/types.d.ts +33 -0
- package/node_modules/matrix-js-sdk/lib/types.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/types.js +52 -0
- package/node_modules/matrix-js-sdk/lib/types.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts +12 -0
- package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js +54 -0
- package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts +16 -0
- package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js +72 -0
- package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js +60 -0
- package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts +13 -0
- package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js +36 -0
- package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils.d.ts +270 -0
- package/node_modules/matrix-js-sdk/lib/utils.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/utils.js +779 -0
- package/node_modules/matrix-js-sdk/lib/utils.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/version-support.d.ts +19 -0
- package/node_modules/matrix-js-sdk/lib/version-support.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/version-support.js +37 -0
- package/node_modules/matrix-js-sdk/lib/version-support.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts +15 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js +46 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts +560 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/call.js +2563 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/call.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts +37 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js +339 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts +79 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js +13 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts +128 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js +274 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts +319 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js +1327 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts +31 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js +177 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts +89 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js +447 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts +8 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js +79 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts +25 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js +196 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts +17 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts +28 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js +26 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js +27 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts +7 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js +125 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts +22 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js +77 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts +10 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js +57 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts +12 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js +58 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts +86 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js +142 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts +22 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js +76 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts +99 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js +32 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts +15 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js +33 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts +16 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js +116 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts +19 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js +168 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts +11 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts +5 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js +34 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts +4 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts.map +1 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js +25 -0
- package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js.map +1 -0
- package/node_modules/matrix-js-sdk/package.json +139 -0
- package/node_modules/matrix-js-sdk/src/@types/AESEncryptedSecretStoragePayload.ts +29 -0
- package/node_modules/matrix-js-sdk/src/@types/IIdentityServerProvider.ts +24 -0
- package/node_modules/matrix-js-sdk/src/@types/PushRules.ts +208 -0
- package/node_modules/matrix-js-sdk/src/@types/another-json.d.ts +19 -0
- package/node_modules/matrix-js-sdk/src/@types/auth.ts +258 -0
- package/node_modules/matrix-js-sdk/src/@types/beacon.ts +140 -0
- package/node_modules/matrix-js-sdk/src/@types/common.ts +24 -0
- package/node_modules/matrix-js-sdk/src/@types/crypto.ts +71 -0
- package/node_modules/matrix-js-sdk/src/@types/event.ts +461 -0
- package/node_modules/matrix-js-sdk/src/@types/events.ts +119 -0
- package/node_modules/matrix-js-sdk/src/@types/extensible_events.ts +147 -0
- package/node_modules/matrix-js-sdk/src/@types/global.d.ts +67 -0
- package/node_modules/matrix-js-sdk/src/@types/json.ts +16 -0
- package/node_modules/matrix-js-sdk/src/@types/local_notifications.ts +19 -0
- package/node_modules/matrix-js-sdk/src/@types/location.ts +92 -0
- package/node_modules/matrix-js-sdk/src/@types/matrix-sdk-crypto-wasm.d.ts +39 -0
- package/node_modules/matrix-js-sdk/src/@types/media.ts +245 -0
- package/node_modules/matrix-js-sdk/src/@types/membership.ts +57 -0
- package/node_modules/matrix-js-sdk/src/@types/partials.ts +103 -0
- package/node_modules/matrix-js-sdk/src/@types/polls.ts +120 -0
- package/node_modules/matrix-js-sdk/src/@types/read_receipts.ts +61 -0
- package/node_modules/matrix-js-sdk/src/@types/registration.ts +102 -0
- package/node_modules/matrix-js-sdk/src/@types/requests.ts +345 -0
- package/node_modules/matrix-js-sdk/src/@types/search.ts +119 -0
- package/node_modules/matrix-js-sdk/src/@types/signed.ts +25 -0
- package/node_modules/matrix-js-sdk/src/@types/spaces.ts +37 -0
- package/node_modules/matrix-js-sdk/src/@types/state_events.ts +153 -0
- package/node_modules/matrix-js-sdk/src/@types/synapse.ts +40 -0
- package/node_modules/matrix-js-sdk/src/@types/sync.ts +27 -0
- package/node_modules/matrix-js-sdk/src/@types/threepids.ts +29 -0
- package/node_modules/matrix-js-sdk/src/@types/topic.ts +69 -0
- package/node_modules/matrix-js-sdk/src/@types/uia.ts +24 -0
- package/node_modules/matrix-js-sdk/src/NamespacedValue.ts +121 -0
- package/node_modules/matrix-js-sdk/src/ReEmitter.ts +93 -0
- package/node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts +156 -0
- package/node_modules/matrix-js-sdk/src/autodiscovery.ts +505 -0
- package/node_modules/matrix-js-sdk/src/base64.ts +86 -0
- package/node_modules/matrix-js-sdk/src/browser-index.ts +44 -0
- package/node_modules/matrix-js-sdk/src/client.ts +9064 -0
- package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +307 -0
- package/node_modules/matrix-js-sdk/src/common-crypto/README.md +4 -0
- package/node_modules/matrix-js-sdk/src/common-crypto/key-passphrase.ts +43 -0
- package/node_modules/matrix-js-sdk/src/content-helpers.ts +298 -0
- package/node_modules/matrix-js-sdk/src/content-repo.ts +122 -0
- package/node_modules/matrix-js-sdk/src/crypto/store/base.ts +388 -0
- package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts +655 -0
- package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts +555 -0
- package/node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts +409 -0
- package/node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts +326 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEvent.ts +152 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEventHandlerMap.ts +42 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/index.ts +1379 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/key-passphrase.ts +58 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/keybackup.ts +114 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/recovery-key.ts +69 -0
- package/node_modules/matrix-js-sdk/src/crypto-api/verification.ts +382 -0
- package/node_modules/matrix-js-sdk/src/digest.ts +34 -0
- package/node_modules/matrix-js-sdk/src/embedded.ts +865 -0
- package/node_modules/matrix-js-sdk/src/errors.ts +87 -0
- package/node_modules/matrix-js-sdk/src/event-mapper.ts +88 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/ExtensibleEvent.ts +58 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/InvalidEventError.ts +24 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/MessageEvent.ts +143 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollEndEvent.ts +97 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollResponseEvent.ts +148 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollStartEvent.ts +207 -0
- package/node_modules/matrix-js-sdk/src/extensible_events_v1/utilities.ts +35 -0
- package/node_modules/matrix-js-sdk/src/feature.ts +88 -0
- package/node_modules/matrix-js-sdk/src/filter-component.ts +209 -0
- package/node_modules/matrix-js-sdk/src/filter.ts +271 -0
- package/node_modules/matrix-js-sdk/src/http-api/errors.ts +261 -0
- package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +377 -0
- package/node_modules/matrix-js-sdk/src/http-api/index.ts +194 -0
- package/node_modules/matrix-js-sdk/src/http-api/interface.ts +229 -0
- package/node_modules/matrix-js-sdk/src/http-api/method.ts +25 -0
- package/node_modules/matrix-js-sdk/src/http-api/prefix.ts +48 -0
- package/node_modules/matrix-js-sdk/src/http-api/refresh.ts +167 -0
- package/node_modules/matrix-js-sdk/src/http-api/utils.ts +217 -0
- package/node_modules/matrix-js-sdk/src/index.ts +25 -0
- package/node_modules/matrix-js-sdk/src/indexeddb-helpers.ts +50 -0
- package/node_modules/matrix-js-sdk/src/indexeddb-worker.ts +24 -0
- package/node_modules/matrix-js-sdk/src/interactive-auth.ts +700 -0
- package/node_modules/matrix-js-sdk/src/logger.ts +279 -0
- package/node_modules/matrix-js-sdk/src/matrix.ts +174 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +438 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +54 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/IKeyTransport.ts +63 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/IMembershipManager.ts +120 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +46 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +935 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSessionManager.ts +170 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +1122 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManagerActionScheduler.ts +135 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +459 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +197 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/index.ts +24 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/common.ts +27 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/index.ts +19 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +157 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/session.ts +146 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +227 -0
- package/node_modules/matrix-js-sdk/src/matrixrtc/utils.ts +71 -0
- package/node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts +272 -0
- package/node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts +565 -0
- package/node_modules/matrix-js-sdk/src/models/ToDeviceMessage.ts +38 -0
- package/node_modules/matrix-js-sdk/src/models/beacon.ts +213 -0
- package/node_modules/matrix-js-sdk/src/models/compare-event-ordering.ts +139 -0
- package/node_modules/matrix-js-sdk/src/models/device.ts +85 -0
- package/node_modules/matrix-js-sdk/src/models/event-context.ts +110 -0
- package/node_modules/matrix-js-sdk/src/models/event-status.ts +39 -0
- package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +962 -0
- package/node_modules/matrix-js-sdk/src/models/event-timeline.ts +461 -0
- package/node_modules/matrix-js-sdk/src/models/event.ts +1819 -0
- package/node_modules/matrix-js-sdk/src/models/invites-ignorer-types.ts +58 -0
- package/node_modules/matrix-js-sdk/src/models/invites-ignorer.ts +341 -0
- package/node_modules/matrix-js-sdk/src/models/poll.ts +285 -0
- package/node_modules/matrix-js-sdk/src/models/profile-keys.ts +33 -0
- package/node_modules/matrix-js-sdk/src/models/read-receipt.ts +422 -0
- package/node_modules/matrix-js-sdk/src/models/related-relations.ts +39 -0
- package/node_modules/matrix-js-sdk/src/models/relations-container.ts +149 -0
- package/node_modules/matrix-js-sdk/src/models/relations.ts +392 -0
- package/node_modules/matrix-js-sdk/src/models/room-member.ts +486 -0
- package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +439 -0
- package/node_modules/matrix-js-sdk/src/models/room-state.ts +1230 -0
- package/node_modules/matrix-js-sdk/src/models/room-sticky-events.ts +383 -0
- package/node_modules/matrix-js-sdk/src/models/room-summary.ts +78 -0
- package/node_modules/matrix-js-sdk/src/models/room.ts +4067 -0
- package/node_modules/matrix-js-sdk/src/models/search-result.ts +57 -0
- package/node_modules/matrix-js-sdk/src/models/thread.ts +928 -0
- package/node_modules/matrix-js-sdk/src/models/typed-event-emitter.ts +246 -0
- package/node_modules/matrix-js-sdk/src/models/user.ts +308 -0
- package/node_modules/matrix-js-sdk/src/oidc/authorize.ts +431 -0
- package/node_modules/matrix-js-sdk/src/oidc/discovery.ts +67 -0
- package/node_modules/matrix-js-sdk/src/oidc/error.ts +33 -0
- package/node_modules/matrix-js-sdk/src/oidc/index.ts +33 -0
- package/node_modules/matrix-js-sdk/src/oidc/register.ts +168 -0
- package/node_modules/matrix-js-sdk/src/oidc/tokenRefresher.ts +184 -0
- package/node_modules/matrix-js-sdk/src/oidc/validate.ts +265 -0
- package/node_modules/matrix-js-sdk/src/pushprocessor.ts +856 -0
- package/node_modules/matrix-js-sdk/src/randomstring.ts +103 -0
- package/node_modules/matrix-js-sdk/src/realtime-callbacks.ts +191 -0
- package/node_modules/matrix-js-sdk/src/receipt-accumulator.ts +189 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +557 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousChannel.ts +48 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousCode.ts +25 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousError.ts +26 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousFailureReason.ts +49 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousIntent.ts +20 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousTransport.ts +58 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/channels/MSC4108SecureChannel.ts +278 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/channels/index.ts +17 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +140 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/transports/MSC4108RendezvousSession.ts +272 -0
- package/node_modules/matrix-js-sdk/src/rendezvous/transports/index.ts +17 -0
- package/node_modules/matrix-js-sdk/src/room-hierarchy.ts +152 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/CrossSigningIdentity.ts +195 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/DehydratedDeviceManager.ts +392 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/KeyClaimManager.ts +86 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestProcessor.ts +233 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestsManager.ts +170 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/PerSessionKeyBackupDownloader.ts +501 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/RoomEncryptor.ts +362 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/backup.ts +963 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/constants.ts +18 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/device-converter.ts +128 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +267 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/libolm_migration.ts +532 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +2622 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/secret-storage.ts +60 -0
- package/node_modules/matrix-js-sdk/src/rust-crypto/verification.ts +833 -0
- package/node_modules/matrix-js-sdk/src/scheduler.ts +309 -0
- package/node_modules/matrix-js-sdk/src/secret-storage.ts +714 -0
- package/node_modules/matrix-js-sdk/src/serverCapabilities.ts +146 -0
- package/node_modules/matrix-js-sdk/src/service-types.ts +20 -0
- package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +1005 -0
- package/node_modules/matrix-js-sdk/src/sliding-sync.ts +674 -0
- package/node_modules/matrix-js-sdk/src/store/index.ts +280 -0
- package/node_modules/matrix-js-sdk/src/store/indexeddb-backend.ts +45 -0
- package/node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts +642 -0
- package/node_modules/matrix-js-sdk/src/store/indexeddb-remote-backend.ts +225 -0
- package/node_modules/matrix-js-sdk/src/store/indexeddb-store-worker.ts +166 -0
- package/node_modules/matrix-js-sdk/src/store/indexeddb.ts +410 -0
- package/node_modules/matrix-js-sdk/src/store/local-storage-events-emitter.ts +46 -0
- package/node_modules/matrix-js-sdk/src/store/memory.ts +461 -0
- package/node_modules/matrix-js-sdk/src/store/stub.ts +292 -0
- package/node_modules/matrix-js-sdk/src/sync-accumulator.ts +794 -0
- package/node_modules/matrix-js-sdk/src/sync.ts +2064 -0
- package/node_modules/matrix-js-sdk/src/testing.ts +231 -0
- package/node_modules/matrix-js-sdk/src/thread-utils.ts +31 -0
- package/node_modules/matrix-js-sdk/src/timeline-window.ts +534 -0
- package/node_modules/matrix-js-sdk/src/types.ts +59 -0
- package/node_modules/matrix-js-sdk/src/utils/decryptAESSecretStorageItem.ts +54 -0
- package/node_modules/matrix-js-sdk/src/utils/encryptAESSecretStorageItem.ts +73 -0
- package/node_modules/matrix-js-sdk/src/utils/internal/deriveKeys.ts +63 -0
- package/node_modules/matrix-js-sdk/src/utils/roomVersion.ts +35 -0
- package/node_modules/matrix-js-sdk/src/utils.ts +775 -0
- package/node_modules/matrix-js-sdk/src/version-support.ts +50 -0
- package/node_modules/matrix-js-sdk/src/webrtc/audioContext.ts +44 -0
- package/node_modules/matrix-js-sdk/src/webrtc/call.ts +3060 -0
- package/node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts +425 -0
- package/node_modules/matrix-js-sdk/src/webrtc/callEventTypes.ts +101 -0
- package/node_modules/matrix-js-sdk/src/webrtc/callFeed.ts +364 -0
- package/node_modules/matrix-js-sdk/src/webrtc/groupCall.ts +1729 -0
- package/node_modules/matrix-js-sdk/src/webrtc/groupCallEventHandler.ts +234 -0
- package/node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts +501 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/callFeedStatsReporter.ts +91 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportGatherer.ts +219 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportSummary.ts +30 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStats.ts +47 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsBuilder.ts +28 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsReportBuilder.ts +140 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/groupCallStats.ts +93 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaSsrcHandler.ts +57 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackHandler.ts +70 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStats.ts +176 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStatsHandler.ts +90 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReport.ts +133 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReportEmitter.ts +49 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/summaryStatsReportGatherer.ts +148 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/trackStatsBuilder.ts +207 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStats.ts +26 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStatsBuilder.ts +48 -0
- package/node_modules/matrix-js-sdk/src/webrtc/stats/valueFormatter.ts +27 -0
- package/node_modules/matrix-widget-api/LICENSE +201 -0
- package/node_modules/matrix-widget-api/README.md +91 -0
- package/node_modules/matrix-widget-api/dist/api.js +5684 -0
- package/node_modules/matrix-widget-api/dist/api.min.js +1 -0
- package/node_modules/matrix-widget-api/lib/ClientWidgetApi.d.ts +185 -0
- package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js +1950 -0
- package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/Symbols.d.ts +3 -0
- package/node_modules/matrix-widget-api/lib/Symbols.js +27 -0
- package/node_modules/matrix-widget-api/lib/Symbols.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/WidgetApi.d.ts +312 -0
- package/node_modules/matrix-widget-api/lib/WidgetApi.js +1025 -0
- package/node_modules/matrix-widget-api/lib/WidgetApi.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.d.ts +348 -0
- package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js +488 -0
- package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/index.d.ts +54 -0
- package/node_modules/matrix-widget-api/lib/index.js +259 -0
- package/node_modules/matrix-widget-api/lib/index.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts +20 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js +48 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts +69 -0
- package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js +75 -0
- package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts +34 -0
- package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts +10 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.d.ts +15 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts +26 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js +29 -0
- package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts +10 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts +19 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.d.ts +5 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts +3 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.d.ts +5 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts +50 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts +34 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js +33 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts +15 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts +9 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts +7 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js +31 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts +55 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js +30 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts +13 -0
- package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts +17 -0
- package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts +23 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts +26 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.d.ts +19 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts +13 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts +36 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts +34 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts +15 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts +29 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts +14 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.d.ts +12 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts +31 -0
- package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.d.ts +21 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js +29 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.d.ts +16 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts +22 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts +13 -0
- package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts +69 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js +67 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts +5 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js +38 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts +11 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts +5 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js +29 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts +6 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js +29 -0
- package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/models/Widget.d.ts +52 -0
- package/node_modules/matrix-widget-api/lib/models/Widget.js +142 -0
- package/node_modules/matrix-widget-api/lib/models/Widget.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.d.ts +34 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js +258 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetParser.d.ts +46 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetParser.js +152 -0
- package/node_modules/matrix-widget-api/lib/models/WidgetParser.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/models/validation/url.d.ts +1 -0
- package/node_modules/matrix-widget-api/lib/models/validation/url.js +39 -0
- package/node_modules/matrix-widget-api/lib/models/validation/url.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/models/validation/utils.d.ts +1 -0
- package/node_modules/matrix-widget-api/lib/models/validation/utils.js +29 -0
- package/node_modules/matrix-widget-api/lib/models/validation/utils.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/templating/url-template.d.ts +14 -0
- package/node_modules/matrix-widget-api/lib/templating/url-template.js +62 -0
- package/node_modules/matrix-widget-api/lib/templating/url-template.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/transport/ITransport.d.ts +69 -0
- package/node_modules/matrix-widget-api/lib/transport/ITransport.js +6 -0
- package/node_modules/matrix-widget-api/lib/transport/ITransport.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.d.ts +31 -0
- package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js +220 -0
- package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js.map +1 -0
- package/node_modules/matrix-widget-api/lib/util/SimpleObservable.d.ts +8 -0
- package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js +68 -0
- package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js.map +1 -0
- package/node_modules/matrix-widget-api/package.json +79 -0
- package/node_modules/matrix-widget-api/src/ClientWidgetApi.ts +1362 -0
- package/node_modules/matrix-widget-api/src/Symbols.ts +19 -0
- package/node_modules/matrix-widget-api/src/WidgetApi.ts +933 -0
- package/node_modules/matrix-widget-api/src/driver/WidgetDriver.ts +505 -0
- package/node_modules/matrix-widget-api/src/index.ts +81 -0
- package/node_modules/matrix-widget-api/src/interfaces/ApiVersion.ts +56 -0
- package/node_modules/matrix-widget-api/src/interfaces/Capabilities.ts +98 -0
- package/node_modules/matrix-widget-api/src/interfaces/CapabilitiesAction.ts +60 -0
- package/node_modules/matrix-widget-api/src/interfaces/ContentLoadedAction.ts +28 -0
- package/node_modules/matrix-widget-api/src/interfaces/DownloadFileAction.ts +36 -0
- package/node_modules/matrix-widget-api/src/interfaces/GetMediaConfigAction.ts +34 -0
- package/node_modules/matrix-widget-api/src/interfaces/GetOpenIDAction.ts +49 -0
- package/node_modules/matrix-widget-api/src/interfaces/ICustomWidgetData.ts +27 -0
- package/node_modules/matrix-widget-api/src/interfaces/IJitsiWidgetData.ts +38 -0
- package/node_modules/matrix-widget-api/src/interfaces/IRoomAccountData.ts +21 -0
- package/node_modules/matrix-widget-api/src/interfaces/IRoomEvent.ts +33 -0
- package/node_modules/matrix-widget-api/src/interfaces/IStickerpickerWidgetData.ts +21 -0
- package/node_modules/matrix-widget-api/src/interfaces/IToDeviceMessage.ts +21 -0
- package/node_modules/matrix-widget-api/src/interfaces/IWidget.ts +75 -0
- package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiErrorResponse.ts +56 -0
- package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiRequest.ts +38 -0
- package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiResponse.ts +29 -0
- package/node_modules/matrix-widget-api/src/interfaces/LanguageChangeAction.ts +35 -0
- package/node_modules/matrix-widget-api/src/interfaces/ModalButtonKind.ts +23 -0
- package/node_modules/matrix-widget-api/src/interfaces/ModalWidgetActions.ts +89 -0
- package/node_modules/matrix-widget-api/src/interfaces/NavigateAction.ts +32 -0
- package/node_modules/matrix-widget-api/src/interfaces/OpenIDCredentialsAction.ts +38 -0
- package/node_modules/matrix-widget-api/src/interfaces/ReadEventAction.ts +43 -0
- package/node_modules/matrix-widget-api/src/interfaces/ReadRelationsAction.ts +48 -0
- package/node_modules/matrix-widget-api/src/interfaces/ReadRoomAccountDataAction.ts +39 -0
- package/node_modules/matrix-widget-api/src/interfaces/ScreenshotAction.ts +32 -0
- package/node_modules/matrix-widget-api/src/interfaces/SendEventAction.ts +66 -0
- package/node_modules/matrix-widget-api/src/interfaces/SendToDeviceAction.ts +56 -0
- package/node_modules/matrix-widget-api/src/interfaces/SetModalButtonEnabledAction.ts +34 -0
- package/node_modules/matrix-widget-api/src/interfaces/StickerAction.ts +49 -0
- package/node_modules/matrix-widget-api/src/interfaces/StickyAction.ts +36 -0
- package/node_modules/matrix-widget-api/src/interfaces/SupportedVersionsAction.ts +33 -0
- package/node_modules/matrix-widget-api/src/interfaces/ThemeChangeAction.ts +32 -0
- package/node_modules/matrix-widget-api/src/interfaces/TurnServerActions.ts +54 -0
- package/node_modules/matrix-widget-api/src/interfaces/UpdateDelayedEventAction.ts +43 -0
- package/node_modules/matrix-widget-api/src/interfaces/UpdateStateAction.ts +37 -0
- package/node_modules/matrix-widget-api/src/interfaces/UploadFileAction.ts +36 -0
- package/node_modules/matrix-widget-api/src/interfaces/UserDirectorySearchAction.ts +42 -0
- package/node_modules/matrix-widget-api/src/interfaces/VisibilityAction.ts +32 -0
- package/node_modules/matrix-widget-api/src/interfaces/WidgetApiAction.ts +97 -0
- package/node_modules/matrix-widget-api/src/interfaces/WidgetApiDirection.ts +30 -0
- package/node_modules/matrix-widget-api/src/interfaces/WidgetConfigAction.ts +29 -0
- package/node_modules/matrix-widget-api/src/interfaces/WidgetKind.ts +21 -0
- package/node_modules/matrix-widget-api/src/interfaces/WidgetType.ts +23 -0
- package/node_modules/matrix-widget-api/src/models/Widget.ts +108 -0
- package/node_modules/matrix-widget-api/src/models/WidgetEventCapability.ts +224 -0
- package/node_modules/matrix-widget-api/src/models/WidgetParser.ts +147 -0
- package/node_modules/matrix-widget-api/src/models/validation/url.ts +32 -0
- package/node_modules/matrix-widget-api/src/models/validation/utils.ts +22 -0
- package/node_modules/matrix-widget-api/src/templating/url-template.ts +71 -0
- package/node_modules/matrix-widget-api/src/transport/ITransport.ts +109 -0
- package/node_modules/matrix-widget-api/src/transport/PostmessageTransport.ts +200 -0
- package/node_modules/matrix-widget-api/src/util/SimpleObservable.ts +39 -0
- package/node_modules/mdurl/LICENSE +45 -0
- package/node_modules/mdurl/README.md +102 -0
- package/node_modules/mdurl/build/index.cjs.js +534 -0
- package/node_modules/mdurl/index.mjs +11 -0
- package/node_modules/mdurl/lib/decode.mjs +112 -0
- package/node_modules/mdurl/lib/encode.mjs +89 -0
- package/node_modules/mdurl/lib/format.mjs +21 -0
- package/node_modules/mdurl/lib/parse.mjs +308 -0
- package/node_modules/mdurl/package.json +37 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +93 -0
- package/node_modules/media-typer/index.js +143 -0
- package/node_modules/media-typer/package.json +33 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/music-metadata/LICENSE.txt +9 -0
- package/node_modules/music-metadata/README.md +878 -0
- package/node_modules/music-metadata/lib/ParseError.d.ts +87 -0
- package/node_modules/music-metadata/lib/ParseError.js +38 -0
- package/node_modules/music-metadata/lib/ParserFactory.d.ts +44 -0
- package/node_modules/music-metadata/lib/ParserFactory.js +141 -0
- package/node_modules/music-metadata/lib/aiff/AiffLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/aiff/AiffLoader.js +8 -0
- package/node_modules/music-metadata/lib/aiff/AiffParser.d.ts +15 -0
- package/node_modules/music-metadata/lib/aiff/AiffParser.js +104 -0
- package/node_modules/music-metadata/lib/aiff/AiffTagMap.d.ts +4 -0
- package/node_modules/music-metadata/lib/aiff/AiffTagMap.js +15 -0
- package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +48 -0
- package/node_modules/music-metadata/lib/aiff/AiffToken.js +58 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Parser.d.ts +46 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +176 -0
- package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.d.ts +4 -0
- package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.js +83 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Token.d.ts +99 -0
- package/node_modules/music-metadata/lib/apev2/APEv2Token.js +116 -0
- package/node_modules/music-metadata/lib/apev2/Apev2Loader.d.ts +2 -0
- package/node_modules/music-metadata/lib/apev2/Apev2Loader.js +8 -0
- package/node_modules/music-metadata/lib/asf/AsfGuid.d.ts +83 -0
- package/node_modules/music-metadata/lib/asf/AsfGuid.js +109 -0
- package/node_modules/music-metadata/lib/asf/AsfLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/asf/AsfLoader.js +8 -0
- package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +325 -0
- package/node_modules/music-metadata/lib/asf/AsfObject.js +347 -0
- package/node_modules/music-metadata/lib/asf/AsfParser.d.ts +17 -0
- package/node_modules/music-metadata/lib/asf/AsfParser.js +134 -0
- package/node_modules/music-metadata/lib/asf/AsfTagMapper.d.ts +7 -0
- package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +92 -0
- package/node_modules/music-metadata/lib/asf/AsfUtil.d.ts +4 -0
- package/node_modules/music-metadata/lib/asf/AsfUtil.js +32 -0
- package/node_modules/music-metadata/lib/common/BasicParser.d.ts +17 -0
- package/node_modules/music-metadata/lib/common/BasicParser.js +13 -0
- package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.d.ts +10 -0
- package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.js +17 -0
- package/node_modules/music-metadata/lib/common/CombinedTagMapper.d.ts +19 -0
- package/node_modules/music-metadata/lib/common/CombinedTagMapper.js +50 -0
- package/node_modules/music-metadata/lib/common/FourCC.d.ts +6 -0
- package/node_modules/music-metadata/lib/common/FourCC.js +25 -0
- package/node_modules/music-metadata/lib/common/GenericTagMapper.d.ts +51 -0
- package/node_modules/music-metadata/lib/common/GenericTagMapper.js +51 -0
- package/node_modules/music-metadata/lib/common/GenericTagTypes.d.ts +34 -0
- package/node_modules/music-metadata/lib/common/GenericTagTypes.js +133 -0
- package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +86 -0
- package/node_modules/music-metadata/lib/common/MetadataCollector.js +307 -0
- package/node_modules/music-metadata/lib/common/Util.d.ts +56 -0
- package/node_modules/music-metadata/lib/common/Util.js +152 -0
- package/node_modules/music-metadata/lib/core.d.ts +75 -0
- package/node_modules/music-metadata/lib/core.js +126 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.js +8 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.d.ts +29 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +154 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.d.ts +9 -0
- package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.js +18 -0
- package/node_modules/music-metadata/lib/dsf/DsfChunk.d.ts +87 -0
- package/node_modules/music-metadata/lib/dsf/DsfChunk.js +50 -0
- package/node_modules/music-metadata/lib/dsf/DsfLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/dsf/DsfLoader.js +8 -0
- package/node_modules/music-metadata/lib/dsf/DsfParser.d.ts +24 -0
- package/node_modules/music-metadata/lib/dsf/DsfParser.js +57 -0
- package/node_modules/music-metadata/lib/ebml/EbmlIterator.d.ts +67 -0
- package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +218 -0
- package/node_modules/music-metadata/lib/ebml/types.d.ts +37 -0
- package/node_modules/music-metadata/lib/ebml/types.js +8 -0
- package/node_modules/music-metadata/lib/flac/FlacLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/flac/FlacLoader.js +8 -0
- package/node_modules/music-metadata/lib/flac/FlacParser.d.ts +29 -0
- package/node_modules/music-metadata/lib/flac/FlacParser.js +125 -0
- package/node_modules/music-metadata/lib/flac/FlacToken.d.ts +45 -0
- package/node_modules/music-metadata/lib/flac/FlacToken.js +63 -0
- package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.d.ts +17 -0
- package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.js +137 -0
- package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.d.ts +4 -0
- package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.js +18 -0
- package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.d.ts +17 -0
- package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.js +56 -0
- package/node_modules/music-metadata/lib/id3v2/FrameHeader.d.ts +31 -0
- package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +73 -0
- package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +92 -0
- package/node_modules/music-metadata/lib/id3v2/FrameParser.js +470 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.d.ts +9 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +46 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.d.ts +14 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +195 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.d.ts +11 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.js +17 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +33 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +169 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2Token.d.ts +111 -0
- package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +146 -0
- package/node_modules/music-metadata/lib/iff/index.d.ts +33 -0
- package/node_modules/music-metadata/lib/iff/index.js +16 -0
- package/node_modules/music-metadata/lib/index.d.ts +22 -0
- package/node_modules/music-metadata/lib/index.js +53 -0
- package/node_modules/music-metadata/lib/lrc/LyricsParser.d.ts +9 -0
- package/node_modules/music-metadata/lib/lrc/LyricsParser.js +45 -0
- package/node_modules/music-metadata/lib/lyrics3/Lyrics3.d.ts +3 -0
- package/node_modules/music-metadata/lib/lyrics3/Lyrics3.js +17 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaDtd.d.ts +8 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaDtd.js +283 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaLoader.js +8 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaParser.d.ts +19 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaParser.js +143 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.d.ts +4 -0
- package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.js +32 -0
- package/node_modules/music-metadata/lib/matroska/types.d.ts +142 -0
- package/node_modules/music-metadata/lib/matroska/types.js +27 -0
- package/node_modules/music-metadata/lib/mp4/Atom.d.ts +16 -0
- package/node_modules/music-metadata/lib/mp4/Atom.js +65 -0
- package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +487 -0
- package/node_modules/music-metadata/lib/mp4/AtomToken.js +524 -0
- package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +32 -0
- package/node_modules/music-metadata/lib/mp4/MP4Parser.js +647 -0
- package/node_modules/music-metadata/lib/mp4/MP4TagMapper.d.ts +8 -0
- package/node_modules/music-metadata/lib/mp4/MP4TagMapper.js +123 -0
- package/node_modules/music-metadata/lib/mp4/Mp4Loader.d.ts +2 -0
- package/node_modules/music-metadata/lib/mp4/Mp4Loader.js +8 -0
- package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.d.ts +27 -0
- package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.js +28 -0
- package/node_modules/music-metadata/lib/mpeg/MpegLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/mpeg/MpegLoader.js +8 -0
- package/node_modules/music-metadata/lib/mpeg/MpegParser.d.ts +62 -0
- package/node_modules/music-metadata/lib/mpeg/MpegParser.js +569 -0
- package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts +57 -0
- package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.js +64 -0
- package/node_modules/music-metadata/lib/mpeg/XingTag.d.ts +44 -0
- package/node_modules/music-metadata/lib/mpeg/XingTag.js +65 -0
- package/node_modules/music-metadata/lib/musepack/MusepackConentError.d.ts +15 -0
- package/node_modules/music-metadata/lib/musepack/MusepackConentError.js +3 -0
- package/node_modules/music-metadata/lib/musepack/MusepackLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/musepack/MusepackLoader.js +8 -0
- package/node_modules/music-metadata/lib/musepack/MusepackParser.d.ts +4 -0
- package/node_modules/music-metadata/lib/musepack/MusepackParser.js +30 -0
- package/node_modules/music-metadata/lib/musepack/sv7/BitReader.d.ts +13 -0
- package/node_modules/music-metadata/lib/musepack/sv7/BitReader.js +46 -0
- package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.d.ts +8 -0
- package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.js +47 -0
- package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.d.ts +28 -0
- package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.js +39 -0
- package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.d.ts +6 -0
- package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.js +56 -0
- package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.d.ts +42 -0
- package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +82 -0
- package/node_modules/music-metadata/lib/ogg/OggLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/ogg/OggLoader.js +8 -0
- package/node_modules/music-metadata/lib/ogg/OggParser.d.ts +27 -0
- package/node_modules/music-metadata/lib/ogg/OggParser.js +125 -0
- package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +83 -0
- package/node_modules/music-metadata/lib/ogg/OggToken.js +41 -0
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +29 -0
- package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +74 -0
- package/node_modules/music-metadata/lib/ogg/opus/Opus.d.ts +63 -0
- package/node_modules/music-metadata/lib/ogg/opus/Opus.js +27 -0
- package/node_modules/music-metadata/lib/ogg/opus/OpusStream.d.ts +24 -0
- package/node_modules/music-metadata/lib/ogg/opus/OpusStream.js +56 -0
- package/node_modules/music-metadata/lib/ogg/speex/Speex.d.ts +36 -0
- package/node_modules/music-metadata/lib/ogg/speex/Speex.js +28 -0
- package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +20 -0
- package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +31 -0
- package/node_modules/music-metadata/lib/ogg/theora/Theora.d.ts +20 -0
- package/node_modules/music-metadata/lib/ogg/theora/Theora.js +20 -0
- package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.d.ts +25 -0
- package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.js +39 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.d.ts +68 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.js +83 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.d.ts +12 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +29 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +53 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +136 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.d.ts +7 -0
- package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +133 -0
- package/node_modules/music-metadata/lib/riff/RiffChunk.d.ts +16 -0
- package/node_modules/music-metadata/lib/riff/RiffChunk.js +28 -0
- package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.d.ts +10 -0
- package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.js +34 -0
- package/node_modules/music-metadata/lib/type.d.ts +661 -0
- package/node_modules/music-metadata/lib/type.js +2 -0
- package/node_modules/music-metadata/lib/wav/BwfChunk.d.ts +17 -0
- package/node_modules/music-metadata/lib/wav/BwfChunk.js +26 -0
- package/node_modules/music-metadata/lib/wav/WaveChunk.d.ts +94 -0
- package/node_modules/music-metadata/lib/wav/WaveChunk.js +78 -0
- package/node_modules/music-metadata/lib/wav/WaveLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/wav/WaveLoader.js +8 -0
- package/node_modules/music-metadata/lib/wav/WaveParser.d.ts +24 -0
- package/node_modules/music-metadata/lib/wav/WaveParser.js +170 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackLoader.d.ts +2 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackLoader.js +8 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackParser.d.ts +30 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackParser.js +109 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackToken.d.ts +60 -0
- package/node_modules/music-metadata/lib/wavpack/WavPackToken.js +70 -0
- package/node_modules/music-metadata/package.json +156 -0
- package/node_modules/node-downloader-helper/LICENSE +21 -0
- package/node_modules/node-downloader-helper/README.md +266 -0
- package/node_modules/node-downloader-helper/bin/helpers.js +50 -0
- package/node_modules/node-downloader-helper/bin/ndh +68 -0
- package/node_modules/node-downloader-helper/dist/index.js +1 -0
- package/node_modules/node-downloader-helper/package.json +55 -0
- package/node_modules/node-downloader-helper/types/index.d.ts +292 -0
- package/node_modules/oidc-client-ts/LICENSE +202 -0
- package/node_modules/oidc-client-ts/README.md +87 -0
- package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js +3751 -0
- package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js.map +7 -0
- package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js +2 -0
- package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js.map +7 -0
- package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +3671 -0
- package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +7 -0
- package/node_modules/oidc-client-ts/dist/esm/package.json +4 -0
- package/node_modules/oidc-client-ts/dist/types/oidc-client-ts.d.ts +2003 -0
- package/node_modules/oidc-client-ts/dist/types/tsdoc-metadata.json +11 -0
- package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js +3719 -0
- package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js.map +7 -0
- package/node_modules/oidc-client-ts/package.json +75 -0
- package/node_modules/p-retry/index.d.ts +267 -0
- package/node_modules/p-retry/index.js +267 -0
- package/node_modules/p-retry/license +9 -0
- package/node_modules/p-retry/package.json +63 -0
- package/node_modules/p-retry/readme.md +319 -0
- package/node_modules/punycode.js/LICENSE-MIT.txt +20 -0
- package/node_modules/punycode.js/README.md +148 -0
- package/node_modules/punycode.js/package.json +58 -0
- package/node_modules/punycode.js/punycode.es6.js +444 -0
- package/node_modules/punycode.js/punycode.js +443 -0
- package/node_modules/sdp-transform/.eslintrc.js +19 -0
- package/node_modules/sdp-transform/.github/FUNDING.yml +12 -0
- package/node_modules/sdp-transform/.github/codecov.yml +8 -0
- package/node_modules/sdp-transform/.github/dependabot.yml +15 -0
- package/node_modules/sdp-transform/.github/workflows/ci.yml +26 -0
- package/node_modules/sdp-transform/CHANGELOG.md +247 -0
- package/node_modules/sdp-transform/LICENSE +22 -0
- package/node_modules/sdp-transform/README.md +254 -0
- package/node_modules/sdp-transform/checker.js +47 -0
- package/node_modules/sdp-transform/lib/grammar.js +495 -0
- package/node_modules/sdp-transform/lib/index.js +13 -0
- package/node_modules/sdp-transform/lib/parser.js +124 -0
- package/node_modules/sdp-transform/lib/writer.js +114 -0
- package/node_modules/sdp-transform/package.json +34 -0
- package/node_modules/strtok3/LICENSE.txt +21 -0
- package/node_modules/strtok3/README.md +399 -0
- package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +76 -0
- package/node_modules/strtok3/lib/AbstractTokenizer.js +111 -0
- package/node_modules/strtok3/lib/BlobTokenizer.d.ts +29 -0
- package/node_modules/strtok3/lib/BlobTokenizer.js +53 -0
- package/node_modules/strtok3/lib/BufferTokenizer.d.ts +29 -0
- package/node_modules/strtok3/lib/BufferTokenizer.js +52 -0
- package/node_modules/strtok3/lib/FileTokenizer.d.ts +37 -0
- package/node_modules/strtok3/lib/FileTokenizer.js +61 -0
- package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +34 -0
- package/node_modules/strtok3/lib/ReadStreamTokenizer.js +107 -0
- package/node_modules/strtok3/lib/core.d.ts +40 -0
- package/node_modules/strtok3/lib/core.js +62 -0
- package/node_modules/strtok3/lib/index.d.ts +16 -0
- package/node_modules/strtok3/lib/index.js +22 -0
- package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +54 -0
- package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +71 -0
- package/node_modules/strtok3/lib/stream/Deferred.d.ts +6 -0
- package/node_modules/strtok3/lib/stream/Deferred.js +10 -0
- package/node_modules/strtok3/lib/stream/Errors.d.ts +10 -0
- package/node_modules/strtok3/lib/stream/Errors.js +16 -0
- package/node_modules/strtok3/lib/stream/StreamReader.d.ts +29 -0
- package/node_modules/strtok3/lib/stream/StreamReader.js +83 -0
- package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +14 -0
- package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +27 -0
- package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +19 -0
- package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +62 -0
- package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +14 -0
- package/node_modules/strtok3/lib/stream/WebStreamReader.js +13 -0
- package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +5 -0
- package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +19 -0
- package/node_modules/strtok3/lib/stream/index.d.ts +6 -0
- package/node_modules/strtok3/lib/stream/index.js +5 -0
- package/node_modules/strtok3/lib/types.d.ts +139 -0
- package/node_modules/strtok3/lib/types.js +1 -0
- package/node_modules/strtok3/package.json +94 -0
- package/node_modules/token-types/LICENSE.txt +9 -0
- package/node_modules/token-types/README.md +120 -0
- package/node_modules/token-types/lib/index.d.ts +135 -0
- package/node_modules/token-types/lib/index.js +401 -0
- package/node_modules/token-types/package.json +81 -0
- package/node_modules/typebox/build/compile/code.d.mts +12 -0
- package/node_modules/typebox/build/compile/code.mjs +65 -0
- package/node_modules/typebox/build/compile/compile.d.mts +6 -0
- package/node_modules/typebox/build/compile/compile.mjs +12 -0
- package/node_modules/typebox/build/compile/index.d.mts +8 -0
- package/node_modules/typebox/build/compile/index.mjs +14 -0
- package/node_modules/typebox/build/compile/validator.d.mts +43 -0
- package/node_modules/typebox/build/compile/validator.mjs +121 -0
- package/node_modules/typebox/build/error/errors.d.mts +214 -0
- package/node_modules/typebox/build/error/errors.mjs +18 -0
- package/node_modules/typebox/build/error/index.d.mts +1 -0
- package/node_modules/typebox/build/error/index.mjs +1 -0
- package/node_modules/typebox/build/format/_idna.d.mts +2 -0
- package/node_modules/typebox/build/format/_idna.mjs +216 -0
- package/node_modules/typebox/build/format/_puny.d.mts +1 -0
- package/node_modules/typebox/build/format/_puny.mjs +74 -0
- package/node_modules/typebox/build/format/_registry.d.mts +15 -0
- package/node_modules/typebox/build/format/_registry.mjs +96 -0
- package/node_modules/typebox/build/format/date.d.mts +6 -0
- package/node_modules/typebox/build/format/date.mjs +19 -0
- package/node_modules/typebox/build/format/date_time.d.mts +6 -0
- package/node_modules/typebox/build/format/date_time.mjs +11 -0
- package/node_modules/typebox/build/format/duration.d.mts +5 -0
- package/node_modules/typebox/build/format/duration.mjs +8 -0
- package/node_modules/typebox/build/format/email.d.mts +5 -0
- package/node_modules/typebox/build/format/email.mjs +8 -0
- package/node_modules/typebox/build/format/format.d.mts +22 -0
- package/node_modules/typebox/build/format/format.mjs +22 -0
- package/node_modules/typebox/build/format/hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/hostname.mjs +18 -0
- package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
- package/node_modules/typebox/build/format/idn_email.mjs +8 -0
- package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
- package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
- package/node_modules/typebox/build/format/index.d.mts +4 -0
- package/node_modules/typebox/build/format/index.mjs +4 -0
- package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
- package/node_modules/typebox/build/format/ipv4.mjs +38 -0
- package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
- package/node_modules/typebox/build/format/ipv6.mjs +67 -0
- package/node_modules/typebox/build/format/iri.d.mts +5 -0
- package/node_modules/typebox/build/format/iri.mjs +13 -0
- package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
- package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
- package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
- package/node_modules/typebox/build/format/regex.d.mts +6 -0
- package/node_modules/typebox/build/format/regex.mjs +17 -0
- package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
- package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
- package/node_modules/typebox/build/format/time.d.mts +5 -0
- package/node_modules/typebox/build/format/time.mjs +27 -0
- package/node_modules/typebox/build/format/uri.d.mts +5 -0
- package/node_modules/typebox/build/format/uri.mjs +135 -0
- package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
- package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
- package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
- package/node_modules/typebox/build/format/uri_template.mjs +10 -0
- package/node_modules/typebox/build/format/url.d.mts +6 -0
- package/node_modules/typebox/build/format/url.mjs +9 -0
- package/node_modules/typebox/build/format/uuid.d.mts +6 -0
- package/node_modules/typebox/build/format/uuid.mjs +9 -0
- package/node_modules/typebox/build/guard/emit.d.mts +58 -0
- package/node_modules/typebox/build/guard/emit.mjs +194 -0
- package/node_modules/typebox/build/guard/globals.d.mts +35 -0
- package/node_modules/typebox/build/guard/globals.mjs +90 -0
- package/node_modules/typebox/build/guard/guard.d.mts +69 -0
- package/node_modules/typebox/build/guard/guard.mjs +217 -0
- package/node_modules/typebox/build/guard/index.d.mts +6 -0
- package/node_modules/typebox/build/guard/index.mjs +6 -0
- package/node_modules/typebox/build/guard/native.d.mts +20 -0
- package/node_modules/typebox/build/guard/native.mjs +60 -0
- package/node_modules/typebox/build/guard/string.d.mts +6 -0
- package/node_modules/typebox/build/guard/string.mjs +164 -0
- package/node_modules/typebox/build/index.d.mts +8 -0
- package/node_modules/typebox/build/index.mjs +14 -0
- package/node_modules/typebox/build/schema/build.d.mts +39 -0
- package/node_modules/typebox/build/schema/build.mjs +118 -0
- package/node_modules/typebox/build/schema/check.d.mts +6 -0
- package/node_modules/typebox/build/schema/check.mjs +14 -0
- package/node_modules/typebox/build/schema/compile.d.mts +22 -0
- package/node_modules/typebox/build/schema/compile.mjs +46 -0
- package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
- package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
- package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
- package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
- package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
- package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
- package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
- package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
- package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
- package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
- package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
- package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
- package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
- package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
- package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
- package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
- package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
- package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
- package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
- package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
- package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
- package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
- package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
- package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
- package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
- package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
- package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
- package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
- package/node_modules/typebox/build/schema/errors.d.mts +6 -0
- package/node_modules/typebox/build/schema/errors.mjs +24 -0
- package/node_modules/typebox/build/schema/index.d.mts +3 -0
- package/node_modules/typebox/build/schema/index.mjs +9 -0
- package/node_modules/typebox/build/schema/parse.d.mts +13 -0
- package/node_modules/typebox/build/schema/parse.mjs +27 -0
- package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
- package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
- package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
- package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
- package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
- package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
- package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
- package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
- package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
- package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
- package/node_modules/typebox/build/schema/schema.d.mts +10 -0
- package/node_modules/typebox/build/schema/schema.mjs +10 -0
- package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
- package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
- package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
- package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/const.mjs +2 -0
- package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
- package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
- package/node_modules/typebox/build/schema/static/if.mjs +2 -0
- package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
- package/node_modules/typebox/build/schema/static/index.mjs +1 -0
- package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/items.mjs +2 -0
- package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
- package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
- package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
- package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
- package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
- package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
- package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
- package/node_modules/typebox/build/schema/static/required.mjs +3 -0
- package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
- package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
- package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/static.mjs +3 -0
- package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
- package/node_modules/typebox/build/schema/static/type.mjs +3 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
- package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
- package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
- package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
- package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
- package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
- package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/const.mjs +12 -0
- package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
- package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/default.mjs +12 -0
- package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
- package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
- package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/else.mjs +14 -0
- package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/format.mjs +13 -0
- package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/id.mjs +13 -0
- package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/if.mjs +14 -0
- package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
- package/node_modules/typebox/build/schema/types/index.mjs +60 -0
- package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
- package/node_modules/typebox/build/schema/types/items.mjs +26 -0
- package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
- package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
- package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
- package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/not.mjs +14 -0
- package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
- package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
- package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
- package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
- package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
- package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
- package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
- package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/required.mjs +14 -0
- package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
- package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/then.mjs +14 -0
- package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/type.mjs +15 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
- package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
- package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
- package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
- package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
- package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
- package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
- package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
- package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
- package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
- package/node_modules/typebox/build/system/environment/index.mjs +1 -0
- package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
- package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
- package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
- package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
- package/node_modules/typebox/build/system/index.d.mts +4 -0
- package/node_modules/typebox/build/system/index.mjs +4 -0
- package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
- package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
- package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
- package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
- package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
- package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
- package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
- package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
- package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
- package/node_modules/typebox/build/system/locale/index.mjs +1 -0
- package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
- package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
- package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
- package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
- package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
- package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
- package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
- package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
- package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
- package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
- package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
- package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
- package/node_modules/typebox/build/system/memory/create.mjs +30 -0
- package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
- package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
- package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
- package/node_modules/typebox/build/system/memory/index.mjs +1 -0
- package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
- package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
- package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
- package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
- package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
- package/node_modules/typebox/build/system/memory/update.mjs +32 -0
- package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
- package/node_modules/typebox/build/system/settings/index.mjs +1 -0
- package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
- package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
- package/node_modules/typebox/build/system/system.d.mts +6 -0
- package/node_modules/typebox/build/system/system.mjs +6 -0
- package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
- package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
- package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
- package/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
- package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
- package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
- package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
- package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
- package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
- package/node_modules/typebox/build/type/action/conditional.mjs +12 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
- package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
- package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
- package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
- package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
- package/node_modules/typebox/build/type/action/extract.mjs +11 -0
- package/node_modules/typebox/build/type/action/index.d.mts +27 -0
- package/node_modules/typebox/build/type/action/index.mjs +27 -0
- package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
- package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
- package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
- package/node_modules/typebox/build/type/action/interface.mjs +22 -0
- package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
- package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
- package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
- package/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
- package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
- package/node_modules/typebox/build/type/action/module.d.mts +12 -0
- package/node_modules/typebox/build/type/action/module.mjs +12 -0
- package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
- package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
- package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
- package/node_modules/typebox/build/type/action/omit.mjs +14 -0
- package/node_modules/typebox/build/type/action/options.d.mts +11 -0
- package/node_modules/typebox/build/type/action/options.mjs +11 -0
- package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
- package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
- package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
- package/node_modules/typebox/build/type/action/partial.mjs +11 -0
- package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
- package/node_modules/typebox/build/type/action/pick.mjs +14 -0
- package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
- package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
- package/node_modules/typebox/build/type/action/required.d.mts +11 -0
- package/node_modules/typebox/build/type/action/required.mjs +11 -0
- package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
- package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
- package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
- package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
- package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
- package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
- package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
- package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
- package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
- package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
- package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
- package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
- package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
- package/node_modules/typebox/build/type/engine/index.mjs +37 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
- package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
- package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
- package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
- package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
- package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
- package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
- package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
- package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
- package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
- package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
- package/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
- package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
- package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
- package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
- package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
- package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
- package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
- package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
- package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
- package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
- package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
- package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
- package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
- package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
- package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
- package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
- package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
- package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
- package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
- package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
- package/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
- package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
- package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
- package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
- package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
- package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
- package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
- package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
- package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
- package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
- package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
- package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
- package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/any.mjs +12 -0
- package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
- package/node_modules/typebox/build/type/extends/array.mjs +21 -0
- package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
- package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
- package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
- package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/enum.mjs +6 -0
- package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
- package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
- package/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
- package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
- package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
- package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
- package/node_modules/typebox/build/type/extends/function.mjs +17 -0
- package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
- package/node_modules/typebox/build/type/extends/index.mjs +2 -0
- package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
- package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
- package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
- package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
- package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
- package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
- package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
- package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/never.mjs +9 -0
- package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/null.mjs +9 -0
- package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/number.mjs +9 -0
- package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/object.mjs +87 -0
- package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
- package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
- package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
- package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
- package/node_modules/typebox/build/type/extends/result.mjs +36 -0
- package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
- package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/string.mjs +9 -0
- package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
- package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
- package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
- package/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
- package/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
- package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
- package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
- package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
- package/node_modules/typebox/build/type/extends/union.mjs +24 -0
- package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
- package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
- package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
- package/node_modules/typebox/build/type/extends/void.mjs +9 -0
- package/node_modules/typebox/build/type/index.d.mts +5 -0
- package/node_modules/typebox/build/type/index.mjs +5 -0
- package/node_modules/typebox/build/type/script/index.d.mts +1 -0
- package/node_modules/typebox/build/type/script/index.mjs +1 -0
- package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
- package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
- package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
- package/node_modules/typebox/build/type/script/parser.mjs +135 -0
- package/node_modules/typebox/build/type/script/script.d.mts +17 -0
- package/node_modules/typebox/build/type/script/script.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
- package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
- package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
- package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
- package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
- package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
- package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
- package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
- package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
- package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
- package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
- package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
- package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
- package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
- package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
- package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
- package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
- package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
- package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
- package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
- package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
- package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
- package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
- package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
- package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
- package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
- package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
- package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
- package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
- package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
- package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
- package/node_modules/typebox/build/type/types/any.d.mts +10 -0
- package/node_modules/typebox/build/type/types/any.mjs +18 -0
- package/node_modules/typebox/build/type/types/array.d.mts +18 -0
- package/node_modules/typebox/build/type/types/array.mjs +25 -0
- package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/base.d.mts +50 -0
- package/node_modules/typebox/build/type/types/base.mjs +84 -0
- package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
- package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
- package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
- package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
- package/node_modules/typebox/build/type/types/call.d.mts +16 -0
- package/node_modules/typebox/build/type/types/call.mjs +22 -0
- package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
- package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
- package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
- package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
- package/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
- package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
- package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
- package/node_modules/typebox/build/type/types/enum.mjs +17 -0
- package/node_modules/typebox/build/type/types/function.d.mts +21 -0
- package/node_modules/typebox/build/type/types/function.mjs +25 -0
- package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
- package/node_modules/typebox/build/type/types/generic.mjs +17 -0
- package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
- package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
- package/node_modules/typebox/build/type/types/index.d.mts +48 -0
- package/node_modules/typebox/build/type/types/index.mjs +54 -0
- package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
- package/node_modules/typebox/build/type/types/infer.mjs +20 -0
- package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
- package/node_modules/typebox/build/type/types/integer.mjs +21 -0
- package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
- package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
- package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
- package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
- package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
- package/node_modules/typebox/build/type/types/literal.mjs +62 -0
- package/node_modules/typebox/build/type/types/never.d.mts +12 -0
- package/node_modules/typebox/build/type/types/never.mjs +22 -0
- package/node_modules/typebox/build/type/types/null.d.mts +11 -0
- package/node_modules/typebox/build/type/types/null.mjs +17 -0
- package/node_modules/typebox/build/type/types/number.d.mts +12 -0
- package/node_modules/typebox/build/type/types/number.mjs +21 -0
- package/node_modules/typebox/build/type/types/object.d.mts +18 -0
- package/node_modules/typebox/build/type/types/object.mjs +28 -0
- package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
- package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
- package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
- package/node_modules/typebox/build/type/types/promise.mjs +29 -0
- package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
- package/node_modules/typebox/build/type/types/properties.mjs +15 -0
- package/node_modules/typebox/build/type/types/record.d.mts +46 -0
- package/node_modules/typebox/build/type/types/record.mjs +60 -0
- package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
- package/node_modules/typebox/build/type/types/ref.mjs +18 -0
- package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
- package/node_modules/typebox/build/type/types/rest.mjs +17 -0
- package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
- package/node_modules/typebox/build/type/types/schema.mjs +15 -0
- package/node_modules/typebox/build/type/types/static.d.mts +48 -0
- package/node_modules/typebox/build/type/types/static.mjs +3 -0
- package/node_modules/typebox/build/type/types/string.d.mts +12 -0
- package/node_modules/typebox/build/type/types/string.mjs +22 -0
- package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
- package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
- package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
- package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
- package/node_modules/typebox/build/type/types/this.d.mts +14 -0
- package/node_modules/typebox/build/type/types/this.mjs +17 -0
- package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
- package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
- package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
- package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
- package/node_modules/typebox/build/type/types/union.d.mts +15 -0
- package/node_modules/typebox/build/type/types/union.mjs +24 -0
- package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
- package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
- package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
- package/node_modules/typebox/build/type/types/void.d.mts +11 -0
- package/node_modules/typebox/build/type/types/void.mjs +17 -0
- package/node_modules/typebox/build/typebox.d.mts +73 -0
- package/node_modules/typebox/build/typebox.mjs +89 -0
- package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
- package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
- package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/assert/index.mjs +1 -0
- package/node_modules/typebox/build/value/check/check.d.mts +5 -0
- package/node_modules/typebox/build/value/check/check.mjs +11 -0
- package/node_modules/typebox/build/value/check/index.d.mts +1 -0
- package/node_modules/typebox/build/value/check/index.mjs +1 -0
- package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
- package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
- package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
- package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
- package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
- package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
- package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
- package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clean/index.mjs +1 -0
- package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
- package/node_modules/typebox/build/value/clone/clone.mjs +83 -0
- package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
- package/node_modules/typebox/build/value/clone/index.mjs +1 -0
- package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
- package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
- package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
- package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
- package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
- package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
- package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
- package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
- package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
- package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
- package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
- package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
- package/node_modules/typebox/build/value/codec/has.mjs +93 -0
- package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
- package/node_modules/typebox/build/value/codec/index.mjs +3 -0
- package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
- package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
- package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
- package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
- package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
- package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
- package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
- package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
- package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
- package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
- package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
- package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
- package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
- package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
- package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
- package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
- package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
- package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
- package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
- package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
- package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
- package/node_modules/typebox/build/value/create/create.d.mts +5 -0
- package/node_modules/typebox/build/value/create/create.mjs +11 -0
- package/node_modules/typebox/build/value/create/error.d.mts +5 -0
- package/node_modules/typebox/build/value/create/error.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
- package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
- package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
- package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
- package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
- package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
- package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
- package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
- package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
- package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
- package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
- package/node_modules/typebox/build/value/create/index.d.mts +2 -0
- package/node_modules/typebox/build/value/create/index.mjs +2 -0
- package/node_modules/typebox/build/value/default/default.d.mts +13 -0
- package/node_modules/typebox/build/value/default/default.mjs +15 -0
- package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
- package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
- package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
- package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
- package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
- package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
- package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
- package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
- package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
- package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
- package/node_modules/typebox/build/value/default/index.d.mts +1 -0
- package/node_modules/typebox/build/value/default/index.mjs +1 -0
- package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
- package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
- package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
- package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
- package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
- package/node_modules/typebox/build/value/delta/index.mjs +3 -0
- package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
- package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
- package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
- package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
- package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
- package/node_modules/typebox/build/value/equal/index.mjs +1 -0
- package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
- package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
- package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
- package/node_modules/typebox/build/value/errors/index.mjs +1 -0
- package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
- package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
- package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
- package/node_modules/typebox/build/value/hash/index.mjs +1 -0
- package/node_modules/typebox/build/value/index.d.mts +21 -0
- package/node_modules/typebox/build/value/index.mjs +30 -0
- package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
- package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
- package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
- package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
- package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
- package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
- package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
- package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
- package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
- package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
- package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
- package/node_modules/typebox/build/value/parse/index.mjs +1 -0
- package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
- package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
- package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
- package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
- package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
- package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
- package/node_modules/typebox/build/value/repair/error.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
- package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
- package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
- package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
- package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
- package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
- package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
- package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
- package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
- package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
- package/node_modules/typebox/build/value/repair/index.mjs +1 -0
- package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
- package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
- package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/index.mjs +4 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
- package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
- package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
- package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
- package/node_modules/typebox/build/value/value.d.mts +16 -0
- package/node_modules/typebox/build/value/value.mjs +16 -0
- package/node_modules/typebox/license +23 -0
- package/node_modules/typebox/package.json +87 -0
- package/node_modules/typebox/readme.md +356 -0
- package/node_modules/uc.micro/LICENSE.txt +20 -0
- package/node_modules/uc.micro/README.md +14 -0
- package/node_modules/uc.micro/build/index.cjs.js +20 -0
- package/node_modules/uc.micro/categories/Cc/regex.mjs +1 -0
- package/node_modules/uc.micro/categories/Cf/regex.mjs +1 -0
- package/node_modules/uc.micro/categories/P/regex.mjs +1 -0
- package/node_modules/uc.micro/categories/S/regex.mjs +1 -0
- package/node_modules/uc.micro/categories/Z/regex.mjs +1 -0
- package/node_modules/uc.micro/index.mjs +8 -0
- package/node_modules/uc.micro/package.json +37 -0
- package/node_modules/uc.micro/properties/Any/regex.mjs +1 -0
- package/node_modules/uint8array-extras/index.d.ts +331 -0
- package/node_modules/uint8array-extras/index.js +318 -0
- package/node_modules/uint8array-extras/license +9 -0
- package/node_modules/uint8array-extras/package.json +54 -0
- package/node_modules/uint8array-extras/readme.md +318 -0
- package/node_modules/unhomoglyph/CHANGELOG.md +45 -0
- package/node_modules/unhomoglyph/LICENSE +22 -0
- package/node_modules/unhomoglyph/README.md +54 -0
- package/node_modules/unhomoglyph/data.json +6313 -0
- package/node_modules/unhomoglyph/index.d.ts +4 -0
- package/node_modules/unhomoglyph/index.js +20 -0
- package/node_modules/unhomoglyph/package.json +25 -0
- package/node_modules/win-guid/LICENSE.txt +9 -0
- package/node_modules/win-guid/README.md +113 -0
- package/node_modules/win-guid/lib/guid.d.ts +20 -0
- package/node_modules/win-guid/lib/guid.js +107 -0
- package/node_modules/win-guid/package.json +55 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +191 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/locales/index.cjs +17 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +32 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +135 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +32 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +70 -0
- package/node_modules/zod/src/v4/classic/errors.ts +82 -0
- package/node_modules/zod/src/v4/classic/external.ts +52 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +82 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1823 -0
- package/node_modules/zod/src/v4/core/checks.ts +1293 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +153 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +455 -0
- package/node_modules/zod/src/v4/core/index.ts +16 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
- package/node_modules/zod/src/v4/core/parse.ts +195 -0
- package/node_modules/zod/src/v4/core/regexes.ts +190 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
- package/node_modules/zod/src/v4/core/util.ts +983 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +115 -0
- package/node_modules/zod/src/v4/locales/az.ts +111 -0
- package/node_modules/zod/src/v4/locales/be.ts +176 -0
- package/node_modules/zod/src/v4/locales/bg.ts +128 -0
- package/node_modules/zod/src/v4/locales/ca.ts +116 -0
- package/node_modules/zod/src/v4/locales/cs.ts +118 -0
- package/node_modules/zod/src/v4/locales/da.ts +123 -0
- package/node_modules/zod/src/v4/locales/de.ts +116 -0
- package/node_modules/zod/src/v4/locales/el.ts +121 -0
- package/node_modules/zod/src/v4/locales/en.ts +123 -0
- package/node_modules/zod/src/v4/locales/eo.ts +118 -0
- package/node_modules/zod/src/v4/locales/es.ts +141 -0
- package/node_modules/zod/src/v4/locales/fa.ts +126 -0
- package/node_modules/zod/src/v4/locales/fi.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
- package/node_modules/zod/src/v4/locales/fr.ts +132 -0
- package/node_modules/zod/src/v4/locales/he.ts +246 -0
- package/node_modules/zod/src/v4/locales/hr.ts +131 -0
- package/node_modules/zod/src/v4/locales/hu.ts +117 -0
- package/node_modules/zod/src/v4/locales/hy.ts +164 -0
- package/node_modules/zod/src/v4/locales/id.ts +115 -0
- package/node_modules/zod/src/v4/locales/index.ts +52 -0
- package/node_modules/zod/src/v4/locales/is.ts +119 -0
- package/node_modules/zod/src/v4/locales/it.ts +116 -0
- package/node_modules/zod/src/v4/locales/ja.ts +114 -0
- package/node_modules/zod/src/v4/locales/ka.ts +123 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +119 -0
- package/node_modules/zod/src/v4/locales/ko.ts +121 -0
- package/node_modules/zod/src/v4/locales/lt.ts +239 -0
- package/node_modules/zod/src/v4/locales/mk.ts +118 -0
- package/node_modules/zod/src/v4/locales/ms.ts +115 -0
- package/node_modules/zod/src/v4/locales/nl.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +116 -0
- package/node_modules/zod/src/v4/locales/ota.ts +117 -0
- package/node_modules/zod/src/v4/locales/pl.ts +118 -0
- package/node_modules/zod/src/v4/locales/ps.ts +126 -0
- package/node_modules/zod/src/v4/locales/pt.ts +116 -0
- package/node_modules/zod/src/v4/locales/ro.ts +129 -0
- package/node_modules/zod/src/v4/locales/ru.ts +176 -0
- package/node_modules/zod/src/v4/locales/sl.ts +118 -0
- package/node_modules/zod/src/v4/locales/sv.ts +119 -0
- package/node_modules/zod/src/v4/locales/ta.ts +118 -0
- package/node_modules/zod/src/v4/locales/th.ts +119 -0
- package/node_modules/zod/src/v4/locales/tr.ts +111 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +117 -0
- package/node_modules/zod/src/v4/locales/ur.ts +119 -0
- package/node_modules/zod/src/v4/locales/uz.ts +117 -0
- package/node_modules/zod/src/v4/locales/vi.ts +117 -0
- package/node_modules/zod/src/v4/locales/yo.ts +124 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/external.ts +41 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +14 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +22 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +137 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +33 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +2 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3777 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3695 -0
- package/node_modules/zod/v4/classic/checks.cjs +33 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +47 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +61 -0
- package/node_modules/zod/v4/classic/compat.d.cts +50 -0
- package/node_modules/zod/v4/classic/compat.d.ts +50 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/errors.cjs +74 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +48 -0
- package/node_modules/zod/v4/classic/external.cjs +73 -0
- package/node_modules/zod/v4/classic/external.d.cts +16 -0
- package/node_modules/zod/v4/classic/external.d.ts +16 -0
- package/node_modules/zod/v4/classic/external.js +20 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +41 -0
- package/node_modules/zod/v4/classic/parse.d.cts +31 -0
- package/node_modules/zod/v4/classic/parse.d.ts +31 -0
- package/node_modules/zod/v4/classic/parse.js +15 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
- package/node_modules/zod/v4/classic/schemas.js +1395 -0
- package/node_modules/zod/v4/core/api.cjs +1227 -0
- package/node_modules/zod/v4/core/api.d.cts +325 -0
- package/node_modules/zod/v4/core/api.d.ts +325 -0
- package/node_modules/zod/v4/core/api.js +1087 -0
- package/node_modules/zod/v4/core/checks.cjs +601 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +575 -0
- package/node_modules/zod/v4/core/core.cjs +85 -0
- package/node_modules/zod/v4/core/core.d.cts +70 -0
- package/node_modules/zod/v4/core/core.d.ts +70 -0
- package/node_modules/zod/v4/core/core.js +78 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +216 -0
- package/node_modules/zod/v4/core/errors.d.cts +221 -0
- package/node_modules/zod/v4/core/errors.d.ts +221 -0
- package/node_modules/zod/v4/core/errors.js +185 -0
- package/node_modules/zod/v4/core/index.cjs +47 -0
- package/node_modules/zod/v4/core/index.d.cts +16 -0
- package/node_modules/zod/v4/core/index.d.ts +16 -0
- package/node_modules/zod/v4/core/index.js +16 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +131 -0
- package/node_modules/zod/v4/core/parse.d.cts +49 -0
- package/node_modules/zod/v4/core/parse.d.ts +49 -0
- package/node_modules/zod/v4/core/parse.js +93 -0
- package/node_modules/zod/v4/core/regexes.cjs +172 -0
- package/node_modules/zod/v4/core/regexes.d.cts +85 -0
- package/node_modules/zod/v4/core/regexes.d.ts +85 -0
- package/node_modules/zod/v4/core/regexes.js +139 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2270 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
- package/node_modules/zod/v4/core/schemas.js +2239 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
- package/node_modules/zod/v4/core/to-json-schema.js +448 -0
- package/node_modules/zod/v4/core/util.cjs +734 -0
- package/node_modules/zod/v4/core/util.d.cts +200 -0
- package/node_modules/zod/v4/core/util.d.ts +200 -0
- package/node_modules/zod/v4/core/util.js +674 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/index.cjs +22 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +133 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +106 -0
- package/node_modules/zod/v4/locales/az.cjs +132 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +105 -0
- package/node_modules/zod/v4/locales/be.cjs +183 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +156 -0
- package/node_modules/zod/v4/locales/bg.cjs +147 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +120 -0
- package/node_modules/zod/v4/locales/ca.cjs +134 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +107 -0
- package/node_modules/zod/v4/locales/cs.cjs +138 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +111 -0
- package/node_modules/zod/v4/locales/da.cjs +142 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +115 -0
- package/node_modules/zod/v4/locales/de.cjs +135 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +108 -0
- package/node_modules/zod/v4/locales/el.cjs +136 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +109 -0
- package/node_modules/zod/v4/locales/en.cjs +140 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +113 -0
- package/node_modules/zod/v4/locales/eo.cjs +136 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +109 -0
- package/node_modules/zod/v4/locales/es.cjs +159 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +132 -0
- package/node_modules/zod/v4/locales/fa.cjs +141 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +114 -0
- package/node_modules/zod/v4/locales/fi.cjs +139 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +112 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +107 -0
- package/node_modules/zod/v4/locales/fr.cjs +152 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +125 -0
- package/node_modules/zod/v4/locales/he.cjs +241 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +214 -0
- package/node_modules/zod/v4/locales/hr.cjs +149 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +122 -0
- package/node_modules/zod/v4/locales/hu.cjs +135 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +108 -0
- package/node_modules/zod/v4/locales/hy.cjs +174 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +147 -0
- package/node_modules/zod/v4/locales/id.cjs +133 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +106 -0
- package/node_modules/zod/v4/locales/index.cjs +111 -0
- package/node_modules/zod/v4/locales/index.d.cts +52 -0
- package/node_modules/zod/v4/locales/index.d.ts +52 -0
- package/node_modules/zod/v4/locales/index.js +52 -0
- package/node_modules/zod/v4/locales/is.cjs +136 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +109 -0
- package/node_modules/zod/v4/locales/it.cjs +135 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +108 -0
- package/node_modules/zod/v4/locales/ja.cjs +134 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +107 -0
- package/node_modules/zod/v4/locales/ka.cjs +139 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +112 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +137 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +110 -0
- package/node_modules/zod/v4/locales/ko.cjs +138 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +111 -0
- package/node_modules/zod/v4/locales/lt.cjs +230 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +203 -0
- package/node_modules/zod/v4/locales/mk.cjs +136 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +109 -0
- package/node_modules/zod/v4/locales/ms.cjs +134 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +107 -0
- package/node_modules/zod/v4/locales/nl.cjs +137 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +110 -0
- package/node_modules/zod/v4/locales/no.cjs +135 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +108 -0
- package/node_modules/zod/v4/locales/ota.cjs +136 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +109 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +136 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +109 -0
- package/node_modules/zod/v4/locales/ps.cjs +141 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +114 -0
- package/node_modules/zod/v4/locales/pt.cjs +135 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +108 -0
- package/node_modules/zod/v4/locales/ro.cjs +146 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +119 -0
- package/node_modules/zod/v4/locales/ru.cjs +183 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +156 -0
- package/node_modules/zod/v4/locales/sl.cjs +136 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +109 -0
- package/node_modules/zod/v4/locales/sv.cjs +137 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +110 -0
- package/node_modules/zod/v4/locales/ta.cjs +137 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +110 -0
- package/node_modules/zod/v4/locales/th.cjs +137 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +110 -0
- package/node_modules/zod/v4/locales/tr.cjs +132 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +105 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +135 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +108 -0
- package/node_modules/zod/v4/locales/ur.cjs +137 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +110 -0
- package/node_modules/zod/v4/locales/uz.cjs +137 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +110 -0
- package/node_modules/zod/v4/locales/vi.cjs +135 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +108 -0
- package/node_modules/zod/v4/locales/yo.cjs +134 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +107 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +109 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +107 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +52 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/external.cjs +63 -0
- package/node_modules/zod/v4/mini/external.d.cts +13 -0
- package/node_modules/zod/v4/mini/external.d.ts +13 -0
- package/node_modules/zod/v4/mini/external.js +14 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +64 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +16 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
- package/node_modules/zod/v4/mini/schemas.js +961 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +32 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/npm-shrinkwrap.json +532 -0
- package/package.json +16 -9
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rust-crypto.js","names":["anotherjson","RustSdkCryptoJs","KnownMembership","MatrixEventEvent","DecryptionError","LogSpan","Method","RoomEncryptor","OutgoingRequestProcessor","KeyClaimManager","MapWithDefault","AllDevicesIsolationMode","CrossSigningKey","CryptoEvent","DecryptionFailureCode","DecryptionKeyDoesNotMatchError","deriveRecoveryKeyFromPassphrase","DeviceIsolationModeKind","DeviceVerificationStatus","encodeRecoveryKey","EventShieldColour","EventShieldReason","ImportRoomKeyStage","UserVerificationStatus","deviceKeysToDeviceMap","rustDeviceToJsDevice","SECRET_STORAGE_ALGORITHM_V1_AES","CrossSigningIdentity","secretStorageContainsCrossSigningKeys","isVerificationEvent","RustVerificationRequest","verificationMethodIdentifierToMethod","EventType","MsgType","TypedEventEmitter","decryptionKeyMatchesKeyBackupInfo","RustBackupManager","TypedReEmitter","secureRandomString","ClientStoppedError","decodeBase64","encodeBase64","OutgoingRequestsManager","PerSessionKeyBackupDownloader","DehydratedDeviceManager","VerificationMethod","keyFromAuthData","getHttpUriForMxc","ALL_VERIFICATION_METHODS","Sas","ScanQrCode","ShowQrCode","Reciprocate","MAX_INVITE_ACCEPTANCE_MS_FOR_KEY_BUNDLE","RustCrypto","constructor","logger","olmMachine","http","userId","_deviceId","secretStorage","cryptoCallbacks","enableEncryptedStateEvents","arguments","length","undefined","_defineProperty","outgoingRequestProcessor","outgoingRequestsManager","keyClaimManager","backupManager","perSessionBackupDownloader","dehydratedDeviceManager","eventDecryptor","EventDecryptor","reemitter","reEmit","KeyBackupStatus","KeyBackupSessionsRemaining","KeyBackupFailed","KeyBackupDecryptionKeyCached","DehydratedDeviceCreated","DehydratedDeviceUploaded","RehydrationStarted","RehydrationProgress","RehydrationCompleted","RehydrationError","DehydrationKeyCached","DehydratedDeviceRotationError","crossSigningIdentity","checkKeyBackupAndEnable","getOlmMachineOrThrow","stopped","globalErrorOnUnknownDevices","_v","stop","close","encryptEvent","event","_room","_this","_asyncToGenerator","roomId","getRoomId","encryptor","roomEncryptors","Error","concat","globalBlacklistUnverifiedDevices","deviceIsolationMode","decryptEvent","_this2","attemptEventDecryption","getBackupDecryptor","backupInfo","privKey","_this3","Uint8Array","algorithm","backupDecryptionKey","BackupDecryptionKey","fromBase64","createBackupDecryptor","importBackedUpRoomKeys","keys","backupVersion","opts","_this4","maybeAcceptKeyBundle","inviter","_this5","info","request","queryKeysForUsers","UserId","makeOutgoingRequest","bundleData","getReceivedRoomKeyBundleData","RoomId","url","baseUrl","encryptedBundle","bundleUrl","URL","encryptedBundleBlob","authedRequest","Get","pathname","search","rawResponseBody","prefix","size","arrayBuffer","err","warn","receiveRoomKeyBundle","clearRoomPendingKeyBundle","markRoomAsPendingKeyBundle","_this6","storeRoomPendingKeyBundle","getVersion","versions","getVersions","matrix_sdk_crypto","git_sha","vodozemac","setDeviceIsolationMode","isolationMode","isEncryptionEnabledInRoom","_this7","roomSettings","getRoomSettings","Boolean","isStateEncryptionEnabledInRoom","_this8","encryptStateEvents","getOwnDeviceKeys","_this9","identityKeys","ed25519","toBase64","curve25519","prepareToEncrypt","room","prepareForEncryption","forceDiscardSession","_this$roomEncryptors$","exportRoomKeys","_this0","raw","JSON","parse","exportRoomKeysAsJson","_this1","importRoomKeys","_this10","importRoomKeysAsJson","_this11","userHasCrossSigningKeys","_arguments","_this12","downloadUncached","rustTrackedUsers","trackedUsers","rustTrackedUser","u","toString","clone","userIdentity","getIdentity","free","_keyResult$master_key","keyResult","downloadDeviceList","Set","master_keys","Object","values","getUserDeviceInfo","userIds","_arguments2","_this13","deviceMapByUserId","Map","forEach","rustUserId","add","untrackedUsers","has","set","getUserDevices","queryResult","entries","device_keys","_ref","_ref2","_slicedToArray","deviceKeys","_this14","userDevices","deviceArray","devices","map","device","deviceId","d","_this15","queryBody","user","Post","getTrustCrossSignedDevices","_trustCrossSignedDevices","setTrustCrossSignedDevices","val","setDeviceVerified","_arguments3","_this16","verified","getDevice","DeviceId","setLocalTrust","LocalTrust","Verified","Unset","crossSignDevice","_this17","outgoingRequest","verify","getDeviceVerificationStatus","_this18","signedByOwner","isCrossSignedByOwner","crossSigningVerified","isCrossSigningTrusted","localVerified","isLocallyTrusted","trustCrossSignedDevices","getUserVerificationStatus","_this19","isVerified","wasVerified","wasPreviouslyVerified","needsUserApproval","OtherUserIdentity","identityNeedsUserApproval","pinCurrentUserIdentity","_this20","OwnUserIdentity","pinCurrentMasterKey","withdrawVerificationRequirement","_this21","withdrawVerification","isCrossSigningReady","_this22","_yield$_this22$getCro","getCrossSigningStatus","privateKeysInSecretStorage","privateKeysCachedLocally","hasKeysInCache","masterKey","selfSigningKey","userSigningKey","identity","getOwnIdentity","getCrossSigningKeyId","_arguments4","_this23","type","Master","crossSigningStatus","privateKeysOnDevice","hasMaster","hasUserSigning","hasSelfSigning","key","SelfSigning","UserSigning","parsedKey","bootstrapCrossSigning","_this24","isSecretStorageReady","_this25","getSecretStorageStatus","ready","_this26","secretsToCheck","keyBackupEnabled","getActiveBackupVersion","push","defaultKeyId","getDefaultKeyId","result","secretStorageKeyValidityMap","secretName","record","isStored","secretStored","bootstrapSecretStorage","_arguments5","_this27","_ref3","createSecretStorageKey","setupNewSecretStorage","setupNewKeyBackup","isNewSecretStorageKeyNeeded","secretStorageHasAESKey","recoveryKey","addSecretStorageKeyToSecretStorage","crossSigningPrivateKeys","exportCrossSigningKeys","hasPrivateKeys","self_signing_key","store","saveBackupKeyToStorage","resetKeyBackup","_this28","keyBackupInfo","getServerBackupInfo","version","backupKeys","getBackupKeys","decryptionKey","backupKeyBase64","secretStorageKey","_this29","_secretStorageKey$key","_secretStorageKey$key2","_this29$cryptoCallbac","_this29$cryptoCallbac2","secretStorageKeyObject","addKey","passphrase","keyInfo","name","privateKey","setDefaultKeyId","keyId","cacheSecretStorageKey","call","_this30","secretStorageKeyTuple","getKey","_secretStorageKeyTupl","_this31","publicKeysOnDevice","createRecoveryKeyFromPassphrase","password","_this32","salt","RECOVERY_KEY_DERIVATION_ITERATIONS","iterations","encodedPrivateKey","globalThis","crypto","getRandomValues","getEncryptionInfoForEvent","_this33","getVerificationRequestsToDeviceInProgress","requests","getVerificationRequests","filter","isCancelled","makeVerificationRequest","findVerificationRequestDMInProgress","find","_request$roomId","requestVerificationDM","_this34","methods","_supportedVerificationMethods","method","verCont","verificationRequestContent","verContObj","verificationEventContent","stringify","eventId","sendVerificationRequestContent","requestVerification","EventId","_this35","txId","_yield$_this35$http$a","Put","encodeURIComponent","event_id","setSupportedVerificationMethods","requestOwnUserVerification","_this36","_yield$userIdentity$r","_yield$userIdentity$r2","requestDeviceVerification","_this37","_device$requestVerifi","_device$requestVerifi2","getSessionBackupPrivateKey","_this38","storeSessionBackupPrivateKey","_this39","base64Key","saveBackupDecryptionKey","loadSessionBackupPrivateKeyFromSecretStorage","_this40","backupKey","get","getActiveSessionBackupVersion","_this41","getKeyBackupInfo","_this42","isKeyBackupTrusted","_this43","_this44","deleteKeyBackupVersion","_this45","_this46","setupKeyBackup","o","signObject","pushSecretToVerifiedDevices","disableKeyStorage","_this47","error","deleteSecretStorage","delete","obj","_this48","sigs","signatures","unsigned","userSignatures","canonalizedJson","sign","asJSON","_objectSpread","fromEntries","restoreKeyBackupWithPassphrase","_this49","auth_data","restoreKeyBackup","_this50","decodedDecryptionKey","requestKeyBackupVersion","backupDecryptor","_opts$progressCallbac","progressCallback","stage","Fetch","isDehydrationSupported","_this51","isSupported","startDehydration","_arguments6","_this52","start","importSecretsBundle","secrets","_this53","secretsBundle","SecretsBundle","from_json","exportSecretsBundle","_this54","to_json","encryptToDeviceMessages","eventType","payload","_this55","uniqueUsers","_ref4","ensureSessionsForUsers","Array","from","batch","RoomMessageEncrypted","Promise","all","_ref6","_ref5","encryptedPayload","encryptToDeviceEvent","_x","apply","resetEncryption","authUploadDeviceSigningKeys","_this56","debug","deleteAllKeyBackupVersions","setupNewCrossSigning","_this57","shareRoomHistoryWithUser","_this58","hasDownloadedAllRoomKeys","downloadLatestRoomKeyBackup","setHasDownloadedAllRoomKeys","bundle","buildRoomKeyBundle","uploadResponse","uploadContent","encryptedData","req","shareRoomKeyBundleData","content_uri","mediaEncryptionInfo","CollectStrategy","identityBasedStrategy","receiveSyncChanges","_ref7","_this59","events","_ref7$oneTimeKeysCoun","oneTimeKeysCounts","unusedFallbackKeys","_ref7$devices","DeviceLists","preprocessToDeviceMessages","_this60","processed","received","_loop","parsedMessage","message","rawEvent","KeyVerificationRequest","sender","transactionId","content","transaction_id","onIncomingKeyVerificationRequest","ProcessedToDeviceEventType","Decrypted","_encryptionInfo$sende","encryptionInfo","senderDevice","senderCurve25519KeyBase64","senderCurve25519Key","senderVerified","isSenderVerified","isRoomKeyBundleMessage","room_id","pendingDetails","getPendingKeyBundleDetailsForRoom","Date","now","inviteAcceptedAtMillis","toISOString","inviterId","catch","PlainText","UnableToDecrypt","Invalid","processKeyCounts","_this61","mapOneTimeKeysCount","setUnusedFallbackKeys","processDeviceLists","deviceLists","_this62","_deviceLists$changed","_deviceLists$left","changed","left","onCryptoEvent","_this63","config","getContent","settings","RoomSettings","EncryptionAlgorithm","MegolmV1AesSha2","sessionRotationPeriodMs","rotation_period_ms","sessionRotationPeriodMessages","rotation_period_msgs","setRoomSettings","e","existingEncryptor","getChild","onSyncCompleted","syncState","doProcessOutgoingRequests","markAllTrackedUsersAsDirty","_this64","getVerificationRequest","emit","VerificationRequestReceived","onRoomMembership","member","oldMembership","Join","membership","enc","onRoomStateEvent","_state","_prevEvent","getType","RoomMember","getStateKey","onRoomKeysUpdated","_this65","onRoomKeyUpdated","maybeUploadKey","_this66","sessionId","senderKey","pendingList","getEventsPendingRoomKey","getId","_loop2","ev","attemptDecryption","isRetry","_e","onRoomKeysWithheld","withheld","_this67","session","onUserIdentityUpdated","_this68","newVerification","UserTrustStatusChanged","KeysChanged","onDevicesUpdated","_this69","WillUpdateDevices","DevicesUpdated","handleSecretReceived","value","_this70","handleBackupSecretReceived","checkSecrets","_this71","pendingValues","getSecretsFromInbox","deleteSecretsFromInbox","onLiveEventFromSync","_this72","isState","getUnsigned","processEvent","_ref8","evt","onKeyVerificationEvent","_x2","isDecryptionFailure","isEncrypted","TIMEOUT_DELAY","timeoutId","setTimeout","off","onDecrypted","decryptedEvent","clearTimeout","on","_this73","senderId","getSender","isRoomVerificationRequest","RoomMessage","msgtype","receiveVerificationEvent","state_key","origin_server_ts","getTs","_this74","_this75","_this76","addEventToPendingList","trustRequirement","kind","TrustRequirement","Untrusted","OnlySignedDevicesIsolationMode","CrossSignedOrLegacy","_res$forwarder","res","decryptRoomEvent","stringifyEvent","DecryptionSettings","removeEventFromPendingList","clearEvent","claimedEd25519Key","senderClaimedEd25519Key","keyForwardedBy","forwarder","MegolmDecryptionError","onMegolmDecryptionError","UNKNOWN_ERROR","serverBackupInfo","getWireContent","errorDetails","sender_key","session_id","code","DecryptionErrorCode","MissingRoomKey","UnknownMessageIndex","onDecryptionKeyMissingError","getMembershipAtEvent","Invite","HISTORICAL_MESSAGE_USER_NOT_JOINED","deviceCreationTimeMs","HISTORICAL_MESSAGE_NO_KEY_BACKUP","isKeyBackupDownloadConfigured","HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED","HISTORICAL_MESSAGE_WORKING_BACKUP","maybe_withheld","failureCode","MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE","MEGOLM_KEY_WITHHELD","MEGOLM_UNKNOWN_INBOUND_SESSION_ID","OLM_UNKNOWN_MESSAGE_INDEX","SenderIdentityVerificationViolation","SENDER_IDENTITY_PREVIOUSLY_VERIFIED","UnknownSenderDevice","UNKNOWN_SENDER_DEVICE","UnsignedSenderDevice","UNSIGNED_SENDER_DEVICE","description","_this77","getClearContent","status","shieldColour","NONE","shieldReason","getRoomEventEncryptionInfo","rustEncryptionInfoToJsEncryptionInfo","roomPendingEvents","eventsPendingKey","sessionPendingEvents","getOrCreate","getWireType","shieldState","color","ShieldColor","Grey","GREY","None","RED","ShieldStateCode","AuthenticityNotGuaranteed","AUTHENTICITY_NOT_GUARANTEED","UnknownDevice","UNKNOWN_DEVICE","UnsignedDevice","UNSIGNED_DEVICE","UnverifiedIdentity","UNVERIFIED_IDENTITY","VerificationViolation","VERIFICATION_VIOLATION","MismatchedSender","MISMATCHED_SENDER","UNKNOWN"],"sources":["../../src/rust-crypto/rust-crypto.ts"],"sourcesContent":["/*\nCopyright 2022-2023 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nimport anotherjson from \"another-json\";\nimport * as RustSdkCryptoJs from \"@matrix-org/matrix-sdk-crypto-wasm\";\n\nimport type { IMegolmSessionData } from \"../@types/crypto.ts\";\nimport { KnownMembership } from \"../@types/membership.ts\";\nimport { type IDeviceLists, type IToDeviceEvent, type ReceivedToDeviceMessage } from \"../sync-accumulator.ts\";\nimport type { ToDeviceBatch, ToDevicePayload } from \"../models/ToDeviceMessage.ts\";\nimport { type MatrixEvent, MatrixEventEvent } from \"../models/event.ts\";\nimport { type Room } from \"../models/room.ts\";\nimport { type RoomMember } from \"../models/room-member.ts\";\nimport {\n type BackupDecryptor,\n type CryptoBackend,\n DecryptionError,\n type EventDecryptionResult,\n type OnSyncCompletedData,\n} from \"../common-crypto/CryptoBackend.ts\";\nimport { type Logger, LogSpan } from \"../logger.ts\";\nimport { type IHttpOpts, type MatrixHttpApi, Method } from \"../http-api/index.ts\";\nimport { RoomEncryptor } from \"./RoomEncryptor.ts\";\nimport { OutgoingRequestProcessor } from \"./OutgoingRequestProcessor.ts\";\nimport { KeyClaimManager } from \"./KeyClaimManager.ts\";\nimport { MapWithDefault } from \"../utils.ts\";\nimport {\n AllDevicesIsolationMode,\n type BackupTrustInfo,\n type BootstrapCrossSigningOpts,\n type CreateSecretStorageOpts,\n CrossSigningKey,\n type CrossSigningKeyInfo,\n type CrossSigningStatus,\n type CryptoApi,\n type CryptoCallbacks,\n CryptoEvent,\n type CryptoEventHandlerMap,\n DecryptionFailureCode,\n DecryptionKeyDoesNotMatchError,\n deriveRecoveryKeyFromPassphrase,\n type DeviceIsolationMode,\n DeviceIsolationModeKind,\n DeviceVerificationStatus,\n encodeRecoveryKey,\n type EventEncryptionInfo,\n EventShieldColour,\n EventShieldReason,\n type GeneratedSecretStorageKey,\n type ImportRoomKeysOpts,\n ImportRoomKeyStage,\n type KeyBackupCheck,\n type KeyBackupInfo,\n type KeyBackupRestoreOpts,\n type KeyBackupRestoreResult,\n type OwnDeviceKeys,\n type SecretStorageStatus,\n type StartDehydrationOpts,\n UserVerificationStatus,\n type VerificationRequest,\n} from \"../crypto-api/index.ts\";\nimport { deviceKeysToDeviceMap, rustDeviceToJsDevice } from \"./device-converter.ts\";\nimport { type IDownloadKeyResult, type IQueryKeysRequest } from \"../client.ts\";\nimport { type Device, type DeviceMap } from \"../models/device.ts\";\nimport {\n SECRET_STORAGE_ALGORITHM_V1_AES,\n type SecretStorageKey,\n type ServerSideSecretStorage,\n} from \"../secret-storage.ts\";\nimport { CrossSigningIdentity } from \"./CrossSigningIdentity.ts\";\nimport { secretStorageContainsCrossSigningKeys } from \"./secret-storage.ts\";\nimport { isVerificationEvent, RustVerificationRequest, verificationMethodIdentifierToMethod } from \"./verification.ts\";\nimport { EventType, MsgType } from \"../@types/event.ts\";\nimport { TypedEventEmitter } from \"../models/typed-event-emitter.ts\";\nimport { decryptionKeyMatchesKeyBackupInfo, RustBackupManager } from \"./backup.ts\";\nimport { TypedReEmitter } from \"../ReEmitter.ts\";\nimport { secureRandomString } from \"../randomstring.ts\";\nimport { ClientStoppedError } from \"../errors.ts\";\nimport { type ISignatures } from \"../@types/signed.ts\";\nimport { decodeBase64, encodeBase64 } from \"../base64.ts\";\nimport { OutgoingRequestsManager } from \"./OutgoingRequestsManager.ts\";\nimport { PerSessionKeyBackupDownloader } from \"./PerSessionKeyBackupDownloader.ts\";\nimport { DehydratedDeviceManager } from \"./DehydratedDeviceManager.ts\";\nimport { VerificationMethod } from \"../types.ts\";\nimport { keyFromAuthData } from \"../common-crypto/key-passphrase.ts\";\nimport { type UIAuthCallback } from \"../interactive-auth.ts\";\nimport { getHttpUriForMxc } from \"../content-repo.ts\";\nimport { type RoomState } from \"../matrix.ts\";\n\nconst ALL_VERIFICATION_METHODS = [\n VerificationMethod.Sas,\n VerificationMethod.ScanQrCode,\n VerificationMethod.ShowQrCode,\n VerificationMethod.Reciprocate,\n];\n\ninterface ISignableObject {\n signatures?: ISignatures;\n unsigned?: object;\n}\n\n/** The maximum time, in milliseconds, since we accepted an invite, that we should accept a key bundle. */\nexport const MAX_INVITE_ACCEPTANCE_MS_FOR_KEY_BUNDLE = 24 * 60 * 60 * 1000; // 24 hours\n\n/**\n * An implementation of {@link CryptoBackend} using the Rust matrix-sdk-crypto.\n *\n * @internal\n */\nexport class RustCrypto extends TypedEventEmitter<RustCryptoEvents, CryptoEventHandlerMap> implements CryptoBackend {\n /**\n * The number of iterations to use when deriving a recovery key from a passphrase.\n */\n private readonly RECOVERY_KEY_DERIVATION_ITERATIONS = 500000;\n\n private _trustCrossSignedDevices = true;\n private deviceIsolationMode: DeviceIsolationMode = new AllDevicesIsolationMode(false);\n\n /** whether {@link stop} has been called */\n private stopped = false;\n\n /** mapping of roomId → encryptor class */\n private roomEncryptors: Record<string, RoomEncryptor> = {};\n\n private eventDecryptor: EventDecryptor;\n private keyClaimManager: KeyClaimManager;\n private outgoingRequestProcessor: OutgoingRequestProcessor;\n private crossSigningIdentity: CrossSigningIdentity;\n private readonly backupManager: RustBackupManager;\n private outgoingRequestsManager: OutgoingRequestsManager;\n private readonly perSessionBackupDownloader: PerSessionKeyBackupDownloader;\n private readonly dehydratedDeviceManager: DehydratedDeviceManager;\n private readonly reemitter = new TypedReEmitter<RustCryptoEvents, CryptoEventHandlerMap>(this);\n\n public constructor(\n private readonly logger: Logger,\n\n /** The `OlmMachine` from the underlying rust crypto sdk. */\n private readonly olmMachine: RustSdkCryptoJs.OlmMachine,\n\n /**\n * Low-level HTTP interface: used to make outgoing requests required by the rust SDK.\n *\n * We expect it to set the access token, etc.\n */\n private readonly http: MatrixHttpApi<IHttpOpts & { onlyData: true }>,\n\n /** The local user's User ID. */\n private readonly userId: string,\n\n /** The local user's Device ID. */\n _deviceId: string,\n\n /** Interface to server-side secret storage */\n private readonly secretStorage: ServerSideSecretStorage,\n\n /** Crypto callbacks provided by the application */\n private readonly cryptoCallbacks: CryptoCallbacks,\n\n /** Enable support for encrypted state events under MSC4362. */\n private readonly enableEncryptedStateEvents: boolean = false,\n ) {\n super();\n this.outgoingRequestProcessor = new OutgoingRequestProcessor(logger, olmMachine, http);\n this.outgoingRequestsManager = new OutgoingRequestsManager(\n this.logger,\n olmMachine,\n this.outgoingRequestProcessor,\n );\n\n this.keyClaimManager = new KeyClaimManager(olmMachine, this.outgoingRequestProcessor);\n\n this.backupManager = new RustBackupManager(logger, olmMachine, http, this.outgoingRequestProcessor);\n this.perSessionBackupDownloader = new PerSessionKeyBackupDownloader(\n this.logger,\n this.olmMachine,\n this.http,\n this.backupManager,\n );\n this.dehydratedDeviceManager = new DehydratedDeviceManager(\n this.logger,\n olmMachine,\n http,\n this.outgoingRequestProcessor,\n secretStorage,\n );\n this.eventDecryptor = new EventDecryptor(this.logger, olmMachine, this.perSessionBackupDownloader);\n\n // re-emit the events emitted by managers\n this.reemitter.reEmit(this.backupManager, [\n CryptoEvent.KeyBackupStatus,\n CryptoEvent.KeyBackupSessionsRemaining,\n CryptoEvent.KeyBackupFailed,\n CryptoEvent.KeyBackupDecryptionKeyCached,\n ]);\n this.reemitter.reEmit(this.dehydratedDeviceManager, [\n CryptoEvent.DehydratedDeviceCreated,\n CryptoEvent.DehydratedDeviceUploaded,\n CryptoEvent.RehydrationStarted,\n CryptoEvent.RehydrationProgress,\n CryptoEvent.RehydrationCompleted,\n CryptoEvent.RehydrationError,\n CryptoEvent.DehydrationKeyCached,\n CryptoEvent.DehydratedDeviceRotationError,\n ]);\n\n this.crossSigningIdentity = new CrossSigningIdentity(\n logger,\n olmMachine,\n this.outgoingRequestProcessor,\n secretStorage,\n );\n\n // Check and start in background the key backup connection\n this.checkKeyBackupAndEnable();\n }\n\n /**\n * Return the OlmMachine only if {@link RustCrypto#stop} has not been called.\n *\n * This allows us to better handle race conditions where the client is stopped before or during a crypto API call.\n *\n * @throws ClientStoppedError if {@link RustCrypto#stop} has been called.\n */\n private getOlmMachineOrThrow(): RustSdkCryptoJs.OlmMachine {\n if (this.stopped) {\n throw new ClientStoppedError();\n }\n return this.olmMachine;\n }\n\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n //\n // CryptoBackend implementation\n //\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n public set globalErrorOnUnknownDevices(_v: boolean) {\n // Not implemented for rust crypto.\n }\n\n public get globalErrorOnUnknownDevices(): boolean {\n // Not implemented for rust crypto.\n return false;\n }\n\n public stop(): void {\n // stop() may be called multiple times, but attempting to close() the OlmMachine twice\n // will cause an error.\n if (this.stopped) {\n return;\n }\n this.stopped = true;\n\n this.keyClaimManager.stop();\n this.backupManager.stop();\n this.outgoingRequestsManager.stop();\n this.perSessionBackupDownloader.stop();\n this.dehydratedDeviceManager.stop();\n\n // make sure we close() the OlmMachine; doing so means that all the Rust objects will be\n // cleaned up; in particular, the indexeddb connections will be closed, which means they\n // can then be deleted.\n this.olmMachine.close();\n }\n\n public async encryptEvent(event: MatrixEvent, _room: Room): Promise<void> {\n const roomId = event.getRoomId()!;\n const encryptor = this.roomEncryptors[roomId];\n\n if (!encryptor) {\n throw new Error(`Cannot encrypt event in unconfigured room ${roomId}`);\n }\n\n await encryptor.encryptEvent(event, this.globalBlacklistUnverifiedDevices, this.deviceIsolationMode);\n }\n\n public async decryptEvent(event: MatrixEvent): Promise<EventDecryptionResult> {\n const roomId = event.getRoomId();\n if (!roomId) {\n // presumably, a to-device message. These are normally decrypted in preprocessToDeviceMessages\n // so the fact it has come back here suggests that decryption failed.\n //\n // once we drop support for the libolm crypto implementation, we can stop passing to-device messages\n // through decryptEvent and hence get rid of this case.\n throw new Error(\"to-device event was not decrypted in preprocessToDeviceMessages\");\n }\n return await this.eventDecryptor.attemptEventDecryption(event, this.deviceIsolationMode);\n }\n\n /**\n * Implementation of {@link CryptoBackend#getBackupDecryptor}.\n */\n public async getBackupDecryptor(backupInfo: KeyBackupInfo, privKey: Uint8Array): Promise<BackupDecryptor> {\n if (!(privKey instanceof Uint8Array)) {\n throw new Error(`getBackupDecryptor: expects Uint8Array`);\n }\n\n if (backupInfo.algorithm != \"m.megolm_backup.v1.curve25519-aes-sha2\") {\n throw new Error(`getBackupDecryptor: Unsupported algorithm ${backupInfo.algorithm}`);\n }\n\n const backupDecryptionKey = RustSdkCryptoJs.BackupDecryptionKey.fromBase64(encodeBase64(privKey));\n if (!decryptionKeyMatchesKeyBackupInfo(backupDecryptionKey, backupInfo)) {\n throw new Error(`getBackupDecryptor: key backup on server does not match the decryption key`);\n }\n\n return this.backupManager.createBackupDecryptor(backupDecryptionKey);\n }\n\n /**\n * Implementation of {@link CryptoBackend#importBackedUpRoomKeys}.\n */\n public async importBackedUpRoomKeys(\n keys: IMegolmSessionData[],\n backupVersion: string,\n opts?: ImportRoomKeysOpts,\n ): Promise<void> {\n return await this.backupManager.importBackedUpRoomKeys(keys, backupVersion, opts);\n }\n\n /**\n * Implementation of {@link CryptoBackend.maybeAcceptKeyBundle}.\n */\n public async maybeAcceptKeyBundle(roomId: string, inviter: string): Promise<boolean> {\n // TODO: retry this if it gets interrupted or it fails. (https://github.com/matrix-org/matrix-rust-sdk/issues/5112)\n // TODO: do this in the background.\n\n const logger = new LogSpan(this.logger, `maybeAcceptKeyBundle(${roomId}, ${inviter})`);\n\n // Make sure we have an up-to-date idea of the inviter's cross-signing keys, so that we can check if the\n // device that sent us the bundle data was correctly cross-signed.\n //\n // TODO: it would be nice to skip this step if we have an up-to-date copy of the inviter's cross-signing keys,\n // but we don't have an easy way to check that. Possibly the rust side could trigger a key request and then\n // block until it happens.\n logger.info(`Checking inviter cross-signing keys`);\n const request = this.olmMachine.queryKeysForUsers([new RustSdkCryptoJs.UserId(inviter)]);\n await this.outgoingRequestProcessor.makeOutgoingRequest(request);\n\n const bundleData = await this.olmMachine.getReceivedRoomKeyBundleData(\n new RustSdkCryptoJs.RoomId(roomId),\n new RustSdkCryptoJs.UserId(inviter),\n );\n if (!bundleData) {\n logger.info(\"No key bundle found for user\");\n return false;\n }\n\n logger.info(`Fetching key bundle ${bundleData.url}`);\n const url = getHttpUriForMxc(\n this.http.opts.baseUrl,\n bundleData.url,\n undefined,\n undefined,\n undefined,\n /* allowDirectLinks */ false,\n /* allowRedirects */ true,\n /* useAuthentication */ true,\n );\n let encryptedBundle: Uint8Array;\n try {\n const bundleUrl = new URL(url);\n const encryptedBundleBlob = await this.http.authedRequest<Blob>(\n Method.Get,\n bundleUrl.pathname + bundleUrl.search,\n {},\n undefined,\n {\n rawResponseBody: true,\n prefix: \"\",\n },\n );\n logger.info(`Received blob of length ${encryptedBundleBlob.size}`);\n encryptedBundle = new Uint8Array(await encryptedBundleBlob.arrayBuffer());\n } catch (err) {\n logger.warn(`Error downloading encrypted bundle from ${url}:`, err);\n throw err;\n }\n\n try {\n await this.olmMachine.receiveRoomKeyBundle(bundleData, encryptedBundle);\n } catch (err) {\n logger.warn(`Error receiving encrypted bundle:`, err);\n\n throw err;\n } finally {\n // Even if we were unable to import the bundle, we still clear the flag that indicates that we\n // are waiting for the bundle to be received. The only reason this can happen is that the bundle was\n // malformed somehow, so we don't want to keep retrying it.\n await this.olmMachine.clearRoomPendingKeyBundle(new RustSdkCryptoJs.RoomId(roomId));\n }\n\n return true;\n }\n\n /**\n * Implementation of {@link CryptoBackend.markRoomAsPendingKeyBundle}.\n */\n public async markRoomAsPendingKeyBundle(roomId: string, inviter: string): Promise<void> {\n await this.olmMachine.storeRoomPendingKeyBundle(\n new RustSdkCryptoJs.RoomId(roomId),\n new RustSdkCryptoJs.UserId(inviter),\n );\n }\n\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n //\n // CryptoApi implementation\n //\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n public globalBlacklistUnverifiedDevices = false;\n\n /**\n * Implementation of {@link CryptoApi#getVersion}.\n */\n public getVersion(): string {\n const versions = RustSdkCryptoJs.getVersions();\n return `Rust SDK ${versions.matrix_sdk_crypto} (${versions.git_sha}), Vodozemac ${versions.vodozemac}`;\n }\n\n /**\n * Implementation of {@link CryptoApi#setDeviceIsolationMode}.\n */\n public setDeviceIsolationMode(isolationMode: DeviceIsolationMode): void {\n this.deviceIsolationMode = isolationMode;\n }\n\n /**\n * Implementation of {@link CryptoApi#isEncryptionEnabledInRoom}.\n */\n public async isEncryptionEnabledInRoom(roomId: string): Promise<boolean> {\n const roomSettings: RustSdkCryptoJs.RoomSettings | undefined = await this.olmMachine.getRoomSettings(\n new RustSdkCryptoJs.RoomId(roomId),\n );\n return Boolean(roomSettings?.algorithm);\n }\n\n /**\n * Implementation of {@link CryptoApi#isStateEncryptionEnabledInRoom}.\n */\n public async isStateEncryptionEnabledInRoom(roomId: string): Promise<boolean> {\n const roomSettings: RustSdkCryptoJs.RoomSettings | undefined = await this.olmMachine.getRoomSettings(\n new RustSdkCryptoJs.RoomId(roomId),\n );\n return Boolean(roomSettings?.encryptStateEvents);\n }\n\n /**\n * Implementation of {@link CryptoApi#getOwnDeviceKeys}.\n */\n public async getOwnDeviceKeys(): Promise<OwnDeviceKeys> {\n const keys = this.olmMachine.identityKeys;\n return { ed25519: keys.ed25519.toBase64(), curve25519: keys.curve25519.toBase64() };\n }\n\n public prepareToEncrypt(room: Room): void {\n const encryptor = this.roomEncryptors[room.roomId];\n\n if (encryptor) {\n encryptor.prepareForEncryption(this.globalBlacklistUnverifiedDevices, this.deviceIsolationMode);\n }\n }\n\n public forceDiscardSession(roomId: string): Promise<void> {\n return this.roomEncryptors[roomId]?.forceDiscardSession();\n }\n\n public async exportRoomKeys(): Promise<IMegolmSessionData[]> {\n const raw = await this.olmMachine.exportRoomKeys(() => true);\n return JSON.parse(raw);\n }\n\n public async exportRoomKeysAsJson(): Promise<string> {\n return await this.olmMachine.exportRoomKeys(() => true);\n }\n\n public async importRoomKeys(keys: IMegolmSessionData[], opts?: ImportRoomKeysOpts): Promise<void> {\n return await this.backupManager.importRoomKeys(keys, opts);\n }\n\n public async importRoomKeysAsJson(keys: string, opts?: ImportRoomKeysOpts): Promise<void> {\n return await this.backupManager.importRoomKeysAsJson(keys, opts);\n }\n\n /**\n * Implementation of {@link CryptoApi.userHasCrossSigningKeys}.\n */\n public async userHasCrossSigningKeys(userId = this.userId, downloadUncached = false): Promise<boolean> {\n // TODO: could probably do with a more efficient way of doing this than returning the whole set and searching\n const rustTrackedUsers: Set<RustSdkCryptoJs.UserId> = await this.olmMachine.trackedUsers();\n let rustTrackedUser: RustSdkCryptoJs.UserId | undefined;\n for (const u of rustTrackedUsers) {\n if (userId === u.toString()) {\n rustTrackedUser = u;\n break;\n }\n }\n\n if (rustTrackedUser !== undefined) {\n if (userId === this.userId) {\n /* make sure we have an *up-to-date* idea of the user's cross-signing keys. This is important, because if we\n * return \"false\" here, we will end up generating new cross-signing keys and replacing the existing ones.\n */\n const request = this.olmMachine.queryKeysForUsers(\n // clone as rust layer will take ownership and it's reused later\n [rustTrackedUser.clone()],\n );\n await this.outgoingRequestProcessor.makeOutgoingRequest(request);\n }\n const userIdentity = await this.olmMachine.getIdentity(rustTrackedUser);\n userIdentity?.free();\n return userIdentity !== undefined;\n } else if (downloadUncached) {\n // Download the cross signing keys and check if the master key is available\n const keyResult = await this.downloadDeviceList(new Set([userId]));\n const keys = keyResult.master_keys?.[userId];\n\n // No master key\n if (!keys) return false;\n\n // `keys` is an object with { [`ed25519:${pubKey}`]: pubKey }\n // We assume only a single key, and we want the bare form without type\n // prefix, so we select the values.\n return Boolean(Object.values(keys.keys)[0]);\n } else {\n return false;\n }\n }\n\n /**\n * Get the device information for the given list of users.\n *\n * @param userIds - The users to fetch.\n * @param downloadUncached - If true, download the device list for users whose device list we are not\n * currently tracking. Defaults to false, in which case such users will not appear at all in the result map.\n *\n * @returns A map `{@link DeviceMap}`.\n */\n public async getUserDeviceInfo(userIds: string[], downloadUncached = false): Promise<DeviceMap> {\n const deviceMapByUserId = new Map<string, Map<string, Device>>();\n const rustTrackedUsers: Set<RustSdkCryptoJs.UserId> = await this.getOlmMachineOrThrow().trackedUsers();\n\n // Convert RustSdkCryptoJs.UserId to a `Set<string>`\n const trackedUsers = new Set<string>();\n rustTrackedUsers.forEach((rustUserId) => trackedUsers.add(rustUserId.toString()));\n\n // Keep untracked user to download their keys after\n const untrackedUsers: Set<string> = new Set();\n\n for (const userId of userIds) {\n // if this is a tracked user, we can just fetch the device list from the rust-sdk\n // (NB: this is probably ok even if we race with a leave event such that we stop tracking the user's\n // devices: the rust-sdk will return the last-known device list, which will be good enough.)\n if (trackedUsers.has(userId)) {\n deviceMapByUserId.set(userId, await this.getUserDevices(userId));\n } else {\n untrackedUsers.add(userId);\n }\n }\n\n // for any users whose device lists we are not tracking, fall back to downloading the device list\n // over HTTP.\n if (downloadUncached && untrackedUsers.size >= 1) {\n const queryResult = await this.downloadDeviceList(untrackedUsers);\n Object.entries(queryResult.device_keys).forEach(([userId, deviceKeys]) =>\n deviceMapByUserId.set(userId, deviceKeysToDeviceMap(deviceKeys)),\n );\n }\n\n return deviceMapByUserId;\n }\n\n /**\n * Get the device list for the given user from the olm machine\n * @param userId - Rust SDK UserId\n */\n private async getUserDevices(userId: string): Promise<Map<string, Device>> {\n const rustUserId = new RustSdkCryptoJs.UserId(userId);\n\n // For reasons I don't really understand, the Javascript FinalizationRegistry doesn't seem to run the\n // registered callbacks when `userDevices` goes out of scope, nor when the individual devices in the array\n // returned by `userDevices.devices` do so.\n //\n // This is particularly problematic, because each of those structures holds a reference to the\n // VerificationMachine, which in turn holds a reference to the IndexeddbCryptoStore. Hence, we end up leaking\n // open connections to the crypto store, which means the store can't be deleted on logout.\n //\n // To fix this, we explicitly call `.free` on each of the objects, which tells the rust code to drop the\n // allocated memory and decrement the refcounts for the crypto store.\n\n // Wait for up to a second for any in-flight device list requests to complete.\n // The reason for this isn't so much to avoid races (some level of raciness is\n // inevitable for this method) but to make testing easier.\n const userDevices: RustSdkCryptoJs.UserDevices = await this.olmMachine.getUserDevices(rustUserId, 1);\n try {\n const deviceArray: RustSdkCryptoJs.Device[] = userDevices.devices();\n try {\n return new Map(\n deviceArray.map((device) => [device.deviceId.toString(), rustDeviceToJsDevice(device, rustUserId)]),\n );\n } finally {\n deviceArray.forEach((d) => d.free());\n }\n } finally {\n userDevices.free();\n }\n }\n\n /**\n * Download the given user keys by calling `/keys/query` request\n * @param untrackedUsers - download keys of these users\n */\n private async downloadDeviceList(untrackedUsers: Set<string>): Promise<IDownloadKeyResult> {\n const queryBody: IQueryKeysRequest = { device_keys: {} };\n untrackedUsers.forEach((user) => (queryBody.device_keys[user] = []));\n\n return await this.http.authedRequest(Method.Post, \"/_matrix/client/v3/keys/query\", undefined, queryBody, {\n prefix: \"\",\n });\n }\n\n /**\n * Implementation of {@link CryptoApi#getTrustCrossSignedDevices}.\n */\n public getTrustCrossSignedDevices(): boolean {\n return this._trustCrossSignedDevices;\n }\n\n /**\n * Implementation of {@link CryptoApi#setTrustCrossSignedDevices}.\n */\n public setTrustCrossSignedDevices(val: boolean): void {\n this._trustCrossSignedDevices = val;\n // TODO: legacy crypto goes through the list of known devices and emits DeviceVerificationChanged\n // events. Maybe we need to do the same?\n }\n\n /**\n * Mark the given device as locally verified.\n *\n * Implementation of {@link CryptoApi#setDeviceVerified}.\n */\n public async setDeviceVerified(userId: string, deviceId: string, verified = true): Promise<void> {\n const device: RustSdkCryptoJs.Device | undefined = await this.olmMachine.getDevice(\n new RustSdkCryptoJs.UserId(userId),\n new RustSdkCryptoJs.DeviceId(deviceId),\n );\n\n if (!device) {\n throw new Error(`Unknown device ${userId}|${deviceId}`);\n }\n try {\n await device.setLocalTrust(\n verified ? RustSdkCryptoJs.LocalTrust.Verified : RustSdkCryptoJs.LocalTrust.Unset,\n );\n } finally {\n device.free();\n }\n }\n\n /**\n * Blindly cross-sign one of our other devices.\n *\n * Implementation of {@link CryptoApi#crossSignDevice}.\n */\n public async crossSignDevice(deviceId: string): Promise<void> {\n const device: RustSdkCryptoJs.Device | undefined = await this.olmMachine.getDevice(\n new RustSdkCryptoJs.UserId(this.userId),\n new RustSdkCryptoJs.DeviceId(deviceId),\n );\n if (!device) {\n throw new Error(`Unknown device ${deviceId}`);\n }\n try {\n const outgoingRequest: RustSdkCryptoJs.SignatureUploadRequest = await device.verify();\n await this.outgoingRequestProcessor.makeOutgoingRequest(outgoingRequest);\n } finally {\n device.free();\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#getDeviceVerificationStatus}.\n */\n public async getDeviceVerificationStatus(\n userId: string,\n deviceId: string,\n ): Promise<DeviceVerificationStatus | null> {\n const device: RustSdkCryptoJs.Device | undefined = await this.olmMachine.getDevice(\n new RustSdkCryptoJs.UserId(userId),\n new RustSdkCryptoJs.DeviceId(deviceId),\n );\n\n if (!device) return null;\n try {\n return new DeviceVerificationStatus({\n signedByOwner: device.isCrossSignedByOwner(),\n crossSigningVerified: device.isCrossSigningTrusted(),\n localVerified: device.isLocallyTrusted(),\n trustCrossSignedDevices: this._trustCrossSignedDevices,\n });\n } finally {\n device.free();\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#getUserVerificationStatus}.\n */\n public async getUserVerificationStatus(userId: string): Promise<UserVerificationStatus> {\n const userIdentity: RustSdkCryptoJs.OtherUserIdentity | RustSdkCryptoJs.OwnUserIdentity | undefined =\n await this.getOlmMachineOrThrow().getIdentity(new RustSdkCryptoJs.UserId(userId));\n if (userIdentity === undefined) {\n return new UserVerificationStatus(false, false, false);\n }\n\n const verified = userIdentity.isVerified();\n const wasVerified = userIdentity.wasPreviouslyVerified();\n const needsUserApproval =\n userIdentity instanceof RustSdkCryptoJs.OtherUserIdentity\n ? userIdentity.identityNeedsUserApproval()\n : false;\n userIdentity.free();\n return new UserVerificationStatus(verified, wasVerified, true, needsUserApproval);\n }\n\n /**\n * Implementation of {@link CryptoApi#pinCurrentUserIdentity}.\n */\n public async pinCurrentUserIdentity(userId: string): Promise<void> {\n const userIdentity: RustSdkCryptoJs.OtherUserIdentity | RustSdkCryptoJs.OwnUserIdentity | undefined =\n await this.getOlmMachineOrThrow().getIdentity(new RustSdkCryptoJs.UserId(userId));\n\n if (userIdentity === undefined) {\n throw new Error(\"Cannot pin identity of unknown user\");\n }\n\n if (userIdentity instanceof RustSdkCryptoJs.OwnUserIdentity) {\n throw new Error(\"Cannot pin identity of own user\");\n }\n\n await userIdentity.pinCurrentMasterKey();\n }\n\n /**\n * Implementation of {@link CryptoApi#withdrawVerificationRequirement}.\n */\n public async withdrawVerificationRequirement(userId: string): Promise<void> {\n const userIdentity: RustSdkCryptoJs.OtherUserIdentity | RustSdkCryptoJs.OwnUserIdentity | undefined =\n await this.getOlmMachineOrThrow().getIdentity(new RustSdkCryptoJs.UserId(userId));\n\n if (userIdentity === undefined) {\n throw new Error(\"Cannot withdraw verification of unknown user\");\n }\n\n await userIdentity.withdrawVerification();\n }\n\n /**\n * Implementation of {@link CryptoApi#isCrossSigningReady}\n */\n public async isCrossSigningReady(): Promise<boolean> {\n const { privateKeysInSecretStorage, privateKeysCachedLocally } = await this.getCrossSigningStatus();\n const hasKeysInCache =\n Boolean(privateKeysCachedLocally.masterKey) &&\n Boolean(privateKeysCachedLocally.selfSigningKey) &&\n Boolean(privateKeysCachedLocally.userSigningKey);\n\n const identity = await this.getOwnIdentity();\n\n // Cross-signing is ready if the public identity is trusted, and the private keys\n // are either cached, or accessible via secret-storage.\n return !!identity?.isVerified() && (hasKeysInCache || privateKeysInSecretStorage);\n }\n\n /**\n * Implementation of {@link CryptoApi#getCrossSigningKeyId}\n */\n public async getCrossSigningKeyId(type: CrossSigningKey = CrossSigningKey.Master): Promise<string | null> {\n const userIdentity = await this.getOwnIdentity();\n if (!userIdentity) {\n // The public keys are not available on this device\n return null;\n }\n\n try {\n const crossSigningStatus: RustSdkCryptoJs.CrossSigningStatus = await this.olmMachine.crossSigningStatus();\n\n const privateKeysOnDevice =\n crossSigningStatus.hasMaster && crossSigningStatus.hasUserSigning && crossSigningStatus.hasSelfSigning;\n\n if (!privateKeysOnDevice) {\n // The private keys are not available on this device\n return null;\n }\n\n if (!userIdentity.isVerified()) {\n // We have both public and private keys, but they don't match!\n return null;\n }\n\n let key: string;\n switch (type) {\n case CrossSigningKey.Master:\n key = userIdentity.masterKey;\n break;\n case CrossSigningKey.SelfSigning:\n key = userIdentity.selfSigningKey;\n break;\n case CrossSigningKey.UserSigning:\n key = userIdentity.userSigningKey;\n break;\n default:\n // Unknown type\n return null;\n }\n\n const parsedKey: CrossSigningKeyInfo = JSON.parse(key);\n // `keys` is an object with { [`ed25519:${pubKey}`]: pubKey }\n // We assume only a single key, and we want the bare form without type\n // prefix, so we select the values.\n return Object.values(parsedKey.keys)[0];\n } finally {\n userIdentity.free();\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#bootstrapCrossSigning}\n */\n public async bootstrapCrossSigning(opts: BootstrapCrossSigningOpts): Promise<void> {\n await this.crossSigningIdentity.bootstrapCrossSigning(opts);\n }\n\n /**\n * Implementation of {@link CryptoApi#isSecretStorageReady}\n */\n public async isSecretStorageReady(): Promise<boolean> {\n return (await this.getSecretStorageStatus()).ready;\n }\n\n /**\n * Implementation of {@link CryptoApi#getSecretStorageStatus}\n */\n public async getSecretStorageStatus(): Promise<SecretStorageStatus> {\n // make sure that the cross-signing keys are stored\n const secretsToCheck: SecretStorageKey[] = [\n \"m.cross_signing.master\",\n \"m.cross_signing.user_signing\",\n \"m.cross_signing.self_signing\",\n ];\n\n // If key backup is active, we also need to check that the backup decryption key is stored\n const keyBackupEnabled = (await this.backupManager.getActiveBackupVersion()) != null;\n if (keyBackupEnabled) {\n secretsToCheck.push(\"m.megolm_backup.v1\");\n }\n\n const defaultKeyId = await this.secretStorage.getDefaultKeyId();\n\n const result: SecretStorageStatus = {\n // Assume we have all secrets until proven otherwise\n ready: true,\n defaultKeyId,\n secretStorageKeyValidityMap: {},\n };\n\n for (const secretName of secretsToCheck) {\n // Check which keys this particular secret is encrypted with\n const record = (await this.secretStorage.isStored(secretName)) || {};\n\n // If it's encrypted with the right key, it is valid\n const secretStored = !!defaultKeyId && defaultKeyId in record;\n result.secretStorageKeyValidityMap[secretName] = secretStored;\n result.ready = result.ready && secretStored;\n }\n\n return result;\n }\n\n /**\n * Implementation of {@link CryptoApi#bootstrapSecretStorage}\n */\n public async bootstrapSecretStorage({\n createSecretStorageKey,\n setupNewSecretStorage,\n setupNewKeyBackup,\n }: CreateSecretStorageOpts = {}): Promise<void> {\n // If an AES Key is already stored in the secret storage and setupNewSecretStorage is not set\n // we don't want to create a new key\n const isNewSecretStorageKeyNeeded = setupNewSecretStorage || !(await this.secretStorageHasAESKey());\n\n if (isNewSecretStorageKeyNeeded) {\n if (!createSecretStorageKey) {\n throw new Error(\"unable to create a new secret storage key, createSecretStorageKey is not set\");\n }\n\n // Create a new storage key and add it to secret storage\n this.logger.info(\"bootstrapSecretStorage: creating new secret storage key\");\n const recoveryKey = await createSecretStorageKey();\n if (!recoveryKey) {\n throw new Error(\"createSecretStorageKey() callback did not return a secret storage key\");\n }\n await this.addSecretStorageKeyToSecretStorage(recoveryKey);\n }\n\n const crossSigningPrivateKeys: RustSdkCryptoJs.CrossSigningKeyExport | undefined =\n await this.olmMachine.exportCrossSigningKeys();\n const hasPrivateKeys =\n crossSigningPrivateKeys &&\n crossSigningPrivateKeys.masterKey !== undefined &&\n crossSigningPrivateKeys.self_signing_key !== undefined &&\n crossSigningPrivateKeys.userSigningKey !== undefined;\n\n // If we have cross-signing private keys cached, store them in secret\n // storage if they are not there already.\n if (\n hasPrivateKeys &&\n (isNewSecretStorageKeyNeeded || !(await secretStorageContainsCrossSigningKeys(this.secretStorage)))\n ) {\n this.logger.info(\"bootstrapSecretStorage: cross-signing keys not yet exported; doing so now.\");\n\n await this.secretStorage.store(\"m.cross_signing.master\", crossSigningPrivateKeys.masterKey);\n await this.secretStorage.store(\"m.cross_signing.user_signing\", crossSigningPrivateKeys.userSigningKey);\n await this.secretStorage.store(\"m.cross_signing.self_signing\", crossSigningPrivateKeys.self_signing_key);\n }\n\n // likewise with the key backup key: if we have one, store it in secret storage (if it's not already there)\n // also don't bother storing it if we're about to set up a new backup\n if (!setupNewKeyBackup) {\n await this.saveBackupKeyToStorage();\n } else {\n await this.resetKeyBackup();\n }\n }\n\n /**\n * If we have a backup key for the current, trusted backup in cache,\n * save it to secret storage.\n */\n private async saveBackupKeyToStorage(): Promise<void> {\n const keyBackupInfo = await this.backupManager.getServerBackupInfo();\n if (!keyBackupInfo || !keyBackupInfo.version) {\n this.logger.info(\"Not saving backup key to secret storage: no backup info\");\n return;\n }\n\n const backupKeys: RustSdkCryptoJs.BackupKeys = await this.olmMachine.getBackupKeys();\n if (!backupKeys.decryptionKey) {\n this.logger.info(\"Not saving backup key to secret storage: no backup key\");\n return;\n }\n\n if (!decryptionKeyMatchesKeyBackupInfo(backupKeys.decryptionKey, keyBackupInfo)) {\n this.logger.info(\"Not saving backup key to secret storage: decryption key does not match backup info\");\n return;\n }\n\n const backupKeyBase64 = backupKeys.decryptionKey.toBase64();\n\n await this.secretStorage.store(\"m.megolm_backup.v1\", backupKeyBase64);\n }\n\n /**\n * Add the secretStorage key to the secret storage\n * - The secret storage key must have the `keyInfo` field filled\n * - The secret storage key is set as the default key of the secret storage\n * - Call `cryptoCallbacks.cacheSecretStorageKey` when done\n *\n * @param secretStorageKey - The secret storage key to add in the secret storage.\n */\n private async addSecretStorageKeyToSecretStorage(secretStorageKey: GeneratedSecretStorageKey): Promise<void> {\n const secretStorageKeyObject = await this.secretStorage.addKey(SECRET_STORAGE_ALGORITHM_V1_AES, {\n passphrase: secretStorageKey.keyInfo?.passphrase,\n name: secretStorageKey.keyInfo?.name,\n key: secretStorageKey.privateKey,\n });\n\n await this.secretStorage.setDefaultKeyId(secretStorageKeyObject.keyId);\n\n this.cryptoCallbacks.cacheSecretStorageKey?.(\n secretStorageKeyObject.keyId,\n secretStorageKeyObject.keyInfo,\n secretStorageKey.privateKey,\n );\n }\n\n /**\n * Check if a secret storage AES Key is already added in secret storage\n *\n * @returns True if an AES key is in the secret storage\n */\n private async secretStorageHasAESKey(): Promise<boolean> {\n // See if we already have an AES secret-storage key.\n const secretStorageKeyTuple = await this.secretStorage.getKey();\n\n if (!secretStorageKeyTuple) return false;\n\n const [, keyInfo] = secretStorageKeyTuple;\n\n // Check if the key is an AES key\n return keyInfo.algorithm === SECRET_STORAGE_ALGORITHM_V1_AES;\n }\n\n /**\n * Implementation of {@link CryptoApi#getCrossSigningStatus}\n */\n public async getCrossSigningStatus(): Promise<CrossSigningStatus> {\n const userIdentity = await this.getOwnIdentity();\n\n const publicKeysOnDevice =\n Boolean(userIdentity?.masterKey) &&\n Boolean(userIdentity?.selfSigningKey) &&\n Boolean(userIdentity?.userSigningKey);\n userIdentity?.free();\n\n const privateKeysInSecretStorage = await secretStorageContainsCrossSigningKeys(this.secretStorage);\n const crossSigningStatus: RustSdkCryptoJs.CrossSigningStatus | null =\n await this.getOlmMachineOrThrow().crossSigningStatus();\n\n return {\n publicKeysOnDevice,\n privateKeysInSecretStorage,\n privateKeysCachedLocally: {\n masterKey: Boolean(crossSigningStatus?.hasMaster),\n userSigningKey: Boolean(crossSigningStatus?.hasUserSigning),\n selfSigningKey: Boolean(crossSigningStatus?.hasSelfSigning),\n },\n };\n }\n\n /**\n * Implementation of {@link CryptoApi#createRecoveryKeyFromPassphrase}\n */\n public async createRecoveryKeyFromPassphrase(password?: string): Promise<GeneratedSecretStorageKey> {\n if (password) {\n // Generate the key from the passphrase\n // first we generate a random salt\n const salt = secureRandomString(32);\n // then we derive the key from the passphrase\n const recoveryKey = await deriveRecoveryKeyFromPassphrase(\n password,\n salt,\n this.RECOVERY_KEY_DERIVATION_ITERATIONS,\n );\n return {\n keyInfo: {\n passphrase: {\n algorithm: \"m.pbkdf2\",\n iterations: this.RECOVERY_KEY_DERIVATION_ITERATIONS,\n salt,\n },\n },\n privateKey: recoveryKey,\n encodedPrivateKey: encodeRecoveryKey(recoveryKey),\n };\n } else {\n // Using the navigator crypto API to generate the private key\n const key = new Uint8Array(32);\n globalThis.crypto.getRandomValues(key);\n return {\n privateKey: key,\n encodedPrivateKey: encodeRecoveryKey(key),\n };\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#getEncryptionInfoForEvent}.\n */\n public async getEncryptionInfoForEvent(event: MatrixEvent): Promise<EventEncryptionInfo | null> {\n return this.eventDecryptor.getEncryptionInfoForEvent(event);\n }\n\n /**\n * Returns to-device verification requests that are already in progress for the given user id.\n *\n * Implementation of {@link CryptoApi#getVerificationRequestsToDeviceInProgress}\n *\n * @param userId - the ID of the user to query\n *\n * @returns the VerificationRequests that are in progress\n */\n public getVerificationRequestsToDeviceInProgress(userId: string): VerificationRequest[] {\n const requests: RustSdkCryptoJs.VerificationRequest[] = this.olmMachine.getVerificationRequests(\n new RustSdkCryptoJs.UserId(userId),\n );\n return requests\n .filter((request) => request.roomId === undefined && !request.isCancelled())\n .map((request) => this.makeVerificationRequest(request));\n }\n\n /**\n * Finds a DM verification request that is already in progress for the given room id\n *\n * Implementation of {@link CryptoApi#findVerificationRequestDMInProgress}\n *\n * @param roomId - the room to use for verification\n * @param userId - search the verification request for the given user\n *\n * @returns the VerificationRequest that is in progress, if any\n *\n */\n public findVerificationRequestDMInProgress(roomId: string, userId?: string): VerificationRequest | undefined {\n if (!userId) throw new Error(\"missing userId\");\n\n const requests: RustSdkCryptoJs.VerificationRequest[] = this.olmMachine.getVerificationRequests(\n new RustSdkCryptoJs.UserId(userId),\n );\n\n // Search for the verification request for the given room id\n const request = requests.find((request) => request.roomId?.toString() === roomId && !request.isCancelled());\n\n if (request) {\n return this.makeVerificationRequest(request);\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#requestVerificationDM}\n */\n public async requestVerificationDM(userId: string, roomId: string): Promise<VerificationRequest> {\n const userIdentity = (await this.olmMachine.getIdentity(new RustSdkCryptoJs.UserId(userId))) as\n | RustSdkCryptoJs.OtherUserIdentity\n | undefined;\n\n if (!userIdentity) throw new Error(`unknown userId ${userId}`);\n\n try {\n // Transform the verification methods into rust objects\n const methods = this._supportedVerificationMethods.map((method) =>\n verificationMethodIdentifierToMethod(method),\n );\n // Get the request content to send to the DM room\n const verCont: string = await userIdentity.verificationRequestContent(methods);\n\n // TODO: due to https://github.com/matrix-org/matrix-rust-sdk/issues/5643, we need to fix up the verification request content to include `msgtype`.\n const verContObj = JSON.parse(verCont);\n verContObj[\"msgtype\"] = \"m.key.verification.request\";\n const verificationEventContent: string = JSON.stringify(verContObj);\n\n // Send the request content to send to the DM room\n const eventId = await this.sendVerificationRequestContent(roomId, verificationEventContent);\n\n // Get a verification request\n const request: RustSdkCryptoJs.VerificationRequest = await userIdentity.requestVerification(\n new RustSdkCryptoJs.RoomId(roomId),\n new RustSdkCryptoJs.EventId(eventId),\n methods,\n );\n return this.makeVerificationRequest(request);\n } finally {\n userIdentity.free();\n }\n }\n\n /**\n * Send the verification content to a room\n * See https://spec.matrix.org/v1.7/client-server-api/#put_matrixclientv3roomsroomidsendeventtypetxnid\n *\n * Prefer to use {@link OutgoingRequestProcessor.makeOutgoingRequest} when dealing with {@link RustSdkCryptoJs.RoomMessageRequest}\n *\n * @param roomId - the targeted room\n * @param verificationEventContent - the request body.\n *\n * @returns the event id\n */\n private async sendVerificationRequestContent(roomId: string, verificationEventContent: string): Promise<string> {\n const txId = secureRandomString(32);\n // Send the verification request content to the DM room\n const { event_id: eventId } = await this.http.authedRequest<{ event_id: string }>(\n Method.Put,\n `/_matrix/client/v3/rooms/${encodeURIComponent(roomId)}/send/m.room.message/${encodeURIComponent(txId)}`,\n undefined,\n verificationEventContent,\n {\n prefix: \"\",\n },\n );\n\n return eventId;\n }\n\n /**\n * The verification methods we offer to the other side during an interactive verification.\n */\n private _supportedVerificationMethods: string[] = ALL_VERIFICATION_METHODS;\n\n /**\n * Set the verification methods we offer to the other side during an interactive verification.\n *\n * If `undefined`, we will offer all the methods supported by the Rust SDK.\n */\n public setSupportedVerificationMethods(methods: string[] | undefined): void {\n // by default, the Rust SDK does not offer `m.qr_code.scan.v1`, but we do want to offer that.\n this._supportedVerificationMethods = methods ?? ALL_VERIFICATION_METHODS;\n }\n\n /**\n * Send a verification request to our other devices.\n *\n * If a verification is already in flight, returns it. Otherwise, initiates a new one.\n *\n * Implementation of {@link CryptoApi#requestOwnUserVerification}.\n *\n * @returns a VerificationRequest when the request has been sent to the other party.\n */\n public async requestOwnUserVerification(): Promise<VerificationRequest> {\n const userIdentity = await this.getOwnIdentity();\n if (userIdentity === undefined) {\n throw new Error(\"cannot request verification for this device when there is no existing cross-signing key\");\n }\n\n try {\n const [request, outgoingRequest]: [RustSdkCryptoJs.VerificationRequest, RustSdkCryptoJs.ToDeviceRequest] =\n await userIdentity.requestVerification(\n this._supportedVerificationMethods.map(verificationMethodIdentifierToMethod),\n );\n await this.outgoingRequestProcessor.makeOutgoingRequest(outgoingRequest);\n return this.makeVerificationRequest(request);\n } finally {\n userIdentity.free();\n }\n }\n\n /**\n * Request an interactive verification with the given device.\n *\n * If a verification is already in flight, returns it. Otherwise, initiates a new one.\n *\n * Implementation of {@link CryptoApi#requestDeviceVerification}.\n *\n * @param userId - ID of the owner of the device to verify\n * @param deviceId - ID of the device to verify\n *\n * @returns a VerificationRequest when the request has been sent to the other party.\n */\n public async requestDeviceVerification(userId: string, deviceId: string): Promise<VerificationRequest> {\n const device: RustSdkCryptoJs.Device | undefined = await this.olmMachine.getDevice(\n new RustSdkCryptoJs.UserId(userId),\n new RustSdkCryptoJs.DeviceId(deviceId),\n );\n\n if (!device) {\n throw new Error(\"Not a known device\");\n }\n\n try {\n const [request, outgoingRequest] = device.requestVerification(\n this._supportedVerificationMethods.map(verificationMethodIdentifierToMethod),\n );\n await this.outgoingRequestProcessor.makeOutgoingRequest(outgoingRequest);\n return this.makeVerificationRequest(request);\n } finally {\n device.free();\n }\n }\n\n /**\n * Fetch the backup decryption key we have saved in our store.\n *\n * Implementation of {@link CryptoApi#getSessionBackupPrivateKey}.\n *\n * @returns the key, if any, or null\n */\n public async getSessionBackupPrivateKey(): Promise<Uint8Array | null> {\n const backupKeys: RustSdkCryptoJs.BackupKeys = await this.olmMachine.getBackupKeys();\n if (!backupKeys.decryptionKey) return null;\n return decodeBase64(backupKeys.decryptionKey.toBase64());\n }\n\n /**\n * Store the backup decryption key.\n *\n * Implementation of {@link CryptoApi#storeSessionBackupPrivateKey}.\n *\n * @param key - the backup decryption key\n * @param version - the backup version for this key.\n */\n public async storeSessionBackupPrivateKey(key: Uint8Array, version?: string): Promise<void> {\n const base64Key = encodeBase64(key);\n\n if (!version) {\n throw new Error(\"storeSessionBackupPrivateKey: version is required\");\n }\n\n await this.backupManager.saveBackupDecryptionKey(\n RustSdkCryptoJs.BackupDecryptionKey.fromBase64(base64Key),\n version,\n );\n }\n\n /**\n * Implementation of {@link CryptoApi#loadSessionBackupPrivateKeyFromSecretStorage}.\n */\n public async loadSessionBackupPrivateKeyFromSecretStorage(): Promise<void> {\n const backupKey = await this.secretStorage.get(\"m.megolm_backup.v1\");\n if (!backupKey) {\n throw new Error(\"loadSessionBackupPrivateKeyFromSecretStorage: missing decryption key in secret storage\");\n }\n\n const keyBackupInfo = await this.backupManager.getServerBackupInfo();\n if (!keyBackupInfo || !keyBackupInfo.version) {\n throw new Error(\"loadSessionBackupPrivateKeyFromSecretStorage: unable to get backup version\");\n }\n\n const backupDecryptionKey = RustSdkCryptoJs.BackupDecryptionKey.fromBase64(backupKey);\n if (!decryptionKeyMatchesKeyBackupInfo(backupDecryptionKey, keyBackupInfo)) {\n throw new DecryptionKeyDoesNotMatchError(\n \"loadSessionBackupPrivateKeyFromSecretStorage: decryption key does not match backup info\",\n );\n }\n\n await this.backupManager.saveBackupDecryptionKey(backupDecryptionKey, keyBackupInfo.version);\n }\n\n /**\n * Get the current status of key backup.\n *\n * Implementation of {@link CryptoApi#getActiveSessionBackupVersion}.\n */\n public async getActiveSessionBackupVersion(): Promise<string | null> {\n return await this.backupManager.getActiveBackupVersion();\n }\n\n /**\n * Implementation of {@link CryptoApi#getKeyBackupInfo}.\n */\n public async getKeyBackupInfo(): Promise<KeyBackupInfo | null> {\n return (await this.backupManager.getServerBackupInfo()) || null;\n }\n\n /**\n * Determine if a key backup can be trusted.\n *\n * Implementation of {@link CryptoApi#isKeyBackupTrusted}.\n */\n public async isKeyBackupTrusted(info: KeyBackupInfo): Promise<BackupTrustInfo> {\n return await this.backupManager.isKeyBackupTrusted(info);\n }\n\n /**\n * Force a re-check of the key backup and enable/disable it as appropriate.\n *\n * Implementation of {@link CryptoApi#checkKeyBackupAndEnable}.\n */\n public async checkKeyBackupAndEnable(): Promise<KeyBackupCheck | null> {\n return await this.backupManager.checkKeyBackupAndEnable(true);\n }\n\n /**\n * Implementation of {@link CryptoApi#deleteKeyBackupVersion}.\n */\n public async deleteKeyBackupVersion(version: string): Promise<void> {\n await this.backupManager.deleteKeyBackupVersion(version);\n }\n\n /**\n * Implementation of {@link CryptoApi#resetKeyBackup}.\n */\n public async resetKeyBackup(): Promise<void> {\n const backupInfo = await this.backupManager.setupKeyBackup((o) => this.signObject(o));\n\n await this.pushSecretToVerifiedDevices(\"m.megolm_backup.v1\");\n\n // we want to store the private key in 4S\n // need to check if 4S is set up?\n if (await this.secretStorageHasAESKey()) {\n await this.secretStorage.store(\"m.megolm_backup.v1\", backupInfo.decryptionKey.toBase64());\n }\n\n // we can check and start async\n this.checkKeyBackupAndEnable();\n }\n\n /**\n * Implementation of {@link CryptoApi#disableKeyStorage}.\n */\n public async disableKeyStorage(): Promise<void> {\n // Get the key backup version we're using\n const info = await this.getKeyBackupInfo();\n if (info?.version) {\n await this.deleteKeyBackupVersion(info.version);\n } else {\n this.logger.error(\"Can't delete key backup version: no version available\");\n }\n\n // also turn off 4S, since this is also storing keys on the server.\n await this.deleteSecretStorage();\n\n await this.dehydratedDeviceManager.delete();\n }\n\n /**\n * Signs the given object with the current device and current identity (if available).\n * As defined in {@link https://spec.matrix.org/v1.8/appendices/#signing-json | Signing JSON}.\n *\n * Helper for {@link RustCrypto#resetKeyBackup}.\n *\n * @param obj - The object to sign\n */\n private async signObject<T extends ISignableObject & object>(obj: T): Promise<void> {\n const sigs = new Map(Object.entries(obj.signatures || {}));\n const unsigned = obj.unsigned;\n\n delete obj.signatures;\n delete obj.unsigned;\n\n const userSignatures = sigs.get(this.userId) || {};\n\n const canonalizedJson = anotherjson.stringify(obj);\n const signatures: RustSdkCryptoJs.Signatures = await this.olmMachine.sign(canonalizedJson);\n\n const map = JSON.parse(signatures.asJSON());\n\n sigs.set(this.userId, { ...userSignatures, ...map[this.userId] });\n\n if (unsigned !== undefined) obj.unsigned = unsigned;\n obj.signatures = Object.fromEntries(sigs.entries());\n }\n\n /**\n * Implementation of {@link CryptoApi#restoreKeyBackupWithPassphrase}.\n */\n public async restoreKeyBackupWithPassphrase(\n passphrase: string,\n opts?: KeyBackupRestoreOpts,\n ): Promise<KeyBackupRestoreResult> {\n const backupInfo = await this.backupManager.getServerBackupInfo();\n if (!backupInfo?.version) {\n throw new Error(\"No backup info available\");\n }\n\n const privateKey = await keyFromAuthData(backupInfo.auth_data, passphrase);\n\n // Cache the key\n await this.storeSessionBackupPrivateKey(privateKey, backupInfo.version);\n return this.restoreKeyBackup(opts);\n }\n\n /**\n * Implementation of {@link CryptoApi#restoreKeyBackup}.\n */\n public async restoreKeyBackup(opts?: KeyBackupRestoreOpts): Promise<KeyBackupRestoreResult> {\n // Get the decryption key from the crypto store\n const backupKeys: RustSdkCryptoJs.BackupKeys = await this.olmMachine.getBackupKeys();\n const { decryptionKey, backupVersion } = backupKeys;\n if (!decryptionKey || !backupVersion) throw new Error(\"No decryption key found in crypto store\");\n\n const decodedDecryptionKey = decodeBase64(decryptionKey.toBase64());\n\n const backupInfo = await this.backupManager.requestKeyBackupVersion(backupVersion);\n if (!backupInfo) throw new Error(`Backup version to restore ${backupVersion} not found on server`);\n\n const backupDecryptor = await this.getBackupDecryptor(backupInfo, decodedDecryptionKey);\n\n try {\n opts?.progressCallback?.({\n stage: ImportRoomKeyStage.Fetch,\n });\n\n return await this.backupManager.restoreKeyBackup(backupVersion, backupDecryptor, opts);\n } finally {\n // Free to avoid to keep in memory the decryption key stored in it. To avoid to exposing it to an attacker.\n backupDecryptor.free();\n }\n }\n\n /**\n * Implementation of {@link CryptoApi#isDehydrationSupported}.\n */\n public async isDehydrationSupported(): Promise<boolean> {\n return await this.dehydratedDeviceManager.isSupported();\n }\n\n /**\n * Implementation of {@link CryptoApi#startDehydration}.\n */\n public async startDehydration(opts: StartDehydrationOpts | boolean = {}): Promise<void> {\n if (!(await this.isCrossSigningReady()) || !(await this.isSecretStorageReady())) {\n throw new Error(\"Device dehydration requires cross-signing and secret storage to be set up\");\n }\n return await this.dehydratedDeviceManager.start(opts || {});\n }\n\n /**\n * Implementation of {@link CryptoApi#importSecretsBundle}.\n */\n public async importSecretsBundle(\n secrets: Parameters<NonNullable<CryptoApi[\"importSecretsBundle\"]>>[0],\n ): Promise<void> {\n const secretsBundle = RustSdkCryptoJs.SecretsBundle.from_json(secrets);\n await this.getOlmMachineOrThrow().importSecretsBundle(secretsBundle); // this method frees the SecretsBundle\n }\n\n /**\n * Implementation of {@link CryptoApi#exportSecretsBundle}.\n */\n public async exportSecretsBundle(): ReturnType<NonNullable<CryptoApi[\"exportSecretsBundle\"]>> {\n const secretsBundle = await this.getOlmMachineOrThrow().exportSecretsBundle();\n const secrets = secretsBundle.to_json();\n secretsBundle.free();\n return secrets;\n }\n\n /**\n * Implementation of {@link CryptoApi#encryptToDeviceMessages}.\n */\n public async encryptToDeviceMessages(\n eventType: string,\n devices: { userId: string; deviceId: string }[],\n payload: ToDevicePayload,\n ): Promise<ToDeviceBatch> {\n const logger = new LogSpan(this.logger, \"encryptToDeviceMessages\");\n const uniqueUsers = new Set(devices.map(({ userId }) => userId));\n\n // This will ensure we have Olm sessions for all of the users' devices.\n // However, we only care about some of the devices.\n // So, perhaps we can optimise this later on.\n await this.keyClaimManager.ensureSessionsForUsers(\n logger,\n Array.from(uniqueUsers).map((userId) => new RustSdkCryptoJs.UserId(userId)),\n );\n const batch: ToDeviceBatch = {\n batch: [],\n eventType: EventType.RoomMessageEncrypted,\n };\n\n await Promise.all(\n devices.map(async ({ userId, deviceId }) => {\n const device: RustSdkCryptoJs.Device | undefined = await this.olmMachine.getDevice(\n new RustSdkCryptoJs.UserId(userId),\n new RustSdkCryptoJs.DeviceId(deviceId),\n );\n\n if (device) {\n const encryptedPayload = JSON.parse(await device.encryptToDeviceEvent(eventType, payload));\n batch.batch.push({\n deviceId,\n userId,\n payload: encryptedPayload,\n });\n } else {\n this.logger.warn(`encryptToDeviceMessages: unknown device ${userId}:${deviceId}`);\n }\n }),\n );\n\n return batch;\n }\n\n /**\n * Implementation of {@link CryptoApi#resetEncryption}.\n */\n public async resetEncryption(authUploadDeviceSigningKeys: UIAuthCallback<void>): Promise<void> {\n this.logger.debug(\"resetEncryption: resetting encryption\");\n\n // Delete the dehydrated device, since any existing one will be signed\n // by the wrong cross-signing key\n this.dehydratedDeviceManager.delete();\n\n // Disable backup, and delete all the backups from the server\n await this.backupManager.deleteAllKeyBackupVersions();\n\n await this.deleteSecretStorage();\n\n // Reset the cross-signing keys\n await this.crossSigningIdentity.bootstrapCrossSigning({\n setupNewCrossSigning: true,\n authUploadDeviceSigningKeys,\n });\n\n // Create a new key backup\n await this.resetKeyBackup();\n\n this.logger.debug(\"resetEncryption: ended\");\n }\n\n /**\n * Removes the secret storage key, default key pointer and all (known) secret storage data\n * from the user's account data\n */\n private async deleteSecretStorage(): Promise<void> {\n // Remove the stored secrets in the secret storage\n await this.secretStorage.store(\"m.cross_signing.master\", null);\n await this.secretStorage.store(\"m.cross_signing.self_signing\", null);\n await this.secretStorage.store(\"m.cross_signing.user_signing\", null);\n await this.secretStorage.store(\"m.megolm_backup.v1\", null);\n\n // Remove the recovery key\n const defaultKeyId = await this.secretStorage.getDefaultKeyId();\n if (defaultKeyId) await this.secretStorage.store(`m.secret_storage.key.${defaultKeyId}`, null);\n // Disable the recovery key and the secret storage\n await this.secretStorage.setDefaultKeyId(null);\n }\n\n /**\n * Implementation of {@link CryptoApi#shareRoomHistoryWithUser}.\n */\n public async shareRoomHistoryWithUser(roomId: string, userId: string): Promise<void> {\n const logger = new LogSpan(this.logger, `shareRoomHistoryWithUser(${roomId}, ${userId})`);\n\n // 0. We can only share room history if our user has set up cross-signing.\n const identity = await this.getOwnIdentity();\n if (!identity?.isVerified()) {\n logger.warn(\n \"Not sharing message history as the current device is not verified by our cross-signing identity\",\n );\n return;\n }\n\n logger.info(\"Sharing message history\");\n\n // 1. Download keys from backup.\n if (!(await this.getOlmMachineOrThrow().hasDownloadedAllRoomKeys(new RustSdkCryptoJs.RoomId(roomId)))) {\n await this.backupManager.downloadLatestRoomKeyBackup(roomId);\n await this.getOlmMachineOrThrow().setHasDownloadedAllRoomKeys(new RustSdkCryptoJs.RoomId(roomId));\n }\n\n // 2. Construct the key bundle\n const bundle = await this.getOlmMachineOrThrow().buildRoomKeyBundle(new RustSdkCryptoJs.RoomId(roomId));\n if (!bundle) {\n logger.info(\"No keys to share\");\n return;\n }\n\n // 3. Upload the encrypted bundle to the server\n const uploadResponse = await this.http.uploadContent(bundle.encryptedData as Uint8Array<ArrayBuffer>);\n logger.info(`Uploaded encrypted key blob: ${JSON.stringify(uploadResponse)}`);\n\n // 4. We may not share a room with the user, so get a fresh list of devices for the invited user.\n const req = this.getOlmMachineOrThrow().queryKeysForUsers([new RustSdkCryptoJs.UserId(userId)]);\n await this.outgoingRequestProcessor.makeOutgoingRequest(req);\n\n // 5. Establish Olm sessions with all of the recipient's devices.\n await this.keyClaimManager.ensureSessionsForUsers(logger, [new RustSdkCryptoJs.UserId(userId)]);\n\n // 6. Send to-device messages to the recipient to share the keys.\n const requests = await this.getOlmMachineOrThrow().shareRoomKeyBundleData(\n new RustSdkCryptoJs.UserId(userId),\n new RustSdkCryptoJs.RoomId(roomId),\n uploadResponse.content_uri,\n bundle.mediaEncryptionInfo,\n RustSdkCryptoJs.CollectStrategy.identityBasedStrategy(),\n );\n for (const req of requests) {\n await this.outgoingRequestProcessor.makeOutgoingRequest(req);\n }\n }\n\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n //\n // SyncCryptoCallbacks implementation\n //\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n /**\n * Apply sync changes to the olm machine\n * @param events - the received to-device messages\n * @param oneTimeKeysCounts - the received one time key counts\n * @param unusedFallbackKeys - the received unused fallback keys\n * @param devices - the received device list updates\n * @returns A list of processed to-device messages.\n */\n private async receiveSyncChanges({\n events,\n oneTimeKeysCounts = new Map<string, number>(),\n unusedFallbackKeys,\n devices = new RustSdkCryptoJs.DeviceLists(),\n }: {\n events?: IToDeviceEvent[];\n oneTimeKeysCounts?: Map<string, number>;\n unusedFallbackKeys?: Set<string>;\n devices?: RustSdkCryptoJs.DeviceLists;\n }): Promise<RustSdkCryptoJs.ProcessedToDeviceEvent[]> {\n return await this.olmMachine.receiveSyncChanges(\n events ? JSON.stringify(events) : \"[]\",\n devices,\n oneTimeKeysCounts,\n unusedFallbackKeys,\n );\n }\n\n /** called by the sync loop to preprocess incoming to-device messages\n *\n * @param events - the received to-device messages\n * @returns A list of preprocessed to-device messages.\n */\n public async preprocessToDeviceMessages(events: IToDeviceEvent[]): Promise<ReceivedToDeviceMessage[]> {\n // send the received to-device messages into receiveSyncChanges. We have no info on device-list changes,\n // one-time-keys, or fallback keys, so just pass empty data.\n const processed = await this.receiveSyncChanges({ events });\n\n const received: ReceivedToDeviceMessage[] = [];\n\n for (const message of processed) {\n const parsedMessage: IToDeviceEvent = JSON.parse(message.rawEvent);\n\n // look for interesting to-device messages\n if (parsedMessage.type === EventType.KeyVerificationRequest) {\n const sender = parsedMessage.sender;\n const transactionId = parsedMessage.content.transaction_id;\n if (transactionId && sender) {\n this.onIncomingKeyVerificationRequest(sender, transactionId);\n }\n }\n\n switch (message.type) {\n case RustSdkCryptoJs.ProcessedToDeviceEventType.Decrypted: {\n const encryptionInfo = (message as RustSdkCryptoJs.DecryptedToDeviceEvent).encryptionInfo;\n received.push({\n message: parsedMessage,\n encryptionInfo: {\n sender: encryptionInfo.sender.toString(),\n senderDevice: encryptionInfo.senderDevice?.toString(),\n senderCurve25519KeyBase64: encryptionInfo.senderCurve25519Key,\n senderVerified: encryptionInfo.isSenderVerified(),\n },\n });\n\n // If we have received a room key bundle message, and have recently joined the room in question,\n // tell the Rust SDK to try and accept the key bundle.\n //\n // We don't actually need to validate the contents of the bundle message, or do\n // anything with its contents at all. We simply want to inform the Rust SDK we have\n // received a new room key bundle that we might be able to download.\n if (isRoomKeyBundleMessage(parsedMessage)) {\n const roomId = parsedMessage.content.room_id;\n const pendingDetails = await this.olmMachine.getPendingKeyBundleDetailsForRoom(\n new RustSdkCryptoJs.RoomId(roomId),\n );\n // Only accept the key bundle if we joined the room less than 24 hours ago.\n if (!pendingDetails) {\n this.logger.debug(\n `Not yet accepting key bundle for room where we are not awaiting a bundle: ${roomId}`,\n );\n } else if (\n Date.now() - pendingDetails.inviteAcceptedAtMillis >\n MAX_INVITE_ACCEPTANCE_MS_FOR_KEY_BUNDLE\n ) {\n this.logger.info(\n `Ignoring key bundle for room we joined too long ago: ${roomId}, joining time: ${new Date(pendingDetails.inviteAcceptedAtMillis).toISOString()}`,\n );\n } else {\n this.logger.info(`Considering key bundle for recently-joined room ${roomId}`);\n // Don't block for the import to happen, here, as this is called from inside the `/sync` loop.\n this.maybeAcceptKeyBundle(roomId, pendingDetails.inviterId.toString()).catch((err) => {\n this.logger.error(`Error attempting to download key bundle for room ${roomId}`);\n this.logger.error(err);\n });\n }\n }\n\n break;\n }\n case RustSdkCryptoJs.ProcessedToDeviceEventType.PlainText: {\n received.push({\n message: parsedMessage,\n encryptionInfo: null,\n });\n break;\n }\n case RustSdkCryptoJs.ProcessedToDeviceEventType.UnableToDecrypt:\n // ignore messages we cannot decrypt\n break;\n case RustSdkCryptoJs.ProcessedToDeviceEventType.Invalid:\n // ignore invalid messages\n break;\n }\n }\n\n return received;\n }\n\n /** called by the sync loop to process one time key counts and unused fallback keys\n *\n * @param oneTimeKeysCounts - the received one time key counts\n * @param unusedFallbackKeys - the received unused fallback keys\n */\n public async processKeyCounts(\n oneTimeKeysCounts?: Record<string, number>,\n unusedFallbackKeys?: string[],\n ): Promise<void> {\n const mapOneTimeKeysCount = oneTimeKeysCounts && new Map<string, number>(Object.entries(oneTimeKeysCounts));\n const setUnusedFallbackKeys = unusedFallbackKeys && new Set<string>(unusedFallbackKeys);\n\n if (mapOneTimeKeysCount !== undefined || setUnusedFallbackKeys !== undefined) {\n await this.receiveSyncChanges({\n oneTimeKeysCounts: mapOneTimeKeysCount,\n unusedFallbackKeys: setUnusedFallbackKeys,\n });\n }\n }\n\n /** called by the sync loop to process the notification that device lists have\n * been changed.\n *\n * @param deviceLists - device_lists field from /sync\n */\n public async processDeviceLists(deviceLists: IDeviceLists): Promise<void> {\n const devices = new RustSdkCryptoJs.DeviceLists(\n deviceLists.changed?.map((userId) => new RustSdkCryptoJs.UserId(userId)),\n deviceLists.left?.map((userId) => new RustSdkCryptoJs.UserId(userId)),\n );\n await this.receiveSyncChanges({ devices });\n }\n\n /** called by the sync loop on m.room.encryption events\n *\n * @param room - in which the event was received\n * @param event - encryption event to be processed\n */\n public async onCryptoEvent(room: Room, event: MatrixEvent): Promise<void> {\n const config = event.getContent();\n const settings = new RustSdkCryptoJs.RoomSettings();\n\n if (config.algorithm === \"m.megolm.v1.aes-sha2\") {\n settings.algorithm = RustSdkCryptoJs.EncryptionAlgorithm.MegolmV1AesSha2;\n } else {\n // Among other situations, this happens if the crypto state event is redacted.\n this.logger.warn(`Room ${room.roomId}: ignoring crypto event with invalid algorithm ${config.algorithm}`);\n return;\n }\n\n if (config[\"io.element.msc4362.encrypt_state_events\"] && this.enableEncryptedStateEvents) {\n this.logger.info(\"crypto Enabling state event encryption...\");\n settings.encryptStateEvents = true;\n }\n\n try {\n settings.sessionRotationPeriodMs = config.rotation_period_ms;\n settings.sessionRotationPeriodMessages = config.rotation_period_msgs;\n await this.olmMachine.setRoomSettings(new RustSdkCryptoJs.RoomId(room.roomId), settings);\n } catch (e) {\n this.logger.warn(`Room ${room.roomId}: ignoring crypto event which caused error: ${e}`);\n return;\n }\n\n // If we got this far, the SDK found the event acceptable.\n // We need to either create or update the active RoomEncryptor.\n const existingEncryptor = this.roomEncryptors[room.roomId];\n if (existingEncryptor) {\n existingEncryptor.onCryptoEvent(config);\n } else {\n this.roomEncryptors[room.roomId] = new RoomEncryptor(\n this.logger.getChild(`[${room.roomId} encryption]`),\n this.olmMachine,\n this.keyClaimManager,\n this.outgoingRequestsManager,\n room,\n config,\n );\n }\n }\n\n /** called by the sync loop after processing each sync.\n *\n *\n * @param syncState - information on the completed sync.\n */\n public onSyncCompleted(syncState: OnSyncCompletedData): void {\n // Processing the /sync may have produced new outgoing requests which need sending, so kick off the outgoing\n // request loop, if it's not already running.\n this.outgoingRequestsManager.doProcessOutgoingRequests().catch((e) => {\n this.logger.warn(\"onSyncCompleted: Error processing outgoing requests\", e);\n });\n }\n\n /**\n * Implementation of {@link CryptoApi#markAllTrackedUsersAsDirty}.\n */\n public async markAllTrackedUsersAsDirty(): Promise<void> {\n await this.olmMachine.markAllTrackedUsersAsDirty();\n }\n\n /**\n * Handle an incoming m.key.verification.request event, received either in-room or in a to-device message.\n *\n * @param sender - the sender of the event\n * @param transactionId - the transaction ID for the verification. For to-device messages, this comes from the\n * content of the message; for in-room messages it is the event ID.\n */\n private onIncomingKeyVerificationRequest(sender: string, transactionId: string): void {\n const request: RustSdkCryptoJs.VerificationRequest | undefined = this.olmMachine.getVerificationRequest(\n new RustSdkCryptoJs.UserId(sender),\n transactionId,\n );\n\n if (request) {\n this.emit(CryptoEvent.VerificationRequestReceived, this.makeVerificationRequest(request));\n } else {\n // There are multiple reasons this can happen; probably the most likely is that the event is an\n // in-room event which is too old.\n this.logger.info(\n `Ignoring just-received verification request ${transactionId} which did not start a rust-side verification`,\n );\n }\n }\n\n /** Utility function to wrap a rust `VerificationRequest` with our own {@link VerificationRequest}. */\n private makeVerificationRequest(request: RustSdkCryptoJs.VerificationRequest): VerificationRequest {\n return new RustVerificationRequest(\n this.logger,\n this.olmMachine,\n request,\n this.outgoingRequestProcessor,\n this._supportedVerificationMethods,\n );\n }\n\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n //\n // Other public functions\n //\n ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////\n\n /** called by the MatrixClient on a room membership event\n *\n * @param event - The matrix event which caused this event to fire.\n * @param member - The member whose RoomMember.membership changed.\n * @param oldMembership - The previous membership state. Null if it's a new member.\n */\n public onRoomMembership(event: MatrixEvent, member: RoomMember, oldMembership?: string): void {\n const roomId = event.getRoomId()!;\n\n // If it's our own membership, and we are no longer joined, clear any indication that we are waiting for a key\n // bundle.\n if (\n oldMembership === KnownMembership.Join &&\n member.membership !== KnownMembership.Join &&\n member.userId === this.olmMachine.userId.toString()\n ) {\n this.olmMachine.clearRoomPendingKeyBundle(new RustSdkCryptoJs.RoomId(roomId)).catch((e) => {\n this.logger.error(`Error clearing room pending key bundle indicator for ${roomId}: ${e}`);\n });\n }\n\n const enc = this.roomEncryptors[roomId];\n if (!enc) {\n // not encrypting in this room\n return;\n }\n enc.onRoomMembership(member);\n }\n\n /**\n * Previously, it was sufficient to check if we need to rotate the room key\n * prior to sending a message. However, the history sharing feature\n * (MSC4268) breaks this logic:\n *\n * 1. Alice sends a message M1 in room X;\n * 2. Bob invites Charlie, who joins and immediately leaves the room;\n * 3. Alice sends another message M2 in room X.\n *\n * Under the old logic, Alice would not rotate her key after Charlie\n * leaves, resulting in M2 being encrypted with the same session as M1.\n * This would allow Charlie to decrypt M2 if he ever gains access to\n * the event.\n *\n * To counter this, we proactively discard any active outgoing Megolm\n * session when we see an event indicating the user left.\n *\n * Note that we have to do this in `onRoomStateEvent` rather than\n * `onRoomMembership`, because `onRoomMembership` is only called when we see\n * a *change* in membership. In the case of a gappy sync, we might miss\n * Charlie's invite and join, and only see the final `leave` event (so his\n * membership goes from `leave` to `leave`).\n */\n public onRoomStateEvent(event: MatrixEvent, _state: RoomState, _prevEvent: MatrixEvent | null): void {\n if (event.getType() != EventType.RoomMember) {\n // Ignore all events that aren't member updates.\n return;\n }\n\n if (\n event.getStateKey()! !== this.olmMachine.userId.toString() &&\n event.getContent().membership !== KnownMembership.Join\n ) {\n this.logger.info(`Rotating session for room ${event.getRoomId()} due to member leaving the room`);\n this.forceDiscardSession(event.getRoomId()!);\n }\n }\n\n /** Callback for OlmMachine.registerRoomKeyUpdatedCallback\n *\n * Called by the rust-sdk whenever there is an update to (megolm) room keys. We\n * check if we have any events waiting for the given keys, and schedule them for\n * a decryption retry if so.\n *\n * @param keys - details of the updated keys\n */\n public async onRoomKeysUpdated(keys: RustSdkCryptoJs.RoomKeyInfo[]): Promise<void> {\n for (const key of keys) {\n this.onRoomKeyUpdated(key);\n }\n this.backupManager.maybeUploadKey();\n }\n\n private onRoomKeyUpdated(key: RustSdkCryptoJs.RoomKeyInfo): void {\n if (this.stopped) return;\n this.logger.debug(\n `Got update for session ${key.sessionId} from sender ${key.senderKey.toBase64()} in ${key.roomId.toString()}`,\n );\n const pendingList = this.eventDecryptor.getEventsPendingRoomKey(key.roomId.toString(), key.sessionId);\n if (pendingList.length === 0) return;\n\n this.logger.debug(\n \"Retrying decryption on events:\",\n pendingList.map((e) => `${e.getId()}`),\n );\n\n // Have another go at decrypting events with this key.\n //\n // We don't want to end up blocking the callback from Rust, which could otherwise end up dropping updates,\n // so we don't wait for the decryption to complete. In any case, there is no need to wait:\n // MatrixEvent.attemptDecryption ensures that there is only one decryption attempt happening at once,\n // and deduplicates repeated attempts for the same event.\n for (const ev of pendingList) {\n ev.attemptDecryption(this, { isRetry: true }).catch((_e) => {\n this.logger.info(`Still unable to decrypt event ${ev.getId()} after receiving key`);\n });\n }\n }\n\n /**\n * Callback for `OlmMachine.registerRoomKeyWithheldCallback`.\n *\n * Called by the rust sdk whenever we are told that a key has been withheld. We see if we had any events that\n * failed to decrypt for the given session, and update their status if so.\n *\n * @param withheld - Details of the withheld sessions.\n */\n public async onRoomKeysWithheld(withheld: RustSdkCryptoJs.RoomKeyWithheldInfo[]): Promise<void> {\n for (const session of withheld) {\n this.logger.debug(`Got withheld message for session ${session.sessionId} in ${session.roomId.toString()}`);\n const pendingList = this.eventDecryptor.getEventsPendingRoomKey(\n session.roomId.toString(),\n session.sessionId,\n );\n if (pendingList.length === 0) return;\n\n // The easiest way to update the status of the event is to have another go at decrypting it.\n this.logger.debug(\n \"Retrying decryption on events:\",\n pendingList.map((e) => `${e.getId()}`),\n );\n\n for (const ev of pendingList) {\n ev.attemptDecryption(this, { isRetry: true }).catch((_e) => {\n // It's somewhat expected that we still can't decrypt here.\n });\n }\n }\n }\n\n /**\n * Callback for `OlmMachine.registerUserIdentityUpdatedCallback`\n *\n * Called by the rust-sdk whenever there is an update to any user's cross-signing status. We re-check their trust\n * status and emit a `UserTrustStatusChanged` event, as well as a `KeysChanged` if it is our own identity that changed.\n *\n * @param userId - the user with the updated identity\n */\n public async onUserIdentityUpdated(userId: RustSdkCryptoJs.UserId): Promise<void> {\n const newVerification = await this.getUserVerificationStatus(userId.toString());\n this.emit(CryptoEvent.UserTrustStatusChanged, userId.toString(), newVerification);\n\n // If our own user identity has changed, we may now trust the key backup where we did not before.\n // So, re-check the key backup status and enable it if available.\n if (userId.toString() === this.userId) {\n this.emit(CryptoEvent.KeysChanged, {});\n await this.checkKeyBackupAndEnable();\n }\n }\n\n /**\n * Callback for `OlmMachine.registerDevicesUpdatedCallback`\n *\n * Called when users' devices have updated. Emits `WillUpdateDevices` and `DevicesUpdated`. In the JavaScript\n * crypto backend, these events are called at separate times, with `WillUpdateDevices` being emitted just before\n * the devices are saved, and `DevicesUpdated` being emitted just after. But the OlmMachine only gives us\n * one event, so we emit both events here.\n *\n * @param userIds - an array of user IDs of users whose devices have updated.\n */\n public async onDevicesUpdated(userIds: string[]): Promise<void> {\n this.emit(CryptoEvent.WillUpdateDevices, userIds, false);\n this.emit(CryptoEvent.DevicesUpdated, userIds, false);\n }\n\n /**\n * Handles secret received from the rust secret inbox.\n *\n * The gossipped secrets are received using the `m.secret.send` or\n * `io.element.msc4385.secret.push` event types and are guaranteed to have\n * been received over a 1-to-1 Olm Session from a verified device.\n *\n * The only secret currently handled in this way is `m.megolm_backup.v1`.\n *\n * @param name - the secret name\n * @param value - the secret value\n */\n private async handleSecretReceived(name: string, value: string): Promise<boolean> {\n this.logger.debug(`onReceiveSecret: Received secret ${name}`);\n if (name === \"m.megolm_backup.v1\") {\n return await this.backupManager.handleBackupSecretReceived(value);\n // XXX at this point we should probably try to download the backup and import the keys,\n // or at least retry for the current decryption failures?\n // Maybe add some signaling when a new secret is received, and let clients handle it?\n // as it's where the restore from backup APIs are exposed.\n }\n return false;\n }\n\n /**\n * Called when a new secret is received in the rust secret inbox.\n *\n * Will poll the secret inbox and handle the secrets received.\n *\n * @param name - The name of the secret received.\n */\n public async checkSecrets(name: string): Promise<void> {\n const pendingValues: Set<string> = await this.olmMachine.getSecretsFromInbox(name);\n for (const value of pendingValues) {\n if (await this.handleSecretReceived(name, value)) {\n // If we have a valid secret for that name there is no point of processing the other secrets values.\n // It's probably the same secret shared by another device.\n break;\n }\n }\n\n // Important to call this after handling the secrets as good hygiene.\n await this.olmMachine.deleteSecretsFromInbox(name);\n }\n\n /**\n * Handle a live event received via /sync.\n * See {@link ClientEventHandlerMap#event}\n *\n * @param event - live event\n */\n public async onLiveEventFromSync(event: MatrixEvent): Promise<void> {\n // Ignore state event or remote echo\n // transaction_id is provided in case of remote echo {@link https://spec.matrix.org/v1.7/client-server-api/#local-echo}\n if (event.isState() || !!event.getUnsigned().transaction_id) return;\n\n const processEvent = async (evt: MatrixEvent): Promise<void> => {\n // Process only verification event\n if (isVerificationEvent(event)) {\n await this.onKeyVerificationEvent(evt);\n }\n };\n\n // If the event is encrypted of in failure, we wait for decryption\n if (event.isDecryptionFailure() || event.isEncrypted()) {\n // 5 mins\n const TIMEOUT_DELAY = 5 * 60 * 1000;\n\n // After 5mins, we are not expecting the event to be decrypted\n const timeoutId = setTimeout(() => event.off(MatrixEventEvent.Decrypted, onDecrypted), TIMEOUT_DELAY);\n\n const onDecrypted = (decryptedEvent: MatrixEvent, error?: Error): void => {\n if (error) return;\n\n clearTimeout(timeoutId);\n event.off(MatrixEventEvent.Decrypted, onDecrypted);\n processEvent(decryptedEvent);\n };\n\n event.on(MatrixEventEvent.Decrypted, onDecrypted);\n } else {\n await processEvent(event);\n }\n }\n\n /**\n * Handle an in-room key verification event.\n *\n * @param event - a key validation request event.\n */\n private async onKeyVerificationEvent(event: MatrixEvent): Promise<void> {\n const roomId = event.getRoomId();\n const senderId = event.getSender();\n\n if (!roomId) {\n throw new Error(\"missing roomId in the event\");\n }\n\n if (!senderId) {\n throw new Error(\"missing sender in the event\");\n }\n\n this.logger.debug(\n `Incoming verification event ${event.getId()} type ${event.getType()} from ${event.getSender()}`,\n );\n\n const isRoomVerificationRequest =\n event.getType() === EventType.RoomMessage && event.getContent().msgtype === MsgType.KeyVerificationRequest;\n\n if (isRoomVerificationRequest) {\n // Before processing an in-room verification request, we need to\n // make sure we have the sender's device information - otherwise we\n // will immediately abort verification. So we explicitly fetch it\n // from /keys/query and wait for that request to complete before we\n // call receiveVerificationEvent.\n const req = this.getOlmMachineOrThrow().queryKeysForUsers([new RustSdkCryptoJs.UserId(senderId)]);\n await this.outgoingRequestProcessor.makeOutgoingRequest(req);\n }\n\n await this.getOlmMachineOrThrow().receiveVerificationEvent(\n JSON.stringify({\n event_id: event.getId(),\n type: event.getType(),\n sender: senderId,\n state_key: event.getStateKey(),\n content: event.getContent(),\n origin_server_ts: event.getTs(),\n }),\n new RustSdkCryptoJs.RoomId(roomId),\n );\n\n if (isRoomVerificationRequest) {\n this.onIncomingKeyVerificationRequest(senderId, event.getId()!);\n }\n\n // that may have caused us to queue up outgoing requests, so make sure we send them.\n this.outgoingRequestsManager.doProcessOutgoingRequests().catch((e) => {\n this.logger.warn(\"onKeyVerificationRequest: Error processing outgoing requests\", e);\n });\n }\n\n /**\n * Returns the cross-signing user identity of the current user.\n *\n * Not part of the public crypto-api interface.\n * Used during migration from legacy js-crypto to update local trust if needed.\n */\n public async getOwnIdentity(): Promise<RustSdkCryptoJs.OwnUserIdentity | undefined> {\n const identity = (await this.getOlmMachineOrThrow().getIdentity(new RustSdkCryptoJs.UserId(this.userId))) as\n | RustSdkCryptoJs.OwnUserIdentity\n | undefined;\n return identity;\n }\n\n /**\n * Push a secret to all of the current user's verified devices.\n */\n public async pushSecretToVerifiedDevices(name: string): Promise<void> {\n const logger = new LogSpan(this.logger, \"pushSecretToVerifiedDevices\");\n await this.keyClaimManager.ensureSessionsForUsers(logger, [new RustSdkCryptoJs.UserId(this.userId)]);\n await this.olmMachine.pushSecretToVerifiedDevices(name);\n this.outgoingRequestsManager.doProcessOutgoingRequests().catch((e) => {\n logger.warn(\"pushSecretToVerifiedDevices: Error processing outgoing requests\", e);\n });\n }\n}\n\nclass EventDecryptor {\n /**\n * Events which we couldn't decrypt due to unknown sessions / indexes.\n *\n * Map from roomId to sessionId to Set of MatrixEvents\n */\n private eventsPendingKey = new MapWithDefault<string, MapWithDefault<string, Set<MatrixEvent>>>(\n () => new MapWithDefault<string, Set<MatrixEvent>>(() => new Set()),\n );\n\n public constructor(\n private readonly logger: Logger,\n private readonly olmMachine: RustSdkCryptoJs.OlmMachine,\n private readonly perSessionBackupDownloader: PerSessionKeyBackupDownloader,\n ) {}\n\n public async attemptEventDecryption(\n event: MatrixEvent,\n isolationMode: DeviceIsolationMode,\n ): Promise<EventDecryptionResult> {\n // add the event to the pending list *before* attempting to decrypt.\n // then, if the key turns up while decryption is in progress (and\n // decryption fails), we will schedule a retry.\n // (fixes https://github.com/vector-im/element-web/issues/5001)\n this.addEventToPendingList(event);\n\n let trustRequirement;\n\n switch (isolationMode.kind) {\n case DeviceIsolationModeKind.AllDevicesIsolationMode:\n trustRequirement = RustSdkCryptoJs.TrustRequirement.Untrusted;\n break;\n case DeviceIsolationModeKind.OnlySignedDevicesIsolationMode:\n trustRequirement = RustSdkCryptoJs.TrustRequirement.CrossSignedOrLegacy;\n break;\n }\n\n try {\n const res = (await this.olmMachine.decryptRoomEvent(\n stringifyEvent(event),\n new RustSdkCryptoJs.RoomId(event.getRoomId()!),\n new RustSdkCryptoJs.DecryptionSettings(trustRequirement),\n )) as RustSdkCryptoJs.DecryptedRoomEvent;\n\n // Success. We can remove the event from the pending list, if\n // that hasn't already happened.\n this.removeEventFromPendingList(event);\n\n return {\n clearEvent: JSON.parse(res.event),\n claimedEd25519Key: res.senderClaimedEd25519Key,\n senderCurve25519Key: res.senderCurve25519Key,\n keyForwardedBy: res.forwarder?.toString(),\n };\n } catch (err) {\n if (err instanceof RustSdkCryptoJs.MegolmDecryptionError) {\n this.onMegolmDecryptionError(event, err, await this.perSessionBackupDownloader.getServerBackupInfo());\n } else {\n throw new DecryptionError(DecryptionFailureCode.UNKNOWN_ERROR, \"Unknown error\");\n }\n }\n }\n\n /**\n * Handle a `MegolmDecryptionError` returned by the rust SDK.\n *\n * Fires off a request to the `perSessionBackupDownloader`, if appropriate, and then throws a `DecryptionError`.\n *\n * @param event - The event which could not be decrypted.\n * @param err - The error from the Rust SDK.\n * @param serverBackupInfo - Details about the current backup from the server. `null` if there is no backup.\n * `undefined` if our attempt to check failed.\n */\n private onMegolmDecryptionError(\n event: MatrixEvent,\n err: RustSdkCryptoJs.MegolmDecryptionError,\n serverBackupInfo: KeyBackupInfo | null | undefined,\n ): never {\n const content = event.getWireContent();\n const errorDetails = { sender_key: content.sender_key, session_id: content.session_id };\n\n // If the error looks like it might be recoverable from backup, queue up a request to try that.\n if (\n err.code === RustSdkCryptoJs.DecryptionErrorCode.MissingRoomKey ||\n err.code === RustSdkCryptoJs.DecryptionErrorCode.UnknownMessageIndex\n ) {\n this.perSessionBackupDownloader.onDecryptionKeyMissingError(event.getRoomId()!, content.session_id!);\n\n // If the server is telling us our membership at the time the event\n // was sent, and it isn't \"join\", we use a different error code.\n const membership = event.getMembershipAtEvent();\n if (membership && membership !== KnownMembership.Join && membership !== KnownMembership.Invite) {\n throw new DecryptionError(\n DecryptionFailureCode.HISTORICAL_MESSAGE_USER_NOT_JOINED,\n \"This message was sent when we were not a member of the room.\",\n errorDetails,\n );\n }\n\n // If the event was sent before this device was created, we use some different error codes.\n if (event.getTs() <= this.olmMachine.deviceCreationTimeMs) {\n if (serverBackupInfo === null) {\n throw new DecryptionError(\n DecryptionFailureCode.HISTORICAL_MESSAGE_NO_KEY_BACKUP,\n \"This message was sent before this device logged in, and there is no key backup on the server.\",\n errorDetails,\n );\n } else if (!this.perSessionBackupDownloader.isKeyBackupDownloadConfigured()) {\n throw new DecryptionError(\n DecryptionFailureCode.HISTORICAL_MESSAGE_BACKUP_UNCONFIGURED,\n \"This message was sent before this device logged in, and key backup is not working.\",\n errorDetails,\n );\n } else {\n throw new DecryptionError(\n DecryptionFailureCode.HISTORICAL_MESSAGE_WORKING_BACKUP,\n \"This message was sent before this device logged in. Key backup is working, but we still do not (yet) have the key.\",\n errorDetails,\n );\n }\n }\n }\n\n // If we got a withheld code, expose that.\n if (err.maybe_withheld) {\n // Unfortunately the Rust SDK API doesn't let us distinguish between different withheld cases, other than\n // by string-matching.\n const failureCode =\n err.maybe_withheld === \"The sender has disabled encrypting to unverified devices.\"\n ? DecryptionFailureCode.MEGOLM_KEY_WITHHELD_FOR_UNVERIFIED_DEVICE\n : DecryptionFailureCode.MEGOLM_KEY_WITHHELD;\n throw new DecryptionError(failureCode, err.maybe_withheld, errorDetails);\n }\n\n switch (err.code) {\n case RustSdkCryptoJs.DecryptionErrorCode.MissingRoomKey:\n throw new DecryptionError(\n DecryptionFailureCode.MEGOLM_UNKNOWN_INBOUND_SESSION_ID,\n \"The sender's device has not sent us the keys for this message.\",\n errorDetails,\n );\n\n case RustSdkCryptoJs.DecryptionErrorCode.UnknownMessageIndex:\n throw new DecryptionError(\n DecryptionFailureCode.OLM_UNKNOWN_MESSAGE_INDEX,\n \"The sender's device has not sent us the keys for this message at this index.\",\n errorDetails,\n );\n\n case RustSdkCryptoJs.DecryptionErrorCode.SenderIdentityVerificationViolation:\n // We're refusing to decrypt due to not trusting the sender,\n // rather than failing to decrypt due to lack of keys, so we\n // don't need to keep it on the pending list.\n this.removeEventFromPendingList(event);\n throw new DecryptionError(\n DecryptionFailureCode.SENDER_IDENTITY_PREVIOUSLY_VERIFIED,\n \"The sender identity is unverified, but was previously verified.\",\n );\n\n case RustSdkCryptoJs.DecryptionErrorCode.UnknownSenderDevice:\n // We're refusing to decrypt due to not trusting the sender,\n // rather than failing to decrypt due to lack of keys, so we\n // don't need to keep it on the pending list.\n this.removeEventFromPendingList(event);\n throw new DecryptionError(\n DecryptionFailureCode.UNKNOWN_SENDER_DEVICE,\n \"The sender device is not known.\",\n );\n\n case RustSdkCryptoJs.DecryptionErrorCode.UnsignedSenderDevice:\n // We're refusing to decrypt due to not trusting the sender,\n // rather than failing to decrypt due to lack of keys, so we\n // don't need to keep it on the pending list.\n this.removeEventFromPendingList(event);\n throw new DecryptionError(\n DecryptionFailureCode.UNSIGNED_SENDER_DEVICE,\n \"The sender identity is not cross-signed.\",\n );\n\n // We don't map MismatchedIdentityKeys for now, as there is no equivalent in legacy.\n // Just put it on the `UNKNOWN_ERROR` bucket.\n default:\n throw new DecryptionError(DecryptionFailureCode.UNKNOWN_ERROR, err.description, errorDetails);\n }\n }\n\n public async getEncryptionInfoForEvent(event: MatrixEvent): Promise<EventEncryptionInfo | null> {\n if (!event.getClearContent() || event.isDecryptionFailure()) {\n // not successfully decrypted\n return null;\n }\n\n // special-case outgoing events, which the rust crypto-sdk will barf on\n if (event.status !== null) {\n return { shieldColour: EventShieldColour.NONE, shieldReason: null };\n }\n\n const encryptionInfo = await this.olmMachine.getRoomEventEncryptionInfo(\n stringifyEvent(event),\n new RustSdkCryptoJs.RoomId(event.getRoomId()!),\n );\n\n return rustEncryptionInfoToJsEncryptionInfo(this.logger, encryptionInfo);\n }\n\n /**\n * Look for events which are waiting for a given megolm session\n *\n * Returns a list of events which were encrypted by `session` and could not be decrypted\n */\n public getEventsPendingRoomKey(roomId: string, sessionId: string): MatrixEvent[] {\n const roomPendingEvents = this.eventsPendingKey.get(roomId);\n if (!roomPendingEvents) return [];\n\n const sessionPendingEvents = roomPendingEvents.get(sessionId);\n if (!sessionPendingEvents) return [];\n\n return [...sessionPendingEvents];\n }\n\n /**\n * Add an event to the list of those awaiting their session keys.\n */\n private addEventToPendingList(event: MatrixEvent): void {\n const roomId = event.getRoomId();\n // We shouldn't have events without a room id here.\n if (!roomId) return;\n\n const roomPendingEvents = this.eventsPendingKey.getOrCreate(roomId);\n const sessionPendingEvents = roomPendingEvents.getOrCreate(event.getWireContent().session_id);\n sessionPendingEvents.add(event);\n }\n\n /**\n * Remove an event from the list of those awaiting their session keys.\n */\n private removeEventFromPendingList(event: MatrixEvent): void {\n const roomId = event.getRoomId();\n if (!roomId) return;\n\n const roomPendingEvents = this.eventsPendingKey.getOrCreate(roomId);\n if (!roomPendingEvents) return;\n\n const sessionPendingEvents = roomPendingEvents.get(event.getWireContent().session_id);\n if (!sessionPendingEvents) return;\n\n sessionPendingEvents.delete(event);\n\n // also clean up the higher-level maps if they are now empty\n if (sessionPendingEvents.size === 0) {\n roomPendingEvents.delete(event.getWireContent().session_id);\n if (roomPendingEvents.size === 0) {\n this.eventsPendingKey.delete(roomId);\n }\n }\n }\n}\n\nfunction stringifyEvent(event: MatrixEvent): string {\n return JSON.stringify({\n event_id: event.getId(),\n type: event.getWireType(),\n sender: event.getSender(),\n state_key: event.getStateKey(),\n content: event.getWireContent(),\n origin_server_ts: event.getTs(),\n });\n}\n\nfunction rustEncryptionInfoToJsEncryptionInfo(\n logger: Logger,\n encryptionInfo: RustSdkCryptoJs.EncryptionInfo | undefined,\n): EventEncryptionInfo | null {\n if (encryptionInfo === undefined) {\n // not decrypted here\n return null;\n }\n\n // TODO: use strict shield semantics.\n const shieldState = encryptionInfo.shieldState(false);\n\n let shieldColour: EventShieldColour;\n switch (shieldState.color) {\n case RustSdkCryptoJs.ShieldColor.Grey:\n shieldColour = EventShieldColour.GREY;\n break;\n case RustSdkCryptoJs.ShieldColor.None:\n shieldColour = EventShieldColour.NONE;\n break;\n default:\n shieldColour = EventShieldColour.RED;\n }\n\n let shieldReason: EventShieldReason | null;\n switch (shieldState.code) {\n case undefined:\n case null:\n shieldReason = null;\n break;\n case RustSdkCryptoJs.ShieldStateCode.AuthenticityNotGuaranteed:\n shieldReason = EventShieldReason.AUTHENTICITY_NOT_GUARANTEED;\n break;\n case RustSdkCryptoJs.ShieldStateCode.UnknownDevice:\n shieldReason = EventShieldReason.UNKNOWN_DEVICE;\n break;\n case RustSdkCryptoJs.ShieldStateCode.UnsignedDevice:\n shieldReason = EventShieldReason.UNSIGNED_DEVICE;\n break;\n case RustSdkCryptoJs.ShieldStateCode.UnverifiedIdentity:\n shieldReason = EventShieldReason.UNVERIFIED_IDENTITY;\n break;\n case RustSdkCryptoJs.ShieldStateCode.VerificationViolation:\n shieldReason = EventShieldReason.VERIFICATION_VIOLATION;\n break;\n case RustSdkCryptoJs.ShieldStateCode.MismatchedSender:\n shieldReason = EventShieldReason.MISMATCHED_SENDER;\n break;\n default:\n shieldReason = EventShieldReason.UNKNOWN;\n break;\n }\n\n return { shieldColour, shieldReason };\n}\n\ninterface RoomKeyBundleMessage {\n type: \"m.room_key_bundle\" | \"io.element.msc4268.room_key_bundle\";\n content: {\n room_id: string;\n };\n}\n\n/**\n * Determines if the given payload is a RoomKeyBundleMessage.\n *\n * A RoomKeyBundleMessage is identified by having a specific message type\n * (\"m.room_key_bundle\") and a valid room_id in its content.\n *\n * @param message - The received to-device message to check.\n * @returns True if the payload matches the RoomKeyBundleMessage structure, false otherwise.\n */\nfunction isRoomKeyBundleMessage(message: IToDeviceEvent): message is IToDeviceEvent & RoomKeyBundleMessage {\n return (\n (message.type === \"io.element.msc4268.room_key_bundle\" || message.type === \"m.room_key_bundle\") &&\n typeof message.content.room_id === \"string\"\n );\n}\n\ntype CryptoEvents = (typeof CryptoEvent)[keyof typeof CryptoEvent];\ntype RustCryptoEvents = Exclude<CryptoEvents, CryptoEvent.LegacyCryptoStoreMigrationProgress>;\n"],"mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,WAAW,MAAM,cAAc;AACtC,OAAO,KAAKC,eAAe,MAAM,oCAAoC;AAGrE,SAASC,eAAe,QAAQ,yBAAyB;AAGzD,SAA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retStorageKey, type ServerSideSecretStorage } from "../secret-storage.ts";
|
|
2
|
+
/**
|
|
3
|
+
* Check that the private cross signing keys (master, self signing, user signing) are stored in the secret storage and encrypted with the default secret storage key.
|
|
4
|
+
*
|
|
5
|
+
* @param secretStorage - The secret store using account data
|
|
6
|
+
* @returns True if the cross-signing keys are all stored and encrypted with the same secret storage key.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare function secretStorageContainsCrossSigningKeys(secretStorage: ServerSideSecretStorage): Promise<boolean>;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* Check that the secret storage can access the given secrets using the default key.
|
|
14
|
+
*
|
|
15
|
+
* @param secretStorage - The secret store using account data
|
|
16
|
+
* @param secretNames - The secret names to check
|
|
17
|
+
* @returns True if all the given secrets are accessible and encrypted with the given key.
|
|
18
|
+
*
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare function secretStorageCanAccessSecrets(secretStorage: ServerSideSecretStorage, secretNames: SecretStorageKey[]): Promise<boolean>;
|
|
22
|
+
//# sourceMappingURL=secret-storage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-storage.d.ts","sourceRoot":"","sources":["../../src/rust-crypto/secret-storage.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAE3F;;;;;;;GAOG;AACH,wBAAsB,qCAAqC,CAAC,aAAa,EAAE,uBAAuB,GAAG,OAAO,CAAC,OAAO,CAAC,CAMpH;AAED;;;;;;;;;GASG;AACH,wBAAsB,6BAA6B,CAC/C,aAAa,EAAE,uBAAuB,EACtC,WAAW,EAAE,gBAAgB,EAAE,GAChC,OAAO,CAAC,OAAO,CAAC,CAYlB"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2023 The Matrix.org Foundation C.I.C.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Check that the private cross signing keys (master, self signing, user signing) are stored in the secret storage and encrypted with the default secret storage key.
|
|
20
|
+
*
|
|
21
|
+
* @param secretStorage - The secret store using account data
|
|
22
|
+
* @returns True if the cross-signing keys are all stored and encrypted with the same secret storage key.
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
*/
|
|
26
|
+
export function secretStorageContainsCrossSigningKeys(_x) {
|
|
27
|
+
return _secretStorageContainsCrossSigningKeys.apply(this, arguments);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* Check that the secret storage can access the given secrets using the default key.
|
|
33
|
+
*
|
|
34
|
+
* @param secretStorage - The secret store using account data
|
|
35
|
+
* @param secretNames - The secret names to check
|
|
36
|
+
* @returns True if all the given secrets are accessible and encrypted with the given key.
|
|
37
|
+
*
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
function _secretStorageContainsCrossSigningKeys() {
|
|
41
|
+
_secretStorageContainsCrossSigningKeys = _asyncToGenerator(function* (secretStorage) {
|
|
42
|
+
return secretStorageCanAccessSecrets(secretStorage, ["m.cross_signing.master", "m.cross_signing.user_signing", "m.cross_signing.self_signing"]);
|
|
43
|
+
});
|
|
44
|
+
return _secretStorageContainsCrossSigningKeys.apply(this, arguments);
|
|
45
|
+
}
|
|
46
|
+
export function secretStorageCanAccessSecrets(_x2, _x3) {
|
|
47
|
+
return _secretStorageCanAccessSecrets.apply(this, arguments);
|
|
48
|
+
}
|
|
49
|
+
function _secretStorageCanAccessSecrets() {
|
|
50
|
+
_secretStorageCanAccessSecrets = _asyncToGenerator(function* (secretStorage, secretNames) {
|
|
51
|
+
var defaultKeyId = yield secretStorage.getDefaultKeyId();
|
|
52
|
+
if (!defaultKeyId) return false;
|
|
53
|
+
for (var secretName of secretNames) {
|
|
54
|
+
// check which keys this particular secret is encrypted with
|
|
55
|
+
var record = (yield secretStorage.isStored(secretName)) || {};
|
|
56
|
+
// if it's not encrypted with the right key, there is no point continuing
|
|
57
|
+
if (!(defaultKeyId in record)) return false;
|
|
58
|
+
}
|
|
59
|
+
return true;
|
|
60
|
+
});
|
|
61
|
+
return _secretStorageCanAccessSecrets.apply(this, arguments);
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=secret-storage.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secret-storage.js","names":["secretStorageContainsCrossSigningKeys","_x","_secretStorageContainsCrossSigningKeys","apply","arguments","_asyncToGenerator","secretStorage","secretStorageCanAccessSecrets","_x2","_x3","_secretStorageCanAccessSecrets","secretNames","defaultKeyId","getDefaultKeyId","secretName","record","isStored"],"sources":["../../src/rust-crypto/secret-storage.ts"],"sourcesContent":["/*\nCopyright 2023 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nimport { type SecretStorageKey, type ServerSideSecretStorage } from \"../secret-storage.ts\";\n\n/**\n * Check that the private cross signing keys (master, self signing, user signing) are stored in the secret storage and encrypted with the default secret storage key.\n *\n * @param secretStorage - The secret store using account data\n * @returns True if the cross-signing keys are all stored and encrypted with the same secret storage key.\n *\n * @internal\n */\nexport async function secretStorageContainsCrossSigningKeys(secretStorage: ServerSideSecretStorage): Promise<boolean> {\n return secretStorageCanAccessSecrets(secretStorage, [\n \"m.cross_signing.master\",\n \"m.cross_signing.user_signing\",\n \"m.cross_signing.self_signing\",\n ]);\n}\n\n/**\n *\n * Check that the secret storage can access the given secrets using the default key.\n *\n * @param secretStorage - The secret store using account data\n * @param secretNames - The secret names to check\n * @returns True if all the given secrets are accessible and encrypted with the given key.\n *\n * @internal\n */\nexport async function secretStorageCanAccessSecrets(\n secretStorage: ServerSideSecretStorage,\n secretNames: SecretStorageKey[],\n): Promise<boolean> {\n const defaultKeyId = await secretStorage.getDefaultKeyId();\n if (!defaultKeyId) return false;\n\n for (const secretName of secretNames) {\n // check which keys this particular secret is encrypted with\n const record = (await secretStorage.isStored(secretName)) || {};\n // if it's not encrypted with the right key, there is no point continuing\n if (!(defaultKeyId in record)) return false;\n }\n\n return true;\n}\n"],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,gBAAsBA,qCAAqCA,CAAAC,EAAA;EAAA,OAAAC,sCAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;;AAQ3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AATA,SAAAF,uCAAA;EAAAA,sCAAA,GAAAG,iBAAA,CARO,WAAqDC,aAAsC,EAAoB;IAClH,OAAOC,6BAA6B,CAACD,aAAa,EAAE,CAChD,wBAAwB,EACxB,8BAA8B,EAC9B,8BAA8B,CACjC,CAAC;EACN,CAAC;EAAA,OAAAJ,sCAAA,CAAAC,KAAA,OAAAC,SAAA;AAAA;AAYD,gBAAsBG,6BAA6BA,CAAAC,GAAA,EAAAC,GAAA;EAAA,OAAAC,8BAAA,CAAAP,KAAA,OAAAC,SAAA;AAAA;AAelD,SAAAM,+BAAA;EAAAA,8BAAA,GAAAL,iBAAA,CAfM,WACHC,aAAsC,EACtCK,WAA+B,EACf;IAChB,IAAMC,YAAY,SAASN,aAAa,CAACO,eAAe,CAAC,CAAC;IAC1D,IAAI,CAACD,YAAY,EAAE,OAAO,KAAK;IAE/B,KAAK,IAAME,UAAU,IAAIH,WAAW,EAAE;MAClC;MACA,IAAMI,MAAM,GAAG,OAAOT,aAAa,CAACU,QAAQ,CAACF,UAAU,CAAC,KAAK,CAAC,CAAC;MAC/D;MACA,IAAI,EAAEF,YAAY,IAAIG,MAAM,CAAC,EAAE,OAAO,KAAK;IAC/C;IAEA,OAAO,IAAI;EACf,CAAC;EAAA,OAAAL,8BAAA,CAAAP,KAAA,OAAAC,SAAA;AAAA","ignoreList":[]}
|