@openclaw/matrix 2026.5.20 → 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,1950 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.ClientWidgetApi = void 0;
|
|
7
|
+
var _events = require("events");
|
|
8
|
+
var _PostmessageTransport = require("./transport/PostmessageTransport");
|
|
9
|
+
var _WidgetApiDirection = require("./interfaces/WidgetApiDirection");
|
|
10
|
+
var _WidgetApiAction = require("./interfaces/WidgetApiAction");
|
|
11
|
+
var _Capabilities = require("./interfaces/Capabilities");
|
|
12
|
+
var _ApiVersion = require("./interfaces/ApiVersion");
|
|
13
|
+
var _WidgetEventCapability = require("./models/WidgetEventCapability");
|
|
14
|
+
var _GetOpenIDAction = require("./interfaces/GetOpenIDAction");
|
|
15
|
+
var _SimpleObservable = require("./util/SimpleObservable");
|
|
16
|
+
var _Symbols = require("./Symbols");
|
|
17
|
+
var _UpdateDelayedEventAction = require("./interfaces/UpdateDelayedEventAction");
|
|
18
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
21
|
+
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
22
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
23
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
24
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
25
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
26
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
27
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
28
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) keys.push(key); return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, "catch": function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
29
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
30
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
31
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
32
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
33
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
34
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
36
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
37
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
38
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
39
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
40
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
41
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
42
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
43
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
44
|
+
function _asyncIterator(iterable) { var method, async, sync, retry = 2; for ("undefined" != typeof Symbol && (async = Symbol.asyncIterator, sync = Symbol.iterator); retry--;) { if (async && null != (method = iterable[async])) return method.call(iterable); if (sync && null != (method = iterable[sync])) return new AsyncFromSyncIterator(method.call(iterable)); async = "@@asyncIterator", sync = "@@iterator"; } throw new TypeError("Object is not async iterable"); }
|
|
45
|
+
function AsyncFromSyncIterator(s) { function AsyncFromSyncIteratorContinuation(r) { if (Object(r) !== r) return Promise.reject(new TypeError(r + " is not an object.")); var done = r.done; return Promise.resolve(r.value).then(function (value) { return { value: value, done: done }; }); } return AsyncFromSyncIterator = function AsyncFromSyncIterator(s) { this.s = s, this.n = s.next; }, AsyncFromSyncIterator.prototype = { s: null, n: null, next: function next() { return AsyncFromSyncIteratorContinuation(this.n.apply(this.s, arguments)); }, "return": function _return(value) { var ret = this.s["return"]; return void 0 === ret ? Promise.resolve({ value: value, done: !0 }) : AsyncFromSyncIteratorContinuation(ret.apply(this.s, arguments)); }, "throw": function _throw(value) { var thr = this.s["return"]; return void 0 === thr ? Promise.reject(value) : AsyncFromSyncIteratorContinuation(thr.apply(this.s, arguments)); } }, new AsyncFromSyncIterator(s); } /*
|
|
46
|
+
* Copyright 2020 - 2024 The Matrix.org Foundation C.I.C.
|
|
47
|
+
*
|
|
48
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
49
|
+
* you may not use this file except in compliance with the License.
|
|
50
|
+
* You may obtain a copy of the License at
|
|
51
|
+
*
|
|
52
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
53
|
+
*
|
|
54
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
55
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
56
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
57
|
+
* See the License for the specific language governing permissions and
|
|
58
|
+
* limitations under the License.
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* API handler for the client side of widgets. This raises events
|
|
62
|
+
* for each action received as `action:${action}` (eg: "action:screenshot").
|
|
63
|
+
* Default handling can be prevented by using preventDefault() on the
|
|
64
|
+
* raised event. The default handling varies for each action: ones
|
|
65
|
+
* which the SDK can handle safely are acknowledged appropriately and
|
|
66
|
+
* ones which are unhandled (custom or require the client to do something)
|
|
67
|
+
* are rejected with an error.
|
|
68
|
+
*
|
|
69
|
+
* Events which are preventDefault()ed must reply using the transport.
|
|
70
|
+
* The events raised will have a default of an IWidgetApiRequest
|
|
71
|
+
* interface.
|
|
72
|
+
*
|
|
73
|
+
* When the ClientWidgetApi is ready to start sending requests, it will
|
|
74
|
+
* raise a "ready" CustomEvent. After the ready event fires, actions can
|
|
75
|
+
* be sent and the transport will be ready.
|
|
76
|
+
*
|
|
77
|
+
* When the widget has indicated it has loaded, this class raises a
|
|
78
|
+
* "preparing" CustomEvent. The preparing event does not indicate that
|
|
79
|
+
* the widget is ready to receive communications - that is signified by
|
|
80
|
+
* the ready event exclusively.
|
|
81
|
+
*
|
|
82
|
+
* This class only handles one widget at a time.
|
|
83
|
+
*/
|
|
84
|
+
var ClientWidgetApi = /*#__PURE__*/function (_EventEmitter) {
|
|
85
|
+
_inherits(ClientWidgetApi, _EventEmitter);
|
|
86
|
+
var _super = _createSuper(ClientWidgetApi);
|
|
87
|
+
/**
|
|
88
|
+
* Creates a new client widget API. This will instantiate the transport
|
|
89
|
+
* and start everything. When the iframe is loaded under the widget's
|
|
90
|
+
* conditions, a "ready" event will be raised.
|
|
91
|
+
* @param {Widget} widget The widget to communicate with.
|
|
92
|
+
* @param {HTMLIFrameElement} iframe The iframe the widget is in.
|
|
93
|
+
* @param {WidgetDriver} driver The driver for this widget/client.
|
|
94
|
+
*/
|
|
95
|
+
function ClientWidgetApi(widget, iframe, driver) {
|
|
96
|
+
var _this;
|
|
97
|
+
_classCallCheck(this, ClientWidgetApi);
|
|
98
|
+
_this = _super.call(this);
|
|
99
|
+
_this.widget = widget;
|
|
100
|
+
_this.driver = driver;
|
|
101
|
+
_defineProperty(_assertThisInitialized(_this), "transport", void 0);
|
|
102
|
+
_defineProperty(_assertThisInitialized(_this), "cachedWidgetVersions", null);
|
|
103
|
+
// contentLoadedActionSent is used to check that only one ContentLoaded request is send.
|
|
104
|
+
_defineProperty(_assertThisInitialized(_this), "contentLoadedActionSent", false);
|
|
105
|
+
_defineProperty(_assertThisInitialized(_this), "allowedCapabilities", new Set());
|
|
106
|
+
_defineProperty(_assertThisInitialized(_this), "allowedEvents", []);
|
|
107
|
+
_defineProperty(_assertThisInitialized(_this), "isStopped", false);
|
|
108
|
+
_defineProperty(_assertThisInitialized(_this), "turnServers", null);
|
|
109
|
+
_defineProperty(_assertThisInitialized(_this), "contentLoadedWaitTimer", void 0);
|
|
110
|
+
// Stores pending requests to push a room's state to the widget
|
|
111
|
+
_defineProperty(_assertThisInitialized(_this), "pushRoomStateTasks", new Set());
|
|
112
|
+
// Room ID → event type → state key → events to be pushed
|
|
113
|
+
_defineProperty(_assertThisInitialized(_this), "pushRoomStateResult", new Map());
|
|
114
|
+
_defineProperty(_assertThisInitialized(_this), "flushRoomStateTask", null);
|
|
115
|
+
_defineProperty(_assertThisInitialized(_this), "viewedRoomId", null);
|
|
116
|
+
if (!(iframe !== null && iframe !== void 0 && iframe.contentWindow)) {
|
|
117
|
+
throw new Error("No iframe supplied");
|
|
118
|
+
}
|
|
119
|
+
if (!widget) {
|
|
120
|
+
throw new Error("Invalid widget");
|
|
121
|
+
}
|
|
122
|
+
if (!driver) {
|
|
123
|
+
throw new Error("Invalid driver");
|
|
124
|
+
}
|
|
125
|
+
_this.transport = new _PostmessageTransport.PostmessageTransport(_WidgetApiDirection.WidgetApiDirection.ToWidget, widget.id, iframe.contentWindow, globalThis);
|
|
126
|
+
_this.transport.targetOrigin = widget.origin;
|
|
127
|
+
_this.transport.on("message", _this.handleMessage.bind(_assertThisInitialized(_this)));
|
|
128
|
+
iframe.addEventListener("load", _this.onIframeLoad.bind(_assertThisInitialized(_this)));
|
|
129
|
+
_this.transport.start();
|
|
130
|
+
return _this;
|
|
131
|
+
}
|
|
132
|
+
_createClass(ClientWidgetApi, [{
|
|
133
|
+
key: "hasCapability",
|
|
134
|
+
value: function hasCapability(capability) {
|
|
135
|
+
return this.allowedCapabilities.has(capability);
|
|
136
|
+
}
|
|
137
|
+
}, {
|
|
138
|
+
key: "canUseRoomTimeline",
|
|
139
|
+
value: function canUseRoomTimeline(roomId) {
|
|
140
|
+
return this.hasCapability("org.matrix.msc2762.timeline:".concat(_Symbols.Symbols.AnyRoom)) || this.hasCapability("org.matrix.msc2762.timeline:".concat(roomId));
|
|
141
|
+
}
|
|
142
|
+
}, {
|
|
143
|
+
key: "canSendRoomEvent",
|
|
144
|
+
value: function canSendRoomEvent(eventType) {
|
|
145
|
+
var msgtype = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
146
|
+
return this.allowedEvents.some(function (e) {
|
|
147
|
+
return e.matchesAsRoomEvent(_WidgetEventCapability.EventDirection.Send, eventType, msgtype);
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}, {
|
|
151
|
+
key: "canSendStateEvent",
|
|
152
|
+
value: function canSendStateEvent(eventType, stateKey) {
|
|
153
|
+
return this.allowedEvents.some(function (e) {
|
|
154
|
+
return e.matchesAsStateEvent(_WidgetEventCapability.EventDirection.Send, eventType, stateKey);
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
}, {
|
|
158
|
+
key: "canSendToDeviceEvent",
|
|
159
|
+
value: function canSendToDeviceEvent(eventType) {
|
|
160
|
+
return this.allowedEvents.some(function (e) {
|
|
161
|
+
return e.matchesAsToDeviceEvent(_WidgetEventCapability.EventDirection.Send, eventType);
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
}, {
|
|
165
|
+
key: "canReceiveRoomEvent",
|
|
166
|
+
value: function canReceiveRoomEvent(eventType) {
|
|
167
|
+
var msgtype = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;
|
|
168
|
+
return this.allowedEvents.some(function (e) {
|
|
169
|
+
return e.matchesAsRoomEvent(_WidgetEventCapability.EventDirection.Receive, eventType, msgtype);
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
key: "canReceiveStateEvent",
|
|
174
|
+
value: function canReceiveStateEvent(eventType, stateKey) {
|
|
175
|
+
return this.allowedEvents.some(function (e) {
|
|
176
|
+
return e.matchesAsStateEvent(_WidgetEventCapability.EventDirection.Receive, eventType, stateKey);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
}, {
|
|
180
|
+
key: "canReceiveToDeviceEvent",
|
|
181
|
+
value: function canReceiveToDeviceEvent(eventType) {
|
|
182
|
+
return this.allowedEvents.some(function (e) {
|
|
183
|
+
return e.matchesAsToDeviceEvent(_WidgetEventCapability.EventDirection.Receive, eventType);
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}, {
|
|
187
|
+
key: "canReceiveRoomAccountData",
|
|
188
|
+
value: function canReceiveRoomAccountData(eventType) {
|
|
189
|
+
return this.allowedEvents.some(function (e) {
|
|
190
|
+
return e.matchesAsRoomAccountData(_WidgetEventCapability.EventDirection.Receive, eventType);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
}, {
|
|
194
|
+
key: "stop",
|
|
195
|
+
value: function stop() {
|
|
196
|
+
this.isStopped = true;
|
|
197
|
+
this.transport.stop();
|
|
198
|
+
}
|
|
199
|
+
}, {
|
|
200
|
+
key: "getWidgetVersions",
|
|
201
|
+
value: function () {
|
|
202
|
+
var _getWidgetVersions = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
203
|
+
var r;
|
|
204
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
205
|
+
while (1) switch (_context.prev = _context.next) {
|
|
206
|
+
case 0:
|
|
207
|
+
if (!Array.isArray(this.cachedWidgetVersions)) {
|
|
208
|
+
_context.next = 2;
|
|
209
|
+
break;
|
|
210
|
+
}
|
|
211
|
+
return _context.abrupt("return", this.cachedWidgetVersions);
|
|
212
|
+
case 2:
|
|
213
|
+
_context.prev = 2;
|
|
214
|
+
_context.next = 5;
|
|
215
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.SupportedApiVersions, {});
|
|
216
|
+
case 5:
|
|
217
|
+
r = _context.sent;
|
|
218
|
+
this.cachedWidgetVersions = r.supported_versions;
|
|
219
|
+
return _context.abrupt("return", r.supported_versions);
|
|
220
|
+
case 10:
|
|
221
|
+
_context.prev = 10;
|
|
222
|
+
_context.t0 = _context["catch"](2);
|
|
223
|
+
console.warn("non-fatal error getting supported widget versions: ", _context.t0);
|
|
224
|
+
return _context.abrupt("return", []);
|
|
225
|
+
case 14:
|
|
226
|
+
case "end":
|
|
227
|
+
return _context.stop();
|
|
228
|
+
}
|
|
229
|
+
}, _callee, this, [[2, 10]]);
|
|
230
|
+
}));
|
|
231
|
+
function getWidgetVersions() {
|
|
232
|
+
return _getWidgetVersions.apply(this, arguments);
|
|
233
|
+
}
|
|
234
|
+
return getWidgetVersions;
|
|
235
|
+
}()
|
|
236
|
+
}, {
|
|
237
|
+
key: "beginCapabilities",
|
|
238
|
+
value: function beginCapabilities() {
|
|
239
|
+
var _this2 = this;
|
|
240
|
+
// widget has loaded - tell all the listeners that
|
|
241
|
+
this.emit("preparing");
|
|
242
|
+
var requestedCaps;
|
|
243
|
+
this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.Capabilities, {}).then(function (caps) {
|
|
244
|
+
requestedCaps = caps.capabilities;
|
|
245
|
+
return _this2.driver.validateCapabilities(new Set(caps.capabilities));
|
|
246
|
+
}).then(function (allowedCaps) {
|
|
247
|
+
_this2.allowCapabilities(_toConsumableArray(allowedCaps), requestedCaps);
|
|
248
|
+
_this2.emit("ready");
|
|
249
|
+
})["catch"](function (e) {
|
|
250
|
+
_this2.emit("error:preparing", e);
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
}, {
|
|
254
|
+
key: "allowCapabilities",
|
|
255
|
+
value: function allowCapabilities(allowed, requested) {
|
|
256
|
+
var _this$allowedEvents,
|
|
257
|
+
_this3 = this;
|
|
258
|
+
console.log("Widget ".concat(this.widget.id, " is allowed capabilities:"), allowed);
|
|
259
|
+
var _iterator2 = _createForOfIteratorHelper(allowed),
|
|
260
|
+
_step2;
|
|
261
|
+
try {
|
|
262
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
263
|
+
var c = _step2.value;
|
|
264
|
+
this.allowedCapabilities.add(c);
|
|
265
|
+
}
|
|
266
|
+
} catch (err) {
|
|
267
|
+
_iterator2.e(err);
|
|
268
|
+
} finally {
|
|
269
|
+
_iterator2.f();
|
|
270
|
+
}
|
|
271
|
+
var allowedEvents = _WidgetEventCapability.WidgetEventCapability.findEventCapabilities(allowed);
|
|
272
|
+
(_this$allowedEvents = this.allowedEvents).push.apply(_this$allowedEvents, _toConsumableArray(allowedEvents));
|
|
273
|
+
this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.NotifyCapabilities, {
|
|
274
|
+
requested: requested,
|
|
275
|
+
approved: Array.from(this.allowedCapabilities)
|
|
276
|
+
})["catch"](function (e) {
|
|
277
|
+
console.warn("non-fatal error notifying widget of approved capabilities:", e);
|
|
278
|
+
}).then(function () {
|
|
279
|
+
_this3.emit("capabilitiesNotified");
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
// Push the initial room state for all rooms with a timeline capability
|
|
283
|
+
var _iterator3 = _createForOfIteratorHelper(allowed),
|
|
284
|
+
_step3;
|
|
285
|
+
try {
|
|
286
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
287
|
+
var _c = _step3.value;
|
|
288
|
+
if ((0, _Capabilities.isTimelineCapability)(_c)) {
|
|
289
|
+
var roomId = (0, _Capabilities.getTimelineRoomIDFromCapability)(_c);
|
|
290
|
+
if (roomId === _Symbols.Symbols.AnyRoom) {
|
|
291
|
+
var _iterator5 = _createForOfIteratorHelper(this.driver.getKnownRooms()),
|
|
292
|
+
_step5;
|
|
293
|
+
try {
|
|
294
|
+
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
295
|
+
var _roomId = _step5.value;
|
|
296
|
+
this.pushRoomState(_roomId);
|
|
297
|
+
}
|
|
298
|
+
} catch (err) {
|
|
299
|
+
_iterator5.e(err);
|
|
300
|
+
} finally {
|
|
301
|
+
_iterator5.f();
|
|
302
|
+
}
|
|
303
|
+
} else {
|
|
304
|
+
this.pushRoomState(roomId);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
} catch (err) {
|
|
309
|
+
_iterator3.e(err);
|
|
310
|
+
} finally {
|
|
311
|
+
_iterator3.f();
|
|
312
|
+
}
|
|
313
|
+
if (allowed.includes(_Capabilities.MatrixCapabilities.MSC4407ReceiveStickyEvent)) {
|
|
314
|
+
console.debug("Widget ".concat(this.widget.id, " is allowed to receive sticky events, check current sticky state."));
|
|
315
|
+
// If the widget can receive sticky events, push all sticky events in known rooms now.
|
|
316
|
+
// Sticky events are like a state, and passed history is needed to get the full state.
|
|
317
|
+
var roomIds = allowed.filter(function (capability) {
|
|
318
|
+
return (0, _Capabilities.isTimelineCapability)(capability);
|
|
319
|
+
}).map(function (timelineCapability) {
|
|
320
|
+
return (0, _Capabilities.getTimelineRoomIDFromCapability)(timelineCapability);
|
|
321
|
+
}).flatMap(function (roomIdOrWildcard) {
|
|
322
|
+
if (roomIdOrWildcard === _Symbols.Symbols.AnyRoom) {
|
|
323
|
+
// Do we support getting sticky state for any room?
|
|
324
|
+
return _this3.driver.getKnownRooms();
|
|
325
|
+
} else {
|
|
326
|
+
return roomIdOrWildcard;
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
console.debug("Widget ".concat(this.widget.id, " is allowed to receive sticky events in rooms:"), roomIds);
|
|
330
|
+
var _iterator4 = _createForOfIteratorHelper(roomIds),
|
|
331
|
+
_step4;
|
|
332
|
+
try {
|
|
333
|
+
var _loop = function _loop() {
|
|
334
|
+
var roomId = _step4.value;
|
|
335
|
+
_this3.pushStickyState(roomId)["catch"](function (err) {
|
|
336
|
+
console.error("Failed to push sticky events to widget ".concat(_this3.widget.id, " for room ").concat(roomId, ":"), err);
|
|
337
|
+
});
|
|
338
|
+
};
|
|
339
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
340
|
+
_loop();
|
|
341
|
+
}
|
|
342
|
+
} catch (err) {
|
|
343
|
+
_iterator4.e(err);
|
|
344
|
+
} finally {
|
|
345
|
+
_iterator4.f();
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
// If new events are allowed and the currently viewed room isn't covered
|
|
350
|
+
// by a timeline capability, then we know that there could be some state
|
|
351
|
+
// in the viewed room that the widget hasn't learned about yet- push it.
|
|
352
|
+
if (allowedEvents.length > 0 && this.viewedRoomId !== null && !this.canUseRoomTimeline(this.viewedRoomId)) {
|
|
353
|
+
this.pushRoomState(this.viewedRoomId);
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}, {
|
|
357
|
+
key: "onIframeLoad",
|
|
358
|
+
value: function onIframeLoad(ev) {
|
|
359
|
+
if (this.widget.waitForIframeLoad) {
|
|
360
|
+
// If the widget is set to waitForIframeLoad the capabilities immediately get setup after load.
|
|
361
|
+
// The client does not wait for the ContentLoaded action.
|
|
362
|
+
this.beginCapabilities();
|
|
363
|
+
} else {
|
|
364
|
+
// Reaching this means, that the Iframe got reloaded/loaded and
|
|
365
|
+
// the clientApi is awaiting the FIRST ContentLoaded action.
|
|
366
|
+
console.log("waitForIframeLoad is false: waiting for widget to send contentLoaded");
|
|
367
|
+
this.contentLoadedWaitTimer = setTimeout(function () {
|
|
368
|
+
console.error("Widget specified waitForIframeLoad=false but timed out waiting for contentLoaded event!");
|
|
369
|
+
}, 10000);
|
|
370
|
+
this.contentLoadedActionSent = false;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "handleContentLoadedAction",
|
|
375
|
+
value: function handleContentLoadedAction(action) {
|
|
376
|
+
if (this.contentLoadedWaitTimer !== undefined) {
|
|
377
|
+
clearTimeout(this.contentLoadedWaitTimer);
|
|
378
|
+
this.contentLoadedWaitTimer = undefined;
|
|
379
|
+
}
|
|
380
|
+
if (this.contentLoadedActionSent) {
|
|
381
|
+
throw new Error("Improper sequence: ContentLoaded Action can only be sent once after the widget loaded " + "and should only be used if waitForIframeLoad is false (default=true)");
|
|
382
|
+
}
|
|
383
|
+
if (this.widget.waitForIframeLoad) {
|
|
384
|
+
this.transport.reply(action, {
|
|
385
|
+
error: {
|
|
386
|
+
message: "Improper sequence: not expecting ContentLoaded event if " + "waitForIframeLoad is true (default=true)"
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
} else {
|
|
390
|
+
this.transport.reply(action, {});
|
|
391
|
+
this.beginCapabilities();
|
|
392
|
+
}
|
|
393
|
+
this.contentLoadedActionSent = true;
|
|
394
|
+
}
|
|
395
|
+
}, {
|
|
396
|
+
key: "replyVersions",
|
|
397
|
+
value: function replyVersions(request) {
|
|
398
|
+
this.transport.reply(request, {
|
|
399
|
+
supported_versions: _ApiVersion.CurrentApiVersions
|
|
400
|
+
});
|
|
401
|
+
}
|
|
402
|
+
}, {
|
|
403
|
+
key: "supportsUpdateState",
|
|
404
|
+
value: function () {
|
|
405
|
+
var _supportsUpdateState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
406
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
407
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
408
|
+
case 0:
|
|
409
|
+
_context2.next = 2;
|
|
410
|
+
return this.getWidgetVersions();
|
|
411
|
+
case 2:
|
|
412
|
+
return _context2.abrupt("return", _context2.sent.includes(_ApiVersion.UnstableApiVersion.MSC2762_UPDATE_STATE));
|
|
413
|
+
case 3:
|
|
414
|
+
case "end":
|
|
415
|
+
return _context2.stop();
|
|
416
|
+
}
|
|
417
|
+
}, _callee2, this);
|
|
418
|
+
}));
|
|
419
|
+
function supportsUpdateState() {
|
|
420
|
+
return _supportsUpdateState.apply(this, arguments);
|
|
421
|
+
}
|
|
422
|
+
return supportsUpdateState;
|
|
423
|
+
}()
|
|
424
|
+
}, {
|
|
425
|
+
key: "handleCapabilitiesRenegotiate",
|
|
426
|
+
value: function handleCapabilitiesRenegotiate(request) {
|
|
427
|
+
var _request$data,
|
|
428
|
+
_this4 = this;
|
|
429
|
+
// acknowledge first
|
|
430
|
+
this.transport.reply(request, {});
|
|
431
|
+
var requested = ((_request$data = request.data) === null || _request$data === void 0 ? void 0 : _request$data.capabilities) || [];
|
|
432
|
+
var newlyRequested = new Set(requested.filter(function (r) {
|
|
433
|
+
return !_this4.hasCapability(r);
|
|
434
|
+
}));
|
|
435
|
+
if (newlyRequested.size === 0) {
|
|
436
|
+
// Nothing to do - skip validation
|
|
437
|
+
this.allowCapabilities([], []);
|
|
438
|
+
}
|
|
439
|
+
this.driver.validateCapabilities(newlyRequested).then(function (allowed) {
|
|
440
|
+
return _this4.allowCapabilities(_toConsumableArray(allowed), _toConsumableArray(newlyRequested));
|
|
441
|
+
});
|
|
442
|
+
}
|
|
443
|
+
}, {
|
|
444
|
+
key: "handleNavigate",
|
|
445
|
+
value: function handleNavigate(request) {
|
|
446
|
+
var _request$data2,
|
|
447
|
+
_this5 = this;
|
|
448
|
+
if (!this.hasCapability(_Capabilities.MatrixCapabilities.MSC2931Navigate)) {
|
|
449
|
+
return this.transport.reply(request, {
|
|
450
|
+
error: {
|
|
451
|
+
message: "Missing capability"
|
|
452
|
+
}
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
if (!((_request$data2 = request.data) !== null && _request$data2 !== void 0 && _request$data2.uri.startsWith("https://matrix.to/#"))) {
|
|
456
|
+
return this.transport.reply(request, {
|
|
457
|
+
error: {
|
|
458
|
+
message: "Invalid matrix.to URI"
|
|
459
|
+
}
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
var onErr = function onErr(e) {
|
|
463
|
+
console.error("[ClientWidgetApi] Failed to handle navigation: ", e);
|
|
464
|
+
_this5.handleDriverError(e, request, "Error handling navigation");
|
|
465
|
+
};
|
|
466
|
+
try {
|
|
467
|
+
this.driver.navigate(request.data.uri.toString())["catch"](function (e) {
|
|
468
|
+
return onErr(e);
|
|
469
|
+
}).then(function () {
|
|
470
|
+
return _this5.transport.reply(request, {});
|
|
471
|
+
});
|
|
472
|
+
} catch (e) {
|
|
473
|
+
return onErr(e);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
}, {
|
|
477
|
+
key: "handleOIDC",
|
|
478
|
+
value: function handleOIDC(request) {
|
|
479
|
+
var _this6 = this;
|
|
480
|
+
var phase = 1; // 1 = initial request, 2 = after user manual confirmation
|
|
481
|
+
|
|
482
|
+
var replyState = function replyState(state, credential) {
|
|
483
|
+
credential = credential || {};
|
|
484
|
+
if (phase > 1) {
|
|
485
|
+
return _this6.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.OpenIDCredentials, _objectSpread({
|
|
486
|
+
state: state,
|
|
487
|
+
original_request_id: request.requestId
|
|
488
|
+
}, credential));
|
|
489
|
+
} else {
|
|
490
|
+
return _this6.transport.reply(request, _objectSpread({
|
|
491
|
+
state: state
|
|
492
|
+
}, credential));
|
|
493
|
+
}
|
|
494
|
+
};
|
|
495
|
+
var replyError = function replyError(msg) {
|
|
496
|
+
console.error("[ClientWidgetApi] Failed to handle OIDC: ", msg);
|
|
497
|
+
if (phase > 1) {
|
|
498
|
+
// We don't have a way to indicate that a random error happened in this flow, so
|
|
499
|
+
// just block the attempt.
|
|
500
|
+
return replyState(_GetOpenIDAction.OpenIDRequestState.Blocked);
|
|
501
|
+
} else {
|
|
502
|
+
return _this6.transport.reply(request, {
|
|
503
|
+
error: {
|
|
504
|
+
message: msg
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
};
|
|
509
|
+
var observer = new _SimpleObservable.SimpleObservable(function (update) {
|
|
510
|
+
if (update.state === _GetOpenIDAction.OpenIDRequestState.PendingUserConfirmation && phase > 1) {
|
|
511
|
+
observer.close();
|
|
512
|
+
return replyError("client provided out-of-phase response to OIDC flow");
|
|
513
|
+
}
|
|
514
|
+
if (update.state === _GetOpenIDAction.OpenIDRequestState.PendingUserConfirmation) {
|
|
515
|
+
replyState(update.state);
|
|
516
|
+
phase++;
|
|
517
|
+
return;
|
|
518
|
+
}
|
|
519
|
+
if (update.state === _GetOpenIDAction.OpenIDRequestState.Allowed && !update.token) {
|
|
520
|
+
return replyError("client provided invalid OIDC token for an allowed request");
|
|
521
|
+
}
|
|
522
|
+
if (update.state === _GetOpenIDAction.OpenIDRequestState.Blocked) {
|
|
523
|
+
update.token = undefined; // just in case the client did something weird
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
observer.close();
|
|
527
|
+
return replyState(update.state, update.token);
|
|
528
|
+
});
|
|
529
|
+
this.driver.askOpenID(observer);
|
|
530
|
+
}
|
|
531
|
+
}, {
|
|
532
|
+
key: "handleReadRoomAccountData",
|
|
533
|
+
value: function handleReadRoomAccountData(request) {
|
|
534
|
+
var _this7 = this;
|
|
535
|
+
var events = this.driver.readRoomAccountData(request.data.type);
|
|
536
|
+
if (!this.canReceiveRoomAccountData(request.data.type)) {
|
|
537
|
+
return this.transport.reply(request, {
|
|
538
|
+
error: {
|
|
539
|
+
message: "Cannot read room account data of this type"
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
}
|
|
543
|
+
return events.then(function (evs) {
|
|
544
|
+
_this7.transport.reply(request, {
|
|
545
|
+
events: evs
|
|
546
|
+
});
|
|
547
|
+
});
|
|
548
|
+
}
|
|
549
|
+
}, {
|
|
550
|
+
key: "handleReadEvents",
|
|
551
|
+
value: function () {
|
|
552
|
+
var _handleReadEvents = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(request) {
|
|
553
|
+
var _this8 = this;
|
|
554
|
+
var askRoomIds, _iterator6, _step6, roomId, limit, since, stateKey, msgtype, _stateKey, events;
|
|
555
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
556
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
557
|
+
case 0:
|
|
558
|
+
if (request.data.type) {
|
|
559
|
+
_context3.next = 2;
|
|
560
|
+
break;
|
|
561
|
+
}
|
|
562
|
+
return _context3.abrupt("return", this.transport.reply(request, {
|
|
563
|
+
error: {
|
|
564
|
+
message: "Invalid request - missing event type"
|
|
565
|
+
}
|
|
566
|
+
}));
|
|
567
|
+
case 2:
|
|
568
|
+
if (!(request.data.limit !== undefined && (!request.data.limit || request.data.limit < 0))) {
|
|
569
|
+
_context3.next = 4;
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
return _context3.abrupt("return", this.transport.reply(request, {
|
|
573
|
+
error: {
|
|
574
|
+
message: "Invalid request - limit out of range"
|
|
575
|
+
}
|
|
576
|
+
}));
|
|
577
|
+
case 4:
|
|
578
|
+
if (!(request.data.room_ids === undefined)) {
|
|
579
|
+
_context3.next = 8;
|
|
580
|
+
break;
|
|
581
|
+
}
|
|
582
|
+
askRoomIds = this.viewedRoomId === null ? [] : [this.viewedRoomId];
|
|
583
|
+
_context3.next = 30;
|
|
584
|
+
break;
|
|
585
|
+
case 8:
|
|
586
|
+
if (!(request.data.room_ids === _Symbols.Symbols.AnyRoom)) {
|
|
587
|
+
_context3.next = 12;
|
|
588
|
+
break;
|
|
589
|
+
}
|
|
590
|
+
askRoomIds = this.driver.getKnownRooms().filter(function (roomId) {
|
|
591
|
+
return _this8.canUseRoomTimeline(roomId);
|
|
592
|
+
});
|
|
593
|
+
_context3.next = 30;
|
|
594
|
+
break;
|
|
595
|
+
case 12:
|
|
596
|
+
askRoomIds = request.data.room_ids;
|
|
597
|
+
_iterator6 = _createForOfIteratorHelper(askRoomIds);
|
|
598
|
+
_context3.prev = 14;
|
|
599
|
+
_iterator6.s();
|
|
600
|
+
case 16:
|
|
601
|
+
if ((_step6 = _iterator6.n()).done) {
|
|
602
|
+
_context3.next = 22;
|
|
603
|
+
break;
|
|
604
|
+
}
|
|
605
|
+
roomId = _step6.value;
|
|
606
|
+
if (this.canUseRoomTimeline(roomId)) {
|
|
607
|
+
_context3.next = 20;
|
|
608
|
+
break;
|
|
609
|
+
}
|
|
610
|
+
return _context3.abrupt("return", this.transport.reply(request, {
|
|
611
|
+
error: {
|
|
612
|
+
message: "Unable to access room timeline: ".concat(roomId)
|
|
613
|
+
}
|
|
614
|
+
}));
|
|
615
|
+
case 20:
|
|
616
|
+
_context3.next = 16;
|
|
617
|
+
break;
|
|
618
|
+
case 22:
|
|
619
|
+
_context3.next = 27;
|
|
620
|
+
break;
|
|
621
|
+
case 24:
|
|
622
|
+
_context3.prev = 24;
|
|
623
|
+
_context3.t0 = _context3["catch"](14);
|
|
624
|
+
_iterator6.e(_context3.t0);
|
|
625
|
+
case 27:
|
|
626
|
+
_context3.prev = 27;
|
|
627
|
+
_iterator6.f();
|
|
628
|
+
return _context3.finish(27);
|
|
629
|
+
case 30:
|
|
630
|
+
limit = request.data.limit || 0;
|
|
631
|
+
since = request.data.since;
|
|
632
|
+
stateKey = undefined;
|
|
633
|
+
msgtype = undefined;
|
|
634
|
+
if (!(request.data.state_key !== undefined)) {
|
|
635
|
+
_context3.next = 40;
|
|
636
|
+
break;
|
|
637
|
+
}
|
|
638
|
+
stateKey = request.data.state_key === true ? undefined : request.data.state_key.toString();
|
|
639
|
+
if (this.canReceiveStateEvent(request.data.type, (_stateKey = stateKey) !== null && _stateKey !== void 0 ? _stateKey : null)) {
|
|
640
|
+
_context3.next = 38;
|
|
641
|
+
break;
|
|
642
|
+
}
|
|
643
|
+
return _context3.abrupt("return", this.transport.reply(request, {
|
|
644
|
+
error: {
|
|
645
|
+
message: "Cannot read state events of this type"
|
|
646
|
+
}
|
|
647
|
+
}));
|
|
648
|
+
case 38:
|
|
649
|
+
_context3.next = 43;
|
|
650
|
+
break;
|
|
651
|
+
case 40:
|
|
652
|
+
msgtype = request.data.msgtype;
|
|
653
|
+
if (this.canReceiveRoomEvent(request.data.type, msgtype)) {
|
|
654
|
+
_context3.next = 43;
|
|
655
|
+
break;
|
|
656
|
+
}
|
|
657
|
+
return _context3.abrupt("return", this.transport.reply(request, {
|
|
658
|
+
error: {
|
|
659
|
+
message: "Cannot read room events of this type"
|
|
660
|
+
}
|
|
661
|
+
}));
|
|
662
|
+
case 43:
|
|
663
|
+
if (!(request.data.room_ids === undefined && askRoomIds.length === 0)) {
|
|
664
|
+
_context3.next = 50;
|
|
665
|
+
break;
|
|
666
|
+
}
|
|
667
|
+
// For backwards compatibility we still call the deprecated
|
|
668
|
+
// readRoomEvents and readStateEvents methods in case the client isn't
|
|
669
|
+
// letting us know the currently viewed room via setViewedRoomId
|
|
670
|
+
//
|
|
671
|
+
// This can be considered as a deprecated implementation.
|
|
672
|
+
// A driver should call `setViewedRoomId` on the widget messaging and implement the new readRoomState and readRoomTimeline
|
|
673
|
+
// Methods.
|
|
674
|
+
// This block makes sure that it is also possible to not use setViewedRoomId.
|
|
675
|
+
// readRoomTimeline and readRoomState are required however! Otherwise widget requests that include
|
|
676
|
+
// `room_ids` will fail.
|
|
677
|
+
console.warn("The widgetDriver uses deprecated behaviour:\n It does not set the viewedRoomId using `setViewedRoomId`");
|
|
678
|
+
_context3.next = 47;
|
|
679
|
+
return (
|
|
680
|
+
// This returns [] with the current driver of Element Web.
|
|
681
|
+
// Add default implementations of the `readRoomEvents` and `readStateEvents`
|
|
682
|
+
// methods to use `readRoomTimeline` and `readRoomState` if they are not overwritten.
|
|
683
|
+
request.data.state_key === undefined ? this.driver.readRoomEvents(request.data.type, msgtype, limit, null, since) : this.driver.readStateEvents(request.data.type, stateKey, limit, null)
|
|
684
|
+
);
|
|
685
|
+
case 47:
|
|
686
|
+
events = _context3.sent;
|
|
687
|
+
_context3.next = 68;
|
|
688
|
+
break;
|
|
689
|
+
case 50:
|
|
690
|
+
_context3.next = 52;
|
|
691
|
+
return this.supportsUpdateState();
|
|
692
|
+
case 52:
|
|
693
|
+
if (!_context3.sent) {
|
|
694
|
+
_context3.next = 58;
|
|
695
|
+
break;
|
|
696
|
+
}
|
|
697
|
+
_context3.next = 55;
|
|
698
|
+
return Promise.all(askRoomIds.map(function (roomId) {
|
|
699
|
+
return _this8.driver.readRoomTimeline(roomId, request.data.type, msgtype, stateKey, limit, since);
|
|
700
|
+
}));
|
|
701
|
+
case 55:
|
|
702
|
+
events = _context3.sent.flat(1);
|
|
703
|
+
_context3.next = 68;
|
|
704
|
+
break;
|
|
705
|
+
case 58:
|
|
706
|
+
if (!(request.data.state_key === undefined)) {
|
|
707
|
+
_context3.next = 64;
|
|
708
|
+
break;
|
|
709
|
+
}
|
|
710
|
+
_context3.next = 61;
|
|
711
|
+
return Promise.all(askRoomIds.map(function (roomId) {
|
|
712
|
+
return _this8.driver.readRoomTimeline(roomId, request.data.type, msgtype, stateKey, limit, since);
|
|
713
|
+
}));
|
|
714
|
+
case 61:
|
|
715
|
+
_context3.t1 = _context3.sent;
|
|
716
|
+
_context3.next = 67;
|
|
717
|
+
break;
|
|
718
|
+
case 64:
|
|
719
|
+
_context3.next = 66;
|
|
720
|
+
return Promise.all(askRoomIds.map(function (roomId) {
|
|
721
|
+
return _this8.driver.readRoomState(roomId, request.data.type, stateKey);
|
|
722
|
+
}));
|
|
723
|
+
case 66:
|
|
724
|
+
_context3.t1 = _context3.sent;
|
|
725
|
+
case 67:
|
|
726
|
+
events = _context3.t1.flat(1);
|
|
727
|
+
case 68:
|
|
728
|
+
this.transport.reply(request, {
|
|
729
|
+
events: events
|
|
730
|
+
});
|
|
731
|
+
case 69:
|
|
732
|
+
case "end":
|
|
733
|
+
return _context3.stop();
|
|
734
|
+
}
|
|
735
|
+
}, _callee3, this, [[14, 24, 27, 30]]);
|
|
736
|
+
}));
|
|
737
|
+
function handleReadEvents(_x) {
|
|
738
|
+
return _handleReadEvents.apply(this, arguments);
|
|
739
|
+
}
|
|
740
|
+
return handleReadEvents;
|
|
741
|
+
}()
|
|
742
|
+
}, {
|
|
743
|
+
key: "handleSendEvent",
|
|
744
|
+
value: function handleSendEvent(request) {
|
|
745
|
+
var _this9 = this;
|
|
746
|
+
if (!request.data.type) {
|
|
747
|
+
return this.transport.reply(request, {
|
|
748
|
+
error: {
|
|
749
|
+
message: "Invalid request - missing event type"
|
|
750
|
+
}
|
|
751
|
+
});
|
|
752
|
+
}
|
|
753
|
+
if (!!request.data.room_id && !this.canUseRoomTimeline(request.data.room_id)) {
|
|
754
|
+
return this.transport.reply(request, {
|
|
755
|
+
error: {
|
|
756
|
+
message: "Unable to access room timeline: ".concat(request.data.room_id)
|
|
757
|
+
}
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
var isDelayedEvent = request.data.delay !== undefined || request.data.parent_delay_id !== undefined;
|
|
761
|
+
if (isDelayedEvent && !this.hasCapability(_Capabilities.MatrixCapabilities.MSC4157SendDelayedEvent)) {
|
|
762
|
+
return this.transport.reply(request, {
|
|
763
|
+
error: {
|
|
764
|
+
message: "Missing capability for ".concat(_Capabilities.MatrixCapabilities.MSC4157SendDelayedEvent)
|
|
765
|
+
}
|
|
766
|
+
});
|
|
767
|
+
}
|
|
768
|
+
var isStickyEvent = request.data.sticky_duration_ms !== undefined;
|
|
769
|
+
if (isStickyEvent && !this.hasCapability(_Capabilities.MatrixCapabilities.MSC4407SendStickyEvent)) {
|
|
770
|
+
return this.transport.reply(request, {
|
|
771
|
+
error: {
|
|
772
|
+
message: "Missing capability for ".concat(_Capabilities.MatrixCapabilities.MSC4407SendStickyEvent)
|
|
773
|
+
}
|
|
774
|
+
});
|
|
775
|
+
}
|
|
776
|
+
var sendEventPromise;
|
|
777
|
+
if (request.data.state_key !== undefined) {
|
|
778
|
+
if (!this.canSendStateEvent(request.data.type, request.data.state_key)) {
|
|
779
|
+
return this.transport.reply(request, {
|
|
780
|
+
error: {
|
|
781
|
+
message: "Cannot send state events of this type"
|
|
782
|
+
}
|
|
783
|
+
});
|
|
784
|
+
}
|
|
785
|
+
if (isStickyEvent) {
|
|
786
|
+
return this.transport.reply(request, {
|
|
787
|
+
error: {
|
|
788
|
+
message: "Cannot send a state event with a sticky duration"
|
|
789
|
+
}
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
if (isDelayedEvent) {
|
|
793
|
+
var _request$data$delay, _request$data$parent_;
|
|
794
|
+
sendEventPromise = this.driver.sendDelayedEvent((_request$data$delay = request.data.delay) !== null && _request$data$delay !== void 0 ? _request$data$delay : null, (_request$data$parent_ = request.data.parent_delay_id) !== null && _request$data$parent_ !== void 0 ? _request$data$parent_ : null, request.data.type, request.data.content || {}, request.data.state_key, request.data.room_id);
|
|
795
|
+
} else {
|
|
796
|
+
sendEventPromise = this.driver.sendEvent(request.data.type, request.data.content || {}, request.data.state_key, request.data.room_id);
|
|
797
|
+
}
|
|
798
|
+
} else {
|
|
799
|
+
var content = request.data.content || {};
|
|
800
|
+
var msgtype = content["msgtype"];
|
|
801
|
+
if (!this.canSendRoomEvent(request.data.type, msgtype)) {
|
|
802
|
+
return this.transport.reply(request, {
|
|
803
|
+
error: {
|
|
804
|
+
message: "Cannot send room events of this type"
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
|
|
809
|
+
// Events can be sticky, delayed, both, or neither. The following
|
|
810
|
+
// section of code takes the common parameters and uses the correct
|
|
811
|
+
// function depending on the request type.
|
|
812
|
+
|
|
813
|
+
var params = [request.data.type, content, null,
|
|
814
|
+
// not sending a state event
|
|
815
|
+
request.data.room_id];
|
|
816
|
+
if (isDelayedEvent && request.data.sticky_duration_ms) {
|
|
817
|
+
var _request$data$delay2, _request$data$parent_2;
|
|
818
|
+
sendEventPromise = this.driver.sendDelayedStickyEvent((_request$data$delay2 = request.data.delay) !== null && _request$data$delay2 !== void 0 ? _request$data$delay2 : null, (_request$data$parent_2 = request.data.parent_delay_id) !== null && _request$data$parent_2 !== void 0 ? _request$data$parent_2 : null, request.data.sticky_duration_ms, request.data.type, content, request.data.room_id);
|
|
819
|
+
} else if (isDelayedEvent) {
|
|
820
|
+
var _this$driver, _request$data$delay3, _request$data$parent_3;
|
|
821
|
+
sendEventPromise = (_this$driver = this.driver).sendDelayedEvent.apply(_this$driver, [(_request$data$delay3 = request.data.delay) !== null && _request$data$delay3 !== void 0 ? _request$data$delay3 : null, (_request$data$parent_3 = request.data.parent_delay_id) !== null && _request$data$parent_3 !== void 0 ? _request$data$parent_3 : null].concat(params));
|
|
822
|
+
} else if (request.data.sticky_duration_ms) {
|
|
823
|
+
sendEventPromise = this.driver.sendStickyEvent(request.data.sticky_duration_ms, request.data.type, content, request.data.room_id);
|
|
824
|
+
} else {
|
|
825
|
+
var _this$driver2;
|
|
826
|
+
sendEventPromise = (_this$driver2 = this.driver).sendEvent.apply(_this$driver2, params);
|
|
827
|
+
}
|
|
828
|
+
}
|
|
829
|
+
sendEventPromise.then(function (sentEvent) {
|
|
830
|
+
return _this9.transport.reply(request, _objectSpread({
|
|
831
|
+
room_id: sentEvent.roomId
|
|
832
|
+
}, "eventId" in sentEvent ? {
|
|
833
|
+
event_id: sentEvent.eventId
|
|
834
|
+
} : {
|
|
835
|
+
delay_id: sentEvent.delayId
|
|
836
|
+
}));
|
|
837
|
+
})["catch"](function (e) {
|
|
838
|
+
console.error("error sending event: ", e);
|
|
839
|
+
_this9.handleDriverError(e, request, "Error sending event");
|
|
840
|
+
});
|
|
841
|
+
}
|
|
842
|
+
}, {
|
|
843
|
+
key: "handleUpdateDelayedEvent",
|
|
844
|
+
value: function handleUpdateDelayedEvent(request) {
|
|
845
|
+
var _this10 = this;
|
|
846
|
+
if (!request.data.delay_id) {
|
|
847
|
+
return this.transport.reply(request, {
|
|
848
|
+
error: {
|
|
849
|
+
message: "Invalid request - missing delay_id"
|
|
850
|
+
}
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
if (!this.hasCapability(_Capabilities.MatrixCapabilities.MSC4157UpdateDelayedEvent)) {
|
|
854
|
+
return this.transport.reply(request, {
|
|
855
|
+
error: {
|
|
856
|
+
message: "Missing capability"
|
|
857
|
+
}
|
|
858
|
+
});
|
|
859
|
+
}
|
|
860
|
+
var updateDelayedEvent;
|
|
861
|
+
switch (request.data.action) {
|
|
862
|
+
case _UpdateDelayedEventAction.UpdateDelayedEventAction.Cancel:
|
|
863
|
+
updateDelayedEvent = this.driver.cancelScheduledDelayedEvent;
|
|
864
|
+
break;
|
|
865
|
+
case _UpdateDelayedEventAction.UpdateDelayedEventAction.Restart:
|
|
866
|
+
updateDelayedEvent = this.driver.restartScheduledDelayedEvent;
|
|
867
|
+
break;
|
|
868
|
+
case _UpdateDelayedEventAction.UpdateDelayedEventAction.Send:
|
|
869
|
+
updateDelayedEvent = this.driver.sendScheduledDelayedEvent;
|
|
870
|
+
break;
|
|
871
|
+
default:
|
|
872
|
+
return this.transport.reply(request, {
|
|
873
|
+
error: {
|
|
874
|
+
message: "Invalid request - unsupported action"
|
|
875
|
+
}
|
|
876
|
+
});
|
|
877
|
+
}
|
|
878
|
+
updateDelayedEvent.call(this.driver, request.data.delay_id).then(function () {
|
|
879
|
+
return _this10.transport.reply(request, {});
|
|
880
|
+
})["catch"](function (e) {
|
|
881
|
+
console.error("error updating delayed event: ", e);
|
|
882
|
+
_this10.handleDriverError(e, request, "Error updating delayed event");
|
|
883
|
+
});
|
|
884
|
+
}
|
|
885
|
+
}, {
|
|
886
|
+
key: "handleSendToDevice",
|
|
887
|
+
value: function () {
|
|
888
|
+
var _handleSendToDevice = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(request) {
|
|
889
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
890
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
891
|
+
case 0:
|
|
892
|
+
if (request.data.type) {
|
|
893
|
+
_context4.next = 4;
|
|
894
|
+
break;
|
|
895
|
+
}
|
|
896
|
+
this.transport.reply(request, {
|
|
897
|
+
error: {
|
|
898
|
+
message: "Invalid request - missing event type"
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
_context4.next = 26;
|
|
902
|
+
break;
|
|
903
|
+
case 4:
|
|
904
|
+
if (request.data.messages) {
|
|
905
|
+
_context4.next = 8;
|
|
906
|
+
break;
|
|
907
|
+
}
|
|
908
|
+
this.transport.reply(request, {
|
|
909
|
+
error: {
|
|
910
|
+
message: "Invalid request - missing event contents"
|
|
911
|
+
}
|
|
912
|
+
});
|
|
913
|
+
_context4.next = 26;
|
|
914
|
+
break;
|
|
915
|
+
case 8:
|
|
916
|
+
if (!(typeof request.data.encrypted !== "boolean")) {
|
|
917
|
+
_context4.next = 12;
|
|
918
|
+
break;
|
|
919
|
+
}
|
|
920
|
+
this.transport.reply(request, {
|
|
921
|
+
error: {
|
|
922
|
+
message: "Invalid request - missing encryption flag"
|
|
923
|
+
}
|
|
924
|
+
});
|
|
925
|
+
_context4.next = 26;
|
|
926
|
+
break;
|
|
927
|
+
case 12:
|
|
928
|
+
if (this.canSendToDeviceEvent(request.data.type)) {
|
|
929
|
+
_context4.next = 16;
|
|
930
|
+
break;
|
|
931
|
+
}
|
|
932
|
+
this.transport.reply(request, {
|
|
933
|
+
error: {
|
|
934
|
+
message: "Cannot send to-device events of this type"
|
|
935
|
+
}
|
|
936
|
+
});
|
|
937
|
+
_context4.next = 26;
|
|
938
|
+
break;
|
|
939
|
+
case 16:
|
|
940
|
+
_context4.prev = 16;
|
|
941
|
+
_context4.next = 19;
|
|
942
|
+
return this.driver.sendToDevice(request.data.type, request.data.encrypted, request.data.messages);
|
|
943
|
+
case 19:
|
|
944
|
+
this.transport.reply(request, {});
|
|
945
|
+
_context4.next = 26;
|
|
946
|
+
break;
|
|
947
|
+
case 22:
|
|
948
|
+
_context4.prev = 22;
|
|
949
|
+
_context4.t0 = _context4["catch"](16);
|
|
950
|
+
console.error("error sending to-device event", _context4.t0);
|
|
951
|
+
this.handleDriverError(_context4.t0, request, "Error sending event");
|
|
952
|
+
case 26:
|
|
953
|
+
case "end":
|
|
954
|
+
return _context4.stop();
|
|
955
|
+
}
|
|
956
|
+
}, _callee4, this, [[16, 22]]);
|
|
957
|
+
}));
|
|
958
|
+
function handleSendToDevice(_x2) {
|
|
959
|
+
return _handleSendToDevice.apply(this, arguments);
|
|
960
|
+
}
|
|
961
|
+
return handleSendToDevice;
|
|
962
|
+
}()
|
|
963
|
+
}, {
|
|
964
|
+
key: "pollTurnServers",
|
|
965
|
+
value: function () {
|
|
966
|
+
var _pollTurnServers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(turnServers, initialServer) {
|
|
967
|
+
var _iteratorAbruptCompletion, _didIteratorError, _iteratorError, _iterator, _step, server;
|
|
968
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
969
|
+
while (1) switch (_context5.prev = _context5.next) {
|
|
970
|
+
case 0:
|
|
971
|
+
_context5.prev = 0;
|
|
972
|
+
_context5.next = 3;
|
|
973
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.UpdateTurnServers, initialServer // it's compatible, but missing the index signature
|
|
974
|
+
);
|
|
975
|
+
case 3:
|
|
976
|
+
// Pick the generator up where we left off
|
|
977
|
+
_iteratorAbruptCompletion = false;
|
|
978
|
+
_didIteratorError = false;
|
|
979
|
+
_context5.prev = 5;
|
|
980
|
+
_iterator = _asyncIterator(turnServers);
|
|
981
|
+
case 7:
|
|
982
|
+
_context5.next = 9;
|
|
983
|
+
return _iterator.next();
|
|
984
|
+
case 9:
|
|
985
|
+
if (!(_iteratorAbruptCompletion = !(_step = _context5.sent).done)) {
|
|
986
|
+
_context5.next = 16;
|
|
987
|
+
break;
|
|
988
|
+
}
|
|
989
|
+
server = _step.value;
|
|
990
|
+
_context5.next = 13;
|
|
991
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.UpdateTurnServers, server // it's compatible, but missing the index signature
|
|
992
|
+
);
|
|
993
|
+
case 13:
|
|
994
|
+
_iteratorAbruptCompletion = false;
|
|
995
|
+
_context5.next = 7;
|
|
996
|
+
break;
|
|
997
|
+
case 16:
|
|
998
|
+
_context5.next = 22;
|
|
999
|
+
break;
|
|
1000
|
+
case 18:
|
|
1001
|
+
_context5.prev = 18;
|
|
1002
|
+
_context5.t0 = _context5["catch"](5);
|
|
1003
|
+
_didIteratorError = true;
|
|
1004
|
+
_iteratorError = _context5.t0;
|
|
1005
|
+
case 22:
|
|
1006
|
+
_context5.prev = 22;
|
|
1007
|
+
_context5.prev = 23;
|
|
1008
|
+
if (!(_iteratorAbruptCompletion && _iterator["return"] != null)) {
|
|
1009
|
+
_context5.next = 27;
|
|
1010
|
+
break;
|
|
1011
|
+
}
|
|
1012
|
+
_context5.next = 27;
|
|
1013
|
+
return _iterator["return"]();
|
|
1014
|
+
case 27:
|
|
1015
|
+
_context5.prev = 27;
|
|
1016
|
+
if (!_didIteratorError) {
|
|
1017
|
+
_context5.next = 30;
|
|
1018
|
+
break;
|
|
1019
|
+
}
|
|
1020
|
+
throw _iteratorError;
|
|
1021
|
+
case 30:
|
|
1022
|
+
return _context5.finish(27);
|
|
1023
|
+
case 31:
|
|
1024
|
+
return _context5.finish(22);
|
|
1025
|
+
case 32:
|
|
1026
|
+
_context5.next = 37;
|
|
1027
|
+
break;
|
|
1028
|
+
case 34:
|
|
1029
|
+
_context5.prev = 34;
|
|
1030
|
+
_context5.t1 = _context5["catch"](0);
|
|
1031
|
+
console.error("error polling for TURN servers", _context5.t1);
|
|
1032
|
+
case 37:
|
|
1033
|
+
case "end":
|
|
1034
|
+
return _context5.stop();
|
|
1035
|
+
}
|
|
1036
|
+
}, _callee5, this, [[0, 34], [5, 18, 22, 32], [23,, 27, 31]]);
|
|
1037
|
+
}));
|
|
1038
|
+
function pollTurnServers(_x3, _x4) {
|
|
1039
|
+
return _pollTurnServers.apply(this, arguments);
|
|
1040
|
+
}
|
|
1041
|
+
return pollTurnServers;
|
|
1042
|
+
}()
|
|
1043
|
+
}, {
|
|
1044
|
+
key: "handleWatchTurnServers",
|
|
1045
|
+
value: function () {
|
|
1046
|
+
var _handleWatchTurnServers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(request) {
|
|
1047
|
+
var turnServers, _yield$turnServers$ne, done, value;
|
|
1048
|
+
return _regeneratorRuntime().wrap(function _callee6$(_context6) {
|
|
1049
|
+
while (1) switch (_context6.prev = _context6.next) {
|
|
1050
|
+
case 0:
|
|
1051
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC3846TurnServers)) {
|
|
1052
|
+
_context6.next = 4;
|
|
1053
|
+
break;
|
|
1054
|
+
}
|
|
1055
|
+
this.transport.reply(request, {
|
|
1056
|
+
error: {
|
|
1057
|
+
message: "Missing capability"
|
|
1058
|
+
}
|
|
1059
|
+
});
|
|
1060
|
+
_context6.next = 26;
|
|
1061
|
+
break;
|
|
1062
|
+
case 4:
|
|
1063
|
+
if (!this.turnServers) {
|
|
1064
|
+
_context6.next = 8;
|
|
1065
|
+
break;
|
|
1066
|
+
}
|
|
1067
|
+
// We're already polling, so this is a no-op
|
|
1068
|
+
this.transport.reply(request, {});
|
|
1069
|
+
_context6.next = 26;
|
|
1070
|
+
break;
|
|
1071
|
+
case 8:
|
|
1072
|
+
_context6.prev = 8;
|
|
1073
|
+
turnServers = this.driver.getTurnServers(); // Peek at the first result, so we can at least verify that the
|
|
1074
|
+
// client isn't banned from getting TURN servers entirely
|
|
1075
|
+
_context6.next = 12;
|
|
1076
|
+
return turnServers.next();
|
|
1077
|
+
case 12:
|
|
1078
|
+
_yield$turnServers$ne = _context6.sent;
|
|
1079
|
+
done = _yield$turnServers$ne.done;
|
|
1080
|
+
value = _yield$turnServers$ne.value;
|
|
1081
|
+
if (!done) {
|
|
1082
|
+
_context6.next = 17;
|
|
1083
|
+
break;
|
|
1084
|
+
}
|
|
1085
|
+
throw new Error("Client refuses to provide any TURN servers");
|
|
1086
|
+
case 17:
|
|
1087
|
+
this.transport.reply(request, {});
|
|
1088
|
+
|
|
1089
|
+
// Start the poll loop, sending the widget the initial result
|
|
1090
|
+
this.pollTurnServers(turnServers, value);
|
|
1091
|
+
this.turnServers = turnServers;
|
|
1092
|
+
_context6.next = 26;
|
|
1093
|
+
break;
|
|
1094
|
+
case 22:
|
|
1095
|
+
_context6.prev = 22;
|
|
1096
|
+
_context6.t0 = _context6["catch"](8);
|
|
1097
|
+
console.error("error getting first TURN server results", _context6.t0);
|
|
1098
|
+
this.transport.reply(request, {
|
|
1099
|
+
error: {
|
|
1100
|
+
message: "TURN servers not available"
|
|
1101
|
+
}
|
|
1102
|
+
});
|
|
1103
|
+
case 26:
|
|
1104
|
+
case "end":
|
|
1105
|
+
return _context6.stop();
|
|
1106
|
+
}
|
|
1107
|
+
}, _callee6, this, [[8, 22]]);
|
|
1108
|
+
}));
|
|
1109
|
+
function handleWatchTurnServers(_x5) {
|
|
1110
|
+
return _handleWatchTurnServers.apply(this, arguments);
|
|
1111
|
+
}
|
|
1112
|
+
return handleWatchTurnServers;
|
|
1113
|
+
}()
|
|
1114
|
+
}, {
|
|
1115
|
+
key: "handleUnwatchTurnServers",
|
|
1116
|
+
value: function () {
|
|
1117
|
+
var _handleUnwatchTurnServers = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee7(request) {
|
|
1118
|
+
return _regeneratorRuntime().wrap(function _callee7$(_context7) {
|
|
1119
|
+
while (1) switch (_context7.prev = _context7.next) {
|
|
1120
|
+
case 0:
|
|
1121
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC3846TurnServers)) {
|
|
1122
|
+
_context7.next = 4;
|
|
1123
|
+
break;
|
|
1124
|
+
}
|
|
1125
|
+
this.transport.reply(request, {
|
|
1126
|
+
error: {
|
|
1127
|
+
message: "Missing capability"
|
|
1128
|
+
}
|
|
1129
|
+
});
|
|
1130
|
+
_context7.next = 12;
|
|
1131
|
+
break;
|
|
1132
|
+
case 4:
|
|
1133
|
+
if (this.turnServers) {
|
|
1134
|
+
_context7.next = 8;
|
|
1135
|
+
break;
|
|
1136
|
+
}
|
|
1137
|
+
// We weren't polling anyways, so this is a no-op
|
|
1138
|
+
this.transport.reply(request, {});
|
|
1139
|
+
_context7.next = 12;
|
|
1140
|
+
break;
|
|
1141
|
+
case 8:
|
|
1142
|
+
_context7.next = 10;
|
|
1143
|
+
return this.turnServers["return"](undefined);
|
|
1144
|
+
case 10:
|
|
1145
|
+
this.turnServers = null;
|
|
1146
|
+
this.transport.reply(request, {});
|
|
1147
|
+
case 12:
|
|
1148
|
+
case "end":
|
|
1149
|
+
return _context7.stop();
|
|
1150
|
+
}
|
|
1151
|
+
}, _callee7, this);
|
|
1152
|
+
}));
|
|
1153
|
+
function handleUnwatchTurnServers(_x6) {
|
|
1154
|
+
return _handleUnwatchTurnServers.apply(this, arguments);
|
|
1155
|
+
}
|
|
1156
|
+
return handleUnwatchTurnServers;
|
|
1157
|
+
}()
|
|
1158
|
+
}, {
|
|
1159
|
+
key: "handleReadRelations",
|
|
1160
|
+
value: function () {
|
|
1161
|
+
var _handleReadRelations = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee8(request) {
|
|
1162
|
+
var _this11 = this;
|
|
1163
|
+
var result, chunk;
|
|
1164
|
+
return _regeneratorRuntime().wrap(function _callee8$(_context8) {
|
|
1165
|
+
while (1) switch (_context8.prev = _context8.next) {
|
|
1166
|
+
case 0:
|
|
1167
|
+
if (request.data.event_id) {
|
|
1168
|
+
_context8.next = 2;
|
|
1169
|
+
break;
|
|
1170
|
+
}
|
|
1171
|
+
return _context8.abrupt("return", this.transport.reply(request, {
|
|
1172
|
+
error: {
|
|
1173
|
+
message: "Invalid request - missing event ID"
|
|
1174
|
+
}
|
|
1175
|
+
}));
|
|
1176
|
+
case 2:
|
|
1177
|
+
if (!(request.data.limit !== undefined && request.data.limit < 0)) {
|
|
1178
|
+
_context8.next = 4;
|
|
1179
|
+
break;
|
|
1180
|
+
}
|
|
1181
|
+
return _context8.abrupt("return", this.transport.reply(request, {
|
|
1182
|
+
error: {
|
|
1183
|
+
message: "Invalid request - limit out of range"
|
|
1184
|
+
}
|
|
1185
|
+
}));
|
|
1186
|
+
case 4:
|
|
1187
|
+
if (!(request.data.room_id !== undefined && !this.canUseRoomTimeline(request.data.room_id))) {
|
|
1188
|
+
_context8.next = 6;
|
|
1189
|
+
break;
|
|
1190
|
+
}
|
|
1191
|
+
return _context8.abrupt("return", this.transport.reply(request, {
|
|
1192
|
+
error: {
|
|
1193
|
+
message: "Unable to access room timeline: ".concat(request.data.room_id)
|
|
1194
|
+
}
|
|
1195
|
+
}));
|
|
1196
|
+
case 6:
|
|
1197
|
+
_context8.prev = 6;
|
|
1198
|
+
_context8.next = 9;
|
|
1199
|
+
return this.driver.readEventRelations(request.data.event_id, request.data.room_id, request.data.rel_type, request.data.event_type, request.data.from, request.data.to, request.data.limit, request.data.direction);
|
|
1200
|
+
case 9:
|
|
1201
|
+
result = _context8.sent;
|
|
1202
|
+
// only return events that the user has the permission to receive
|
|
1203
|
+
chunk = result.chunk.filter(function (e) {
|
|
1204
|
+
if (e.state_key !== undefined) {
|
|
1205
|
+
return _this11.canReceiveStateEvent(e.type, e.state_key);
|
|
1206
|
+
} else {
|
|
1207
|
+
return _this11.canReceiveRoomEvent(e.type, e.content["msgtype"]);
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
1210
|
+
return _context8.abrupt("return", this.transport.reply(request, {
|
|
1211
|
+
chunk: chunk,
|
|
1212
|
+
prev_batch: result.prevBatch,
|
|
1213
|
+
next_batch: result.nextBatch
|
|
1214
|
+
}));
|
|
1215
|
+
case 14:
|
|
1216
|
+
_context8.prev = 14;
|
|
1217
|
+
_context8.t0 = _context8["catch"](6);
|
|
1218
|
+
console.error("error getting the relations", _context8.t0);
|
|
1219
|
+
this.handleDriverError(_context8.t0, request, "Unexpected error while reading relations");
|
|
1220
|
+
case 18:
|
|
1221
|
+
case "end":
|
|
1222
|
+
return _context8.stop();
|
|
1223
|
+
}
|
|
1224
|
+
}, _callee8, this, [[6, 14]]);
|
|
1225
|
+
}));
|
|
1226
|
+
function handleReadRelations(_x7) {
|
|
1227
|
+
return _handleReadRelations.apply(this, arguments);
|
|
1228
|
+
}
|
|
1229
|
+
return handleReadRelations;
|
|
1230
|
+
}()
|
|
1231
|
+
}, {
|
|
1232
|
+
key: "handleUserDirectorySearch",
|
|
1233
|
+
value: function () {
|
|
1234
|
+
var _handleUserDirectorySearch = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee9(request) {
|
|
1235
|
+
var result;
|
|
1236
|
+
return _regeneratorRuntime().wrap(function _callee9$(_context9) {
|
|
1237
|
+
while (1) switch (_context9.prev = _context9.next) {
|
|
1238
|
+
case 0:
|
|
1239
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC3973UserDirectorySearch)) {
|
|
1240
|
+
_context9.next = 2;
|
|
1241
|
+
break;
|
|
1242
|
+
}
|
|
1243
|
+
return _context9.abrupt("return", this.transport.reply(request, {
|
|
1244
|
+
error: {
|
|
1245
|
+
message: "Missing capability"
|
|
1246
|
+
}
|
|
1247
|
+
}));
|
|
1248
|
+
case 2:
|
|
1249
|
+
if (!(typeof request.data.search_term !== "string")) {
|
|
1250
|
+
_context9.next = 4;
|
|
1251
|
+
break;
|
|
1252
|
+
}
|
|
1253
|
+
return _context9.abrupt("return", this.transport.reply(request, {
|
|
1254
|
+
error: {
|
|
1255
|
+
message: "Invalid request - missing search term"
|
|
1256
|
+
}
|
|
1257
|
+
}));
|
|
1258
|
+
case 4:
|
|
1259
|
+
if (!(request.data.limit !== undefined && request.data.limit < 0)) {
|
|
1260
|
+
_context9.next = 6;
|
|
1261
|
+
break;
|
|
1262
|
+
}
|
|
1263
|
+
return _context9.abrupt("return", this.transport.reply(request, {
|
|
1264
|
+
error: {
|
|
1265
|
+
message: "Invalid request - limit out of range"
|
|
1266
|
+
}
|
|
1267
|
+
}));
|
|
1268
|
+
case 6:
|
|
1269
|
+
_context9.prev = 6;
|
|
1270
|
+
_context9.next = 9;
|
|
1271
|
+
return this.driver.searchUserDirectory(request.data.search_term, request.data.limit);
|
|
1272
|
+
case 9:
|
|
1273
|
+
result = _context9.sent;
|
|
1274
|
+
return _context9.abrupt("return", this.transport.reply(request, {
|
|
1275
|
+
limited: result.limited,
|
|
1276
|
+
results: result.results.map(function (r) {
|
|
1277
|
+
return {
|
|
1278
|
+
user_id: r.userId,
|
|
1279
|
+
display_name: r.displayName,
|
|
1280
|
+
avatar_url: r.avatarUrl
|
|
1281
|
+
};
|
|
1282
|
+
})
|
|
1283
|
+
}));
|
|
1284
|
+
case 13:
|
|
1285
|
+
_context9.prev = 13;
|
|
1286
|
+
_context9.t0 = _context9["catch"](6);
|
|
1287
|
+
console.error("error searching in the user directory", _context9.t0);
|
|
1288
|
+
this.handleDriverError(_context9.t0, request, "Unexpected error while searching in the user directory");
|
|
1289
|
+
case 17:
|
|
1290
|
+
case "end":
|
|
1291
|
+
return _context9.stop();
|
|
1292
|
+
}
|
|
1293
|
+
}, _callee9, this, [[6, 13]]);
|
|
1294
|
+
}));
|
|
1295
|
+
function handleUserDirectorySearch(_x8) {
|
|
1296
|
+
return _handleUserDirectorySearch.apply(this, arguments);
|
|
1297
|
+
}
|
|
1298
|
+
return handleUserDirectorySearch;
|
|
1299
|
+
}()
|
|
1300
|
+
}, {
|
|
1301
|
+
key: "handleGetMediaConfig",
|
|
1302
|
+
value: function () {
|
|
1303
|
+
var _handleGetMediaConfig = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee10(request) {
|
|
1304
|
+
var result;
|
|
1305
|
+
return _regeneratorRuntime().wrap(function _callee10$(_context10) {
|
|
1306
|
+
while (1) switch (_context10.prev = _context10.next) {
|
|
1307
|
+
case 0:
|
|
1308
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC4039UploadFile)) {
|
|
1309
|
+
_context10.next = 2;
|
|
1310
|
+
break;
|
|
1311
|
+
}
|
|
1312
|
+
return _context10.abrupt("return", this.transport.reply(request, {
|
|
1313
|
+
error: {
|
|
1314
|
+
message: "Missing capability"
|
|
1315
|
+
}
|
|
1316
|
+
}));
|
|
1317
|
+
case 2:
|
|
1318
|
+
_context10.prev = 2;
|
|
1319
|
+
_context10.next = 5;
|
|
1320
|
+
return this.driver.getMediaConfig();
|
|
1321
|
+
case 5:
|
|
1322
|
+
result = _context10.sent;
|
|
1323
|
+
return _context10.abrupt("return", this.transport.reply(request, result));
|
|
1324
|
+
case 9:
|
|
1325
|
+
_context10.prev = 9;
|
|
1326
|
+
_context10.t0 = _context10["catch"](2);
|
|
1327
|
+
console.error("error while getting the media configuration", _context10.t0);
|
|
1328
|
+
this.handleDriverError(_context10.t0, request, "Unexpected error while getting the media configuration");
|
|
1329
|
+
case 13:
|
|
1330
|
+
case "end":
|
|
1331
|
+
return _context10.stop();
|
|
1332
|
+
}
|
|
1333
|
+
}, _callee10, this, [[2, 9]]);
|
|
1334
|
+
}));
|
|
1335
|
+
function handleGetMediaConfig(_x9) {
|
|
1336
|
+
return _handleGetMediaConfig.apply(this, arguments);
|
|
1337
|
+
}
|
|
1338
|
+
return handleGetMediaConfig;
|
|
1339
|
+
}()
|
|
1340
|
+
}, {
|
|
1341
|
+
key: "handleUploadFile",
|
|
1342
|
+
value: function () {
|
|
1343
|
+
var _handleUploadFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee11(request) {
|
|
1344
|
+
var result;
|
|
1345
|
+
return _regeneratorRuntime().wrap(function _callee11$(_context11) {
|
|
1346
|
+
while (1) switch (_context11.prev = _context11.next) {
|
|
1347
|
+
case 0:
|
|
1348
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC4039UploadFile)) {
|
|
1349
|
+
_context11.next = 2;
|
|
1350
|
+
break;
|
|
1351
|
+
}
|
|
1352
|
+
return _context11.abrupt("return", this.transport.reply(request, {
|
|
1353
|
+
error: {
|
|
1354
|
+
message: "Missing capability"
|
|
1355
|
+
}
|
|
1356
|
+
}));
|
|
1357
|
+
case 2:
|
|
1358
|
+
_context11.prev = 2;
|
|
1359
|
+
_context11.next = 5;
|
|
1360
|
+
return this.driver.uploadFile(request.data.file);
|
|
1361
|
+
case 5:
|
|
1362
|
+
result = _context11.sent;
|
|
1363
|
+
return _context11.abrupt("return", this.transport.reply(request, {
|
|
1364
|
+
content_uri: result.contentUri
|
|
1365
|
+
}));
|
|
1366
|
+
case 9:
|
|
1367
|
+
_context11.prev = 9;
|
|
1368
|
+
_context11.t0 = _context11["catch"](2);
|
|
1369
|
+
console.error("error while uploading a file", _context11.t0);
|
|
1370
|
+
this.handleDriverError(_context11.t0, request, "Unexpected error while uploading a file");
|
|
1371
|
+
case 13:
|
|
1372
|
+
case "end":
|
|
1373
|
+
return _context11.stop();
|
|
1374
|
+
}
|
|
1375
|
+
}, _callee11, this, [[2, 9]]);
|
|
1376
|
+
}));
|
|
1377
|
+
function handleUploadFile(_x10) {
|
|
1378
|
+
return _handleUploadFile.apply(this, arguments);
|
|
1379
|
+
}
|
|
1380
|
+
return handleUploadFile;
|
|
1381
|
+
}()
|
|
1382
|
+
}, {
|
|
1383
|
+
key: "handleDownloadFile",
|
|
1384
|
+
value: function () {
|
|
1385
|
+
var _handleDownloadFile = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(request) {
|
|
1386
|
+
var result;
|
|
1387
|
+
return _regeneratorRuntime().wrap(function _callee12$(_context12) {
|
|
1388
|
+
while (1) switch (_context12.prev = _context12.next) {
|
|
1389
|
+
case 0:
|
|
1390
|
+
if (this.hasCapability(_Capabilities.MatrixCapabilities.MSC4039DownloadFile)) {
|
|
1391
|
+
_context12.next = 2;
|
|
1392
|
+
break;
|
|
1393
|
+
}
|
|
1394
|
+
return _context12.abrupt("return", this.transport.reply(request, {
|
|
1395
|
+
error: {
|
|
1396
|
+
message: "Missing capability"
|
|
1397
|
+
}
|
|
1398
|
+
}));
|
|
1399
|
+
case 2:
|
|
1400
|
+
_context12.prev = 2;
|
|
1401
|
+
_context12.next = 5;
|
|
1402
|
+
return this.driver.downloadFile(request.data.content_uri);
|
|
1403
|
+
case 5:
|
|
1404
|
+
result = _context12.sent;
|
|
1405
|
+
return _context12.abrupt("return", this.transport.reply(request, {
|
|
1406
|
+
file: result.file
|
|
1407
|
+
}));
|
|
1408
|
+
case 9:
|
|
1409
|
+
_context12.prev = 9;
|
|
1410
|
+
_context12.t0 = _context12["catch"](2);
|
|
1411
|
+
console.error("error while downloading a file", _context12.t0);
|
|
1412
|
+
this.handleDriverError(_context12.t0, request, "Unexpected error while downloading a file");
|
|
1413
|
+
case 13:
|
|
1414
|
+
case "end":
|
|
1415
|
+
return _context12.stop();
|
|
1416
|
+
}
|
|
1417
|
+
}, _callee12, this, [[2, 9]]);
|
|
1418
|
+
}));
|
|
1419
|
+
function handleDownloadFile(_x11) {
|
|
1420
|
+
return _handleDownloadFile.apply(this, arguments);
|
|
1421
|
+
}
|
|
1422
|
+
return handleDownloadFile;
|
|
1423
|
+
}()
|
|
1424
|
+
}, {
|
|
1425
|
+
key: "handleDriverError",
|
|
1426
|
+
value: function handleDriverError(e, request, message) {
|
|
1427
|
+
var data = this.driver.processError(e);
|
|
1428
|
+
this.transport.reply(request, {
|
|
1429
|
+
error: _objectSpread({
|
|
1430
|
+
message: message
|
|
1431
|
+
}, data)
|
|
1432
|
+
});
|
|
1433
|
+
}
|
|
1434
|
+
}, {
|
|
1435
|
+
key: "handleMessage",
|
|
1436
|
+
value: function handleMessage(ev) {
|
|
1437
|
+
if (this.isStopped) return;
|
|
1438
|
+
var actionEv = new CustomEvent("action:".concat(ev.detail.action), {
|
|
1439
|
+
detail: ev.detail,
|
|
1440
|
+
cancelable: true
|
|
1441
|
+
});
|
|
1442
|
+
this.emit("action:".concat(ev.detail.action), actionEv);
|
|
1443
|
+
if (!actionEv.defaultPrevented) {
|
|
1444
|
+
switch (ev.detail.action) {
|
|
1445
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.ContentLoaded:
|
|
1446
|
+
return this.handleContentLoadedAction(ev.detail);
|
|
1447
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.SupportedApiVersions:
|
|
1448
|
+
return this.replyVersions(ev.detail);
|
|
1449
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.SendEvent:
|
|
1450
|
+
return this.handleSendEvent(ev.detail);
|
|
1451
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.SendToDevice:
|
|
1452
|
+
return this.handleSendToDevice(ev.detail);
|
|
1453
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.GetOpenIDCredentials:
|
|
1454
|
+
return this.handleOIDC(ev.detail);
|
|
1455
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC2931Navigate:
|
|
1456
|
+
return this.handleNavigate(ev.detail);
|
|
1457
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC2974RenegotiateCapabilities:
|
|
1458
|
+
return this.handleCapabilitiesRenegotiate(ev.detail);
|
|
1459
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC2876ReadEvents:
|
|
1460
|
+
return this.handleReadEvents(ev.detail);
|
|
1461
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.WatchTurnServers:
|
|
1462
|
+
return this.handleWatchTurnServers(ev.detail);
|
|
1463
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.UnwatchTurnServers:
|
|
1464
|
+
return this.handleUnwatchTurnServers(ev.detail);
|
|
1465
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC3869ReadRelations:
|
|
1466
|
+
return this.handleReadRelations(ev.detail);
|
|
1467
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC3973UserDirectorySearch:
|
|
1468
|
+
return this.handleUserDirectorySearch(ev.detail);
|
|
1469
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.BeeperReadRoomAccountData:
|
|
1470
|
+
return this.handleReadRoomAccountData(ev.detail);
|
|
1471
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC4039GetMediaConfigAction:
|
|
1472
|
+
return this.handleGetMediaConfig(ev.detail);
|
|
1473
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC4039UploadFileAction:
|
|
1474
|
+
return this.handleUploadFile(ev.detail);
|
|
1475
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC4039DownloadFileAction:
|
|
1476
|
+
return this.handleDownloadFile(ev.detail);
|
|
1477
|
+
case _WidgetApiAction.WidgetApiFromWidgetAction.MSC4157UpdateDelayedEvent:
|
|
1478
|
+
return this.handleUpdateDelayedEvent(ev.detail);
|
|
1479
|
+
default:
|
|
1480
|
+
return this.transport.reply(ev.detail, {
|
|
1481
|
+
error: {
|
|
1482
|
+
message: "Unknown or unsupported from-widget action: " + ev.detail.action
|
|
1483
|
+
}
|
|
1484
|
+
});
|
|
1485
|
+
}
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
|
|
1489
|
+
/**
|
|
1490
|
+
* Informs the widget that the client's theme has changed.
|
|
1491
|
+
* @param theme The theme data, as an object with arbitrary contents.
|
|
1492
|
+
*/
|
|
1493
|
+
}, {
|
|
1494
|
+
key: "updateTheme",
|
|
1495
|
+
value: function updateTheme(theme) {
|
|
1496
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.ThemeChange, theme);
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
/**
|
|
1500
|
+
* Informs the widget that the client's language has changed.
|
|
1501
|
+
* @param lang The BCP 47 identifier representing the client's current language.
|
|
1502
|
+
*/
|
|
1503
|
+
}, {
|
|
1504
|
+
key: "updateLanguage",
|
|
1505
|
+
value: function updateLanguage(lang) {
|
|
1506
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.LanguageChange, {
|
|
1507
|
+
lang: lang
|
|
1508
|
+
});
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* Takes a screenshot of the widget.
|
|
1513
|
+
* @returns Resolves to the widget's screenshot.
|
|
1514
|
+
* @throws Throws if there is a problem.
|
|
1515
|
+
*/
|
|
1516
|
+
}, {
|
|
1517
|
+
key: "takeScreenshot",
|
|
1518
|
+
value: function takeScreenshot() {
|
|
1519
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.TakeScreenshot, {});
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
/**
|
|
1523
|
+
* Alerts the widget to whether or not it is currently visible.
|
|
1524
|
+
* @param {boolean} isVisible Whether the widget is visible or not.
|
|
1525
|
+
* @returns {Promise<IWidgetApiResponseData>} Resolves when the widget acknowledges the update.
|
|
1526
|
+
*/
|
|
1527
|
+
}, {
|
|
1528
|
+
key: "updateVisibility",
|
|
1529
|
+
value: function updateVisibility(isVisible) {
|
|
1530
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.UpdateVisibility, {
|
|
1531
|
+
visible: isVisible
|
|
1532
|
+
});
|
|
1533
|
+
}
|
|
1534
|
+
}, {
|
|
1535
|
+
key: "sendWidgetConfig",
|
|
1536
|
+
value: function sendWidgetConfig(data) {
|
|
1537
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.WidgetConfig, data).then();
|
|
1538
|
+
}
|
|
1539
|
+
}, {
|
|
1540
|
+
key: "notifyModalWidgetButtonClicked",
|
|
1541
|
+
value: function notifyModalWidgetButtonClicked(id) {
|
|
1542
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.ButtonClicked, {
|
|
1543
|
+
id: id
|
|
1544
|
+
}).then();
|
|
1545
|
+
}
|
|
1546
|
+
}, {
|
|
1547
|
+
key: "notifyModalWidgetClose",
|
|
1548
|
+
value: function notifyModalWidgetClose(data) {
|
|
1549
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.CloseModalWidget, data).then();
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
/**
|
|
1553
|
+
* Feeds an event to the widget. As a client you are expected to call this
|
|
1554
|
+
* for every new event in every room to which you are joined or invited.
|
|
1555
|
+
* @param {IRoomEvent} rawEvent The event to (try to) send to the widget.
|
|
1556
|
+
* @param {string} currentViewedRoomId The room ID the user is currently
|
|
1557
|
+
* interacting with. Not the room ID of the event.
|
|
1558
|
+
* @returns {Promise<void>} Resolves when delivered or if the widget is not
|
|
1559
|
+
* able to read the event due to permissions, rejects if the widget failed
|
|
1560
|
+
* to handle the event.
|
|
1561
|
+
* @deprecated It is recommended to communicate the viewed room ID by calling
|
|
1562
|
+
* {@link ClientWidgetApi.setViewedRoomId} rather than passing it to this
|
|
1563
|
+
* method.
|
|
1564
|
+
*/
|
|
1565
|
+
}, {
|
|
1566
|
+
key: "feedEvent",
|
|
1567
|
+
value: function () {
|
|
1568
|
+
var _feedEvent = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee13(rawEvent, currentViewedRoomId) {
|
|
1569
|
+
var _rawEvent$content;
|
|
1570
|
+
return _regeneratorRuntime().wrap(function _callee13$(_context13) {
|
|
1571
|
+
while (1) switch (_context13.prev = _context13.next) {
|
|
1572
|
+
case 0:
|
|
1573
|
+
if (currentViewedRoomId !== undefined) this.setViewedRoomId(currentViewedRoomId);
|
|
1574
|
+
if (!(rawEvent.room_id !== this.viewedRoomId && !this.canUseRoomTimeline(rawEvent.room_id))) {
|
|
1575
|
+
_context13.next = 3;
|
|
1576
|
+
break;
|
|
1577
|
+
}
|
|
1578
|
+
return _context13.abrupt("return");
|
|
1579
|
+
case 3:
|
|
1580
|
+
if (!(rawEvent.state_key !== undefined && rawEvent.state_key !== null)) {
|
|
1581
|
+
_context13.next = 8;
|
|
1582
|
+
break;
|
|
1583
|
+
}
|
|
1584
|
+
if (this.canReceiveStateEvent(rawEvent.type, rawEvent.state_key)) {
|
|
1585
|
+
_context13.next = 6;
|
|
1586
|
+
break;
|
|
1587
|
+
}
|
|
1588
|
+
return _context13.abrupt("return");
|
|
1589
|
+
case 6:
|
|
1590
|
+
_context13.next = 10;
|
|
1591
|
+
break;
|
|
1592
|
+
case 8:
|
|
1593
|
+
if (this.canReceiveRoomEvent(rawEvent.type, (_rawEvent$content = rawEvent.content) === null || _rawEvent$content === void 0 ? void 0 : _rawEvent$content["msgtype"])) {
|
|
1594
|
+
_context13.next = 10;
|
|
1595
|
+
break;
|
|
1596
|
+
}
|
|
1597
|
+
return _context13.abrupt("return");
|
|
1598
|
+
case 10:
|
|
1599
|
+
_context13.next = 12;
|
|
1600
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.SendEvent,
|
|
1601
|
+
// it's compatible, but missing the index signature
|
|
1602
|
+
rawEvent);
|
|
1603
|
+
case 12:
|
|
1604
|
+
case "end":
|
|
1605
|
+
return _context13.stop();
|
|
1606
|
+
}
|
|
1607
|
+
}, _callee13, this);
|
|
1608
|
+
}));
|
|
1609
|
+
function feedEvent(_x12, _x13) {
|
|
1610
|
+
return _feedEvent.apply(this, arguments);
|
|
1611
|
+
}
|
|
1612
|
+
return feedEvent;
|
|
1613
|
+
}()
|
|
1614
|
+
/**
|
|
1615
|
+
* Feeds a to-device event to the widget. As a client you are expected to
|
|
1616
|
+
* call this for every to-device event you receive.
|
|
1617
|
+
* @param {IRoomEvent} rawEvent The event to (try to) send to the widget.
|
|
1618
|
+
* @param {boolean} encrypted Whether the event contents were encrypted.
|
|
1619
|
+
* @returns {Promise<void>} Resolves when delivered or if the widget is not
|
|
1620
|
+
* able to receive the event due to permissions, rejects if the widget
|
|
1621
|
+
* failed to handle the event.
|
|
1622
|
+
*/
|
|
1623
|
+
}, {
|
|
1624
|
+
key: "feedToDevice",
|
|
1625
|
+
value: function () {
|
|
1626
|
+
var _feedToDevice = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee14(message, encrypted) {
|
|
1627
|
+
return _regeneratorRuntime().wrap(function _callee14$(_context14) {
|
|
1628
|
+
while (1) switch (_context14.prev = _context14.next) {
|
|
1629
|
+
case 0:
|
|
1630
|
+
if (!this.canReceiveToDeviceEvent(message.type)) {
|
|
1631
|
+
_context14.next = 3;
|
|
1632
|
+
break;
|
|
1633
|
+
}
|
|
1634
|
+
_context14.next = 3;
|
|
1635
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.SendToDevice, _objectSpread(_objectSpread({}, message), {}, {
|
|
1636
|
+
encrypted: encrypted
|
|
1637
|
+
}));
|
|
1638
|
+
case 3:
|
|
1639
|
+
case "end":
|
|
1640
|
+
return _context14.stop();
|
|
1641
|
+
}
|
|
1642
|
+
}, _callee14, this);
|
|
1643
|
+
}));
|
|
1644
|
+
function feedToDevice(_x14, _x15) {
|
|
1645
|
+
return _feedToDevice.apply(this, arguments);
|
|
1646
|
+
}
|
|
1647
|
+
return feedToDevice;
|
|
1648
|
+
}()
|
|
1649
|
+
}, {
|
|
1650
|
+
key: "setViewedRoomId",
|
|
1651
|
+
value:
|
|
1652
|
+
/**
|
|
1653
|
+
* Indicate that a room is being viewed (making it possible for the widget
|
|
1654
|
+
* to interact with it).
|
|
1655
|
+
*/
|
|
1656
|
+
function setViewedRoomId(roomId) {
|
|
1657
|
+
this.viewedRoomId = roomId;
|
|
1658
|
+
// If the widget doesn't have timeline permissions for the room then
|
|
1659
|
+
// this is its opportunity to learn the room state. We push the entire
|
|
1660
|
+
// room state, which could be redundant if this room had been viewed
|
|
1661
|
+
// once before, but it's easier than selectively pushing just the bits
|
|
1662
|
+
// of state that changed while the room was in the background.
|
|
1663
|
+
if (roomId !== null && !this.canUseRoomTimeline(roomId)) this.pushRoomState(roomId);
|
|
1664
|
+
}
|
|
1665
|
+
}, {
|
|
1666
|
+
key: "flushRoomState",
|
|
1667
|
+
value: function () {
|
|
1668
|
+
var _flushRoomState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15() {
|
|
1669
|
+
var events, _iterator7, _step7, eventTypeMap, _iterator8, _step8, stateKeyMap;
|
|
1670
|
+
return _regeneratorRuntime().wrap(function _callee15$(_context15) {
|
|
1671
|
+
while (1) switch (_context15.prev = _context15.next) {
|
|
1672
|
+
case 0:
|
|
1673
|
+
_context15.prev = 0;
|
|
1674
|
+
case 1:
|
|
1675
|
+
_context15.next = 3;
|
|
1676
|
+
return Promise.all(this.pushRoomStateTasks);
|
|
1677
|
+
case 3:
|
|
1678
|
+
if (this.pushRoomStateTasks.size > 0) {
|
|
1679
|
+
_context15.next = 1;
|
|
1680
|
+
break;
|
|
1681
|
+
}
|
|
1682
|
+
case 4:
|
|
1683
|
+
events = [];
|
|
1684
|
+
_iterator7 = _createForOfIteratorHelper(this.pushRoomStateResult.values());
|
|
1685
|
+
try {
|
|
1686
|
+
for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
|
|
1687
|
+
eventTypeMap = _step7.value;
|
|
1688
|
+
_iterator8 = _createForOfIteratorHelper(eventTypeMap.values());
|
|
1689
|
+
try {
|
|
1690
|
+
for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
|
|
1691
|
+
stateKeyMap = _step8.value;
|
|
1692
|
+
events.push.apply(events, _toConsumableArray(stateKeyMap.values()));
|
|
1693
|
+
}
|
|
1694
|
+
} catch (err) {
|
|
1695
|
+
_iterator8.e(err);
|
|
1696
|
+
} finally {
|
|
1697
|
+
_iterator8.f();
|
|
1698
|
+
}
|
|
1699
|
+
}
|
|
1700
|
+
} catch (err) {
|
|
1701
|
+
_iterator7.e(err);
|
|
1702
|
+
} finally {
|
|
1703
|
+
_iterator7.f();
|
|
1704
|
+
}
|
|
1705
|
+
_context15.next = 9;
|
|
1706
|
+
return this.getWidgetVersions();
|
|
1707
|
+
case 9:
|
|
1708
|
+
if (!_context15.sent.includes(_ApiVersion.UnstableApiVersion.MSC2762_UPDATE_STATE)) {
|
|
1709
|
+
_context15.next = 12;
|
|
1710
|
+
break;
|
|
1711
|
+
}
|
|
1712
|
+
_context15.next = 12;
|
|
1713
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.UpdateState, {
|
|
1714
|
+
state: events
|
|
1715
|
+
});
|
|
1716
|
+
case 12:
|
|
1717
|
+
_context15.prev = 12;
|
|
1718
|
+
this.flushRoomStateTask = null;
|
|
1719
|
+
return _context15.finish(12);
|
|
1720
|
+
case 15:
|
|
1721
|
+
case "end":
|
|
1722
|
+
return _context15.stop();
|
|
1723
|
+
}
|
|
1724
|
+
}, _callee15, this, [[0,, 12, 15]]);
|
|
1725
|
+
}));
|
|
1726
|
+
function flushRoomState() {
|
|
1727
|
+
return _flushRoomState.apply(this, arguments);
|
|
1728
|
+
}
|
|
1729
|
+
return flushRoomState;
|
|
1730
|
+
}()
|
|
1731
|
+
/**
|
|
1732
|
+
* Reads the current sticky state of the room and pushes it to the widget.
|
|
1733
|
+
*
|
|
1734
|
+
* It will only push events that the widget is allowed to receive.
|
|
1735
|
+
* @param roomId
|
|
1736
|
+
* @private
|
|
1737
|
+
*/
|
|
1738
|
+
}, {
|
|
1739
|
+
key: "pushStickyState",
|
|
1740
|
+
value: function () {
|
|
1741
|
+
var _pushStickyState = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(roomId) {
|
|
1742
|
+
var _this12 = this;
|
|
1743
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
1744
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
1745
|
+
case 0:
|
|
1746
|
+
console.debug("Pushing sticky state to widget for room", roomId);
|
|
1747
|
+
return _context17.abrupt("return", this.driver.readStickyEvents(roomId).then(function (events) {
|
|
1748
|
+
// filter to the allowed sticky events
|
|
1749
|
+
var filtered = events.filter(function (e) {
|
|
1750
|
+
var _e$content;
|
|
1751
|
+
return _this12.canReceiveRoomEvent(e.type, typeof ((_e$content = e.content) === null || _e$content === void 0 ? void 0 : _e$content.msgtype) === "string" ? e.content.msgtype : null);
|
|
1752
|
+
});
|
|
1753
|
+
return {
|
|
1754
|
+
roomId: roomId,
|
|
1755
|
+
stickyEvents: filtered
|
|
1756
|
+
};
|
|
1757
|
+
}).then( /*#__PURE__*/function () {
|
|
1758
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee16(_ref) {
|
|
1759
|
+
var roomId, stickyEvents, promises;
|
|
1760
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
1761
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
1762
|
+
case 0:
|
|
1763
|
+
roomId = _ref.roomId, stickyEvents = _ref.stickyEvents;
|
|
1764
|
+
console.debug("Pushing", stickyEvents.length, "sticky events to widget for room", roomId);
|
|
1765
|
+
promises = stickyEvents.map(function (rawEvent) {
|
|
1766
|
+
return _this12.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.SendEvent,
|
|
1767
|
+
// copied from feedEvent; it's compatible, but missing the index signature
|
|
1768
|
+
rawEvent);
|
|
1769
|
+
});
|
|
1770
|
+
_context16.next = 5;
|
|
1771
|
+
return Promise.all(promises);
|
|
1772
|
+
case 5:
|
|
1773
|
+
case "end":
|
|
1774
|
+
return _context16.stop();
|
|
1775
|
+
}
|
|
1776
|
+
}, _callee16);
|
|
1777
|
+
}));
|
|
1778
|
+
return function (_x17) {
|
|
1779
|
+
return _ref2.apply(this, arguments);
|
|
1780
|
+
};
|
|
1781
|
+
}()));
|
|
1782
|
+
case 2:
|
|
1783
|
+
case "end":
|
|
1784
|
+
return _context17.stop();
|
|
1785
|
+
}
|
|
1786
|
+
}, _callee17, this);
|
|
1787
|
+
}));
|
|
1788
|
+
function pushStickyState(_x16) {
|
|
1789
|
+
return _pushStickyState.apply(this, arguments);
|
|
1790
|
+
}
|
|
1791
|
+
return pushStickyState;
|
|
1792
|
+
}()
|
|
1793
|
+
/**
|
|
1794
|
+
* Read the room's state and push all entries that the widget is allowed to
|
|
1795
|
+
* read through to the widget.
|
|
1796
|
+
*/
|
|
1797
|
+
}, {
|
|
1798
|
+
key: "pushRoomState",
|
|
1799
|
+
value: function pushRoomState(roomId) {
|
|
1800
|
+
var _this13 = this;
|
|
1801
|
+
var _iterator9 = _createForOfIteratorHelper(this.allowedEvents),
|
|
1802
|
+
_step9;
|
|
1803
|
+
try {
|
|
1804
|
+
var _loop2 = function _loop2() {
|
|
1805
|
+
var cap = _step9.value;
|
|
1806
|
+
if (cap.kind === _WidgetEventCapability.EventKind.State && cap.direction === _WidgetEventCapability.EventDirection.Receive) {
|
|
1807
|
+
var _cap$keyStr, _this13$flushRoomStat;
|
|
1808
|
+
// Initiate the task
|
|
1809
|
+
var events = _this13.driver.readRoomState(roomId, cap.eventType, (_cap$keyStr = cap.keyStr) !== null && _cap$keyStr !== void 0 ? _cap$keyStr : undefined);
|
|
1810
|
+
var task = events.then(function (events) {
|
|
1811
|
+
// When complete, queue the resulting events to be
|
|
1812
|
+
// pushed to the widget
|
|
1813
|
+
var _iterator10 = _createForOfIteratorHelper(events),
|
|
1814
|
+
_step10;
|
|
1815
|
+
try {
|
|
1816
|
+
for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
|
|
1817
|
+
var event = _step10.value;
|
|
1818
|
+
var eventTypeMap = _this13.pushRoomStateResult.get(roomId);
|
|
1819
|
+
if (eventTypeMap === undefined) {
|
|
1820
|
+
eventTypeMap = new Map();
|
|
1821
|
+
_this13.pushRoomStateResult.set(roomId, eventTypeMap);
|
|
1822
|
+
}
|
|
1823
|
+
var stateKeyMap = eventTypeMap.get(cap.eventType);
|
|
1824
|
+
if (stateKeyMap === undefined) {
|
|
1825
|
+
stateKeyMap = new Map();
|
|
1826
|
+
eventTypeMap.set(cap.eventType, stateKeyMap);
|
|
1827
|
+
}
|
|
1828
|
+
if (!stateKeyMap.has(event.state_key)) stateKeyMap.set(event.state_key, event);
|
|
1829
|
+
}
|
|
1830
|
+
} catch (err) {
|
|
1831
|
+
_iterator10.e(err);
|
|
1832
|
+
} finally {
|
|
1833
|
+
_iterator10.f();
|
|
1834
|
+
}
|
|
1835
|
+
}, function (e) {
|
|
1836
|
+
return console.error("Failed to read room state for ".concat(roomId, " (").concat(cap.eventType, ", ").concat(cap.keyStr, ")"), e);
|
|
1837
|
+
}).then(function () {
|
|
1838
|
+
// Mark request as no longer pending
|
|
1839
|
+
_this13.pushRoomStateTasks["delete"](task);
|
|
1840
|
+
});
|
|
1841
|
+
|
|
1842
|
+
// Mark task as pending
|
|
1843
|
+
_this13.pushRoomStateTasks.add(task);
|
|
1844
|
+
// Assuming no other tasks are already happening concurrently,
|
|
1845
|
+
// schedule the widget action that actually pushes the events
|
|
1846
|
+
(_this13$flushRoomStat = _this13.flushRoomStateTask) !== null && _this13$flushRoomStat !== void 0 ? _this13$flushRoomStat : _this13.flushRoomStateTask = _this13.flushRoomState();
|
|
1847
|
+
_this13.flushRoomStateTask["catch"](function (e) {
|
|
1848
|
+
return console.error("Failed to push room state", e);
|
|
1849
|
+
});
|
|
1850
|
+
}
|
|
1851
|
+
};
|
|
1852
|
+
for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
|
|
1853
|
+
_loop2();
|
|
1854
|
+
}
|
|
1855
|
+
} catch (err) {
|
|
1856
|
+
_iterator9.e(err);
|
|
1857
|
+
} finally {
|
|
1858
|
+
_iterator9.f();
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* Feeds a room state update to the widget. As a client you are expected to
|
|
1864
|
+
* call this for every state update in every room to which you are joined or
|
|
1865
|
+
* invited.
|
|
1866
|
+
* @param {IRoomEvent} rawEvent The state event corresponding to the updated
|
|
1867
|
+
* room state entry.
|
|
1868
|
+
* @returns {Promise<void>} Resolves when delivered or if the widget is not
|
|
1869
|
+
* able to receive the room state due to permissions, rejects if the
|
|
1870
|
+
* widget failed to handle the update.
|
|
1871
|
+
*/
|
|
1872
|
+
}, {
|
|
1873
|
+
key: "feedStateUpdate",
|
|
1874
|
+
value: function () {
|
|
1875
|
+
var _feedStateUpdate = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(rawEvent) {
|
|
1876
|
+
var eventTypeMap, stateKeyMap;
|
|
1877
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
1878
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
1879
|
+
case 0:
|
|
1880
|
+
if (!(rawEvent.state_key === undefined)) {
|
|
1881
|
+
_context18.next = 2;
|
|
1882
|
+
break;
|
|
1883
|
+
}
|
|
1884
|
+
throw new Error("Not a state event");
|
|
1885
|
+
case 2:
|
|
1886
|
+
if (!((rawEvent.room_id === this.viewedRoomId || this.canUseRoomTimeline(rawEvent.room_id)) && this.canReceiveStateEvent(rawEvent.type, rawEvent.state_key))) {
|
|
1887
|
+
_context18.next = 21;
|
|
1888
|
+
break;
|
|
1889
|
+
}
|
|
1890
|
+
if (!(this.pushRoomStateTasks.size === 0)) {
|
|
1891
|
+
_context18.next = 11;
|
|
1892
|
+
break;
|
|
1893
|
+
}
|
|
1894
|
+
_context18.next = 6;
|
|
1895
|
+
return this.getWidgetVersions();
|
|
1896
|
+
case 6:
|
|
1897
|
+
if (!_context18.sent.includes(_ApiVersion.UnstableApiVersion.MSC2762_UPDATE_STATE)) {
|
|
1898
|
+
_context18.next = 9;
|
|
1899
|
+
break;
|
|
1900
|
+
}
|
|
1901
|
+
_context18.next = 9;
|
|
1902
|
+
return this.transport.send(_WidgetApiAction.WidgetApiToWidgetAction.UpdateState, {
|
|
1903
|
+
state: [rawEvent]
|
|
1904
|
+
});
|
|
1905
|
+
case 9:
|
|
1906
|
+
_context18.next = 21;
|
|
1907
|
+
break;
|
|
1908
|
+
case 11:
|
|
1909
|
+
// Lump the update in with whatever data will be sent in the
|
|
1910
|
+
// initial push later. Even if we set it to an "outdated" entry
|
|
1911
|
+
// here, we can count on any newer entries being passed to this
|
|
1912
|
+
// same method eventually; this won't cause stuck state.
|
|
1913
|
+
eventTypeMap = this.pushRoomStateResult.get(rawEvent.room_id);
|
|
1914
|
+
if (eventTypeMap === undefined) {
|
|
1915
|
+
eventTypeMap = new Map();
|
|
1916
|
+
this.pushRoomStateResult.set(rawEvent.room_id, eventTypeMap);
|
|
1917
|
+
}
|
|
1918
|
+
stateKeyMap = eventTypeMap.get(rawEvent.type);
|
|
1919
|
+
if (stateKeyMap === undefined) {
|
|
1920
|
+
stateKeyMap = new Map();
|
|
1921
|
+
eventTypeMap.set(rawEvent.type, stateKeyMap);
|
|
1922
|
+
}
|
|
1923
|
+
if (!stateKeyMap.has(rawEvent.type)) stateKeyMap.set(rawEvent.state_key, rawEvent);
|
|
1924
|
+
case 16:
|
|
1925
|
+
_context18.next = 18;
|
|
1926
|
+
return Promise.all(this.pushRoomStateTasks);
|
|
1927
|
+
case 18:
|
|
1928
|
+
if (this.pushRoomStateTasks.size > 0) {
|
|
1929
|
+
_context18.next = 16;
|
|
1930
|
+
break;
|
|
1931
|
+
}
|
|
1932
|
+
case 19:
|
|
1933
|
+
_context18.next = 21;
|
|
1934
|
+
return this.flushRoomStateTask;
|
|
1935
|
+
case 21:
|
|
1936
|
+
case "end":
|
|
1937
|
+
return _context18.stop();
|
|
1938
|
+
}
|
|
1939
|
+
}, _callee18, this);
|
|
1940
|
+
}));
|
|
1941
|
+
function feedStateUpdate(_x18) {
|
|
1942
|
+
return _feedStateUpdate.apply(this, arguments);
|
|
1943
|
+
}
|
|
1944
|
+
return feedStateUpdate;
|
|
1945
|
+
}()
|
|
1946
|
+
}]);
|
|
1947
|
+
return ClientWidgetApi;
|
|
1948
|
+
}(_events.EventEmitter);
|
|
1949
|
+
exports.ClientWidgetApi = ClientWidgetApi;
|
|
1950
|
+
//# sourceMappingURL=ClientWidgetApi.js.map
|