@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,1669 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
/* global WebAssembly */
|
|
4
|
+
|
|
5
|
+
const assert = require('node:assert')
|
|
6
|
+
const util = require('../core/util.js')
|
|
7
|
+
const { channels } = require('../core/diagnostics.js')
|
|
8
|
+
const timers = require('../util/timers.js')
|
|
9
|
+
const {
|
|
10
|
+
RequestContentLengthMismatchError,
|
|
11
|
+
ResponseContentLengthMismatchError,
|
|
12
|
+
RequestAbortedError,
|
|
13
|
+
HeadersTimeoutError,
|
|
14
|
+
HeadersOverflowError,
|
|
15
|
+
SocketError,
|
|
16
|
+
InformationalError,
|
|
17
|
+
BodyTimeoutError,
|
|
18
|
+
HTTPParserError,
|
|
19
|
+
ResponseExceededMaxSizeError
|
|
20
|
+
} = require('../core/errors.js')
|
|
21
|
+
const {
|
|
22
|
+
kUrl,
|
|
23
|
+
kReset,
|
|
24
|
+
kClient,
|
|
25
|
+
kParser,
|
|
26
|
+
kBlocking,
|
|
27
|
+
kRunning,
|
|
28
|
+
kPending,
|
|
29
|
+
kSize,
|
|
30
|
+
kWriting,
|
|
31
|
+
kQueue,
|
|
32
|
+
kNoRef,
|
|
33
|
+
kKeepAliveDefaultTimeout,
|
|
34
|
+
kHostHeader,
|
|
35
|
+
kPendingIdx,
|
|
36
|
+
kRunningIdx,
|
|
37
|
+
kError,
|
|
38
|
+
kPipelining,
|
|
39
|
+
kSocket,
|
|
40
|
+
kKeepAliveTimeoutValue,
|
|
41
|
+
kMaxHeadersSize,
|
|
42
|
+
kKeepAliveMaxTimeout,
|
|
43
|
+
kKeepAliveTimeoutThreshold,
|
|
44
|
+
kHeadersTimeout,
|
|
45
|
+
kBodyTimeout,
|
|
46
|
+
kStrictContentLength,
|
|
47
|
+
kMaxRequests,
|
|
48
|
+
kCounter,
|
|
49
|
+
kMaxResponseSize,
|
|
50
|
+
kOnError,
|
|
51
|
+
kResume,
|
|
52
|
+
kHTTPContext,
|
|
53
|
+
kClosed
|
|
54
|
+
} = require('../core/symbols.js')
|
|
55
|
+
|
|
56
|
+
const constants = require('../llhttp/constants.js')
|
|
57
|
+
const EMPTY_BUF = Buffer.alloc(0)
|
|
58
|
+
const FastBuffer = Buffer[Symbol.species]
|
|
59
|
+
const removeAllListeners = util.removeAllListeners
|
|
60
|
+
|
|
61
|
+
let extractBody
|
|
62
|
+
|
|
63
|
+
function lazyllhttp () {
|
|
64
|
+
const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined
|
|
65
|
+
|
|
66
|
+
let mod
|
|
67
|
+
|
|
68
|
+
// We disable wasm SIMD on ppc64 as it seems to be broken on Power 9 architectures.
|
|
69
|
+
let useWasmSIMD = process.arch !== 'ppc64'
|
|
70
|
+
// The Env Variable UNDICI_NO_WASM_SIMD allows explicitly overriding the default behavior
|
|
71
|
+
if (process.env.UNDICI_NO_WASM_SIMD === '1') {
|
|
72
|
+
useWasmSIMD = false
|
|
73
|
+
} else if (process.env.UNDICI_NO_WASM_SIMD === '0') {
|
|
74
|
+
useWasmSIMD = true
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (useWasmSIMD) {
|
|
78
|
+
try {
|
|
79
|
+
mod = new WebAssembly.Module(require('../llhttp/llhttp_simd-wasm.js'))
|
|
80
|
+
} catch {
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (!mod) {
|
|
85
|
+
// We could check if the error was caused by the simd option not
|
|
86
|
+
// being enabled, but the occurring of this other error
|
|
87
|
+
// * https://github.com/emscripten-core/emscripten/issues/11495
|
|
88
|
+
// got me to remove that check to avoid breaking Node 12.
|
|
89
|
+
mod = new WebAssembly.Module(llhttpWasmData || require('../llhttp/llhttp-wasm.js'))
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
return new WebAssembly.Instance(mod, {
|
|
93
|
+
env: {
|
|
94
|
+
/**
|
|
95
|
+
* @param {number} p
|
|
96
|
+
* @param {number} at
|
|
97
|
+
* @param {number} len
|
|
98
|
+
* @returns {number}
|
|
99
|
+
*/
|
|
100
|
+
wasm_on_url: (p, at, len) => {
|
|
101
|
+
return 0
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* @param {number} p
|
|
105
|
+
* @param {number} at
|
|
106
|
+
* @param {number} len
|
|
107
|
+
* @returns {number}
|
|
108
|
+
*/
|
|
109
|
+
wasm_on_status: (p, at, len) => {
|
|
110
|
+
assert(currentParser.ptr === p)
|
|
111
|
+
const start = at - currentBufferPtr + currentBufferRef.byteOffset
|
|
112
|
+
return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len))
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* @param {number} p
|
|
116
|
+
* @returns {number}
|
|
117
|
+
*/
|
|
118
|
+
wasm_on_message_begin: (p) => {
|
|
119
|
+
assert(currentParser.ptr === p)
|
|
120
|
+
return currentParser.onMessageBegin()
|
|
121
|
+
},
|
|
122
|
+
/**
|
|
123
|
+
* @param {number} p
|
|
124
|
+
* @param {number} at
|
|
125
|
+
* @param {number} len
|
|
126
|
+
* @returns {number}
|
|
127
|
+
*/
|
|
128
|
+
wasm_on_header_field: (p, at, len) => {
|
|
129
|
+
assert(currentParser.ptr === p)
|
|
130
|
+
const start = at - currentBufferPtr + currentBufferRef.byteOffset
|
|
131
|
+
return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len))
|
|
132
|
+
},
|
|
133
|
+
/**
|
|
134
|
+
* @param {number} p
|
|
135
|
+
* @param {number} at
|
|
136
|
+
* @param {number} len
|
|
137
|
+
* @returns {number}
|
|
138
|
+
*/
|
|
139
|
+
wasm_on_header_value: (p, at, len) => {
|
|
140
|
+
assert(currentParser.ptr === p)
|
|
141
|
+
const start = at - currentBufferPtr + currentBufferRef.byteOffset
|
|
142
|
+
return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len))
|
|
143
|
+
},
|
|
144
|
+
/**
|
|
145
|
+
* @param {number} p
|
|
146
|
+
* @param {number} statusCode
|
|
147
|
+
* @param {0|1} upgrade
|
|
148
|
+
* @param {0|1} shouldKeepAlive
|
|
149
|
+
* @returns {number}
|
|
150
|
+
*/
|
|
151
|
+
wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => {
|
|
152
|
+
assert(currentParser.ptr === p)
|
|
153
|
+
return currentParser.onHeadersComplete(statusCode, upgrade === 1, shouldKeepAlive === 1)
|
|
154
|
+
},
|
|
155
|
+
/**
|
|
156
|
+
* @param {number} p
|
|
157
|
+
* @param {number} at
|
|
158
|
+
* @param {number} len
|
|
159
|
+
* @returns {number}
|
|
160
|
+
*/
|
|
161
|
+
wasm_on_body: (p, at, len) => {
|
|
162
|
+
assert(currentParser.ptr === p)
|
|
163
|
+
const start = at - currentBufferPtr + currentBufferRef.byteOffset
|
|
164
|
+
return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len))
|
|
165
|
+
},
|
|
166
|
+
/**
|
|
167
|
+
* @param {number} p
|
|
168
|
+
* @returns {number}
|
|
169
|
+
*/
|
|
170
|
+
wasm_on_message_complete: (p) => {
|
|
171
|
+
assert(currentParser.ptr === p)
|
|
172
|
+
return currentParser.onMessageComplete()
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
}
|
|
176
|
+
})
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
let llhttpInstance = null
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @type {Parser|null}
|
|
183
|
+
*/
|
|
184
|
+
let currentParser = null
|
|
185
|
+
let currentBufferRef = null
|
|
186
|
+
/**
|
|
187
|
+
* @type {number}
|
|
188
|
+
*/
|
|
189
|
+
let currentBufferSize = 0
|
|
190
|
+
let currentBufferPtr = null
|
|
191
|
+
let currentBuffer = null
|
|
192
|
+
|
|
193
|
+
const USE_NATIVE_TIMER = 0
|
|
194
|
+
const USE_FAST_TIMER = 1
|
|
195
|
+
|
|
196
|
+
// Use fast timers for headers and body to take eventual event loop
|
|
197
|
+
// latency into account.
|
|
198
|
+
const TIMEOUT_HEADERS = 2 | USE_FAST_TIMER
|
|
199
|
+
const TIMEOUT_BODY = 4 | USE_FAST_TIMER
|
|
200
|
+
|
|
201
|
+
// Use native timers to ignore event loop latency for keep-alive
|
|
202
|
+
// handling.
|
|
203
|
+
const TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER
|
|
204
|
+
|
|
205
|
+
class Parser {
|
|
206
|
+
/**
|
|
207
|
+
* @param {import('./client.js')} client
|
|
208
|
+
* @param {import('net').Socket} socket
|
|
209
|
+
* @param {*} llhttp
|
|
210
|
+
*/
|
|
211
|
+
constructor (client, socket, { exports }) {
|
|
212
|
+
this.llhttp = exports
|
|
213
|
+
this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE)
|
|
214
|
+
this.client = client
|
|
215
|
+
/**
|
|
216
|
+
* @type {import('net').Socket}
|
|
217
|
+
*/
|
|
218
|
+
this.socket = socket
|
|
219
|
+
this.timeout = null
|
|
220
|
+
this.timeoutWeakRef = new WeakRef(this)
|
|
221
|
+
this.timeoutValue = null
|
|
222
|
+
this.timeoutType = null
|
|
223
|
+
this.statusCode = 0
|
|
224
|
+
this.statusText = ''
|
|
225
|
+
this.upgrade = false
|
|
226
|
+
this.headers = []
|
|
227
|
+
this.headersSize = 0
|
|
228
|
+
this.headersMaxSize = client[kMaxHeadersSize]
|
|
229
|
+
this.shouldKeepAlive = false
|
|
230
|
+
this.paused = false
|
|
231
|
+
this.resume = this.resume.bind(this)
|
|
232
|
+
|
|
233
|
+
this.bytesRead = 0
|
|
234
|
+
|
|
235
|
+
this.keepAlive = ''
|
|
236
|
+
this.contentLength = -1
|
|
237
|
+
this.connectionKeepAlive = false
|
|
238
|
+
this.maxResponseSize = client[kMaxResponseSize]
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
setTimeout (delay, type) {
|
|
242
|
+
// If the existing timer and the new timer are of different timer type
|
|
243
|
+
// (fast or native) or have different delay, we need to clear the existing
|
|
244
|
+
// timer and set a new one.
|
|
245
|
+
if (
|
|
246
|
+
delay !== this.timeoutValue ||
|
|
247
|
+
(type & USE_FAST_TIMER) ^ (this.timeoutType & USE_FAST_TIMER)
|
|
248
|
+
) {
|
|
249
|
+
// If a timeout is already set, clear it with clearTimeout of the fast
|
|
250
|
+
// timer implementation, as it can clear fast and native timers.
|
|
251
|
+
if (this.timeout) {
|
|
252
|
+
timers.clearTimeout(this.timeout)
|
|
253
|
+
this.timeout = null
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
if (delay) {
|
|
257
|
+
if (type & USE_FAST_TIMER) {
|
|
258
|
+
this.timeout = timers.setFastTimeout(onParserTimeout, delay, this.timeoutWeakRef)
|
|
259
|
+
} else {
|
|
260
|
+
this.timeout = setTimeout(onParserTimeout, delay, this.timeoutWeakRef)
|
|
261
|
+
this.timeout?.unref()
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
this.timeoutValue = delay
|
|
266
|
+
} else if (this.timeout) {
|
|
267
|
+
if (this.timeout.refresh) {
|
|
268
|
+
this.timeout.refresh()
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
this.timeoutType = type
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
resume () {
|
|
276
|
+
if (this.socket.destroyed || !this.paused) {
|
|
277
|
+
return
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
assert(this.ptr != null)
|
|
281
|
+
assert(currentParser === null)
|
|
282
|
+
|
|
283
|
+
this.llhttp.llhttp_resume(this.ptr)
|
|
284
|
+
|
|
285
|
+
assert(this.timeoutType === TIMEOUT_BODY)
|
|
286
|
+
if (this.timeout) {
|
|
287
|
+
if (this.timeout.refresh) {
|
|
288
|
+
this.timeout.refresh()
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
this.paused = false
|
|
293
|
+
this.execute(this.socket.read() || EMPTY_BUF) // Flush parser.
|
|
294
|
+
this.readMore()
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
readMore () {
|
|
298
|
+
while (!this.paused && this.ptr) {
|
|
299
|
+
const chunk = this.socket.read()
|
|
300
|
+
if (chunk === null) {
|
|
301
|
+
break
|
|
302
|
+
}
|
|
303
|
+
this.execute(chunk)
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* @param {Buffer} chunk
|
|
309
|
+
*/
|
|
310
|
+
execute (chunk) {
|
|
311
|
+
assert(currentParser === null)
|
|
312
|
+
assert(this.ptr != null)
|
|
313
|
+
assert(!this.paused)
|
|
314
|
+
|
|
315
|
+
const { socket, llhttp } = this
|
|
316
|
+
|
|
317
|
+
// Allocate a new buffer if the current buffer is too small.
|
|
318
|
+
if (chunk.length > currentBufferSize) {
|
|
319
|
+
if (currentBufferPtr) {
|
|
320
|
+
llhttp.free(currentBufferPtr)
|
|
321
|
+
}
|
|
322
|
+
// Allocate a buffer that is a multiple of 4096 bytes.
|
|
323
|
+
currentBufferSize = Math.ceil(chunk.length / 4096) * 4096
|
|
324
|
+
currentBufferPtr = llhttp.malloc(currentBufferSize)
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
if (
|
|
328
|
+
currentBuffer === null ||
|
|
329
|
+
currentBuffer.buffer !== llhttp.memory.buffer ||
|
|
330
|
+
currentBuffer.byteOffset !== currentBufferPtr ||
|
|
331
|
+
currentBuffer.byteLength !== currentBufferSize
|
|
332
|
+
) {
|
|
333
|
+
currentBuffer = new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize)
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
currentBuffer.set(chunk)
|
|
337
|
+
|
|
338
|
+
// Call `execute` on the wasm parser.
|
|
339
|
+
// We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,
|
|
340
|
+
// and finally the length of bytes to parse.
|
|
341
|
+
// The return value is an error code or `constants.ERROR.OK`.
|
|
342
|
+
try {
|
|
343
|
+
let ret
|
|
344
|
+
|
|
345
|
+
try {
|
|
346
|
+
currentBufferRef = chunk
|
|
347
|
+
currentParser = this
|
|
348
|
+
ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, chunk.length)
|
|
349
|
+
} finally {
|
|
350
|
+
currentParser = null
|
|
351
|
+
currentBufferRef = null
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
if (ret !== constants.ERROR.OK) {
|
|
355
|
+
const data = chunk.subarray(llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr)
|
|
356
|
+
|
|
357
|
+
if (ret === constants.ERROR.PAUSED_UPGRADE) {
|
|
358
|
+
this.onUpgrade(data)
|
|
359
|
+
} else if (ret === constants.ERROR.PAUSED) {
|
|
360
|
+
this.paused = true
|
|
361
|
+
socket.unshift(data)
|
|
362
|
+
} else {
|
|
363
|
+
throw this.createError(ret, data)
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
} catch (err) {
|
|
367
|
+
util.destroy(socket, err)
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
finish () {
|
|
372
|
+
assert(currentParser === null)
|
|
373
|
+
assert(this.ptr != null)
|
|
374
|
+
assert(!this.paused)
|
|
375
|
+
|
|
376
|
+
const { llhttp } = this
|
|
377
|
+
|
|
378
|
+
let ret
|
|
379
|
+
|
|
380
|
+
try {
|
|
381
|
+
currentParser = this
|
|
382
|
+
ret = llhttp.llhttp_finish(this.ptr)
|
|
383
|
+
} finally {
|
|
384
|
+
currentParser = null
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (ret === constants.ERROR.OK) {
|
|
388
|
+
return null
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
if (ret === constants.ERROR.PAUSED || ret === constants.ERROR.PAUSED_UPGRADE) {
|
|
392
|
+
this.paused = true
|
|
393
|
+
return null
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
return this.createError(ret, EMPTY_BUF)
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
createError (ret, data) {
|
|
400
|
+
const { llhttp, contentLength, bytesRead } = this
|
|
401
|
+
|
|
402
|
+
if (contentLength !== -1 && bytesRead !== contentLength) {
|
|
403
|
+
return new ResponseContentLengthMismatchError()
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
const ptr = llhttp.llhttp_get_error_reason(this.ptr)
|
|
407
|
+
let message = ''
|
|
408
|
+
if (ptr) {
|
|
409
|
+
const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0)
|
|
410
|
+
message =
|
|
411
|
+
'Response does not match the HTTP/1.1 protocol (' +
|
|
412
|
+
Buffer.from(llhttp.memory.buffer, ptr, len).toString() +
|
|
413
|
+
')'
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
return new HTTPParserError(message, constants.ERROR[ret], data)
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
destroy () {
|
|
420
|
+
assert(currentParser === null)
|
|
421
|
+
assert(this.ptr != null)
|
|
422
|
+
|
|
423
|
+
this.llhttp.llhttp_free(this.ptr)
|
|
424
|
+
this.ptr = null
|
|
425
|
+
|
|
426
|
+
this.timeout && timers.clearTimeout(this.timeout)
|
|
427
|
+
this.timeout = null
|
|
428
|
+
this.timeoutValue = null
|
|
429
|
+
this.timeoutType = null
|
|
430
|
+
|
|
431
|
+
this.paused = false
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @param {Buffer} buf
|
|
436
|
+
* @returns {0}
|
|
437
|
+
*/
|
|
438
|
+
onStatus (buf) {
|
|
439
|
+
this.statusText = buf.toString()
|
|
440
|
+
return 0
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @returns {0|-1}
|
|
445
|
+
*/
|
|
446
|
+
onMessageBegin () {
|
|
447
|
+
const { socket, client } = this
|
|
448
|
+
|
|
449
|
+
if (socket.destroyed) {
|
|
450
|
+
return -1
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
454
|
+
if (!request) {
|
|
455
|
+
return -1
|
|
456
|
+
}
|
|
457
|
+
request.onResponseStarted()
|
|
458
|
+
|
|
459
|
+
return 0
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* @param {Buffer} buf
|
|
464
|
+
* @returns {number}
|
|
465
|
+
*/
|
|
466
|
+
onHeaderField (buf) {
|
|
467
|
+
const len = this.headers.length
|
|
468
|
+
|
|
469
|
+
if ((len & 1) === 0) {
|
|
470
|
+
this.headers.push(buf)
|
|
471
|
+
} else {
|
|
472
|
+
this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
this.trackHeader(buf.length)
|
|
476
|
+
|
|
477
|
+
return 0
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* @param {Buffer} buf
|
|
482
|
+
* @returns {number}
|
|
483
|
+
*/
|
|
484
|
+
onHeaderValue (buf) {
|
|
485
|
+
let len = this.headers.length
|
|
486
|
+
|
|
487
|
+
if ((len & 1) === 1) {
|
|
488
|
+
this.headers.push(buf)
|
|
489
|
+
len += 1
|
|
490
|
+
} else {
|
|
491
|
+
this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
const key = this.headers[len - 2]
|
|
495
|
+
if (key.length === 10) {
|
|
496
|
+
const headerName = util.bufferToLowerCasedHeaderName(key)
|
|
497
|
+
if (headerName === 'keep-alive') {
|
|
498
|
+
this.keepAlive += buf.toString()
|
|
499
|
+
} else if (headerName === 'connection') {
|
|
500
|
+
this.connectionKeepAlive =
|
|
501
|
+
this.headers[len - 1].length === 10 &&
|
|
502
|
+
util.bufferToLowerCasedHeaderName(this.headers[len - 1]) === 'keep-alive'
|
|
503
|
+
}
|
|
504
|
+
} else if (key.length === 14 && util.bufferToLowerCasedHeaderName(key) === 'content-length') {
|
|
505
|
+
if (this.contentLength === -1) {
|
|
506
|
+
this.contentLength = 0
|
|
507
|
+
}
|
|
508
|
+
for (let i = 0; i < buf.length; i++) {
|
|
509
|
+
this.contentLength = (this.contentLength * 10) + (buf[i] - 0x30)
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
this.trackHeader(buf.length)
|
|
514
|
+
|
|
515
|
+
return 0
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* @param {number} len
|
|
520
|
+
*/
|
|
521
|
+
trackHeader (len) {
|
|
522
|
+
this.headersSize += len
|
|
523
|
+
if (this.headersSize >= this.headersMaxSize) {
|
|
524
|
+
util.destroy(this.socket, new HeadersOverflowError())
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* @param {Buffer} head
|
|
530
|
+
*/
|
|
531
|
+
onUpgrade (head) {
|
|
532
|
+
const { upgrade, client, socket, headers, statusCode } = this
|
|
533
|
+
|
|
534
|
+
assert(upgrade)
|
|
535
|
+
assert(client[kSocket] === socket)
|
|
536
|
+
assert(!socket.destroyed)
|
|
537
|
+
assert(!this.paused)
|
|
538
|
+
assert((headers.length & 1) === 0)
|
|
539
|
+
|
|
540
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
541
|
+
assert(request)
|
|
542
|
+
assert(request.upgrade || request.method === 'CONNECT')
|
|
543
|
+
|
|
544
|
+
this.statusCode = 0
|
|
545
|
+
this.statusText = ''
|
|
546
|
+
this.shouldKeepAlive = false
|
|
547
|
+
|
|
548
|
+
this.headers = []
|
|
549
|
+
this.headersSize = 0
|
|
550
|
+
|
|
551
|
+
socket.unshift(head)
|
|
552
|
+
|
|
553
|
+
socket[kParser].destroy()
|
|
554
|
+
socket[kParser] = null
|
|
555
|
+
|
|
556
|
+
socket[kClient] = null
|
|
557
|
+
socket[kError] = null
|
|
558
|
+
|
|
559
|
+
removeAllListeners(socket)
|
|
560
|
+
|
|
561
|
+
client[kSocket] = null
|
|
562
|
+
client[kHTTPContext] = null // TODO (fix): This is hacky...
|
|
563
|
+
client[kQueue][client[kRunningIdx]++] = null
|
|
564
|
+
client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade'))
|
|
565
|
+
|
|
566
|
+
try {
|
|
567
|
+
request.onRequestUpgrade(statusCode, headers, socket)
|
|
568
|
+
} catch (err) {
|
|
569
|
+
util.destroy(socket, err)
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
client[kResume]()
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* @param {number} statusCode
|
|
577
|
+
* @param {boolean} upgrade
|
|
578
|
+
* @param {boolean} shouldKeepAlive
|
|
579
|
+
* @returns {number}
|
|
580
|
+
*/
|
|
581
|
+
onHeadersComplete (statusCode, upgrade, shouldKeepAlive) {
|
|
582
|
+
const { client, socket, headers, statusText } = this
|
|
583
|
+
|
|
584
|
+
if (socket.destroyed) {
|
|
585
|
+
return -1
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
589
|
+
|
|
590
|
+
if (!request) {
|
|
591
|
+
return -1
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
assert(!this.upgrade)
|
|
595
|
+
assert(this.statusCode < 200)
|
|
596
|
+
|
|
597
|
+
if (statusCode === 100) {
|
|
598
|
+
util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))
|
|
599
|
+
return -1
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
/* this can only happen if server is misbehaving */
|
|
603
|
+
if (upgrade && !request.upgrade) {
|
|
604
|
+
util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket)))
|
|
605
|
+
return -1
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
assert(this.timeoutType === TIMEOUT_HEADERS)
|
|
609
|
+
|
|
610
|
+
this.statusCode = statusCode
|
|
611
|
+
this.shouldKeepAlive = (
|
|
612
|
+
shouldKeepAlive ||
|
|
613
|
+
// Override llhttp value which does not allow keepAlive for HEAD.
|
|
614
|
+
(request.method === 'HEAD' && !socket[kReset] && this.connectionKeepAlive)
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
if (this.statusCode >= 200) {
|
|
618
|
+
const bodyTimeout = request.bodyTimeout != null
|
|
619
|
+
? request.bodyTimeout
|
|
620
|
+
: client[kBodyTimeout]
|
|
621
|
+
this.setTimeout(bodyTimeout, TIMEOUT_BODY)
|
|
622
|
+
} else if (this.timeout) {
|
|
623
|
+
if (this.timeout.refresh) {
|
|
624
|
+
this.timeout.refresh()
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
if (request.method === 'CONNECT') {
|
|
629
|
+
assert(client[kRunning] === 1)
|
|
630
|
+
this.upgrade = true
|
|
631
|
+
return 2
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
if (upgrade) {
|
|
635
|
+
assert(client[kRunning] === 1)
|
|
636
|
+
this.upgrade = true
|
|
637
|
+
return 2
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
assert((this.headers.length & 1) === 0)
|
|
641
|
+
this.headers = []
|
|
642
|
+
this.headersSize = 0
|
|
643
|
+
|
|
644
|
+
if (this.shouldKeepAlive && client[kPipelining]) {
|
|
645
|
+
const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null
|
|
646
|
+
|
|
647
|
+
if (keepAliveTimeout != null) {
|
|
648
|
+
const timeout = Math.min(
|
|
649
|
+
keepAliveTimeout - client[kKeepAliveTimeoutThreshold],
|
|
650
|
+
client[kKeepAliveMaxTimeout]
|
|
651
|
+
)
|
|
652
|
+
if (timeout <= 0) {
|
|
653
|
+
socket[kReset] = true
|
|
654
|
+
} else {
|
|
655
|
+
client[kKeepAliveTimeoutValue] = timeout
|
|
656
|
+
}
|
|
657
|
+
} else {
|
|
658
|
+
client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]
|
|
659
|
+
}
|
|
660
|
+
} else {
|
|
661
|
+
// Stop more requests from being dispatched.
|
|
662
|
+
socket[kReset] = true
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
const pause = request.onResponseStart(statusCode, headers, this.resume, statusText) === false
|
|
666
|
+
|
|
667
|
+
if (request.aborted) {
|
|
668
|
+
return -1
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
if (request.method === 'HEAD') {
|
|
672
|
+
return 1
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
if (statusCode < 200) {
|
|
676
|
+
return 1
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
if (socket[kBlocking]) {
|
|
680
|
+
socket[kBlocking] = false
|
|
681
|
+
client[kResume]()
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
return pause ? constants.ERROR.PAUSED : 0
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* @param {Buffer} buf
|
|
689
|
+
* @returns {number}
|
|
690
|
+
*/
|
|
691
|
+
onBody (buf) {
|
|
692
|
+
const { client, socket, statusCode, maxResponseSize } = this
|
|
693
|
+
|
|
694
|
+
if (socket.destroyed) {
|
|
695
|
+
return -1
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
699
|
+
assert(request)
|
|
700
|
+
|
|
701
|
+
assert(this.timeoutType === TIMEOUT_BODY)
|
|
702
|
+
if (this.timeout) {
|
|
703
|
+
if (this.timeout.refresh) {
|
|
704
|
+
this.timeout.refresh()
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
assert(statusCode >= 200)
|
|
709
|
+
|
|
710
|
+
if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {
|
|
711
|
+
util.destroy(socket, new ResponseExceededMaxSizeError())
|
|
712
|
+
return -1
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
this.bytesRead += buf.length
|
|
716
|
+
|
|
717
|
+
if (request.onResponseData(buf) === false) {
|
|
718
|
+
return constants.ERROR.PAUSED
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
return 0
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @returns {number}
|
|
726
|
+
*/
|
|
727
|
+
onMessageComplete () {
|
|
728
|
+
const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this
|
|
729
|
+
|
|
730
|
+
if (socket.destroyed && (!statusCode || shouldKeepAlive)) {
|
|
731
|
+
return -1
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
if (upgrade) {
|
|
735
|
+
return 0
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
assert(statusCode >= 100)
|
|
739
|
+
assert((this.headers.length & 1) === 0)
|
|
740
|
+
|
|
741
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
742
|
+
assert(request)
|
|
743
|
+
|
|
744
|
+
this.statusCode = 0
|
|
745
|
+
this.statusText = ''
|
|
746
|
+
this.bytesRead = 0
|
|
747
|
+
this.contentLength = -1
|
|
748
|
+
this.keepAlive = ''
|
|
749
|
+
this.connectionKeepAlive = false
|
|
750
|
+
|
|
751
|
+
this.headers = []
|
|
752
|
+
this.headersSize = 0
|
|
753
|
+
|
|
754
|
+
if (statusCode < 200) {
|
|
755
|
+
return 0
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
if (request.method !== 'HEAD' && contentLength !== -1 && bytesRead !== contentLength) {
|
|
759
|
+
util.destroy(socket, new ResponseContentLengthMismatchError())
|
|
760
|
+
return -1
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
request.onResponseEnd(headers)
|
|
764
|
+
|
|
765
|
+
client[kQueue][client[kRunningIdx]++] = null
|
|
766
|
+
|
|
767
|
+
if (socket[kWriting]) {
|
|
768
|
+
assert(client[kRunning] === 0)
|
|
769
|
+
// Response completed before request.
|
|
770
|
+
util.destroy(socket, new InformationalError('reset'))
|
|
771
|
+
return constants.ERROR.PAUSED
|
|
772
|
+
} else if (!shouldKeepAlive) {
|
|
773
|
+
util.destroy(socket, new InformationalError('reset'))
|
|
774
|
+
return constants.ERROR.PAUSED
|
|
775
|
+
} else if (socket[kReset] && client[kRunning] === 0) {
|
|
776
|
+
// Destroy socket once all requests have completed.
|
|
777
|
+
// The request at the tail of the pipeline is the one
|
|
778
|
+
// that requested reset and no further requests should
|
|
779
|
+
// have been queued since then.
|
|
780
|
+
util.destroy(socket, new InformationalError('reset'))
|
|
781
|
+
return constants.ERROR.PAUSED
|
|
782
|
+
} else if (client[kPipelining] == null || client[kPipelining] === 1) {
|
|
783
|
+
// We must wait a full event loop cycle to reuse this socket to make sure
|
|
784
|
+
// that non-spec compliant servers are not closing the connection even if they
|
|
785
|
+
// said they won't.
|
|
786
|
+
setImmediate(client[kResume])
|
|
787
|
+
} else {
|
|
788
|
+
client[kResume]()
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
return 0
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
function onParserTimeout (parserWeakRef) {
|
|
796
|
+
const parser = parserWeakRef.deref()
|
|
797
|
+
if (!parser) {
|
|
798
|
+
return
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
const { socket, timeoutType, client, paused } = parser
|
|
802
|
+
|
|
803
|
+
if (timeoutType === TIMEOUT_HEADERS) {
|
|
804
|
+
if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) {
|
|
805
|
+
assert(!paused, 'cannot be paused while waiting for headers')
|
|
806
|
+
util.destroy(socket, new HeadersTimeoutError())
|
|
807
|
+
}
|
|
808
|
+
} else if (timeoutType === TIMEOUT_BODY) {
|
|
809
|
+
if (!paused) {
|
|
810
|
+
util.destroy(socket, new BodyTimeoutError())
|
|
811
|
+
}
|
|
812
|
+
} else if (timeoutType === TIMEOUT_KEEP_ALIVE) {
|
|
813
|
+
assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue])
|
|
814
|
+
util.destroy(socket, new InformationalError('socket idle timeout'))
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* @param {import ('./client.js')} client
|
|
820
|
+
* @param {import('net').Socket} socket
|
|
821
|
+
* @returns
|
|
822
|
+
*/
|
|
823
|
+
function connectH1 (client, socket) {
|
|
824
|
+
client[kSocket] = socket
|
|
825
|
+
|
|
826
|
+
if (!llhttpInstance) {
|
|
827
|
+
llhttpInstance = lazyllhttp()
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
if (socket.errored) {
|
|
831
|
+
throw socket.errored
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
if (socket.destroyed) {
|
|
835
|
+
throw new SocketError('destroyed')
|
|
836
|
+
}
|
|
837
|
+
|
|
838
|
+
socket[kNoRef] = false
|
|
839
|
+
socket[kWriting] = false
|
|
840
|
+
socket[kReset] = false
|
|
841
|
+
socket[kBlocking] = false
|
|
842
|
+
socket[kParser] = new Parser(client, socket, llhttpInstance)
|
|
843
|
+
|
|
844
|
+
util.addListener(socket, 'error', onHttpSocketError)
|
|
845
|
+
util.addListener(socket, 'readable', onHttpSocketReadable)
|
|
846
|
+
util.addListener(socket, 'end', onHttpSocketEnd)
|
|
847
|
+
util.addListener(socket, 'close', onHttpSocketClose)
|
|
848
|
+
|
|
849
|
+
socket[kClosed] = false
|
|
850
|
+
socket.on('close', onSocketClose)
|
|
851
|
+
|
|
852
|
+
return {
|
|
853
|
+
version: 'h1',
|
|
854
|
+
defaultPipelining: 1,
|
|
855
|
+
write (request) {
|
|
856
|
+
return writeH1(client, request)
|
|
857
|
+
},
|
|
858
|
+
resume () {
|
|
859
|
+
resumeH1(client)
|
|
860
|
+
},
|
|
861
|
+
/**
|
|
862
|
+
* @param {Error|undefined} err
|
|
863
|
+
* @param {() => void} callback
|
|
864
|
+
*/
|
|
865
|
+
destroy (err, callback) {
|
|
866
|
+
if (socket[kClosed]) {
|
|
867
|
+
queueMicrotask(callback)
|
|
868
|
+
} else {
|
|
869
|
+
socket.on('close', callback)
|
|
870
|
+
socket.destroy(err)
|
|
871
|
+
}
|
|
872
|
+
},
|
|
873
|
+
/**
|
|
874
|
+
* @returns {boolean}
|
|
875
|
+
*/
|
|
876
|
+
get destroyed () {
|
|
877
|
+
return socket.destroyed
|
|
878
|
+
},
|
|
879
|
+
/**
|
|
880
|
+
* @param {import('../core/request.js')} request
|
|
881
|
+
* @returns {boolean}
|
|
882
|
+
*/
|
|
883
|
+
busy (request) {
|
|
884
|
+
if (socket[kWriting] || socket[kReset] || socket[kBlocking]) {
|
|
885
|
+
return true
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
if (request) {
|
|
889
|
+
if (client[kRunning] > 0 && !request.idempotent) {
|
|
890
|
+
// Non-idempotent request cannot be retried.
|
|
891
|
+
// Ensure that no other requests are inflight and
|
|
892
|
+
// could cause failure.
|
|
893
|
+
return true
|
|
894
|
+
}
|
|
895
|
+
|
|
896
|
+
if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) {
|
|
897
|
+
// Don't dispatch an upgrade until all preceding requests have completed.
|
|
898
|
+
// A misbehaving server might upgrade the connection before all pipelined
|
|
899
|
+
// request has completed.
|
|
900
|
+
return true
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 &&
|
|
904
|
+
(util.isStream(request.body) || util.isAsyncIterable(request.body) || util.isFormDataLike(request.body))) {
|
|
905
|
+
// Request with stream or iterator body can error while other requests
|
|
906
|
+
// are inflight and indirectly error those as well.
|
|
907
|
+
// Ensure this doesn't happen by waiting for inflight
|
|
908
|
+
// to complete before dispatching.
|
|
909
|
+
|
|
910
|
+
// Request with stream or iterator body cannot be retried.
|
|
911
|
+
// Ensure that no other requests are inflight and
|
|
912
|
+
// could cause failure.
|
|
913
|
+
return true
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
return false
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
function onHttpSocketError (err) {
|
|
923
|
+
assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')
|
|
924
|
+
|
|
925
|
+
const parser = this[kParser]
|
|
926
|
+
|
|
927
|
+
// On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded
|
|
928
|
+
// to the user.
|
|
929
|
+
if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {
|
|
930
|
+
const parserErr = parser.finish()
|
|
931
|
+
if (parserErr) {
|
|
932
|
+
this[kError] = parserErr
|
|
933
|
+
this[kClient][kOnError](parserErr)
|
|
934
|
+
}
|
|
935
|
+
return
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
this[kError] = err
|
|
939
|
+
|
|
940
|
+
this[kClient][kOnError](err)
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
function onHttpSocketReadable () {
|
|
944
|
+
this[kParser]?.readMore()
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
function onHttpSocketEnd () {
|
|
948
|
+
const parser = this[kParser]
|
|
949
|
+
|
|
950
|
+
if (parser.statusCode && !parser.shouldKeepAlive) {
|
|
951
|
+
const parserErr = parser.finish()
|
|
952
|
+
if (parserErr) {
|
|
953
|
+
util.destroy(this, parserErr)
|
|
954
|
+
}
|
|
955
|
+
return
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
function onHttpSocketClose () {
|
|
962
|
+
const parser = this[kParser]
|
|
963
|
+
|
|
964
|
+
if (parser) {
|
|
965
|
+
if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) {
|
|
966
|
+
this[kError] = parser.finish() || this[kError]
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
this[kParser].destroy()
|
|
970
|
+
this[kParser] = null
|
|
971
|
+
}
|
|
972
|
+
|
|
973
|
+
const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))
|
|
974
|
+
|
|
975
|
+
const client = this[kClient]
|
|
976
|
+
|
|
977
|
+
client[kSocket] = null
|
|
978
|
+
client[kHTTPContext] = null // TODO (fix): This is hacky...
|
|
979
|
+
|
|
980
|
+
if (client.destroyed) {
|
|
981
|
+
assert(client[kPending] === 0)
|
|
982
|
+
|
|
983
|
+
// Fail entire queue.
|
|
984
|
+
const requests = client[kQueue].splice(client[kRunningIdx])
|
|
985
|
+
for (let i = 0; i < requests.length; i++) {
|
|
986
|
+
const request = requests[i]
|
|
987
|
+
util.errorRequest(client, request, err)
|
|
988
|
+
}
|
|
989
|
+
} else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {
|
|
990
|
+
// Fail head of pipeline.
|
|
991
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
992
|
+
client[kQueue][client[kRunningIdx]++] = null
|
|
993
|
+
|
|
994
|
+
util.errorRequest(client, request, err)
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
client[kPendingIdx] = client[kRunningIdx]
|
|
998
|
+
|
|
999
|
+
assert(client[kRunning] === 0)
|
|
1000
|
+
|
|
1001
|
+
client.emit('disconnect', client[kUrl], [client], err)
|
|
1002
|
+
|
|
1003
|
+
client[kResume]()
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
function onSocketClose () {
|
|
1007
|
+
this[kClosed] = true
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* @param {import('./client.js')} client
|
|
1012
|
+
*/
|
|
1013
|
+
function resumeH1 (client) {
|
|
1014
|
+
const socket = client[kSocket]
|
|
1015
|
+
|
|
1016
|
+
if (socket && !socket.destroyed) {
|
|
1017
|
+
if (client[kSize] === 0) {
|
|
1018
|
+
if (!socket[kNoRef] && socket.unref) {
|
|
1019
|
+
socket.unref()
|
|
1020
|
+
socket[kNoRef] = true
|
|
1021
|
+
}
|
|
1022
|
+
} else if (socket[kNoRef] && socket.ref) {
|
|
1023
|
+
socket.ref()
|
|
1024
|
+
socket[kNoRef] = false
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
if (client[kSize] === 0) {
|
|
1028
|
+
if (socket[kParser].timeoutType !== TIMEOUT_KEEP_ALIVE) {
|
|
1029
|
+
socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_KEEP_ALIVE)
|
|
1030
|
+
}
|
|
1031
|
+
} else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {
|
|
1032
|
+
if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {
|
|
1033
|
+
const request = client[kQueue][client[kRunningIdx]]
|
|
1034
|
+
const headersTimeout = request.headersTimeout != null
|
|
1035
|
+
? request.headersTimeout
|
|
1036
|
+
: client[kHeadersTimeout]
|
|
1037
|
+
socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS)
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2
|
|
1044
|
+
function shouldSendContentLength (method) {
|
|
1045
|
+
return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* @param {import('./client.js')} client
|
|
1050
|
+
* @param {import('../core/request.js')} request
|
|
1051
|
+
* @returns
|
|
1052
|
+
*/
|
|
1053
|
+
function writeH1 (client, request) {
|
|
1054
|
+
const { method, path, host, upgrade, blocking, reset } = request
|
|
1055
|
+
|
|
1056
|
+
let { body, headers, contentLength } = request
|
|
1057
|
+
|
|
1058
|
+
// https://tools.ietf.org/html/rfc7231#section-4.3.1
|
|
1059
|
+
// https://tools.ietf.org/html/rfc7231#section-4.3.2
|
|
1060
|
+
// https://tools.ietf.org/html/rfc7231#section-4.3.5
|
|
1061
|
+
|
|
1062
|
+
// Sending a payload body on a request that does not
|
|
1063
|
+
// expect it can cause undefined behavior on some
|
|
1064
|
+
// servers and corrupt connection state. Do not
|
|
1065
|
+
// re-use the connection for further requests.
|
|
1066
|
+
|
|
1067
|
+
const expectsPayload = (
|
|
1068
|
+
method === 'PUT' ||
|
|
1069
|
+
method === 'POST' ||
|
|
1070
|
+
method === 'PATCH' ||
|
|
1071
|
+
method === 'QUERY' ||
|
|
1072
|
+
method === 'PROPFIND' ||
|
|
1073
|
+
method === 'PROPPATCH'
|
|
1074
|
+
)
|
|
1075
|
+
|
|
1076
|
+
if (util.isFormDataLike(body)) {
|
|
1077
|
+
if (!extractBody) {
|
|
1078
|
+
extractBody = require('../web/fetch/body.js').extractBody
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
const [bodyStream, contentType] = extractBody(body)
|
|
1082
|
+
if (request.contentType == null) {
|
|
1083
|
+
headers.push('content-type', contentType)
|
|
1084
|
+
}
|
|
1085
|
+
body = bodyStream.stream
|
|
1086
|
+
contentLength = bodyStream.length
|
|
1087
|
+
} else if (util.isBlobLike(body) && request.contentType == null && body.type) {
|
|
1088
|
+
headers.push('content-type', body.type)
|
|
1089
|
+
}
|
|
1090
|
+
|
|
1091
|
+
if (body && typeof body.read === 'function') {
|
|
1092
|
+
// Try to read EOF in order to get length.
|
|
1093
|
+
body.read(0)
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
const bodyLength = util.bodyLength(body)
|
|
1097
|
+
|
|
1098
|
+
contentLength = bodyLength ?? contentLength
|
|
1099
|
+
|
|
1100
|
+
if (contentLength === null) {
|
|
1101
|
+
contentLength = request.contentLength
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
if (contentLength === 0 && !expectsPayload) {
|
|
1105
|
+
// https://tools.ietf.org/html/rfc7230#section-3.3.2
|
|
1106
|
+
// A user agent SHOULD NOT send a Content-Length header field when
|
|
1107
|
+
// the request message does not contain a payload body and the method
|
|
1108
|
+
// semantics do not anticipate such a body.
|
|
1109
|
+
|
|
1110
|
+
contentLength = null
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
// https://github.com/nodejs/undici/issues/2046
|
|
1114
|
+
// A user agent may send a Content-Length header with 0 value, this should be allowed.
|
|
1115
|
+
if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {
|
|
1116
|
+
if (client[kStrictContentLength]) {
|
|
1117
|
+
util.errorRequest(client, request, new RequestContentLengthMismatchError())
|
|
1118
|
+
return false
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
process.emitWarning(new RequestContentLengthMismatchError())
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
const socket = client[kSocket]
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* @param {Error} [err]
|
|
1128
|
+
* @returns {void}
|
|
1129
|
+
*/
|
|
1130
|
+
const abort = (err) => {
|
|
1131
|
+
if (request.aborted || request.completed) {
|
|
1132
|
+
return
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
util.errorRequest(client, request, err || new RequestAbortedError())
|
|
1136
|
+
|
|
1137
|
+
util.destroy(body)
|
|
1138
|
+
util.destroy(socket, new InformationalError('aborted'))
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
try {
|
|
1142
|
+
request.onRequestStart(abort, null)
|
|
1143
|
+
} catch (err) {
|
|
1144
|
+
util.errorRequest(client, request, err)
|
|
1145
|
+
}
|
|
1146
|
+
|
|
1147
|
+
if (request.aborted) {
|
|
1148
|
+
return false
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
if (method === 'HEAD') {
|
|
1152
|
+
// https://github.com/mcollina/undici/issues/258
|
|
1153
|
+
// Close after a HEAD request to interop with misbehaving servers
|
|
1154
|
+
// that may send a body in the response.
|
|
1155
|
+
|
|
1156
|
+
socket[kReset] = true
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
if (upgrade || method === 'CONNECT') {
|
|
1160
|
+
// On CONNECT or upgrade, block pipeline from dispatching further
|
|
1161
|
+
// requests on this connection.
|
|
1162
|
+
|
|
1163
|
+
socket[kReset] = true
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
if (reset != null) {
|
|
1167
|
+
socket[kReset] = reset
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
if (client[kMaxRequests] && ++socket[kCounter] >= client[kMaxRequests]) {
|
|
1171
|
+
socket[kReset] = true
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
if (blocking) {
|
|
1175
|
+
socket[kBlocking] = true
|
|
1176
|
+
}
|
|
1177
|
+
|
|
1178
|
+
if (socket.setTypeOfService) {
|
|
1179
|
+
socket.setTypeOfService(request.typeOfService)
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
let header = `${method} ${path} HTTP/1.1\r\n`
|
|
1183
|
+
|
|
1184
|
+
if (typeof host === 'string') {
|
|
1185
|
+
header += `host: ${host}\r\n`
|
|
1186
|
+
} else {
|
|
1187
|
+
header += client[kHostHeader]
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
if (upgrade) {
|
|
1191
|
+
header += `connection: upgrade\r\nupgrade: ${upgrade}\r\n`
|
|
1192
|
+
} else if (client[kPipelining] && !socket[kReset]) {
|
|
1193
|
+
header += 'connection: keep-alive\r\n'
|
|
1194
|
+
} else {
|
|
1195
|
+
header += 'connection: close\r\n'
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
if (Array.isArray(headers)) {
|
|
1199
|
+
for (let n = 0; n < headers.length; n += 2) {
|
|
1200
|
+
const key = headers[n + 0]
|
|
1201
|
+
const val = headers[n + 1]
|
|
1202
|
+
|
|
1203
|
+
if (Array.isArray(val)) {
|
|
1204
|
+
for (let i = 0; i < val.length; i++) {
|
|
1205
|
+
header += `${key}: ${val[i]}\r\n`
|
|
1206
|
+
}
|
|
1207
|
+
} else {
|
|
1208
|
+
header += `${key}: ${val}\r\n`
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
if (channels.sendHeaders.hasSubscribers) {
|
|
1214
|
+
channels.sendHeaders.publish({ request, headers: header, socket })
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
if (!body || bodyLength === 0) {
|
|
1218
|
+
writeBuffer(abort, null, client, request, socket, contentLength, header, expectsPayload)
|
|
1219
|
+
} else if (util.isBuffer(body)) {
|
|
1220
|
+
writeBuffer(abort, body, client, request, socket, contentLength, header, expectsPayload)
|
|
1221
|
+
} else if (util.isBlobLike(body)) {
|
|
1222
|
+
if (typeof body.stream === 'function') {
|
|
1223
|
+
writeIterable(abort, body.stream(), client, request, socket, contentLength, header, expectsPayload)
|
|
1224
|
+
} else {
|
|
1225
|
+
writeBlob(abort, body, client, request, socket, contentLength, header, expectsPayload)
|
|
1226
|
+
}
|
|
1227
|
+
} else if (util.isStream(body)) {
|
|
1228
|
+
writeStream(abort, body, client, request, socket, contentLength, header, expectsPayload)
|
|
1229
|
+
} else if (util.isIterable(body)) {
|
|
1230
|
+
writeIterable(abort, body, client, request, socket, contentLength, header, expectsPayload)
|
|
1231
|
+
} else {
|
|
1232
|
+
assert(false)
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
return true
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
/**
|
|
1239
|
+
* @param {AbortCallback} abort
|
|
1240
|
+
* @param {import('stream').Stream} body
|
|
1241
|
+
* @param {import('./client.js')} client
|
|
1242
|
+
* @param {import('../core/request.js')} request
|
|
1243
|
+
* @param {import('net').Socket} socket
|
|
1244
|
+
* @param {number} contentLength
|
|
1245
|
+
* @param {string} header
|
|
1246
|
+
* @param {boolean} expectsPayload
|
|
1247
|
+
*/
|
|
1248
|
+
function writeStream (abort, body, client, request, socket, contentLength, header, expectsPayload) {
|
|
1249
|
+
assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')
|
|
1250
|
+
|
|
1251
|
+
let finished = false
|
|
1252
|
+
|
|
1253
|
+
const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @param {Buffer} chunk
|
|
1257
|
+
* @returns {void}
|
|
1258
|
+
*/
|
|
1259
|
+
const onData = function (chunk) {
|
|
1260
|
+
if (finished) {
|
|
1261
|
+
return
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
try {
|
|
1265
|
+
if (!writer.write(chunk) && this.pause) {
|
|
1266
|
+
this.pause()
|
|
1267
|
+
}
|
|
1268
|
+
} catch (err) {
|
|
1269
|
+
util.destroy(this, err)
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* @returns {void}
|
|
1275
|
+
*/
|
|
1276
|
+
const onDrain = function () {
|
|
1277
|
+
if (finished) {
|
|
1278
|
+
return
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
if (body.resume) {
|
|
1282
|
+
body.resume()
|
|
1283
|
+
}
|
|
1284
|
+
}
|
|
1285
|
+
|
|
1286
|
+
/**
|
|
1287
|
+
* @returns {void}
|
|
1288
|
+
*/
|
|
1289
|
+
const onClose = function () {
|
|
1290
|
+
// 'close' might be emitted *before* 'error' for
|
|
1291
|
+
// broken streams. Wait a tick to avoid this case.
|
|
1292
|
+
queueMicrotask(() => {
|
|
1293
|
+
// It's only safe to remove 'error' listener after
|
|
1294
|
+
// 'close'.
|
|
1295
|
+
body.removeListener('error', onFinished)
|
|
1296
|
+
})
|
|
1297
|
+
|
|
1298
|
+
if (!finished) {
|
|
1299
|
+
const err = new RequestAbortedError()
|
|
1300
|
+
queueMicrotask(() => onFinished(err))
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* @param {Error} [err]
|
|
1306
|
+
* @returns
|
|
1307
|
+
*/
|
|
1308
|
+
const onFinished = function (err) {
|
|
1309
|
+
if (finished) {
|
|
1310
|
+
return
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
finished = true
|
|
1314
|
+
|
|
1315
|
+
assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1))
|
|
1316
|
+
|
|
1317
|
+
socket
|
|
1318
|
+
.off('drain', onDrain)
|
|
1319
|
+
.off('error', onFinished)
|
|
1320
|
+
|
|
1321
|
+
body
|
|
1322
|
+
.removeListener('data', onData)
|
|
1323
|
+
.removeListener('end', onFinished)
|
|
1324
|
+
.removeListener('close', onClose)
|
|
1325
|
+
|
|
1326
|
+
if (!err) {
|
|
1327
|
+
try {
|
|
1328
|
+
writer.end()
|
|
1329
|
+
} catch (er) {
|
|
1330
|
+
err = er
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
writer.destroy(err)
|
|
1335
|
+
|
|
1336
|
+
if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {
|
|
1337
|
+
util.destroy(body, err)
|
|
1338
|
+
} else {
|
|
1339
|
+
util.destroy(body)
|
|
1340
|
+
}
|
|
1341
|
+
}
|
|
1342
|
+
|
|
1343
|
+
body
|
|
1344
|
+
.on('data', onData)
|
|
1345
|
+
.on('end', onFinished)
|
|
1346
|
+
.on('error', onFinished)
|
|
1347
|
+
.on('close', onClose)
|
|
1348
|
+
|
|
1349
|
+
if (body.resume) {
|
|
1350
|
+
body.resume()
|
|
1351
|
+
}
|
|
1352
|
+
|
|
1353
|
+
socket
|
|
1354
|
+
.on('drain', onDrain)
|
|
1355
|
+
.on('error', onFinished)
|
|
1356
|
+
|
|
1357
|
+
if (body.errorEmitted ?? body.errored) {
|
|
1358
|
+
setImmediate(onFinished, body.errored)
|
|
1359
|
+
} else if (body.endEmitted ?? body.readableEnded) {
|
|
1360
|
+
setImmediate(onFinished, null)
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
if (body.closeEmitted ?? body.closed) {
|
|
1364
|
+
setImmediate(onClose)
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
|
|
1368
|
+
/**
|
|
1369
|
+
* @typedef AbortCallback
|
|
1370
|
+
* @type {Function}
|
|
1371
|
+
* @param {Error} [err]
|
|
1372
|
+
* @returns {void}
|
|
1373
|
+
*/
|
|
1374
|
+
|
|
1375
|
+
/**
|
|
1376
|
+
* @param {AbortCallback} abort
|
|
1377
|
+
* @param {Uint8Array|null} body
|
|
1378
|
+
* @param {import('./client.js')} client
|
|
1379
|
+
* @param {import('../core/request.js')} request
|
|
1380
|
+
* @param {import('net').Socket} socket
|
|
1381
|
+
* @param {number} contentLength
|
|
1382
|
+
* @param {string} header
|
|
1383
|
+
* @param {boolean} expectsPayload
|
|
1384
|
+
* @returns {void}
|
|
1385
|
+
*/
|
|
1386
|
+
function writeBuffer (abort, body, client, request, socket, contentLength, header, expectsPayload) {
|
|
1387
|
+
try {
|
|
1388
|
+
if (!body) {
|
|
1389
|
+
if (contentLength === 0) {
|
|
1390
|
+
socket.write(`${header}content-length: 0\r\n\r\n`, 'latin1')
|
|
1391
|
+
} else {
|
|
1392
|
+
assert(contentLength === null, 'no body must not have content length')
|
|
1393
|
+
socket.write(`${header}\r\n`, 'latin1')
|
|
1394
|
+
}
|
|
1395
|
+
} else if (util.isBuffer(body)) {
|
|
1396
|
+
assert(contentLength === body.byteLength, 'buffer body must have content length')
|
|
1397
|
+
|
|
1398
|
+
socket.cork()
|
|
1399
|
+
socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1')
|
|
1400
|
+
socket.write(body)
|
|
1401
|
+
socket.uncork()
|
|
1402
|
+
request.onBodySent(body)
|
|
1403
|
+
|
|
1404
|
+
if (!expectsPayload && request.reset !== false) {
|
|
1405
|
+
socket[kReset] = true
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
request.onRequestSent()
|
|
1409
|
+
|
|
1410
|
+
client[kResume]()
|
|
1411
|
+
} catch (err) {
|
|
1412
|
+
abort(err)
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* @param {AbortCallback} abort
|
|
1418
|
+
* @param {Blob} body
|
|
1419
|
+
* @param {import('./client.js')} client
|
|
1420
|
+
* @param {import('../core/request.js')} request
|
|
1421
|
+
* @param {import('net').Socket} socket
|
|
1422
|
+
* @param {number} contentLength
|
|
1423
|
+
* @param {string} header
|
|
1424
|
+
* @param {boolean} expectsPayload
|
|
1425
|
+
* @returns {Promise<void>}
|
|
1426
|
+
*/
|
|
1427
|
+
async function writeBlob (abort, body, client, request, socket, contentLength, header, expectsPayload) {
|
|
1428
|
+
try {
|
|
1429
|
+
if (contentLength != null && contentLength !== body.size) {
|
|
1430
|
+
throw new RequestContentLengthMismatchError()
|
|
1431
|
+
}
|
|
1432
|
+
|
|
1433
|
+
const buffer = Buffer.from(await body.arrayBuffer())
|
|
1434
|
+
|
|
1435
|
+
socket.cork()
|
|
1436
|
+
socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1')
|
|
1437
|
+
socket.write(buffer)
|
|
1438
|
+
socket.uncork()
|
|
1439
|
+
|
|
1440
|
+
request.onBodySent(buffer)
|
|
1441
|
+
request.onRequestSent()
|
|
1442
|
+
|
|
1443
|
+
if (!expectsPayload && request.reset !== false) {
|
|
1444
|
+
socket[kReset] = true
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
client[kResume]()
|
|
1448
|
+
} catch (err) {
|
|
1449
|
+
abort(err)
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* @param {AbortCallback} abort
|
|
1455
|
+
* @param {Iterable} body
|
|
1456
|
+
* @param {import('./client.js')} client
|
|
1457
|
+
* @param {import('../core/request.js')} request
|
|
1458
|
+
* @param {import('net').Socket} socket
|
|
1459
|
+
* @param {number} contentLength
|
|
1460
|
+
* @param {string} header
|
|
1461
|
+
* @param {boolean} expectsPayload
|
|
1462
|
+
* @returns {Promise<void>}
|
|
1463
|
+
*/
|
|
1464
|
+
async function writeIterable (abort, body, client, request, socket, contentLength, header, expectsPayload) {
|
|
1465
|
+
assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')
|
|
1466
|
+
|
|
1467
|
+
let callback = null
|
|
1468
|
+
function onDrain () {
|
|
1469
|
+
if (callback) {
|
|
1470
|
+
const cb = callback
|
|
1471
|
+
callback = null
|
|
1472
|
+
cb()
|
|
1473
|
+
}
|
|
1474
|
+
}
|
|
1475
|
+
|
|
1476
|
+
const waitForDrain = () => new Promise((resolve, reject) => {
|
|
1477
|
+
assert(callback === null)
|
|
1478
|
+
|
|
1479
|
+
if (socket[kError]) {
|
|
1480
|
+
reject(socket[kError])
|
|
1481
|
+
} else {
|
|
1482
|
+
callback = resolve
|
|
1483
|
+
}
|
|
1484
|
+
})
|
|
1485
|
+
|
|
1486
|
+
socket
|
|
1487
|
+
.on('close', onDrain)
|
|
1488
|
+
.on('drain', onDrain)
|
|
1489
|
+
|
|
1490
|
+
const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })
|
|
1491
|
+
try {
|
|
1492
|
+
// It's up to the user to somehow abort the async iterable.
|
|
1493
|
+
for await (const chunk of body) {
|
|
1494
|
+
if (socket[kError]) {
|
|
1495
|
+
throw socket[kError]
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
if (!writer.write(chunk)) {
|
|
1499
|
+
await waitForDrain()
|
|
1500
|
+
}
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
writer.end()
|
|
1504
|
+
} catch (err) {
|
|
1505
|
+
writer.destroy(err)
|
|
1506
|
+
} finally {
|
|
1507
|
+
socket
|
|
1508
|
+
.off('close', onDrain)
|
|
1509
|
+
.off('drain', onDrain)
|
|
1510
|
+
}
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
class AsyncWriter {
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
* @param {object} arg
|
|
1517
|
+
* @param {AbortCallback} arg.abort
|
|
1518
|
+
* @param {import('net').Socket} arg.socket
|
|
1519
|
+
* @param {import('../core/request.js')} arg.request
|
|
1520
|
+
* @param {number} arg.contentLength
|
|
1521
|
+
* @param {import('./client.js')} arg.client
|
|
1522
|
+
* @param {boolean} arg.expectsPayload
|
|
1523
|
+
* @param {string} arg.header
|
|
1524
|
+
*/
|
|
1525
|
+
constructor ({ abort, socket, request, contentLength, client, expectsPayload, header }) {
|
|
1526
|
+
this.socket = socket
|
|
1527
|
+
this.request = request
|
|
1528
|
+
this.contentLength = contentLength
|
|
1529
|
+
this.client = client
|
|
1530
|
+
this.bytesWritten = 0
|
|
1531
|
+
this.expectsPayload = expectsPayload
|
|
1532
|
+
this.header = header
|
|
1533
|
+
this.abort = abort
|
|
1534
|
+
|
|
1535
|
+
socket[kWriting] = true
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @param {string|Uint8Array} chunk
|
|
1540
|
+
* @returns
|
|
1541
|
+
*/
|
|
1542
|
+
write (chunk) {
|
|
1543
|
+
const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this
|
|
1544
|
+
|
|
1545
|
+
if (socket[kError]) {
|
|
1546
|
+
throw socket[kError]
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
if (socket.destroyed) {
|
|
1550
|
+
return false
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
const len = chunk instanceof Uint8Array ? chunk.byteLength : Buffer.byteLength(chunk)
|
|
1554
|
+
if (!len) {
|
|
1555
|
+
return true
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
// We should defer writing chunks.
|
|
1559
|
+
if (contentLength !== null && bytesWritten + len > contentLength) {
|
|
1560
|
+
if (client[kStrictContentLength]) {
|
|
1561
|
+
throw new RequestContentLengthMismatchError()
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1564
|
+
process.emitWarning(new RequestContentLengthMismatchError())
|
|
1565
|
+
}
|
|
1566
|
+
|
|
1567
|
+
socket.cork()
|
|
1568
|
+
|
|
1569
|
+
if (bytesWritten === 0) {
|
|
1570
|
+
if (!expectsPayload && request.reset !== false) {
|
|
1571
|
+
socket[kReset] = true
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
if (contentLength === null) {
|
|
1575
|
+
socket.write(`${header}transfer-encoding: chunked\r\n`, 'latin1')
|
|
1576
|
+
} else {
|
|
1577
|
+
socket.write(`${header}content-length: ${contentLength}\r\n\r\n`, 'latin1')
|
|
1578
|
+
}
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
if (contentLength === null) {
|
|
1582
|
+
socket.write(`\r\n${len.toString(16)}\r\n`, 'latin1')
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
this.bytesWritten += len
|
|
1586
|
+
|
|
1587
|
+
const ret = socket.write(chunk)
|
|
1588
|
+
|
|
1589
|
+
socket.uncork()
|
|
1590
|
+
|
|
1591
|
+
request.onBodySent(chunk)
|
|
1592
|
+
|
|
1593
|
+
if (!ret) {
|
|
1594
|
+
if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {
|
|
1595
|
+
if (socket[kParser].timeout.refresh) {
|
|
1596
|
+
socket[kParser].timeout.refresh()
|
|
1597
|
+
}
|
|
1598
|
+
}
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
return ret
|
|
1602
|
+
}
|
|
1603
|
+
|
|
1604
|
+
/**
|
|
1605
|
+
* @returns {void}
|
|
1606
|
+
*/
|
|
1607
|
+
end () {
|
|
1608
|
+
const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this
|
|
1609
|
+
request.onRequestSent()
|
|
1610
|
+
|
|
1611
|
+
socket[kWriting] = false
|
|
1612
|
+
|
|
1613
|
+
if (socket[kError]) {
|
|
1614
|
+
throw socket[kError]
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
if (socket.destroyed) {
|
|
1618
|
+
return
|
|
1619
|
+
}
|
|
1620
|
+
|
|
1621
|
+
if (bytesWritten === 0) {
|
|
1622
|
+
if (expectsPayload) {
|
|
1623
|
+
// https://tools.ietf.org/html/rfc7230#section-3.3.2
|
|
1624
|
+
// A user agent SHOULD send a Content-Length in a request message when
|
|
1625
|
+
// no Transfer-Encoding is sent and the request method defines a meaning
|
|
1626
|
+
// for an enclosed payload body.
|
|
1627
|
+
|
|
1628
|
+
socket.write(`${header}content-length: 0\r\n\r\n`, 'latin1')
|
|
1629
|
+
} else {
|
|
1630
|
+
socket.write(`${header}\r\n`, 'latin1')
|
|
1631
|
+
}
|
|
1632
|
+
} else if (contentLength === null) {
|
|
1633
|
+
socket.write('\r\n0\r\n\r\n', 'latin1')
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
if (contentLength !== null && bytesWritten !== contentLength) {
|
|
1637
|
+
if (client[kStrictContentLength]) {
|
|
1638
|
+
throw new RequestContentLengthMismatchError()
|
|
1639
|
+
} else {
|
|
1640
|
+
process.emitWarning(new RequestContentLengthMismatchError())
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {
|
|
1645
|
+
if (socket[kParser].timeout.refresh) {
|
|
1646
|
+
socket[kParser].timeout.refresh()
|
|
1647
|
+
}
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
client[kResume]()
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
/**
|
|
1654
|
+
* @param {Error} [err]
|
|
1655
|
+
* @returns {void}
|
|
1656
|
+
*/
|
|
1657
|
+
destroy (err) {
|
|
1658
|
+
const { socket, client, abort } = this
|
|
1659
|
+
|
|
1660
|
+
socket[kWriting] = false
|
|
1661
|
+
|
|
1662
|
+
if (err) {
|
|
1663
|
+
assert(client[kRunning] <= 1, 'pipeline should only contain this request')
|
|
1664
|
+
abort(err)
|
|
1665
|
+
}
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
|
|
1669
|
+
module.exports = connectH1
|