@openclaw/discord 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/{account-inspect-CcJ-bl80.js → account-inspect-C4sJZNbI.js} +1 -1
- package/dist/account-inspect-api.js +1 -1
- package/dist/{accounts-C2TOAmpo.js → accounts-dXTfmnSZ.js} +1 -1
- package/dist/action-runtime-api.js +1 -1
- package/dist/api.js +13 -13
- package/dist/{approval-handler.runtime-hi6B0JCi.js → approval-handler.runtime-CyGGSiMH.js} +3 -3
- package/dist/{audit-DJIvRRzY.js → audit-DkBvCBsG.js} +3 -3
- package/dist/{channel-BswuOAN6.js → channel-LszCFESI.js} +16 -16
- package/dist/{channel-actions-CSepY2Kq.js → channel-actions-DDwcJy6_.js} +4 -4
- package/dist/{channel-actions.runtime-CSjcHZNT.js → channel-actions.runtime-CnwxnT58.js} +4 -4
- package/dist/channel-config-api.js +1 -1
- package/dist/channel-plugin-api.js +1 -1
- package/dist/{channel.setup-C0rcLtB9.js → channel.setup-rrsenw1h.js} +4 -4
- package/dist/{components-DDPGekgY.js → components-CE63uOrc.js} +3 -0
- package/dist/{config-schema-BGgg8U6A.js → config-schema-Kuf9IrLg.js} +4 -0
- package/dist/contract-api.js +2 -2
- package/dist/{conversation-identity-CAyt5wzy.js → conversation-identity-jwZ56ing.js} +2 -2
- package/dist/{directory-config-BcWtq4k8.js → directory-config-Do_NA_H8.js} +1 -1
- package/dist/directory-contract-api.js +1 -1
- package/dist/{directory-live-5HHCCe5Q.js → directory-live-DekuEEl8.js} +1 -1
- package/dist/{doctor-BLcVWv42.js → doctor-DmPhrTLR.js} +3 -3
- package/dist/{handle-action.guild-admin-DX2D9qkG.js → handle-action.guild-admin-09HC30Oh.js} +1 -1
- package/dist/{manager.runtime-Dq0mc5K0.js → manager.runtime-DPtx2pxB.js} +3 -3
- package/dist/{message-handler-wQJd4Peh.js → message-handler-miSYjwxl.js} +5 -5
- package/dist/{message-handler.preflight-ANdoLbtA.js → message-handler.preflight-DiLKljGS.js} +8 -8
- package/dist/{message-handler.process-DG4qm0sQ.js → message-handler.process-BKvQTmVP.js} +8 -8
- package/dist/{message-utils-Bw-wDr8G.js → message-utils-U-ax3LTX.js} +1 -1
- package/dist/{outbound-adapter-TGbHliO_.js → outbound-adapter-CF4KuNM6.js} +7 -6
- package/dist/{probe-CRWV5COl.js → probe-DfIM7zSY.js} +1 -1
- package/dist/{probe.runtime-h9mEzmMs.js → probe.runtime-DoXDN3rt.js} +1 -1
- package/dist/{provider-CzKMDsSE.js → provider-Bv9Sx9lq.js} +142 -23
- package/dist/{provider-session.runtime-D0XbJS5X.js → provider-session.runtime-BbEz2CZt.js} +3 -3
- package/dist/provider.runtime-DKBGMsC7.js +2 -0
- package/dist/{resolve-allowlist-common-Bec0FONA.js → resolve-allowlist-common-QzX-w4-_.js} +1 -1
- package/dist/{resolve-channels-DcWaMURg.js → resolve-channels-BDjtLmjX.js} +1 -1
- package/dist/{resolve-users-TQPLKDeV.js → resolve-users-BeaV5INm.js} +1 -1
- package/dist/{runtime-DP_0_5a0.js → runtime-DxQPyNY7.js} +214 -7
- package/dist/runtime-api.actions.js +2 -2
- package/dist/runtime-api.js +19 -19
- package/dist/runtime-api.lookup.js +5 -5
- package/dist/runtime-api.monitor-Wt6Qf0SL.js +5 -0
- package/dist/runtime-api.monitor.js +4 -4
- package/dist/runtime-api.send.js +5 -5
- package/dist/runtime-api.threads.js +3 -3
- package/dist/{send-CEAtV0qd.js → send-BjHCUrvn.js} +9 -5
- package/dist/{send.components-sY6aQV0K.js → send.components-BcCQ27av.js} +42 -8
- package/dist/{send.outbound-1vG9pOh2.js → send.outbound-CyvhKilL.js} +3 -3
- package/dist/{send.shared-D4clao4K.js → send.shared-C3uAu6bc.js} +2 -2
- package/dist/setup-plugin-api.js +1 -1
- package/dist/{shared-mo-r7V5W.js → shared-CgAcqTsg.js} +4 -4
- package/dist/{subagent-hooks-D65kqOor.js → subagent-hooks-DehrqnoK.js} +2 -2
- package/dist/subagent-hooks-api.js +1 -1
- package/dist/{target-resolver-BpGdnBIZ.js → target-resolver-squYahVm.js} +2 -2
- package/dist/{targets-DMdVjHOU.js → targets-BeetkGO0.js} +1 -1
- package/dist/test-api.js +3 -3
- package/dist/{thread-bindings-BQz8z6MR.js → thread-bindings-BD9jKFo5.js} +3 -3
- package/dist/{thread-bindings.discord-api-Ddalj9wo.js → thread-bindings.discord-api-D2EF_9XS.js} +3 -3
- package/dist/{thread-bindings.manager-I5f-Oykv.js → thread-bindings.manager-AEGKdE3O.js} +2 -2
- package/node_modules/@discordjs/voice/LICENSE +191 -0
- package/node_modules/@discordjs/voice/README.md +120 -0
- package/node_modules/@discordjs/voice/dist/index.d.mts +1930 -0
- package/node_modules/@discordjs/voice/dist/index.d.ts +1930 -0
- package/node_modules/@discordjs/voice/dist/index.js +3241 -0
- package/node_modules/@discordjs/voice/dist/index.js.map +1 -0
- package/node_modules/@discordjs/voice/dist/index.mjs +3180 -0
- package/node_modules/@discordjs/voice/dist/index.mjs.map +1 -0
- package/node_modules/@discordjs/voice/package.json +100 -0
- package/node_modules/@napi-rs/wasm-runtime/dist/fs-proxy.cjs +299 -0
- package/node_modules/@napi-rs/wasm-runtime/dist/fs.js +25092 -0
- package/node_modules/@napi-rs/wasm-runtime/fs-proxy.js +294 -0
- package/node_modules/@napi-rs/wasm-runtime/package.json +70 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.cjs +15 -0
- package/node_modules/@napi-rs/wasm-runtime/runtime.js +8 -0
- package/node_modules/@snazzah/davey/README.md +58 -0
- package/node_modules/@snazzah/davey/browser.js +1 -0
- package/node_modules/@snazzah/davey/index.d.ts +260 -0
- package/node_modules/@snazzah/davey/index.js +523 -0
- package/node_modules/@snazzah/davey/package.json +140 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/davey.android-arm-eabi.node +0 -0
- package/node_modules/@snazzah/davey-android-arm-eabi/package.json +40 -0
- package/node_modules/@snazzah/davey-android-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-android-arm64/davey.android-arm64.node +0 -0
- package/node_modules/@snazzah/davey-android-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-arm64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-arm64/davey.darwin-arm64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-arm64/package.json +40 -0
- package/node_modules/@snazzah/davey-darwin-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-darwin-x64/davey.darwin-x64.node +0 -0
- package/node_modules/@snazzah/davey-darwin-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-freebsd-x64/README.md +3 -0
- package/node_modules/@snazzah/davey-freebsd-x64/davey.freebsd-x64.node +0 -0
- package/node_modules/@snazzah/davey-freebsd-x64/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/davey.linux-arm-gnueabihf.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm-gnueabihf/package.json +40 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/davey.linux-arm64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/davey.linux-arm64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-arm64-musl/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/davey.linux-x64-gnu.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-gnu/package.json +43 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/README.md +3 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/davey.linux-x64-musl.node +0 -0
- package/node_modules/@snazzah/davey-linux-x64-musl/package.json +43 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/README.md +3 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi-browser.js +71 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasi.cjs +123 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/davey.wasm32-wasi.wasm +0 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/package.json +45 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker-browser.mjs +32 -0
- package/node_modules/@snazzah/davey-wasm32-wasi/wasi-worker.mjs +63 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/davey.win32-arm64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-arm64-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/davey.win32-ia32-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-ia32-msvc/package.json +40 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/README.md +3 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/davey.win32-x64-msvc.node +0 -0
- package/node_modules/@snazzah/davey-win32-x64-msvc/package.json +40 -0
- package/node_modules/@tybys/wasm-util/README.md +193 -0
- package/node_modules/@tybys/wasm-util/dist/tsdoc-metadata.json +11 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.d.ts +423 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm-bundler.js +2920 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.js +2920 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.esm.min.js +1 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.js +2942 -0
- package/node_modules/@tybys/wasm-util/dist/wasm-util.min.js +1 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/asyncify.js +158 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/index.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/jspi.js +46 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/load.js +97 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/memory.js +35 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/error.js +103 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fd.js +268 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/fs.js +3 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/index.js +192 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/path.js +316 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/preview1.js +1586 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/rights.js +141 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/types.js +220 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/wasi/util.js +128 -0
- package/node_modules/@tybys/wasm-util/lib/cjs/webassembly.js +13 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/asyncify.mjs +153 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/index.mjs +9 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/jspi.mjs +39 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/load.mjs +89 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/memory.mjs +28 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/error.mjs +97 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fd.mjs +256 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/fs.mjs +1 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/index.mjs +186 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/path.mjs +310 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/preview1.mjs +1581 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/rights.mjs +135 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/types.mjs +216 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/wasi/util.mjs +113 -0
- package/node_modules/@tybys/wasm-util/lib/mjs/webassembly.mjs +9 -0
- package/node_modules/@tybys/wasm-util/package.json +58 -0
- package/node_modules/@types/node/LICENSE +21 -0
- package/node_modules/@types/node/README.md +15 -0
- package/node_modules/@types/node/assert/strict.d.ts +59 -0
- package/node_modules/@types/node/assert.d.ts +950 -0
- package/node_modules/@types/node/async_hooks.d.ts +711 -0
- package/node_modules/@types/node/buffer.buffer.d.ts +466 -0
- package/node_modules/@types/node/buffer.d.ts +1765 -0
- package/node_modules/@types/node/child_process.d.ts +1366 -0
- package/node_modules/@types/node/cluster.d.ts +432 -0
- package/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/node_modules/@types/node/console.d.ts +93 -0
- package/node_modules/@types/node/constants.d.ts +14 -0
- package/node_modules/@types/node/crypto.d.ts +4058 -0
- package/node_modules/@types/node/dgram.d.ts +537 -0
- package/node_modules/@types/node/diagnostics_channel.d.ts +552 -0
- package/node_modules/@types/node/dns/promises.d.ts +497 -0
- package/node_modules/@types/node/dns.d.ts +876 -0
- package/node_modules/@types/node/domain.d.ts +150 -0
- package/node_modules/@types/node/events.d.ts +1008 -0
- package/node_modules/@types/node/fs/promises.d.ts +1468 -0
- package/node_modules/@types/node/fs.d.ts +4780 -0
- package/node_modules/@types/node/globals.d.ts +150 -0
- package/node_modules/@types/node/globals.typedarray.d.ts +101 -0
- package/node_modules/@types/node/http.d.ts +2147 -0
- package/node_modules/@types/node/http2.d.ts +2485 -0
- package/node_modules/@types/node/https.d.ts +400 -0
- package/node_modules/@types/node/index.d.ts +117 -0
- package/node_modules/@types/node/inspector/promises.d.ts +35 -0
- package/node_modules/@types/node/inspector.d.ts +264 -0
- package/node_modules/@types/node/inspector.generated.d.ts +4406 -0
- package/node_modules/@types/node/module.d.ts +755 -0
- package/node_modules/@types/node/net.d.ts +970 -0
- package/node_modules/@types/node/os.d.ts +498 -0
- package/node_modules/@types/node/package.json +155 -0
- package/node_modules/@types/node/path/posix.d.ts +8 -0
- package/node_modules/@types/node/path/win32.d.ts +8 -0
- package/node_modules/@types/node/path.d.ts +178 -0
- package/node_modules/@types/node/perf_hooks.d.ts +612 -0
- package/node_modules/@types/node/process.d.ts +2204 -0
- package/node_modules/@types/node/punycode.d.ts +89 -0
- package/node_modules/@types/node/querystring.d.ts +139 -0
- package/node_modules/@types/node/quic.d.ts +897 -0
- package/node_modules/@types/node/readline/promises.d.ts +158 -0
- package/node_modules/@types/node/readline.d.ts +507 -0
- package/node_modules/@types/node/repl.d.ts +420 -0
- package/node_modules/@types/node/sea.d.ts +47 -0
- package/node_modules/@types/node/sqlite.d.ts +1068 -0
- package/node_modules/@types/node/stream/consumers.d.ts +114 -0
- package/node_modules/@types/node/stream/iter.d.ts +301 -0
- package/node_modules/@types/node/stream/promises.d.ts +211 -0
- package/node_modules/@types/node/stream/web.d.ts +300 -0
- package/node_modules/@types/node/stream.d.ts +1774 -0
- package/node_modules/@types/node/string_decoder.d.ts +27 -0
- package/node_modules/@types/node/test/reporters.d.ts +59 -0
- package/node_modules/@types/node/test.d.ts +2279 -0
- package/node_modules/@types/node/timers/promises.d.ts +93 -0
- package/node_modules/@types/node/timers.d.ts +149 -0
- package/node_modules/@types/node/tls.d.ts +1193 -0
- package/node_modules/@types/node/trace_events.d.ts +103 -0
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +462 -0
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +71 -0
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +36 -0
- package/node_modules/@types/node/ts5.6/index.d.ts +119 -0
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +72 -0
- package/node_modules/@types/node/ts5.7/index.d.ts +119 -0
- package/node_modules/@types/node/tty.d.ts +225 -0
- package/node_modules/@types/node/url.d.ts +556 -0
- package/node_modules/@types/node/util/types.d.ts +558 -0
- package/node_modules/@types/node/util.d.ts +1677 -0
- package/node_modules/@types/node/v8.d.ts +980 -0
- package/node_modules/@types/node/vm.d.ts +1136 -0
- package/node_modules/@types/node/wasi.d.ts +131 -0
- package/node_modules/@types/node/web-globals/abortcontroller.d.ts +59 -0
- package/node_modules/@types/node/web-globals/blob.d.ts +23 -0
- package/node_modules/@types/node/web-globals/console.d.ts +9 -0
- package/node_modules/@types/node/web-globals/crypto.d.ts +39 -0
- package/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/node_modules/@types/node/web-globals/encoding.d.ts +11 -0
- package/node_modules/@types/node/web-globals/events.d.ts +106 -0
- package/node_modules/@types/node/web-globals/fetch.d.ts +69 -0
- package/node_modules/@types/node/web-globals/importmeta.d.ts +13 -0
- package/node_modules/@types/node/web-globals/messaging.d.ts +23 -0
- package/node_modules/@types/node/web-globals/navigator.d.ts +25 -0
- package/node_modules/@types/node/web-globals/performance.d.ts +45 -0
- package/node_modules/@types/node/web-globals/storage.d.ts +24 -0
- package/node_modules/@types/node/web-globals/streams.d.ts +115 -0
- package/node_modules/@types/node/web-globals/timers.d.ts +44 -0
- package/node_modules/@types/node/web-globals/url.d.ts +24 -0
- package/node_modules/@types/node/worker_threads.d.ts +671 -0
- package/node_modules/@types/node/zlib/iter.d.ts +131 -0
- package/node_modules/@types/node/zlib.d.ts +589 -0
- package/node_modules/@types/ws/LICENSE +21 -0
- package/node_modules/@types/ws/README.md +15 -0
- package/node_modules/@types/ws/index.d.mts +451 -0
- package/node_modules/@types/ws/index.d.ts +445 -0
- package/node_modules/@types/ws/package.json +72 -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 +10 -0
- package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
- package/node_modules/agent-base/dist/helpers.js +37 -0
- package/node_modules/agent-base/dist/helpers.js.map +1 -0
- package/node_modules/agent-base/dist/index.d.ts +37 -0
- package/node_modules/agent-base/dist/index.d.ts.map +1 -0
- package/node_modules/agent-base/dist/index.js +146 -0
- package/node_modules/agent-base/dist/index.js.map +1 -0
- package/node_modules/agent-base/package.json +46 -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/discord-api-types/CHANGELOG.md +2442 -0
- package/node_modules/discord-api-types/LICENSE +21 -0
- package/node_modules/discord-api-types/README.md +102 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts +906 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.d.ts.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.js +3 -0
- package/node_modules/discord-api-types/_generated_/rest/v10/interfaces.js.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts +908 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.d.ts.map +1 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.js +3 -0
- package/node_modules/discord-api-types/_generated_/rest/v9/interfaces.js.map +1 -0
- package/node_modules/discord-api-types/gateway/common.d.ts +9 -0
- package/node_modules/discord-api-types/gateway/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/common.js +3 -0
- package/node_modules/discord-api-types/gateway/common.js.map +1 -0
- package/node_modules/discord-api-types/gateway/index.d.ts +2 -0
- package/node_modules/discord-api-types/gateway/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/index.js +20 -0
- package/node_modules/discord-api-types/gateway/index.js.map +1 -0
- package/node_modules/discord-api-types/gateway/index.mjs +9 -0
- package/node_modules/discord-api-types/gateway/v10.d.ts +2054 -0
- package/node_modules/discord-api-types/gateway/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v10.js +277 -0
- package/node_modules/discord-api-types/gateway/v10.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v10.mjs +9 -0
- package/node_modules/discord-api-types/gateway/v6.d.ts +658 -0
- package/node_modules/discord-api-types/gateway/v6.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v6.js +158 -0
- package/node_modules/discord-api-types/gateway/v6.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v6.mjs +10 -0
- package/node_modules/discord-api-types/gateway/v8.d.ts +1575 -0
- package/node_modules/discord-api-types/gateway/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v8.js +231 -0
- package/node_modules/discord-api-types/gateway/v8.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v8.mjs +8 -0
- package/node_modules/discord-api-types/gateway/v9.d.ts +2053 -0
- package/node_modules/discord-api-types/gateway/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/gateway/v9.js +276 -0
- package/node_modules/discord-api-types/gateway/v9.js.map +1 -0
- package/node_modules/discord-api-types/gateway/v9.mjs +9 -0
- package/node_modules/discord-api-types/globals.d.ts +102 -0
- package/node_modules/discord-api-types/globals.d.ts.map +1 -0
- package/node_modules/discord-api-types/globals.js +105 -0
- package/node_modules/discord-api-types/globals.js.map +1 -0
- package/node_modules/discord-api-types/globals.mjs +4 -0
- package/node_modules/discord-api-types/package.json +215 -0
- package/node_modules/discord-api-types/payloads/common.d.ts +344 -0
- package/node_modules/discord-api-types/payloads/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/common.js +310 -0
- package/node_modules/discord-api-types/payloads/common.js.map +1 -0
- package/node_modules/discord-api-types/payloads/index.d.ts +2 -0
- package/node_modules/discord-api-types/payloads/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/index.js +20 -0
- package/node_modules/discord-api-types/payloads/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts +23 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts +5 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts +26 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts +17 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js +18 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts +66 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/entryPoint.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts +55 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts +194 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js +89 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts +230 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.js +63 -0
- package/node_modules/discord-api-types/payloads/v10/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/application.d.ts +387 -0
- package/node_modules/discord-api-types/payloads/v10/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/application.js +152 -0
- package/node_modules/discord-api-types/payloads/v10/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.d.ts +694 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.js +85 -0
- package/node_modules/discord-api-types/payloads/v10/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts +222 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.js +88 -0
- package/node_modules/discord-api-types/payloads/v10/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts +653 -0
- package/node_modules/discord-api-types/payloads/v10/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/channel.js +219 -0
- package/node_modules/discord-api-types/payloads/v10/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts +456 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.js +103 -0
- package/node_modules/discord-api-types/payloads/v10/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guild.d.ts +1223 -0
- package/node_modules/discord-api-types/payloads/v10/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guild.js +403 -0
- package/node_modules/discord-api-types/payloads/v10/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts +244 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js +74 -0
- package/node_modules/discord-api-types/payloads/v10/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v10/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.js +37 -0
- package/node_modules/discord-api-types/payloads/v10/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.js +19 -0
- package/node_modules/discord-api-types/payloads/v10/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/invite.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v10/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/invite.js +31 -0
- package/node_modules/discord-api-types/payloads/v10/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/message.d.ts +2155 -0
- package/node_modules/discord-api-types/payloads/v10/message.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/message.js +590 -0
- package/node_modules/discord-api-types/payloads/v10/message.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.d.ts +216 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.js +101 -0
- package/node_modules/discord-api-types/payloads/v10/monetization.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.d.ts +144 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.js +148 -0
- package/node_modules/discord-api-types/payloads/v10/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.js +17 -0
- package/node_modules/discord-api-types/payloads/v10/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/poll.d.ts +111 -0
- package/node_modules/discord-api-types/payloads/v10/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/poll.js +17 -0
- package/node_modules/discord-api-types/payloads/v10/poll.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.js +21 -0
- package/node_modules/discord-api-types/payloads/v10/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.d.ts +125 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.js +31 -0
- package/node_modules/discord-api-types/payloads/v10/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/teams.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v10/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/teams.js +24 -0
- package/node_modules/discord-api-types/payloads/v10/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/template.d.ts +64 -0
- package/node_modules/discord-api-types/payloads/v10/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/user.d.ts +430 -0
- package/node_modules/discord-api-types/payloads/v10/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/user.js +191 -0
- package/node_modules/discord-api-types/payloads/v10/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/voice.d.ts +101 -0
- package/node_modules/discord-api-types/payloads/v10/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v10/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.d.ts +190 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.js +69 -0
- package/node_modules/discord-api-types/payloads/v10/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.d.ts +469 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.js +58 -0
- package/node_modules/discord-api-types/payloads/v6/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/channel.d.ts +339 -0
- package/node_modules/discord-api-types/payloads/v6/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/channel.js +94 -0
- package/node_modules/discord-api-types/payloads/v6/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.d.ts +149 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.js +45 -0
- package/node_modules/discord-api-types/payloads/v6/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/guild.d.ts +310 -0
- package/node_modules/discord-api-types/payloads/v6/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/guild.js +118 -0
- package/node_modules/discord-api-types/payloads/v6/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v6/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.js +29 -0
- package/node_modules/discord-api-types/payloads/v6/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/index.mjs +30 -0
- package/node_modules/discord-api-types/payloads/v6/invite.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v6/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/invite.js +16 -0
- package/node_modules/discord-api-types/payloads/v6/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.d.ts +75 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.js +56 -0
- package/node_modules/discord-api-types/payloads/v6/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/teams.d.ts +36 -0
- package/node_modules/discord-api-types/payloads/v6/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/teams.js +17 -0
- package/node_modules/discord-api-types/payloads/v6/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/user.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v6/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/user.js +48 -0
- package/node_modules/discord-api-types/payloads/v6/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/voice.d.ts +37 -0
- package/node_modules/discord-api-types/payloads/v6/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v6/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.d.ts +32 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.js +15 -0
- package/node_modules/discord-api-types/payloads/v6/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts +15 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts +27 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts +28 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js +23 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts +12 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts +90 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js +29 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts +102 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts +53 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js +14 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts +112 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js +32 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts +116 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts +48 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts +7 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts +138 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.js +53 -0
- package/node_modules/discord-api-types/payloads/v8/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/application.d.ts +134 -0
- package/node_modules/discord-api-types/payloads/v8/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/application.js +28 -0
- package/node_modules/discord-api-types/payloads/v8/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.d.ts +637 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.js +67 -0
- package/node_modules/discord-api-types/payloads/v8/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/channel.d.ts +1268 -0
- package/node_modules/discord-api-types/payloads/v8/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/channel.js +253 -0
- package/node_modules/discord-api-types/payloads/v8/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.d.ts +53 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.d.ts +332 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.js +79 -0
- package/node_modules/discord-api-types/payloads/v8/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guild.d.ts +1001 -0
- package/node_modules/discord-api-types/payloads/v8/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guild.js +264 -0
- package/node_modules/discord-api-types/payloads/v8/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts +163 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js +39 -0
- package/node_modules/discord-api-types/payloads/v8/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v8/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.js +36 -0
- package/node_modules/discord-api-types/payloads/v8/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/index.mjs +51 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.d.ts +31 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.js +24 -0
- package/node_modules/discord-api-types/payloads/v8/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/invite.d.ts +114 -0
- package/node_modules/discord-api-types/payloads/v8/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/invite.js +17 -0
- package/node_modules/discord-api-types/payloads/v8/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.d.ts +117 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.js +121 -0
- package/node_modules/discord-api-types/payloads/v8/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts +76 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.js +20 -0
- package/node_modules/discord-api-types/payloads/v8/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.d.ts +133 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.js +34 -0
- package/node_modules/discord-api-types/payloads/v8/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/teams.d.ts +69 -0
- package/node_modules/discord-api-types/payloads/v8/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/teams.js +17 -0
- package/node_modules/discord-api-types/payloads/v8/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/template.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v8/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/user.d.ts +228 -0
- package/node_modules/discord-api-types/payloads/v8/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/user.js +108 -0
- package/node_modules/discord-api-types/payloads/v8/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/voice.d.ts +94 -0
- package/node_modules/discord-api-types/payloads/v8/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v8/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.js +25 -0
- package/node_modules/discord-api-types/payloads/v8/webhook.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/attachment.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts +23 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts +5 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/boolean.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/integer.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/mentionable.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/number.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/role.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts +26 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/shared.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts +17 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/string.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommand.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts +13 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/subcommandGroup.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts +6 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/_chatInput/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts +68 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js +18 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/chatInput.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts +66 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/contextMenu.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.d.ts +20 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/entryPoint.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts +9 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/internals.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts +55 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/_applicationCommands/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts +192 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js +89 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/applicationCommands.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts +11 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/autocomplete.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts +233 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/base.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts +42 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/messageComponents.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts +77 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/modalSubmit.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts +4 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.js +3 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/ping.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.js +63 -0
- package/node_modules/discord-api-types/payloads/v9/_interactions/responses.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/application.d.ts +387 -0
- package/node_modules/discord-api-types/payloads/v9/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/application.js +152 -0
- package/node_modules/discord-api-types/payloads/v9/application.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.d.ts +694 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.js +85 -0
- package/node_modules/discord-api-types/payloads/v9/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts +222 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.js +88 -0
- package/node_modules/discord-api-types/payloads/v9/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts +656 -0
- package/node_modules/discord-api-types/payloads/v9/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/channel.js +219 -0
- package/node_modules/discord-api-types/payloads/v9/channel.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/emoji.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts +444 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.js +103 -0
- package/node_modules/discord-api-types/payloads/v9/gateway.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guild.d.ts +1215 -0
- package/node_modules/discord-api-types/payloads/v9/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guild.js +395 -0
- package/node_modules/discord-api-types/payloads/v9/guild.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts +244 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js +74 -0
- package/node_modules/discord-api-types/payloads/v9/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v9/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.js +37 -0
- package/node_modules/discord-api-types/payloads/v9/index.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/index.mjs +101 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.d.ts +25 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.js +19 -0
- package/node_modules/discord-api-types/payloads/v9/interactions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/invite.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v9/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/invite.js +31 -0
- package/node_modules/discord-api-types/payloads/v9/invite.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/message.d.ts +2151 -0
- package/node_modules/discord-api-types/payloads/v9/message.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/message.js +590 -0
- package/node_modules/discord-api-types/payloads/v9/message.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.d.ts +216 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.js +101 -0
- package/node_modules/discord-api-types/payloads/v9/monetization.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.d.ts +132 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.js +136 -0
- package/node_modules/discord-api-types/payloads/v9/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.d.ts +124 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.js +17 -0
- package/node_modules/discord-api-types/payloads/v9/permissions.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/poll.d.ts +111 -0
- package/node_modules/discord-api-types/payloads/v9/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/poll.js +17 -0
- package/node_modules/discord-api-types/payloads/v9/poll.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.d.ts +43 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts +82 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.js +21 -0
- package/node_modules/discord-api-types/payloads/v9/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.d.ts +125 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.js +31 -0
- package/node_modules/discord-api-types/payloads/v9/sticker.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/teams.d.ts +79 -0
- package/node_modules/discord-api-types/payloads/v9/teams.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/teams.js +24 -0
- package/node_modules/discord-api-types/payloads/v9/teams.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/template.d.ts +64 -0
- package/node_modules/discord-api-types/payloads/v9/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/template.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/template.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/user.d.ts +430 -0
- package/node_modules/discord-api-types/payloads/v9/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/user.js +191 -0
- package/node_modules/discord-api-types/payloads/v9/user.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/voice.d.ts +98 -0
- package/node_modules/discord-api-types/payloads/v9/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/voice.js +6 -0
- package/node_modules/discord-api-types/payloads/v9/voice.js.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.d.ts +190 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.js +69 -0
- package/node_modules/discord-api-types/payloads/v9/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/common.d.ts +307 -0
- package/node_modules/discord-api-types/rest/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/common.js +311 -0
- package/node_modules/discord-api-types/rest/common.js.map +1 -0
- package/node_modules/discord-api-types/rest/index.d.ts +2 -0
- package/node_modules/discord-api-types/rest/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/index.js +20 -0
- package/node_modules/discord-api-types/rest/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v10/application.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v10/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/application.js +3 -0
- package/node_modules/discord-api-types/rest/v10/application.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v10/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.d.ts +68 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.js +3 -0
- package/node_modules/discord-api-types/rest/v10/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/channel.d.ts +764 -0
- package/node_modules/discord-api-types/rest/v10/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/channel.js +18 -0
- package/node_modules/discord-api-types/rest/v10/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/emoji.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v10/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v10/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/gateway.d.ts +10 -0
- package/node_modules/discord-api-types/rest/v10/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v10/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guild.d.ts +1062 -0
- package/node_modules/discord-api-types/rest/v10/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v10/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts +124 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v10/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.d.ts +87 -0
- package/node_modules/discord-api-types/rest/v10/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.js +1286 -0
- package/node_modules/discord-api-types/rest/v10/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v10/interactions.d.ts +290 -0
- package/node_modules/discord-api-types/rest/v10/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v10/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/invite.d.ts +28 -0
- package/node_modules/discord-api-types/rest/v10/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v10/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/monetization.d.ts +130 -0
- package/node_modules/discord-api-types/rest/v10/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/monetization.js +12 -0
- package/node_modules/discord-api-types/rest/v10/monetization.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.d.ts +193 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v10/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/poll.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v10/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/poll.js +3 -0
- package/node_modules/discord-api-types/rest/v10/poll.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.d.ts +98 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.js +3 -0
- package/node_modules/discord-api-types/rest/v10/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.d.ts +59 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v10/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/sticker.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v10/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v10/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/template.d.ts +65 -0
- package/node_modules/discord-api-types/rest/v10/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/template.js +3 -0
- package/node_modules/discord-api-types/rest/v10/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/user.d.ts +122 -0
- package/node_modules/discord-api-types/rest/v10/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/user.js +3 -0
- package/node_modules/discord-api-types/rest/v10/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/voice.d.ts +57 -0
- package/node_modules/discord-api-types/rest/v10/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v10/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts +275 -0
- package/node_modules/discord-api-types/rest/v10/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v10/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v10/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.d.ts +17 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v6/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/channel.d.ts +268 -0
- package/node_modules/discord-api-types/rest/v6/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/channel.js +15 -0
- package/node_modules/discord-api-types/rest/v6/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/emoji.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v6/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v6/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/gateway.d.ts +14 -0
- package/node_modules/discord-api-types/rest/v6/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v6/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/guild.d.ts +465 -0
- package/node_modules/discord-api-types/rest/v6/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v6/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.d.ts +348 -0
- package/node_modules/discord-api-types/rest/v6/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.js +499 -0
- package/node_modules/discord-api-types/rest/v6/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/index.mjs +9 -0
- package/node_modules/discord-api-types/rest/v6/invite.d.ts +20 -0
- package/node_modules/discord-api-types/rest/v6/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v6/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.d.ts +177 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v6/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/user.d.ts +80 -0
- package/node_modules/discord-api-types/rest/v6/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/user.js +3 -0
- package/node_modules/discord-api-types/rest/v6/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/voice.d.ts +8 -0
- package/node_modules/discord-api-types/rest/v6/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v6/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v6/webhook.d.ts +139 -0
- package/node_modules/discord-api-types/rest/v6/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v6/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v6/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.d.ts +32 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v8/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/channel.d.ts +564 -0
- package/node_modules/discord-api-types/rest/v8/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/channel.js +3 -0
- package/node_modules/discord-api-types/rest/v8/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/emoji.d.ts +69 -0
- package/node_modules/discord-api-types/rest/v8/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v8/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/gateway.d.ts +14 -0
- package/node_modules/discord-api-types/rest/v8/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v8/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guild.d.ts +882 -0
- package/node_modules/discord-api-types/rest/v8/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v8/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts +141 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v8/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.d.ts +539 -0
- package/node_modules/discord-api-types/rest/v8/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.js +747 -0
- package/node_modules/discord-api-types/rest/v8/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/index.mjs +10 -0
- package/node_modules/discord-api-types/rest/v8/interactions.d.ts +257 -0
- package/node_modules/discord-api-types/rest/v8/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v8/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/invite.d.ts +32 -0
- package/node_modules/discord-api-types/rest/v8/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v8/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.d.ts +213 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v8/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.d.ts +63 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v8/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/sticker.d.ts +70 -0
- package/node_modules/discord-api-types/rest/v8/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v8/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/template.d.ts +83 -0
- package/node_modules/discord-api-types/rest/v8/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/template.js +3 -0
- package/node_modules/discord-api-types/rest/v8/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/user.d.ts +109 -0
- package/node_modules/discord-api-types/rest/v8/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/user.js +3 -0
- package/node_modules/discord-api-types/rest/v8/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/voice.d.ts +8 -0
- package/node_modules/discord-api-types/rest/v8/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v8/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v8/webhook.d.ts +283 -0
- package/node_modules/discord-api-types/rest/v8/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v8/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v8/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/application.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v9/application.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/application.js +3 -0
- package/node_modules/discord-api-types/rest/v9/application.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.d.ts +31 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.js +3 -0
- package/node_modules/discord-api-types/rest/v9/auditLog.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.d.ts +68 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.js +3 -0
- package/node_modules/discord-api-types/rest/v9/autoModeration.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/channel.d.ts +777 -0
- package/node_modules/discord-api-types/rest/v9/channel.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/channel.js +18 -0
- package/node_modules/discord-api-types/rest/v9/channel.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/emoji.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v9/emoji.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/emoji.js +3 -0
- package/node_modules/discord-api-types/rest/v9/emoji.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/gateway.d.ts +10 -0
- package/node_modules/discord-api-types/rest/v9/gateway.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/gateway.js +3 -0
- package/node_modules/discord-api-types/rest/v9/gateway.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guild.d.ts +1068 -0
- package/node_modules/discord-api-types/rest/v9/guild.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guild.js +3 -0
- package/node_modules/discord-api-types/rest/v9/guild.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts +124 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js +3 -0
- package/node_modules/discord-api-types/rest/v9/guildScheduledEvent.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.d.ts +87 -0
- package/node_modules/discord-api-types/rest/v9/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.js +1293 -0
- package/node_modules/discord-api-types/rest/v9/index.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/index.mjs +15 -0
- package/node_modules/discord-api-types/rest/v9/interactions.d.ts +290 -0
- package/node_modules/discord-api-types/rest/v9/interactions.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/interactions.js +3 -0
- package/node_modules/discord-api-types/rest/v9/interactions.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/invite.d.ts +28 -0
- package/node_modules/discord-api-types/rest/v9/invite.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/invite.js +3 -0
- package/node_modules/discord-api-types/rest/v9/invite.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/monetization.d.ts +130 -0
- package/node_modules/discord-api-types/rest/v9/monetization.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/monetization.js +12 -0
- package/node_modules/discord-api-types/rest/v9/monetization.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.d.ts +193 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.js +3 -0
- package/node_modules/discord-api-types/rest/v9/oauth2.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/poll.d.ts +50 -0
- package/node_modules/discord-api-types/rest/v9/poll.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/poll.js +3 -0
- package/node_modules/discord-api-types/rest/v9/poll.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.d.ts +98 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.js +3 -0
- package/node_modules/discord-api-types/rest/v9/soundboard.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.d.ts +59 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.js +3 -0
- package/node_modules/discord-api-types/rest/v9/stageInstance.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/sticker.d.ts +85 -0
- package/node_modules/discord-api-types/rest/v9/sticker.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/sticker.js +3 -0
- package/node_modules/discord-api-types/rest/v9/sticker.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/template.d.ts +65 -0
- package/node_modules/discord-api-types/rest/v9/template.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/template.js +3 -0
- package/node_modules/discord-api-types/rest/v9/template.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/user.d.ts +122 -0
- package/node_modules/discord-api-types/rest/v9/user.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/user.js +3 -0
- package/node_modules/discord-api-types/rest/v9/user.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/voice.d.ts +57 -0
- package/node_modules/discord-api-types/rest/v9/voice.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/voice.js +3 -0
- package/node_modules/discord-api-types/rest/v9/voice.js.map +1 -0
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts +275 -0
- package/node_modules/discord-api-types/rest/v9/webhook.d.ts.map +1 -0
- package/node_modules/discord-api-types/rest/v9/webhook.js +3 -0
- package/node_modules/discord-api-types/rest/v9/webhook.js.map +1 -0
- package/node_modules/discord-api-types/rpc/common.d.ts +453 -0
- package/node_modules/discord-api-types/rpc/common.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/common.js +240 -0
- package/node_modules/discord-api-types/rpc/common.js.map +1 -0
- package/node_modules/discord-api-types/rpc/index.d.ts +2 -0
- package/node_modules/discord-api-types/rpc/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/index.js +20 -0
- package/node_modules/discord-api-types/rpc/index.js.map +1 -0
- package/node_modules/discord-api-types/rpc/index.mjs +13 -0
- package/node_modules/discord-api-types/rpc/v10.d.ts +2191 -0
- package/node_modules/discord-api-types/rpc/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v10.js +299 -0
- package/node_modules/discord-api-types/rpc/v10.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v10.mjs +13 -0
- package/node_modules/discord-api-types/rpc/v8.d.ts +39 -0
- package/node_modules/discord-api-types/rpc/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v8.js +18 -0
- package/node_modules/discord-api-types/rpc/v8.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v8.mjs +10 -0
- package/node_modules/discord-api-types/rpc/v9.d.ts +39 -0
- package/node_modules/discord-api-types/rpc/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/rpc/v9.js +18 -0
- package/node_modules/discord-api-types/rpc/v9.js.map +1 -0
- package/node_modules/discord-api-types/rpc/v9.mjs +10 -0
- package/node_modules/discord-api-types/scripts/versions.mjs +46 -0
- package/node_modules/discord-api-types/utils/index.d.ts +2 -0
- package/node_modules/discord-api-types/utils/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/index.js +20 -0
- package/node_modules/discord-api-types/utils/index.js.map +1 -0
- package/node_modules/discord-api-types/utils/index.mjs +17 -0
- package/node_modules/discord-api-types/utils/internals.d.ts +34 -0
- package/node_modules/discord-api-types/utils/internals.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/internals.js +13 -0
- package/node_modules/discord-api-types/utils/internals.js.map +1 -0
- package/node_modules/discord-api-types/utils/v10.d.ts +100 -0
- package/node_modules/discord-api-types/utils/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v10.js +158 -0
- package/node_modules/discord-api-types/utils/v10.js.map +1 -0
- package/node_modules/discord-api-types/utils/v10.mjs +17 -0
- package/node_modules/discord-api-types/utils/v8.d.ts +66 -0
- package/node_modules/discord-api-types/utils/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v8.js +96 -0
- package/node_modules/discord-api-types/utils/v8.js.map +1 -0
- package/node_modules/discord-api-types/utils/v8.mjs +11 -0
- package/node_modules/discord-api-types/utils/v9.d.ts +100 -0
- package/node_modules/discord-api-types/utils/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/utils/v9.js +158 -0
- package/node_modules/discord-api-types/utils/v9.js.map +1 -0
- package/node_modules/discord-api-types/utils/v9.mjs +17 -0
- package/node_modules/discord-api-types/v10.d.ts +8 -0
- package/node_modules/discord-api-types/v10.d.ts.map +1 -0
- package/node_modules/discord-api-types/v10.js +47 -0
- package/node_modules/discord-api-types/v10.js.map +1 -0
- package/node_modules/discord-api-types/v10.mjs +132 -0
- package/node_modules/discord-api-types/v6.d.ts +5 -0
- package/node_modules/discord-api-types/v6.d.ts.map +1 -0
- package/node_modules/discord-api-types/v6.js +21 -0
- package/node_modules/discord-api-types/v6.js.map +1 -0
- package/node_modules/discord-api-types/v6.mjs +44 -0
- package/node_modules/discord-api-types/v8.d.ts +7 -0
- package/node_modules/discord-api-types/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/v8.js +46 -0
- package/node_modules/discord-api-types/v8.js.map +1 -0
- package/node_modules/discord-api-types/v8.mjs +72 -0
- package/node_modules/discord-api-types/v9.d.ts +8 -0
- package/node_modules/discord-api-types/v9.d.ts.map +1 -0
- package/node_modules/discord-api-types/v9.js +47 -0
- package/node_modules/discord-api-types/v9.js.map +1 -0
- package/node_modules/discord-api-types/v9.mjs +129 -0
- package/node_modules/discord-api-types/voice/index.d.ts +2 -0
- package/node_modules/discord-api-types/voice/index.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/index.js +20 -0
- package/node_modules/discord-api-types/voice/index.js.map +1 -0
- package/node_modules/discord-api-types/voice/index.mjs +8 -0
- package/node_modules/discord-api-types/voice/v4.d.ts +174 -0
- package/node_modules/discord-api-types/voice/v4.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/v4.js +179 -0
- package/node_modules/discord-api-types/voice/v4.js.map +1 -0
- package/node_modules/discord-api-types/voice/v4.mjs +6 -0
- package/node_modules/discord-api-types/voice/v8.d.ts +632 -0
- package/node_modules/discord-api-types/voice/v8.d.ts.map +1 -0
- package/node_modules/discord-api-types/voice/v8.js +236 -0
- package/node_modules/discord-api-types/voice/v8.js.map +1 -0
- package/node_modules/discord-api-types/voice/v8.mjs +8 -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 +43 -0
- package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
- package/node_modules/https-proxy-agent/dist/index.js +150 -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 +12 -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 +94 -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/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/opusscript/LICENSE +20 -0
- package/node_modules/opusscript/README.md +53 -0
- package/node_modules/opusscript/build/COPYING.libopus +44 -0
- package/node_modules/opusscript/build/opusscript_native_nasm.js +93 -0
- package/node_modules/opusscript/build/opusscript_native_wasm.js +77 -0
- package/node_modules/opusscript/build/opusscript_native_wasm.wasm +0 -0
- package/node_modules/opusscript/index.d.ts +100 -0
- package/node_modules/opusscript/index.js +120 -0
- package/node_modules/opusscript/package.json +26 -0
- package/node_modules/prism-media/LICENSE +190 -0
- package/node_modules/prism-media/README.md +69 -0
- package/node_modules/prism-media/package.json +65 -0
- package/node_modules/prism-media/src/core/FFmpeg.js +160 -0
- package/node_modules/prism-media/src/core/VolumeTransformer.js +128 -0
- package/node_modules/prism-media/src/core/WebmBase.js +229 -0
- package/node_modules/prism-media/src/core/index.js +9 -0
- package/node_modules/prism-media/src/index.js +5 -0
- package/node_modules/prism-media/src/opus/OggDemuxer.js +143 -0
- package/node_modules/prism-media/src/opus/Opus.js +212 -0
- package/node_modules/prism-media/src/opus/WebmDemuxer.js +24 -0
- package/node_modules/prism-media/src/opus/index.js +10 -0
- package/node_modules/prism-media/src/util/loader.js +13 -0
- package/node_modules/prism-media/src/vorbis/WebmDemuxer.js +22 -0
- package/node_modules/prism-media/src/vorbis/index.js +8 -0
- package/node_modules/prism-media/typings/index.d.ts +43 -0
- package/node_modules/prism-media/typings/opus.d.ts +30 -0
- package/node_modules/prism-media/typings/vorbis.d.ts +5 -0
- package/node_modules/tslib/CopyrightNotice.txt +15 -0
- package/node_modules/tslib/LICENSE.txt +12 -0
- package/node_modules/tslib/README.md +164 -0
- package/node_modules/tslib/SECURITY.md +41 -0
- package/node_modules/tslib/modules/index.d.ts +38 -0
- package/node_modules/tslib/modules/index.js +70 -0
- package/node_modules/tslib/modules/package.json +3 -0
- package/node_modules/tslib/package.json +47 -0
- package/node_modules/tslib/tslib.d.ts +460 -0
- package/node_modules/tslib/tslib.es6.html +1 -0
- package/node_modules/tslib/tslib.es6.js +402 -0
- package/node_modules/tslib/tslib.es6.mjs +401 -0
- package/node_modules/tslib/tslib.html +1 -0
- package/node_modules/tslib/tslib.js +484 -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/undici/LICENSE +21 -0
- package/node_modules/undici/README.md +750 -0
- package/node_modules/undici/docs/docs/api/Agent.md +84 -0
- package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
- package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
- package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
- package/node_modules/undici/docs/docs/api/Client.md +287 -0
- package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
- package/node_modules/undici/docs/docs/api/Connector.md +115 -0
- package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
- package/node_modules/undici/docs/docs/api/Cookies.md +101 -0
- package/node_modules/undici/docs/docs/api/Debug.md +62 -0
- package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +315 -0
- package/node_modules/undici/docs/docs/api/Dispatcher.md +1427 -0
- package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
- package/node_modules/undici/docs/docs/api/Errors.md +49 -0
- package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
- package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
- package/node_modules/undici/docs/docs/api/GlobalInstallation.md +141 -0
- package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
- package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
- package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
- package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
- package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
- package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
- package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
- package/node_modules/undici/docs/docs/api/Pool.md +84 -0
- package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
- package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
- package/node_modules/undici/docs/docs/api/RedirectHandler.md +98 -0
- package/node_modules/undici/docs/docs/api/RetryAgent.md +49 -0
- package/node_modules/undici/docs/docs/api/RetryHandler.md +116 -0
- package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
- package/node_modules/undici/docs/docs/api/SnapshotAgent.md +639 -0
- package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +274 -0
- package/node_modules/undici/docs/docs/api/Util.md +25 -0
- package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
- package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
- package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
- package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
- package/node_modules/undici/docs/docs/best-practices/migrating-from-v7-to-v8.md +231 -0
- package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
- package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
- package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
- package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
- package/node_modules/undici/index-fetch.js +65 -0
- package/node_modules/undici/index.d.ts +3 -0
- package/node_modules/undici/index.js +236 -0
- package/node_modules/undici/lib/api/abort-signal.js +59 -0
- package/node_modules/undici/lib/api/api-connect.js +112 -0
- package/node_modules/undici/lib/api/api-pipeline.js +265 -0
- package/node_modules/undici/lib/api/api-request.js +238 -0
- package/node_modules/undici/lib/api/api-stream.js +270 -0
- package/node_modules/undici/lib/api/api-upgrade.js +121 -0
- package/node_modules/undici/lib/api/index.js +7 -0
- package/node_modules/undici/lib/api/readable.js +581 -0
- package/node_modules/undici/lib/cache/memory-cache-store.js +234 -0
- package/node_modules/undici/lib/cache/sqlite-cache-store.js +463 -0
- package/node_modules/undici/lib/core/connect.js +153 -0
- package/node_modules/undici/lib/core/constants.js +120 -0
- package/node_modules/undici/lib/core/diagnostics.js +227 -0
- package/node_modules/undici/lib/core/errors.js +477 -0
- package/node_modules/undici/lib/core/request.js +535 -0
- package/node_modules/undici/lib/core/socks5-client.js +422 -0
- package/node_modules/undici/lib/core/socks5-utils.js +212 -0
- package/node_modules/undici/lib/core/symbols.js +76 -0
- package/node_modules/undici/lib/core/tree.js +160 -0
- package/node_modules/undici/lib/core/util.js +1019 -0
- package/node_modules/undici/lib/dispatcher/agent.js +172 -0
- package/node_modules/undici/lib/dispatcher/balanced-pool.js +214 -0
- package/node_modules/undici/lib/dispatcher/client-h1.js +1669 -0
- package/node_modules/undici/lib/dispatcher/client-h2.js +1326 -0
- package/node_modules/undici/lib/dispatcher/client.js +666 -0
- package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
- package/node_modules/undici/lib/dispatcher/dispatcher.js +44 -0
- package/node_modules/undici/lib/dispatcher/dispatcher1-wrapper.js +107 -0
- package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
- package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
- package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
- package/node_modules/undici/lib/dispatcher/pool-base.js +232 -0
- package/node_modules/undici/lib/dispatcher/pool.js +143 -0
- package/node_modules/undici/lib/dispatcher/proxy-agent.js +343 -0
- package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
- package/node_modules/undici/lib/dispatcher/round-robin-pool.js +159 -0
- package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +264 -0
- package/node_modules/undici/lib/encoding/index.js +33 -0
- package/node_modules/undici/lib/global.js +62 -0
- package/node_modules/undici/lib/handler/cache-handler.js +586 -0
- package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
- package/node_modules/undici/lib/handler/decorator-handler.js +66 -0
- package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
- package/node_modules/undici/lib/handler/redirect-handler.js +192 -0
- package/node_modules/undici/lib/handler/retry-handler.js +407 -0
- package/node_modules/undici/lib/interceptor/cache.js +508 -0
- package/node_modules/undici/lib/interceptor/decompress.js +285 -0
- package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
- package/node_modules/undici/lib/interceptor/dns.js +571 -0
- package/node_modules/undici/lib/interceptor/dump.js +112 -0
- package/node_modules/undici/lib/interceptor/redirect.js +21 -0
- package/node_modules/undici/lib/interceptor/response-error.js +95 -0
- package/node_modules/undici/lib/interceptor/retry.js +19 -0
- package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
- package/node_modules/undici/lib/llhttp/constants.js +531 -0
- package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
- package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
- package/node_modules/undici/lib/llhttp/utils.js +12 -0
- package/node_modules/undici/lib/mock/mock-agent.js +232 -0
- package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
- package/node_modules/undici/lib/mock/mock-client.js +68 -0
- package/node_modules/undici/lib/mock/mock-errors.js +29 -0
- package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
- package/node_modules/undici/lib/mock/mock-pool.js +68 -0
- package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
- package/node_modules/undici/lib/mock/mock-utils.js +501 -0
- package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
- package/node_modules/undici/lib/mock/snapshot-agent.js +363 -0
- package/node_modules/undici/lib/mock/snapshot-recorder.js +623 -0
- package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
- package/node_modules/undici/lib/util/cache.js +408 -0
- package/node_modules/undici/lib/util/date.js +653 -0
- package/node_modules/undici/lib/util/runtime-features.js +93 -0
- package/node_modules/undici/lib/util/stats.js +32 -0
- package/node_modules/undici/lib/util/timers.js +425 -0
- package/node_modules/undici/lib/web/cache/cache.js +862 -0
- package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
- package/node_modules/undici/lib/web/cache/util.js +45 -0
- package/node_modules/undici/lib/web/cookies/constants.js +12 -0
- package/node_modules/undici/lib/web/cookies/index.js +199 -0
- package/node_modules/undici/lib/web/cookies/parse.js +322 -0
- package/node_modules/undici/lib/web/cookies/util.js +282 -0
- package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
- package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
- package/node_modules/undici/lib/web/eventsource/util.js +29 -0
- package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
- package/node_modules/undici/lib/web/fetch/body.js +503 -0
- package/node_modules/undici/lib/web/fetch/constants.js +131 -0
- package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
- package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
- package/node_modules/undici/lib/web/fetch/formdata.js +278 -0
- package/node_modules/undici/lib/web/fetch/global.js +40 -0
- package/node_modules/undici/lib/web/fetch/headers.js +719 -0
- package/node_modules/undici/lib/web/fetch/index.js +2403 -0
- package/node_modules/undici/lib/web/fetch/request.js +1115 -0
- package/node_modules/undici/lib/web/fetch/response.js +641 -0
- package/node_modules/undici/lib/web/fetch/util.js +1522 -0
- package/node_modules/undici/lib/web/infra/index.js +229 -0
- package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
- package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
- package/node_modules/undici/lib/web/webidl/index.js +1004 -0
- package/node_modules/undici/lib/web/websocket/connection.js +329 -0
- package/node_modules/undici/lib/web/websocket/constants.js +126 -0
- package/node_modules/undici/lib/web/websocket/events.js +331 -0
- package/node_modules/undici/lib/web/websocket/frame.js +127 -0
- package/node_modules/undici/lib/web/websocket/permessage-deflate.js +100 -0
- package/node_modules/undici/lib/web/websocket/receiver.js +490 -0
- package/node_modules/undici/lib/web/websocket/sender.js +109 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
- package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +491 -0
- package/node_modules/undici/lib/web/websocket/util.js +347 -0
- package/node_modules/undici/lib/web/websocket/websocket.js +756 -0
- package/node_modules/undici/package.json +152 -0
- package/node_modules/undici/scripts/strip-comments.js +10 -0
- package/node_modules/undici/types/README.md +6 -0
- package/node_modules/undici/types/agent.d.ts +30 -0
- package/node_modules/undici/types/api.d.ts +43 -0
- package/node_modules/undici/types/balanced-pool.d.ts +30 -0
- package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici/types/cache.d.ts +36 -0
- package/node_modules/undici/types/client-stats.d.ts +15 -0
- package/node_modules/undici/types/client.d.ts +129 -0
- package/node_modules/undici/types/connector.d.ts +36 -0
- package/node_modules/undici/types/content-type.d.ts +21 -0
- package/node_modules/undici/types/cookies.d.ts +30 -0
- package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici/types/dispatcher.d.ts +253 -0
- package/node_modules/undici/types/dispatcher1-wrapper.d.ts +7 -0
- package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici/types/errors.d.ts +177 -0
- package/node_modules/undici/types/eventsource.d.ts +66 -0
- package/node_modules/undici/types/fetch.d.ts +231 -0
- package/node_modules/undici/types/formdata.d.ts +108 -0
- package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici/types/global-origin.d.ts +7 -0
- package/node_modules/undici/types/h2c-client.d.ts +73 -0
- package/node_modules/undici/types/handlers.d.ts +14 -0
- package/node_modules/undici/types/header.d.ts +165 -0
- package/node_modules/undici/types/index.d.ts +93 -0
- package/node_modules/undici/types/interceptors.d.ts +80 -0
- package/node_modules/undici/types/mock-agent.d.ts +68 -0
- package/node_modules/undici/types/mock-call-history.d.ts +111 -0
- package/node_modules/undici/types/mock-client.d.ts +27 -0
- package/node_modules/undici/types/mock-errors.d.ts +12 -0
- package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici/types/mock-pool.d.ts +27 -0
- package/node_modules/undici/types/patch.d.ts +29 -0
- package/node_modules/undici/types/pool-stats.d.ts +19 -0
- package/node_modules/undici/types/pool.d.ts +39 -0
- package/node_modules/undici/types/proxy-agent.d.ts +29 -0
- package/node_modules/undici/types/readable.d.ts +68 -0
- package/node_modules/undici/types/retry-agent.d.ts +8 -0
- package/node_modules/undici/types/retry-handler.d.ts +125 -0
- package/node_modules/undici/types/round-robin-pool.d.ts +39 -0
- package/node_modules/undici/types/snapshot-agent.d.ts +113 -0
- package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici/types/util.d.ts +18 -0
- package/node_modules/undici/types/utility.d.ts +7 -0
- package/node_modules/undici/types/webidl.d.ts +346 -0
- package/node_modules/undici/types/websocket.d.ts +188 -0
- package/node_modules/undici-types/LICENSE +21 -0
- package/node_modules/undici-types/README.md +6 -0
- package/node_modules/undici-types/agent.d.ts +32 -0
- package/node_modules/undici-types/api.d.ts +43 -0
- package/node_modules/undici-types/balanced-pool.d.ts +30 -0
- package/node_modules/undici-types/cache-interceptor.d.ts +179 -0
- package/node_modules/undici-types/cache.d.ts +36 -0
- package/node_modules/undici-types/client-stats.d.ts +15 -0
- package/node_modules/undici-types/client.d.ts +123 -0
- package/node_modules/undici-types/connector.d.ts +36 -0
- package/node_modules/undici-types/content-type.d.ts +21 -0
- package/node_modules/undici-types/cookies.d.ts +30 -0
- package/node_modules/undici-types/diagnostics-channel.d.ts +74 -0
- package/node_modules/undici-types/dispatcher.d.ts +279 -0
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +22 -0
- package/node_modules/undici-types/errors.d.ts +177 -0
- package/node_modules/undici-types/eventsource.d.ts +66 -0
- package/node_modules/undici-types/fetch.d.ts +211 -0
- package/node_modules/undici-types/formdata.d.ts +108 -0
- package/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/node_modules/undici-types/global-origin.d.ts +7 -0
- package/node_modules/undici-types/h2c-client.d.ts +73 -0
- package/node_modules/undici-types/handlers.d.ts +15 -0
- package/node_modules/undici-types/header.d.ts +160 -0
- package/node_modules/undici-types/index.d.ts +91 -0
- package/node_modules/undici-types/interceptors.d.ts +80 -0
- package/node_modules/undici-types/mock-agent.d.ts +68 -0
- package/node_modules/undici-types/mock-call-history.d.ts +111 -0
- package/node_modules/undici-types/mock-client.d.ts +27 -0
- package/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/node_modules/undici-types/mock-interceptor.d.ts +94 -0
- package/node_modules/undici-types/mock-pool.d.ts +27 -0
- package/node_modules/undici-types/package.json +55 -0
- package/node_modules/undici-types/patch.d.ts +29 -0
- package/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/node_modules/undici-types/pool.d.ts +41 -0
- package/node_modules/undici-types/proxy-agent.d.ts +29 -0
- package/node_modules/undici-types/readable.d.ts +68 -0
- package/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/node_modules/undici-types/retry-handler.d.ts +125 -0
- package/node_modules/undici-types/round-robin-pool.d.ts +41 -0
- package/node_modules/undici-types/snapshot-agent.d.ts +109 -0
- package/node_modules/undici-types/socks5-proxy-agent.d.ts +25 -0
- package/node_modules/undici-types/util.d.ts +18 -0
- package/node_modules/undici-types/utility.d.ts +7 -0
- package/node_modules/undici-types/webidl.d.ts +347 -0
- package/node_modules/undici-types/websocket.d.ts +188 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +528 -0
- package/node_modules/ws/lib/receiver.js +706 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +554 -0
- package/node_modules/ws/lib/websocket.js +1393 -0
- package/node_modules/ws/package.json +70 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/npm-shrinkwrap.json +512 -0
- package/openclaw.plugin.json +14 -0
- package/package.json +15 -9
- package/dist/provider.runtime-CUUefRl3.js +0 -2
- package/dist/runtime-api.monitor-D1psRR2u.js +0 -5
|
@@ -0,0 +1,1393 @@
|
|
|
1
|
+
/* eslint no-unused-vars: ["error", { "varsIgnorePattern": "^Duplex|Readable$", "caughtErrors": "none" }] */
|
|
2
|
+
|
|
3
|
+
'use strict';
|
|
4
|
+
|
|
5
|
+
const EventEmitter = require('events');
|
|
6
|
+
const https = require('https');
|
|
7
|
+
const http = require('http');
|
|
8
|
+
const net = require('net');
|
|
9
|
+
const tls = require('tls');
|
|
10
|
+
const { randomBytes, createHash } = require('crypto');
|
|
11
|
+
const { Duplex, Readable } = require('stream');
|
|
12
|
+
const { URL } = require('url');
|
|
13
|
+
|
|
14
|
+
const PerMessageDeflate = require('./permessage-deflate');
|
|
15
|
+
const Receiver = require('./receiver');
|
|
16
|
+
const Sender = require('./sender');
|
|
17
|
+
const { isBlob } = require('./validation');
|
|
18
|
+
|
|
19
|
+
const {
|
|
20
|
+
BINARY_TYPES,
|
|
21
|
+
CLOSE_TIMEOUT,
|
|
22
|
+
EMPTY_BUFFER,
|
|
23
|
+
GUID,
|
|
24
|
+
kForOnEventAttribute,
|
|
25
|
+
kListener,
|
|
26
|
+
kStatusCode,
|
|
27
|
+
kWebSocket,
|
|
28
|
+
NOOP
|
|
29
|
+
} = require('./constants');
|
|
30
|
+
const {
|
|
31
|
+
EventTarget: { addEventListener, removeEventListener }
|
|
32
|
+
} = require('./event-target');
|
|
33
|
+
const { format, parse } = require('./extension');
|
|
34
|
+
const { toBuffer } = require('./buffer-util');
|
|
35
|
+
|
|
36
|
+
const kAborted = Symbol('kAborted');
|
|
37
|
+
const protocolVersions = [8, 13];
|
|
38
|
+
const readyStates = ['CONNECTING', 'OPEN', 'CLOSING', 'CLOSED'];
|
|
39
|
+
const subprotocolRegex = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Class representing a WebSocket.
|
|
43
|
+
*
|
|
44
|
+
* @extends EventEmitter
|
|
45
|
+
*/
|
|
46
|
+
class WebSocket extends EventEmitter {
|
|
47
|
+
/**
|
|
48
|
+
* Create a new `WebSocket`.
|
|
49
|
+
*
|
|
50
|
+
* @param {(String|URL)} address The URL to which to connect
|
|
51
|
+
* @param {(String|String[])} [protocols] The subprotocols
|
|
52
|
+
* @param {Object} [options] Connection options
|
|
53
|
+
*/
|
|
54
|
+
constructor(address, protocols, options) {
|
|
55
|
+
super();
|
|
56
|
+
|
|
57
|
+
this._binaryType = BINARY_TYPES[0];
|
|
58
|
+
this._closeCode = 1006;
|
|
59
|
+
this._closeFrameReceived = false;
|
|
60
|
+
this._closeFrameSent = false;
|
|
61
|
+
this._closeMessage = EMPTY_BUFFER;
|
|
62
|
+
this._closeTimer = null;
|
|
63
|
+
this._errorEmitted = false;
|
|
64
|
+
this._extensions = {};
|
|
65
|
+
this._paused = false;
|
|
66
|
+
this._protocol = '';
|
|
67
|
+
this._readyState = WebSocket.CONNECTING;
|
|
68
|
+
this._receiver = null;
|
|
69
|
+
this._sender = null;
|
|
70
|
+
this._socket = null;
|
|
71
|
+
|
|
72
|
+
if (address !== null) {
|
|
73
|
+
this._bufferedAmount = 0;
|
|
74
|
+
this._isServer = false;
|
|
75
|
+
this._redirects = 0;
|
|
76
|
+
|
|
77
|
+
if (protocols === undefined) {
|
|
78
|
+
protocols = [];
|
|
79
|
+
} else if (!Array.isArray(protocols)) {
|
|
80
|
+
if (typeof protocols === 'object' && protocols !== null) {
|
|
81
|
+
options = protocols;
|
|
82
|
+
protocols = [];
|
|
83
|
+
} else {
|
|
84
|
+
protocols = [protocols];
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
initAsClient(this, address, protocols, options);
|
|
89
|
+
} else {
|
|
90
|
+
this._autoPong = options.autoPong;
|
|
91
|
+
this._closeTimeout = options.closeTimeout;
|
|
92
|
+
this._isServer = true;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* For historical reasons, the custom "nodebuffer" type is used by the default
|
|
98
|
+
* instead of "blob".
|
|
99
|
+
*
|
|
100
|
+
* @type {String}
|
|
101
|
+
*/
|
|
102
|
+
get binaryType() {
|
|
103
|
+
return this._binaryType;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
set binaryType(type) {
|
|
107
|
+
if (!BINARY_TYPES.includes(type)) return;
|
|
108
|
+
|
|
109
|
+
this._binaryType = type;
|
|
110
|
+
|
|
111
|
+
//
|
|
112
|
+
// Allow to change `binaryType` on the fly.
|
|
113
|
+
//
|
|
114
|
+
if (this._receiver) this._receiver._binaryType = type;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* @type {Number}
|
|
119
|
+
*/
|
|
120
|
+
get bufferedAmount() {
|
|
121
|
+
if (!this._socket) return this._bufferedAmount;
|
|
122
|
+
|
|
123
|
+
return this._socket._writableState.length + this._sender._bufferedBytes;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @type {String}
|
|
128
|
+
*/
|
|
129
|
+
get extensions() {
|
|
130
|
+
return Object.keys(this._extensions).join();
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @type {Boolean}
|
|
135
|
+
*/
|
|
136
|
+
get isPaused() {
|
|
137
|
+
return this._paused;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @type {Function}
|
|
142
|
+
*/
|
|
143
|
+
/* istanbul ignore next */
|
|
144
|
+
get onclose() {
|
|
145
|
+
return null;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @type {Function}
|
|
150
|
+
*/
|
|
151
|
+
/* istanbul ignore next */
|
|
152
|
+
get onerror() {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @type {Function}
|
|
158
|
+
*/
|
|
159
|
+
/* istanbul ignore next */
|
|
160
|
+
get onopen() {
|
|
161
|
+
return null;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @type {Function}
|
|
166
|
+
*/
|
|
167
|
+
/* istanbul ignore next */
|
|
168
|
+
get onmessage() {
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* @type {String}
|
|
174
|
+
*/
|
|
175
|
+
get protocol() {
|
|
176
|
+
return this._protocol;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* @type {Number}
|
|
181
|
+
*/
|
|
182
|
+
get readyState() {
|
|
183
|
+
return this._readyState;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* @type {String}
|
|
188
|
+
*/
|
|
189
|
+
get url() {
|
|
190
|
+
return this._url;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Set up the socket and the internal resources.
|
|
195
|
+
*
|
|
196
|
+
* @param {Duplex} socket The network socket between the server and client
|
|
197
|
+
* @param {Buffer} head The first packet of the upgraded stream
|
|
198
|
+
* @param {Object} options Options object
|
|
199
|
+
* @param {Boolean} [options.allowSynchronousEvents=false] Specifies whether
|
|
200
|
+
* any of the `'message'`, `'ping'`, and `'pong'` events can be emitted
|
|
201
|
+
* multiple times in the same tick
|
|
202
|
+
* @param {Function} [options.generateMask] The function used to generate the
|
|
203
|
+
* masking key
|
|
204
|
+
* @param {Number} [options.maxPayload=0] The maximum allowed message size
|
|
205
|
+
* @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
|
|
206
|
+
* not to skip UTF-8 validation for text and close messages
|
|
207
|
+
* @private
|
|
208
|
+
*/
|
|
209
|
+
setSocket(socket, head, options) {
|
|
210
|
+
const receiver = new Receiver({
|
|
211
|
+
allowSynchronousEvents: options.allowSynchronousEvents,
|
|
212
|
+
binaryType: this.binaryType,
|
|
213
|
+
extensions: this._extensions,
|
|
214
|
+
isServer: this._isServer,
|
|
215
|
+
maxPayload: options.maxPayload,
|
|
216
|
+
skipUTF8Validation: options.skipUTF8Validation
|
|
217
|
+
});
|
|
218
|
+
|
|
219
|
+
const sender = new Sender(socket, this._extensions, options.generateMask);
|
|
220
|
+
|
|
221
|
+
this._receiver = receiver;
|
|
222
|
+
this._sender = sender;
|
|
223
|
+
this._socket = socket;
|
|
224
|
+
|
|
225
|
+
receiver[kWebSocket] = this;
|
|
226
|
+
sender[kWebSocket] = this;
|
|
227
|
+
socket[kWebSocket] = this;
|
|
228
|
+
|
|
229
|
+
receiver.on('conclude', receiverOnConclude);
|
|
230
|
+
receiver.on('drain', receiverOnDrain);
|
|
231
|
+
receiver.on('error', receiverOnError);
|
|
232
|
+
receiver.on('message', receiverOnMessage);
|
|
233
|
+
receiver.on('ping', receiverOnPing);
|
|
234
|
+
receiver.on('pong', receiverOnPong);
|
|
235
|
+
|
|
236
|
+
sender.onerror = senderOnError;
|
|
237
|
+
|
|
238
|
+
//
|
|
239
|
+
// These methods may not be available if `socket` is just a `Duplex`.
|
|
240
|
+
//
|
|
241
|
+
if (socket.setTimeout) socket.setTimeout(0);
|
|
242
|
+
if (socket.setNoDelay) socket.setNoDelay();
|
|
243
|
+
|
|
244
|
+
if (head.length > 0) socket.unshift(head);
|
|
245
|
+
|
|
246
|
+
socket.on('close', socketOnClose);
|
|
247
|
+
socket.on('data', socketOnData);
|
|
248
|
+
socket.on('end', socketOnEnd);
|
|
249
|
+
socket.on('error', socketOnError);
|
|
250
|
+
|
|
251
|
+
this._readyState = WebSocket.OPEN;
|
|
252
|
+
this.emit('open');
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* Emit the `'close'` event.
|
|
257
|
+
*
|
|
258
|
+
* @private
|
|
259
|
+
*/
|
|
260
|
+
emitClose() {
|
|
261
|
+
if (!this._socket) {
|
|
262
|
+
this._readyState = WebSocket.CLOSED;
|
|
263
|
+
this.emit('close', this._closeCode, this._closeMessage);
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
if (this._extensions[PerMessageDeflate.extensionName]) {
|
|
268
|
+
this._extensions[PerMessageDeflate.extensionName].cleanup();
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
this._receiver.removeAllListeners();
|
|
272
|
+
this._readyState = WebSocket.CLOSED;
|
|
273
|
+
this.emit('close', this._closeCode, this._closeMessage);
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Start a closing handshake.
|
|
278
|
+
*
|
|
279
|
+
* +----------+ +-----------+ +----------+
|
|
280
|
+
* - - -|ws.close()|-->|close frame|-->|ws.close()|- - -
|
|
281
|
+
* | +----------+ +-----------+ +----------+ |
|
|
282
|
+
* +----------+ +-----------+ |
|
|
283
|
+
* CLOSING |ws.close()|<--|close frame|<--+-----+ CLOSING
|
|
284
|
+
* +----------+ +-----------+ |
|
|
285
|
+
* | | | +---+ |
|
|
286
|
+
* +------------------------+-->|fin| - - - -
|
|
287
|
+
* | +---+ | +---+
|
|
288
|
+
* - - - - -|fin|<---------------------+
|
|
289
|
+
* +---+
|
|
290
|
+
*
|
|
291
|
+
* @param {Number} [code] Status code explaining why the connection is closing
|
|
292
|
+
* @param {(String|Buffer)} [data] The reason why the connection is
|
|
293
|
+
* closing
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
close(code, data) {
|
|
297
|
+
if (this.readyState === WebSocket.CLOSED) return;
|
|
298
|
+
if (this.readyState === WebSocket.CONNECTING) {
|
|
299
|
+
const msg = 'WebSocket was closed before the connection was established';
|
|
300
|
+
abortHandshake(this, this._req, msg);
|
|
301
|
+
return;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (this.readyState === WebSocket.CLOSING) {
|
|
305
|
+
if (
|
|
306
|
+
this._closeFrameSent &&
|
|
307
|
+
(this._closeFrameReceived || this._receiver._writableState.errorEmitted)
|
|
308
|
+
) {
|
|
309
|
+
this._socket.end();
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
return;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
this._readyState = WebSocket.CLOSING;
|
|
316
|
+
this._sender.close(code, data, !this._isServer, (err) => {
|
|
317
|
+
//
|
|
318
|
+
// This error is handled by the `'error'` listener on the socket. We only
|
|
319
|
+
// want to know if the close frame has been sent here.
|
|
320
|
+
//
|
|
321
|
+
if (err) return;
|
|
322
|
+
|
|
323
|
+
this._closeFrameSent = true;
|
|
324
|
+
|
|
325
|
+
if (
|
|
326
|
+
this._closeFrameReceived ||
|
|
327
|
+
this._receiver._writableState.errorEmitted
|
|
328
|
+
) {
|
|
329
|
+
this._socket.end();
|
|
330
|
+
}
|
|
331
|
+
});
|
|
332
|
+
|
|
333
|
+
setCloseTimer(this);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Pause the socket.
|
|
338
|
+
*
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
pause() {
|
|
342
|
+
if (
|
|
343
|
+
this.readyState === WebSocket.CONNECTING ||
|
|
344
|
+
this.readyState === WebSocket.CLOSED
|
|
345
|
+
) {
|
|
346
|
+
return;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
this._paused = true;
|
|
350
|
+
this._socket.pause();
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* Send a ping.
|
|
355
|
+
*
|
|
356
|
+
* @param {*} [data] The data to send
|
|
357
|
+
* @param {Boolean} [mask] Indicates whether or not to mask `data`
|
|
358
|
+
* @param {Function} [cb] Callback which is executed when the ping is sent
|
|
359
|
+
* @public
|
|
360
|
+
*/
|
|
361
|
+
ping(data, mask, cb) {
|
|
362
|
+
if (this.readyState === WebSocket.CONNECTING) {
|
|
363
|
+
throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
if (typeof data === 'function') {
|
|
367
|
+
cb = data;
|
|
368
|
+
data = mask = undefined;
|
|
369
|
+
} else if (typeof mask === 'function') {
|
|
370
|
+
cb = mask;
|
|
371
|
+
mask = undefined;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
if (typeof data === 'number') data = data.toString();
|
|
375
|
+
|
|
376
|
+
if (this.readyState !== WebSocket.OPEN) {
|
|
377
|
+
sendAfterClose(this, data, cb);
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
if (mask === undefined) mask = !this._isServer;
|
|
382
|
+
this._sender.ping(data || EMPTY_BUFFER, mask, cb);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Send a pong.
|
|
387
|
+
*
|
|
388
|
+
* @param {*} [data] The data to send
|
|
389
|
+
* @param {Boolean} [mask] Indicates whether or not to mask `data`
|
|
390
|
+
* @param {Function} [cb] Callback which is executed when the pong is sent
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
pong(data, mask, cb) {
|
|
394
|
+
if (this.readyState === WebSocket.CONNECTING) {
|
|
395
|
+
throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
if (typeof data === 'function') {
|
|
399
|
+
cb = data;
|
|
400
|
+
data = mask = undefined;
|
|
401
|
+
} else if (typeof mask === 'function') {
|
|
402
|
+
cb = mask;
|
|
403
|
+
mask = undefined;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
if (typeof data === 'number') data = data.toString();
|
|
407
|
+
|
|
408
|
+
if (this.readyState !== WebSocket.OPEN) {
|
|
409
|
+
sendAfterClose(this, data, cb);
|
|
410
|
+
return;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
if (mask === undefined) mask = !this._isServer;
|
|
414
|
+
this._sender.pong(data || EMPTY_BUFFER, mask, cb);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Resume the socket.
|
|
419
|
+
*
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
resume() {
|
|
423
|
+
if (
|
|
424
|
+
this.readyState === WebSocket.CONNECTING ||
|
|
425
|
+
this.readyState === WebSocket.CLOSED
|
|
426
|
+
) {
|
|
427
|
+
return;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
this._paused = false;
|
|
431
|
+
if (!this._receiver._writableState.needDrain) this._socket.resume();
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* Send a data message.
|
|
436
|
+
*
|
|
437
|
+
* @param {*} data The message to send
|
|
438
|
+
* @param {Object} [options] Options object
|
|
439
|
+
* @param {Boolean} [options.binary] Specifies whether `data` is binary or
|
|
440
|
+
* text
|
|
441
|
+
* @param {Boolean} [options.compress] Specifies whether or not to compress
|
|
442
|
+
* `data`
|
|
443
|
+
* @param {Boolean} [options.fin=true] Specifies whether the fragment is the
|
|
444
|
+
* last one
|
|
445
|
+
* @param {Boolean} [options.mask] Specifies whether or not to mask `data`
|
|
446
|
+
* @param {Function} [cb] Callback which is executed when data is written out
|
|
447
|
+
* @public
|
|
448
|
+
*/
|
|
449
|
+
send(data, options, cb) {
|
|
450
|
+
if (this.readyState === WebSocket.CONNECTING) {
|
|
451
|
+
throw new Error('WebSocket is not open: readyState 0 (CONNECTING)');
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (typeof options === 'function') {
|
|
455
|
+
cb = options;
|
|
456
|
+
options = {};
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
if (typeof data === 'number') data = data.toString();
|
|
460
|
+
|
|
461
|
+
if (this.readyState !== WebSocket.OPEN) {
|
|
462
|
+
sendAfterClose(this, data, cb);
|
|
463
|
+
return;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
const opts = {
|
|
467
|
+
binary: typeof data !== 'string',
|
|
468
|
+
mask: !this._isServer,
|
|
469
|
+
compress: true,
|
|
470
|
+
fin: true,
|
|
471
|
+
...options
|
|
472
|
+
};
|
|
473
|
+
|
|
474
|
+
if (!this._extensions[PerMessageDeflate.extensionName]) {
|
|
475
|
+
opts.compress = false;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
this._sender.send(data || EMPTY_BUFFER, opts, cb);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* Forcibly close the connection.
|
|
483
|
+
*
|
|
484
|
+
* @public
|
|
485
|
+
*/
|
|
486
|
+
terminate() {
|
|
487
|
+
if (this.readyState === WebSocket.CLOSED) return;
|
|
488
|
+
if (this.readyState === WebSocket.CONNECTING) {
|
|
489
|
+
const msg = 'WebSocket was closed before the connection was established';
|
|
490
|
+
abortHandshake(this, this._req, msg);
|
|
491
|
+
return;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
if (this._socket) {
|
|
495
|
+
this._readyState = WebSocket.CLOSING;
|
|
496
|
+
this._socket.destroy();
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @constant {Number} CONNECTING
|
|
503
|
+
* @memberof WebSocket
|
|
504
|
+
*/
|
|
505
|
+
Object.defineProperty(WebSocket, 'CONNECTING', {
|
|
506
|
+
enumerable: true,
|
|
507
|
+
value: readyStates.indexOf('CONNECTING')
|
|
508
|
+
});
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* @constant {Number} CONNECTING
|
|
512
|
+
* @memberof WebSocket.prototype
|
|
513
|
+
*/
|
|
514
|
+
Object.defineProperty(WebSocket.prototype, 'CONNECTING', {
|
|
515
|
+
enumerable: true,
|
|
516
|
+
value: readyStates.indexOf('CONNECTING')
|
|
517
|
+
});
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* @constant {Number} OPEN
|
|
521
|
+
* @memberof WebSocket
|
|
522
|
+
*/
|
|
523
|
+
Object.defineProperty(WebSocket, 'OPEN', {
|
|
524
|
+
enumerable: true,
|
|
525
|
+
value: readyStates.indexOf('OPEN')
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @constant {Number} OPEN
|
|
530
|
+
* @memberof WebSocket.prototype
|
|
531
|
+
*/
|
|
532
|
+
Object.defineProperty(WebSocket.prototype, 'OPEN', {
|
|
533
|
+
enumerable: true,
|
|
534
|
+
value: readyStates.indexOf('OPEN')
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @constant {Number} CLOSING
|
|
539
|
+
* @memberof WebSocket
|
|
540
|
+
*/
|
|
541
|
+
Object.defineProperty(WebSocket, 'CLOSING', {
|
|
542
|
+
enumerable: true,
|
|
543
|
+
value: readyStates.indexOf('CLOSING')
|
|
544
|
+
});
|
|
545
|
+
|
|
546
|
+
/**
|
|
547
|
+
* @constant {Number} CLOSING
|
|
548
|
+
* @memberof WebSocket.prototype
|
|
549
|
+
*/
|
|
550
|
+
Object.defineProperty(WebSocket.prototype, 'CLOSING', {
|
|
551
|
+
enumerable: true,
|
|
552
|
+
value: readyStates.indexOf('CLOSING')
|
|
553
|
+
});
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* @constant {Number} CLOSED
|
|
557
|
+
* @memberof WebSocket
|
|
558
|
+
*/
|
|
559
|
+
Object.defineProperty(WebSocket, 'CLOSED', {
|
|
560
|
+
enumerable: true,
|
|
561
|
+
value: readyStates.indexOf('CLOSED')
|
|
562
|
+
});
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* @constant {Number} CLOSED
|
|
566
|
+
* @memberof WebSocket.prototype
|
|
567
|
+
*/
|
|
568
|
+
Object.defineProperty(WebSocket.prototype, 'CLOSED', {
|
|
569
|
+
enumerable: true,
|
|
570
|
+
value: readyStates.indexOf('CLOSED')
|
|
571
|
+
});
|
|
572
|
+
|
|
573
|
+
[
|
|
574
|
+
'binaryType',
|
|
575
|
+
'bufferedAmount',
|
|
576
|
+
'extensions',
|
|
577
|
+
'isPaused',
|
|
578
|
+
'protocol',
|
|
579
|
+
'readyState',
|
|
580
|
+
'url'
|
|
581
|
+
].forEach((property) => {
|
|
582
|
+
Object.defineProperty(WebSocket.prototype, property, { enumerable: true });
|
|
583
|
+
});
|
|
584
|
+
|
|
585
|
+
//
|
|
586
|
+
// Add the `onopen`, `onerror`, `onclose`, and `onmessage` attributes.
|
|
587
|
+
// See https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface
|
|
588
|
+
//
|
|
589
|
+
['open', 'error', 'close', 'message'].forEach((method) => {
|
|
590
|
+
Object.defineProperty(WebSocket.prototype, `on${method}`, {
|
|
591
|
+
enumerable: true,
|
|
592
|
+
get() {
|
|
593
|
+
for (const listener of this.listeners(method)) {
|
|
594
|
+
if (listener[kForOnEventAttribute]) return listener[kListener];
|
|
595
|
+
}
|
|
596
|
+
|
|
597
|
+
return null;
|
|
598
|
+
},
|
|
599
|
+
set(handler) {
|
|
600
|
+
for (const listener of this.listeners(method)) {
|
|
601
|
+
if (listener[kForOnEventAttribute]) {
|
|
602
|
+
this.removeListener(method, listener);
|
|
603
|
+
break;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
if (typeof handler !== 'function') return;
|
|
608
|
+
|
|
609
|
+
this.addEventListener(method, handler, {
|
|
610
|
+
[kForOnEventAttribute]: true
|
|
611
|
+
});
|
|
612
|
+
}
|
|
613
|
+
});
|
|
614
|
+
});
|
|
615
|
+
|
|
616
|
+
WebSocket.prototype.addEventListener = addEventListener;
|
|
617
|
+
WebSocket.prototype.removeEventListener = removeEventListener;
|
|
618
|
+
|
|
619
|
+
module.exports = WebSocket;
|
|
620
|
+
|
|
621
|
+
/**
|
|
622
|
+
* Initialize a WebSocket client.
|
|
623
|
+
*
|
|
624
|
+
* @param {WebSocket} websocket The client to initialize
|
|
625
|
+
* @param {(String|URL)} address The URL to which to connect
|
|
626
|
+
* @param {Array} protocols The subprotocols
|
|
627
|
+
* @param {Object} [options] Connection options
|
|
628
|
+
* @param {Boolean} [options.allowSynchronousEvents=true] Specifies whether any
|
|
629
|
+
* of the `'message'`, `'ping'`, and `'pong'` events can be emitted multiple
|
|
630
|
+
* times in the same tick
|
|
631
|
+
* @param {Boolean} [options.autoPong=true] Specifies whether or not to
|
|
632
|
+
* automatically send a pong in response to a ping
|
|
633
|
+
* @param {Number} [options.closeTimeout=30000] Duration in milliseconds to wait
|
|
634
|
+
* for the closing handshake to finish after `websocket.close()` is called
|
|
635
|
+
* @param {Function} [options.finishRequest] A function which can be used to
|
|
636
|
+
* customize the headers of each http request before it is sent
|
|
637
|
+
* @param {Boolean} [options.followRedirects=false] Whether or not to follow
|
|
638
|
+
* redirects
|
|
639
|
+
* @param {Function} [options.generateMask] The function used to generate the
|
|
640
|
+
* masking key
|
|
641
|
+
* @param {Number} [options.handshakeTimeout] Timeout in milliseconds for the
|
|
642
|
+
* handshake request
|
|
643
|
+
* @param {Number} [options.maxPayload=104857600] The maximum allowed message
|
|
644
|
+
* size
|
|
645
|
+
* @param {Number} [options.maxRedirects=10] The maximum number of redirects
|
|
646
|
+
* allowed
|
|
647
|
+
* @param {String} [options.origin] Value of the `Origin` or
|
|
648
|
+
* `Sec-WebSocket-Origin` header
|
|
649
|
+
* @param {(Boolean|Object)} [options.perMessageDeflate=true] Enable/disable
|
|
650
|
+
* permessage-deflate
|
|
651
|
+
* @param {Number} [options.protocolVersion=13] Value of the
|
|
652
|
+
* `Sec-WebSocket-Version` header
|
|
653
|
+
* @param {Boolean} [options.skipUTF8Validation=false] Specifies whether or
|
|
654
|
+
* not to skip UTF-8 validation for text and close messages
|
|
655
|
+
* @private
|
|
656
|
+
*/
|
|
657
|
+
function initAsClient(websocket, address, protocols, options) {
|
|
658
|
+
const opts = {
|
|
659
|
+
allowSynchronousEvents: true,
|
|
660
|
+
autoPong: true,
|
|
661
|
+
closeTimeout: CLOSE_TIMEOUT,
|
|
662
|
+
protocolVersion: protocolVersions[1],
|
|
663
|
+
maxPayload: 100 * 1024 * 1024,
|
|
664
|
+
skipUTF8Validation: false,
|
|
665
|
+
perMessageDeflate: true,
|
|
666
|
+
followRedirects: false,
|
|
667
|
+
maxRedirects: 10,
|
|
668
|
+
...options,
|
|
669
|
+
socketPath: undefined,
|
|
670
|
+
hostname: undefined,
|
|
671
|
+
protocol: undefined,
|
|
672
|
+
timeout: undefined,
|
|
673
|
+
method: 'GET',
|
|
674
|
+
host: undefined,
|
|
675
|
+
path: undefined,
|
|
676
|
+
port: undefined
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
websocket._autoPong = opts.autoPong;
|
|
680
|
+
websocket._closeTimeout = opts.closeTimeout;
|
|
681
|
+
|
|
682
|
+
if (!protocolVersions.includes(opts.protocolVersion)) {
|
|
683
|
+
throw new RangeError(
|
|
684
|
+
`Unsupported protocol version: ${opts.protocolVersion} ` +
|
|
685
|
+
`(supported versions: ${protocolVersions.join(', ')})`
|
|
686
|
+
);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
let parsedUrl;
|
|
690
|
+
|
|
691
|
+
if (address instanceof URL) {
|
|
692
|
+
parsedUrl = address;
|
|
693
|
+
} else {
|
|
694
|
+
try {
|
|
695
|
+
parsedUrl = new URL(address);
|
|
696
|
+
} catch {
|
|
697
|
+
throw new SyntaxError(`Invalid URL: ${address}`);
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
if (parsedUrl.protocol === 'http:') {
|
|
702
|
+
parsedUrl.protocol = 'ws:';
|
|
703
|
+
} else if (parsedUrl.protocol === 'https:') {
|
|
704
|
+
parsedUrl.protocol = 'wss:';
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
websocket._url = parsedUrl.href;
|
|
708
|
+
|
|
709
|
+
const isSecure = parsedUrl.protocol === 'wss:';
|
|
710
|
+
const isIpcUrl = parsedUrl.protocol === 'ws+unix:';
|
|
711
|
+
let invalidUrlMessage;
|
|
712
|
+
|
|
713
|
+
if (parsedUrl.protocol !== 'ws:' && !isSecure && !isIpcUrl) {
|
|
714
|
+
invalidUrlMessage =
|
|
715
|
+
'The URL\'s protocol must be one of "ws:", "wss:", ' +
|
|
716
|
+
'"http:", "https:", or "ws+unix:"';
|
|
717
|
+
} else if (isIpcUrl && !parsedUrl.pathname) {
|
|
718
|
+
invalidUrlMessage = "The URL's pathname is empty";
|
|
719
|
+
} else if (parsedUrl.hash) {
|
|
720
|
+
invalidUrlMessage = 'The URL contains a fragment identifier';
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
if (invalidUrlMessage) {
|
|
724
|
+
const err = new SyntaxError(invalidUrlMessage);
|
|
725
|
+
|
|
726
|
+
if (websocket._redirects === 0) {
|
|
727
|
+
throw err;
|
|
728
|
+
} else {
|
|
729
|
+
emitErrorAndClose(websocket, err);
|
|
730
|
+
return;
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
const defaultPort = isSecure ? 443 : 80;
|
|
735
|
+
const key = randomBytes(16).toString('base64');
|
|
736
|
+
const request = isSecure ? https.request : http.request;
|
|
737
|
+
const protocolSet = new Set();
|
|
738
|
+
let perMessageDeflate;
|
|
739
|
+
|
|
740
|
+
opts.createConnection =
|
|
741
|
+
opts.createConnection || (isSecure ? tlsConnect : netConnect);
|
|
742
|
+
opts.defaultPort = opts.defaultPort || defaultPort;
|
|
743
|
+
opts.port = parsedUrl.port || defaultPort;
|
|
744
|
+
opts.host = parsedUrl.hostname.startsWith('[')
|
|
745
|
+
? parsedUrl.hostname.slice(1, -1)
|
|
746
|
+
: parsedUrl.hostname;
|
|
747
|
+
opts.headers = {
|
|
748
|
+
...opts.headers,
|
|
749
|
+
'Sec-WebSocket-Version': opts.protocolVersion,
|
|
750
|
+
'Sec-WebSocket-Key': key,
|
|
751
|
+
Connection: 'Upgrade',
|
|
752
|
+
Upgrade: 'websocket'
|
|
753
|
+
};
|
|
754
|
+
opts.path = parsedUrl.pathname + parsedUrl.search;
|
|
755
|
+
opts.timeout = opts.handshakeTimeout;
|
|
756
|
+
|
|
757
|
+
if (opts.perMessageDeflate) {
|
|
758
|
+
perMessageDeflate = new PerMessageDeflate({
|
|
759
|
+
...opts.perMessageDeflate,
|
|
760
|
+
isServer: false,
|
|
761
|
+
maxPayload: opts.maxPayload
|
|
762
|
+
});
|
|
763
|
+
opts.headers['Sec-WebSocket-Extensions'] = format({
|
|
764
|
+
[PerMessageDeflate.extensionName]: perMessageDeflate.offer()
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
if (protocols.length) {
|
|
768
|
+
for (const protocol of protocols) {
|
|
769
|
+
if (
|
|
770
|
+
typeof protocol !== 'string' ||
|
|
771
|
+
!subprotocolRegex.test(protocol) ||
|
|
772
|
+
protocolSet.has(protocol)
|
|
773
|
+
) {
|
|
774
|
+
throw new SyntaxError(
|
|
775
|
+
'An invalid or duplicated subprotocol was specified'
|
|
776
|
+
);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
protocolSet.add(protocol);
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
opts.headers['Sec-WebSocket-Protocol'] = protocols.join(',');
|
|
783
|
+
}
|
|
784
|
+
if (opts.origin) {
|
|
785
|
+
if (opts.protocolVersion < 13) {
|
|
786
|
+
opts.headers['Sec-WebSocket-Origin'] = opts.origin;
|
|
787
|
+
} else {
|
|
788
|
+
opts.headers.Origin = opts.origin;
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
if (parsedUrl.username || parsedUrl.password) {
|
|
792
|
+
opts.auth = `${parsedUrl.username}:${parsedUrl.password}`;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
if (isIpcUrl) {
|
|
796
|
+
const parts = opts.path.split(':');
|
|
797
|
+
|
|
798
|
+
opts.socketPath = parts[0];
|
|
799
|
+
opts.path = parts[1];
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
let req;
|
|
803
|
+
|
|
804
|
+
if (opts.followRedirects) {
|
|
805
|
+
if (websocket._redirects === 0) {
|
|
806
|
+
websocket._originalIpc = isIpcUrl;
|
|
807
|
+
websocket._originalSecure = isSecure;
|
|
808
|
+
websocket._originalHostOrSocketPath = isIpcUrl
|
|
809
|
+
? opts.socketPath
|
|
810
|
+
: parsedUrl.host;
|
|
811
|
+
|
|
812
|
+
const headers = options && options.headers;
|
|
813
|
+
|
|
814
|
+
//
|
|
815
|
+
// Shallow copy the user provided options so that headers can be changed
|
|
816
|
+
// without mutating the original object.
|
|
817
|
+
//
|
|
818
|
+
options = { ...options, headers: {} };
|
|
819
|
+
|
|
820
|
+
if (headers) {
|
|
821
|
+
for (const [key, value] of Object.entries(headers)) {
|
|
822
|
+
options.headers[key.toLowerCase()] = value;
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
} else if (websocket.listenerCount('redirect') === 0) {
|
|
826
|
+
const isSameHost = isIpcUrl
|
|
827
|
+
? websocket._originalIpc
|
|
828
|
+
? opts.socketPath === websocket._originalHostOrSocketPath
|
|
829
|
+
: false
|
|
830
|
+
: websocket._originalIpc
|
|
831
|
+
? false
|
|
832
|
+
: parsedUrl.host === websocket._originalHostOrSocketPath;
|
|
833
|
+
|
|
834
|
+
if (!isSameHost || (websocket._originalSecure && !isSecure)) {
|
|
835
|
+
//
|
|
836
|
+
// Match curl 7.77.0 behavior and drop the following headers. These
|
|
837
|
+
// headers are also dropped when following a redirect to a subdomain.
|
|
838
|
+
//
|
|
839
|
+
delete opts.headers.authorization;
|
|
840
|
+
delete opts.headers.cookie;
|
|
841
|
+
|
|
842
|
+
if (!isSameHost) delete opts.headers.host;
|
|
843
|
+
|
|
844
|
+
opts.auth = undefined;
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
//
|
|
849
|
+
// Match curl 7.77.0 behavior and make the first `Authorization` header win.
|
|
850
|
+
// If the `Authorization` header is set, then there is nothing to do as it
|
|
851
|
+
// will take precedence.
|
|
852
|
+
//
|
|
853
|
+
if (opts.auth && !options.headers.authorization) {
|
|
854
|
+
options.headers.authorization =
|
|
855
|
+
'Basic ' + Buffer.from(opts.auth).toString('base64');
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
req = websocket._req = request(opts);
|
|
859
|
+
|
|
860
|
+
if (websocket._redirects) {
|
|
861
|
+
//
|
|
862
|
+
// Unlike what is done for the `'upgrade'` event, no early exit is
|
|
863
|
+
// triggered here if the user calls `websocket.close()` or
|
|
864
|
+
// `websocket.terminate()` from a listener of the `'redirect'` event. This
|
|
865
|
+
// is because the user can also call `request.destroy()` with an error
|
|
866
|
+
// before calling `websocket.close()` or `websocket.terminate()` and this
|
|
867
|
+
// would result in an error being emitted on the `request` object with no
|
|
868
|
+
// `'error'` event listeners attached.
|
|
869
|
+
//
|
|
870
|
+
websocket.emit('redirect', websocket.url, req);
|
|
871
|
+
}
|
|
872
|
+
} else {
|
|
873
|
+
req = websocket._req = request(opts);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
if (opts.timeout) {
|
|
877
|
+
req.on('timeout', () => {
|
|
878
|
+
abortHandshake(websocket, req, 'Opening handshake has timed out');
|
|
879
|
+
});
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
req.on('error', (err) => {
|
|
883
|
+
if (req === null || req[kAborted]) return;
|
|
884
|
+
|
|
885
|
+
req = websocket._req = null;
|
|
886
|
+
emitErrorAndClose(websocket, err);
|
|
887
|
+
});
|
|
888
|
+
|
|
889
|
+
req.on('response', (res) => {
|
|
890
|
+
const location = res.headers.location;
|
|
891
|
+
const statusCode = res.statusCode;
|
|
892
|
+
|
|
893
|
+
if (
|
|
894
|
+
location &&
|
|
895
|
+
opts.followRedirects &&
|
|
896
|
+
statusCode >= 300 &&
|
|
897
|
+
statusCode < 400
|
|
898
|
+
) {
|
|
899
|
+
if (++websocket._redirects > opts.maxRedirects) {
|
|
900
|
+
abortHandshake(websocket, req, 'Maximum redirects exceeded');
|
|
901
|
+
return;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
req.abort();
|
|
905
|
+
|
|
906
|
+
let addr;
|
|
907
|
+
|
|
908
|
+
try {
|
|
909
|
+
addr = new URL(location, address);
|
|
910
|
+
} catch (e) {
|
|
911
|
+
const err = new SyntaxError(`Invalid URL: ${location}`);
|
|
912
|
+
emitErrorAndClose(websocket, err);
|
|
913
|
+
return;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
initAsClient(websocket, addr, protocols, options);
|
|
917
|
+
} else if (!websocket.emit('unexpected-response', req, res)) {
|
|
918
|
+
abortHandshake(
|
|
919
|
+
websocket,
|
|
920
|
+
req,
|
|
921
|
+
`Unexpected server response: ${res.statusCode}`
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
});
|
|
925
|
+
|
|
926
|
+
req.on('upgrade', (res, socket, head) => {
|
|
927
|
+
websocket.emit('upgrade', res);
|
|
928
|
+
|
|
929
|
+
//
|
|
930
|
+
// The user may have closed the connection from a listener of the
|
|
931
|
+
// `'upgrade'` event.
|
|
932
|
+
//
|
|
933
|
+
if (websocket.readyState !== WebSocket.CONNECTING) return;
|
|
934
|
+
|
|
935
|
+
req = websocket._req = null;
|
|
936
|
+
|
|
937
|
+
const upgrade = res.headers.upgrade;
|
|
938
|
+
|
|
939
|
+
if (upgrade === undefined || upgrade.toLowerCase() !== 'websocket') {
|
|
940
|
+
abortHandshake(websocket, socket, 'Invalid Upgrade header');
|
|
941
|
+
return;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
const digest = createHash('sha1')
|
|
945
|
+
.update(key + GUID)
|
|
946
|
+
.digest('base64');
|
|
947
|
+
|
|
948
|
+
if (res.headers['sec-websocket-accept'] !== digest) {
|
|
949
|
+
abortHandshake(websocket, socket, 'Invalid Sec-WebSocket-Accept header');
|
|
950
|
+
return;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
const serverProt = res.headers['sec-websocket-protocol'];
|
|
954
|
+
let protError;
|
|
955
|
+
|
|
956
|
+
if (serverProt !== undefined) {
|
|
957
|
+
if (!protocolSet.size) {
|
|
958
|
+
protError = 'Server sent a subprotocol but none was requested';
|
|
959
|
+
} else if (!protocolSet.has(serverProt)) {
|
|
960
|
+
protError = 'Server sent an invalid subprotocol';
|
|
961
|
+
}
|
|
962
|
+
} else if (protocolSet.size) {
|
|
963
|
+
protError = 'Server sent no subprotocol';
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
if (protError) {
|
|
967
|
+
abortHandshake(websocket, socket, protError);
|
|
968
|
+
return;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
if (serverProt) websocket._protocol = serverProt;
|
|
972
|
+
|
|
973
|
+
const secWebSocketExtensions = res.headers['sec-websocket-extensions'];
|
|
974
|
+
|
|
975
|
+
if (secWebSocketExtensions !== undefined) {
|
|
976
|
+
if (!perMessageDeflate) {
|
|
977
|
+
const message =
|
|
978
|
+
'Server sent a Sec-WebSocket-Extensions header but no extension ' +
|
|
979
|
+
'was requested';
|
|
980
|
+
abortHandshake(websocket, socket, message);
|
|
981
|
+
return;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
let extensions;
|
|
985
|
+
|
|
986
|
+
try {
|
|
987
|
+
extensions = parse(secWebSocketExtensions);
|
|
988
|
+
} catch (err) {
|
|
989
|
+
const message = 'Invalid Sec-WebSocket-Extensions header';
|
|
990
|
+
abortHandshake(websocket, socket, message);
|
|
991
|
+
return;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
const extensionNames = Object.keys(extensions);
|
|
995
|
+
|
|
996
|
+
if (
|
|
997
|
+
extensionNames.length !== 1 ||
|
|
998
|
+
extensionNames[0] !== PerMessageDeflate.extensionName
|
|
999
|
+
) {
|
|
1000
|
+
const message = 'Server indicated an extension that was not requested';
|
|
1001
|
+
abortHandshake(websocket, socket, message);
|
|
1002
|
+
return;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
try {
|
|
1006
|
+
perMessageDeflate.accept(extensions[PerMessageDeflate.extensionName]);
|
|
1007
|
+
} catch (err) {
|
|
1008
|
+
const message = 'Invalid Sec-WebSocket-Extensions header';
|
|
1009
|
+
abortHandshake(websocket, socket, message);
|
|
1010
|
+
return;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
websocket._extensions[PerMessageDeflate.extensionName] =
|
|
1014
|
+
perMessageDeflate;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
websocket.setSocket(socket, head, {
|
|
1018
|
+
allowSynchronousEvents: opts.allowSynchronousEvents,
|
|
1019
|
+
generateMask: opts.generateMask,
|
|
1020
|
+
maxPayload: opts.maxPayload,
|
|
1021
|
+
skipUTF8Validation: opts.skipUTF8Validation
|
|
1022
|
+
});
|
|
1023
|
+
});
|
|
1024
|
+
|
|
1025
|
+
if (opts.finishRequest) {
|
|
1026
|
+
opts.finishRequest(req, websocket);
|
|
1027
|
+
} else {
|
|
1028
|
+
req.end();
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
/**
|
|
1033
|
+
* Emit the `'error'` and `'close'` events.
|
|
1034
|
+
*
|
|
1035
|
+
* @param {WebSocket} websocket The WebSocket instance
|
|
1036
|
+
* @param {Error} The error to emit
|
|
1037
|
+
* @private
|
|
1038
|
+
*/
|
|
1039
|
+
function emitErrorAndClose(websocket, err) {
|
|
1040
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1041
|
+
//
|
|
1042
|
+
// The following assignment is practically useless and is done only for
|
|
1043
|
+
// consistency.
|
|
1044
|
+
//
|
|
1045
|
+
websocket._errorEmitted = true;
|
|
1046
|
+
websocket.emit('error', err);
|
|
1047
|
+
websocket.emitClose();
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/**
|
|
1051
|
+
* Create a `net.Socket` and initiate a connection.
|
|
1052
|
+
*
|
|
1053
|
+
* @param {Object} options Connection options
|
|
1054
|
+
* @return {net.Socket} The newly created socket used to start the connection
|
|
1055
|
+
* @private
|
|
1056
|
+
*/
|
|
1057
|
+
function netConnect(options) {
|
|
1058
|
+
options.path = options.socketPath;
|
|
1059
|
+
return net.connect(options);
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Create a `tls.TLSSocket` and initiate a connection.
|
|
1064
|
+
*
|
|
1065
|
+
* @param {Object} options Connection options
|
|
1066
|
+
* @return {tls.TLSSocket} The newly created socket used to start the connection
|
|
1067
|
+
* @private
|
|
1068
|
+
*/
|
|
1069
|
+
function tlsConnect(options) {
|
|
1070
|
+
options.path = undefined;
|
|
1071
|
+
|
|
1072
|
+
if (!options.servername && options.servername !== '') {
|
|
1073
|
+
options.servername = net.isIP(options.host) ? '' : options.host;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
return tls.connect(options);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/**
|
|
1080
|
+
* Abort the handshake and emit an error.
|
|
1081
|
+
*
|
|
1082
|
+
* @param {WebSocket} websocket The WebSocket instance
|
|
1083
|
+
* @param {(http.ClientRequest|net.Socket|tls.Socket)} stream The request to
|
|
1084
|
+
* abort or the socket to destroy
|
|
1085
|
+
* @param {String} message The error message
|
|
1086
|
+
* @private
|
|
1087
|
+
*/
|
|
1088
|
+
function abortHandshake(websocket, stream, message) {
|
|
1089
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1090
|
+
|
|
1091
|
+
const err = new Error(message);
|
|
1092
|
+
Error.captureStackTrace(err, abortHandshake);
|
|
1093
|
+
|
|
1094
|
+
if (stream.setHeader) {
|
|
1095
|
+
stream[kAborted] = true;
|
|
1096
|
+
stream.abort();
|
|
1097
|
+
|
|
1098
|
+
if (stream.socket && !stream.socket.destroyed) {
|
|
1099
|
+
//
|
|
1100
|
+
// On Node.js >= 14.3.0 `request.abort()` does not destroy the socket if
|
|
1101
|
+
// called after the request completed. See
|
|
1102
|
+
// https://github.com/websockets/ws/issues/1869.
|
|
1103
|
+
//
|
|
1104
|
+
stream.socket.destroy();
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
process.nextTick(emitErrorAndClose, websocket, err);
|
|
1108
|
+
} else {
|
|
1109
|
+
stream.destroy(err);
|
|
1110
|
+
stream.once('error', websocket.emit.bind(websocket, 'error'));
|
|
1111
|
+
stream.once('close', websocket.emitClose.bind(websocket));
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
/**
|
|
1116
|
+
* Handle cases where the `ping()`, `pong()`, or `send()` methods are called
|
|
1117
|
+
* when the `readyState` attribute is `CLOSING` or `CLOSED`.
|
|
1118
|
+
*
|
|
1119
|
+
* @param {WebSocket} websocket The WebSocket instance
|
|
1120
|
+
* @param {*} [data] The data to send
|
|
1121
|
+
* @param {Function} [cb] Callback
|
|
1122
|
+
* @private
|
|
1123
|
+
*/
|
|
1124
|
+
function sendAfterClose(websocket, data, cb) {
|
|
1125
|
+
if (data) {
|
|
1126
|
+
const length = isBlob(data) ? data.size : toBuffer(data).length;
|
|
1127
|
+
|
|
1128
|
+
//
|
|
1129
|
+
// The `_bufferedAmount` property is used only when the peer is a client and
|
|
1130
|
+
// the opening handshake fails. Under these circumstances, in fact, the
|
|
1131
|
+
// `setSocket()` method is not called, so the `_socket` and `_sender`
|
|
1132
|
+
// properties are set to `null`.
|
|
1133
|
+
//
|
|
1134
|
+
if (websocket._socket) websocket._sender._bufferedBytes += length;
|
|
1135
|
+
else websocket._bufferedAmount += length;
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
if (cb) {
|
|
1139
|
+
const err = new Error(
|
|
1140
|
+
`WebSocket is not open: readyState ${websocket.readyState} ` +
|
|
1141
|
+
`(${readyStates[websocket.readyState]})`
|
|
1142
|
+
);
|
|
1143
|
+
process.nextTick(cb, err);
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* The listener of the `Receiver` `'conclude'` event.
|
|
1149
|
+
*
|
|
1150
|
+
* @param {Number} code The status code
|
|
1151
|
+
* @param {Buffer} reason The reason for closing
|
|
1152
|
+
* @private
|
|
1153
|
+
*/
|
|
1154
|
+
function receiverOnConclude(code, reason) {
|
|
1155
|
+
const websocket = this[kWebSocket];
|
|
1156
|
+
|
|
1157
|
+
websocket._closeFrameReceived = true;
|
|
1158
|
+
websocket._closeMessage = reason;
|
|
1159
|
+
websocket._closeCode = code;
|
|
1160
|
+
|
|
1161
|
+
if (websocket._socket[kWebSocket] === undefined) return;
|
|
1162
|
+
|
|
1163
|
+
websocket._socket.removeListener('data', socketOnData);
|
|
1164
|
+
process.nextTick(resume, websocket._socket);
|
|
1165
|
+
|
|
1166
|
+
if (code === 1005) websocket.close();
|
|
1167
|
+
else websocket.close(code, reason);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* The listener of the `Receiver` `'drain'` event.
|
|
1172
|
+
*
|
|
1173
|
+
* @private
|
|
1174
|
+
*/
|
|
1175
|
+
function receiverOnDrain() {
|
|
1176
|
+
const websocket = this[kWebSocket];
|
|
1177
|
+
|
|
1178
|
+
if (!websocket.isPaused) websocket._socket.resume();
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* The listener of the `Receiver` `'error'` event.
|
|
1183
|
+
*
|
|
1184
|
+
* @param {(RangeError|Error)} err The emitted error
|
|
1185
|
+
* @private
|
|
1186
|
+
*/
|
|
1187
|
+
function receiverOnError(err) {
|
|
1188
|
+
const websocket = this[kWebSocket];
|
|
1189
|
+
|
|
1190
|
+
if (websocket._socket[kWebSocket] !== undefined) {
|
|
1191
|
+
websocket._socket.removeListener('data', socketOnData);
|
|
1192
|
+
|
|
1193
|
+
//
|
|
1194
|
+
// On Node.js < 14.0.0 the `'error'` event is emitted synchronously. See
|
|
1195
|
+
// https://github.com/websockets/ws/issues/1940.
|
|
1196
|
+
//
|
|
1197
|
+
process.nextTick(resume, websocket._socket);
|
|
1198
|
+
|
|
1199
|
+
websocket.close(err[kStatusCode]);
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
if (!websocket._errorEmitted) {
|
|
1203
|
+
websocket._errorEmitted = true;
|
|
1204
|
+
websocket.emit('error', err);
|
|
1205
|
+
}
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* The listener of the `Receiver` `'finish'` event.
|
|
1210
|
+
*
|
|
1211
|
+
* @private
|
|
1212
|
+
*/
|
|
1213
|
+
function receiverOnFinish() {
|
|
1214
|
+
this[kWebSocket].emitClose();
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
/**
|
|
1218
|
+
* The listener of the `Receiver` `'message'` event.
|
|
1219
|
+
*
|
|
1220
|
+
* @param {Buffer|ArrayBuffer|Buffer[])} data The message
|
|
1221
|
+
* @param {Boolean} isBinary Specifies whether the message is binary or not
|
|
1222
|
+
* @private
|
|
1223
|
+
*/
|
|
1224
|
+
function receiverOnMessage(data, isBinary) {
|
|
1225
|
+
this[kWebSocket].emit('message', data, isBinary);
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* The listener of the `Receiver` `'ping'` event.
|
|
1230
|
+
*
|
|
1231
|
+
* @param {Buffer} data The data included in the ping frame
|
|
1232
|
+
* @private
|
|
1233
|
+
*/
|
|
1234
|
+
function receiverOnPing(data) {
|
|
1235
|
+
const websocket = this[kWebSocket];
|
|
1236
|
+
|
|
1237
|
+
if (websocket._autoPong) websocket.pong(data, !this._isServer, NOOP);
|
|
1238
|
+
websocket.emit('ping', data);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* The listener of the `Receiver` `'pong'` event.
|
|
1243
|
+
*
|
|
1244
|
+
* @param {Buffer} data The data included in the pong frame
|
|
1245
|
+
* @private
|
|
1246
|
+
*/
|
|
1247
|
+
function receiverOnPong(data) {
|
|
1248
|
+
this[kWebSocket].emit('pong', data);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Resume a readable stream
|
|
1253
|
+
*
|
|
1254
|
+
* @param {Readable} stream The readable stream
|
|
1255
|
+
* @private
|
|
1256
|
+
*/
|
|
1257
|
+
function resume(stream) {
|
|
1258
|
+
stream.resume();
|
|
1259
|
+
}
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* The `Sender` error event handler.
|
|
1263
|
+
*
|
|
1264
|
+
* @param {Error} The error
|
|
1265
|
+
* @private
|
|
1266
|
+
*/
|
|
1267
|
+
function senderOnError(err) {
|
|
1268
|
+
const websocket = this[kWebSocket];
|
|
1269
|
+
|
|
1270
|
+
if (websocket.readyState === WebSocket.CLOSED) return;
|
|
1271
|
+
if (websocket.readyState === WebSocket.OPEN) {
|
|
1272
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1273
|
+
setCloseTimer(websocket);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
//
|
|
1277
|
+
// `socket.end()` is used instead of `socket.destroy()` to allow the other
|
|
1278
|
+
// peer to finish sending queued data. There is no need to set a timer here
|
|
1279
|
+
// because `CLOSING` means that it is already set or not needed.
|
|
1280
|
+
//
|
|
1281
|
+
this._socket.end();
|
|
1282
|
+
|
|
1283
|
+
if (!websocket._errorEmitted) {
|
|
1284
|
+
websocket._errorEmitted = true;
|
|
1285
|
+
websocket.emit('error', err);
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Set a timer to destroy the underlying raw socket of a WebSocket.
|
|
1291
|
+
*
|
|
1292
|
+
* @param {WebSocket} websocket The WebSocket instance
|
|
1293
|
+
* @private
|
|
1294
|
+
*/
|
|
1295
|
+
function setCloseTimer(websocket) {
|
|
1296
|
+
websocket._closeTimer = setTimeout(
|
|
1297
|
+
websocket._socket.destroy.bind(websocket._socket),
|
|
1298
|
+
websocket._closeTimeout
|
|
1299
|
+
);
|
|
1300
|
+
}
|
|
1301
|
+
|
|
1302
|
+
/**
|
|
1303
|
+
* The listener of the socket `'close'` event.
|
|
1304
|
+
*
|
|
1305
|
+
* @private
|
|
1306
|
+
*/
|
|
1307
|
+
function socketOnClose() {
|
|
1308
|
+
const websocket = this[kWebSocket];
|
|
1309
|
+
|
|
1310
|
+
this.removeListener('close', socketOnClose);
|
|
1311
|
+
this.removeListener('data', socketOnData);
|
|
1312
|
+
this.removeListener('end', socketOnEnd);
|
|
1313
|
+
|
|
1314
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1315
|
+
|
|
1316
|
+
//
|
|
1317
|
+
// The close frame might not have been received or the `'end'` event emitted,
|
|
1318
|
+
// for example, if the socket was destroyed due to an error. Ensure that the
|
|
1319
|
+
// `receiver` stream is closed after writing any remaining buffered data to
|
|
1320
|
+
// it. If the readable side of the socket is in flowing mode then there is no
|
|
1321
|
+
// buffered data as everything has been already written. If instead, the
|
|
1322
|
+
// socket is paused, any possible buffered data will be read as a single
|
|
1323
|
+
// chunk.
|
|
1324
|
+
//
|
|
1325
|
+
if (
|
|
1326
|
+
!this._readableState.endEmitted &&
|
|
1327
|
+
!websocket._closeFrameReceived &&
|
|
1328
|
+
!websocket._receiver._writableState.errorEmitted &&
|
|
1329
|
+
this._readableState.length !== 0
|
|
1330
|
+
) {
|
|
1331
|
+
const chunk = this.read(this._readableState.length);
|
|
1332
|
+
|
|
1333
|
+
websocket._receiver.write(chunk);
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
websocket._receiver.end();
|
|
1337
|
+
|
|
1338
|
+
this[kWebSocket] = undefined;
|
|
1339
|
+
|
|
1340
|
+
clearTimeout(websocket._closeTimer);
|
|
1341
|
+
|
|
1342
|
+
if (
|
|
1343
|
+
websocket._receiver._writableState.finished ||
|
|
1344
|
+
websocket._receiver._writableState.errorEmitted
|
|
1345
|
+
) {
|
|
1346
|
+
websocket.emitClose();
|
|
1347
|
+
} else {
|
|
1348
|
+
websocket._receiver.on('error', receiverOnFinish);
|
|
1349
|
+
websocket._receiver.on('finish', receiverOnFinish);
|
|
1350
|
+
}
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* The listener of the socket `'data'` event.
|
|
1355
|
+
*
|
|
1356
|
+
* @param {Buffer} chunk A chunk of data
|
|
1357
|
+
* @private
|
|
1358
|
+
*/
|
|
1359
|
+
function socketOnData(chunk) {
|
|
1360
|
+
if (!this[kWebSocket]._receiver.write(chunk)) {
|
|
1361
|
+
this.pause();
|
|
1362
|
+
}
|
|
1363
|
+
}
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* The listener of the socket `'end'` event.
|
|
1367
|
+
*
|
|
1368
|
+
* @private
|
|
1369
|
+
*/
|
|
1370
|
+
function socketOnEnd() {
|
|
1371
|
+
const websocket = this[kWebSocket];
|
|
1372
|
+
|
|
1373
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1374
|
+
websocket._receiver.end();
|
|
1375
|
+
this.end();
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* The listener of the socket `'error'` event.
|
|
1380
|
+
*
|
|
1381
|
+
* @private
|
|
1382
|
+
*/
|
|
1383
|
+
function socketOnError() {
|
|
1384
|
+
const websocket = this[kWebSocket];
|
|
1385
|
+
|
|
1386
|
+
this.removeListener('error', socketOnError);
|
|
1387
|
+
this.on('error', NOOP);
|
|
1388
|
+
|
|
1389
|
+
if (websocket) {
|
|
1390
|
+
websocket._readyState = WebSocket.CLOSING;
|
|
1391
|
+
this.destroy();
|
|
1392
|
+
}
|
|
1393
|
+
}
|