@latticexyz/world-module-erc20 2.2.23-e9e21c9f1f7d164af1b19f327d798ed2f2d0fd95 → 2.2.24-1f509ee224cadd4254e7bbb7a268b519f65e4495
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/{_esm-4QBXERIC.js → _esm-GD2BESU2.js} +36 -34
- package/dist/{_esm-4QBXERIC.js.map → _esm-GD2BESU2.js.map} +1 -1
- package/dist/{ccip-POWS7KFG.js → ccip-YKKDCE4N.js} +3 -3
- package/dist/{chunk-Y6LDJZ7L.js → chunk-EPZFKNND.js} +36 -235
- package/dist/chunk-EPZFKNND.js.map +1 -0
- package/dist/{chunk-5LBWQX65.js → chunk-OBYRQQ4V.js} +168 -135
- package/dist/chunk-OBYRQQ4V.js.map +1 -0
- package/dist/internal.js +2 -2
- package/dist/{secp256k1-QCGY4Z6Q.js → secp256k1-ELJ5HZRX.js} +1302 -909
- package/dist/secp256k1-ELJ5HZRX.js.map +1 -0
- package/out/AccessControl.sol/AccessControl.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/Allowances.sol/Allowances.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/Base.sol/CommonBase.json +1 -1
- package/out/Base.sol/ScriptBase.json +1 -1
- package/out/Base.sol/TestBase.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bytes.sol/Bytes.json +1 -1
- package/out/Constants.sol/ERC20TableNames.json +1 -1
- package/out/Constants.sol/ModuleConstants.json +1 -1
- package/out/Constants.sol/PausableTableNames.json +1 -1
- package/out/DecodeSlice.sol/DecodeSlice.json +1 -1
- package/out/Delegation.sol/Delegation.json +1 -1
- package/out/ERC165Checker.sol/ERC165Checker.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json +55 -5
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.abi.json.d.ts +55 -5
- package/out/ERC20BaseTest.t.sol/ERC20BehaviorTest.json +1 -1
- package/out/ERC20BaseTest.t.sol/ERC20Test.abi.json +55 -5
- package/out/ERC20BaseTest.t.sol/ERC20Test.abi.json.d.ts +55 -5
- package/out/ERC20BaseTest.t.sol/ERC20Test.json +1 -1
- package/out/ERC20BaseTest.t.sol/MockERC20Base.json +1 -1
- package/out/ERC20Burnable.sol/ERC20Burnable.json +1 -1
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json +55 -5
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.abi.json.d.ts +55 -5
- package/out/ERC20Burnable.t.sol/ERC20BurnableTest.json +1 -1
- package/out/ERC20Burnable.t.sol/MockERC20Burnable.json +1 -1
- package/out/ERC20Metadata.sol/ERC20Metadata.json +1 -1
- package/out/ERC20Module.sol/ERC20Module.json +1 -1
- package/out/ERC20Module.sol/ERC20ModuleLib.json +1 -1
- package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json +55 -5
- package/out/ERC20Module.t.sol/ERC20ModuleTest.abi.json.d.ts +55 -5
- package/out/ERC20Module.t.sol/ERC20ModuleTest.json +1 -1
- package/out/ERC20Module.t.sol/TestConstants.json +1 -1
- package/out/ERC20Pausable.sol/ERC20Pausable.json +1 -1
- package/out/ERC20Pausable.t.sol/ERC20PausableTest.abi.json +55 -5
- package/out/ERC20Pausable.t.sol/ERC20PausableTest.abi.json.d.ts +55 -5
- package/out/ERC20Pausable.t.sol/ERC20PausableTest.json +1 -1
- package/out/ERC20Pausable.t.sol/MockERC20Pausable.json +1 -1
- package/out/ERC20PausableBurnable.sol/ERC20PausableBurnable.json +1 -1
- package/out/ERC20Registry.sol/ERC20Registry.json +1 -1
- package/out/EncodeArray.sol/EncodeArray.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsInstance.json +1 -1
- package/out/EncodedLengths.sol/EncodedLengthsLib.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutInstance.json +1 -1
- package/out/FieldLayout.sol/FieldLayoutLib.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
- package/out/GasReporter.sol/GasReporter.abi.json +55 -5
- package/out/GasReporter.sol/GasReporter.abi.json.d.ts +55 -5
- package/out/GasReporter.sol/GasReporter.json +1 -1
- package/out/Hook.sol/HookInstance.json +1 -1
- package/out/Hook.sol/HookLib.json +1 -1
- package/out/Hooks.sol/Hooks.json +1 -1
- package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
- package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
- package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
- package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
- package/out/IDelegationControl.sol/IDelegationControl.json +1 -1
- package/out/IERC165.sol/IERC165.json +1 -1
- package/out/IERC20.sol/IERC20.json +1 -1
- package/out/IERC20Errors.sol/IERC20Errors.json +1 -1
- package/out/IERC20Events.sol/IERC20Events.json +1 -1
- package/out/IERC20Metadata.sol/IERC20Metadata.json +1 -1
- package/out/IEncodedLengthsErrors.sol/IEncodedLengthsErrors.json +1 -1
- package/out/IFieldLayoutErrors.sol/IFieldLayoutErrors.json +1 -1
- package/out/IModule.sol/IModule.json +1 -1
- package/out/IModuleErrors.sol/IModuleErrors.json +1 -1
- package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IMulticall3.sol/IMulticall3.json +1 -1
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
- package/out/ISchemaErrors.sol/ISchemaErrors.json +1 -1
- package/out/ISliceErrors.sol/ISliceErrors.json +1 -1
- package/out/IStore.sol/IStore.json +1 -1
- package/out/IStoreErrors.sol/IStoreErrors.json +1 -1
- package/out/IStoreEvents.sol/IStoreEvents.json +1 -1
- package/out/IStoreHook.sol/IStoreHook.json +1 -1
- package/out/IStoreKernel.sol/IStoreKernel.json +1 -1
- package/out/IStoreRead.sol/IStoreRead.json +1 -1
- package/out/IStoreRegistration.sol/IStoreRegistration.json +1 -1
- package/out/IStoreWrite.sol/IStoreWrite.json +1 -1
- package/out/ISystemHook.sol/ISystemHook.json +1 -1
- package/out/IWorldContextConsumer.sol/IWorldContextConsumer.json +1 -1
- package/out/IWorldErrors.sol/IWorldErrors.json +1 -1
- package/out/IWorldEvents.sol/IWorldEvents.json +1 -1
- package/out/IWorldKernel.sol/IWorldCall.json +1 -1
- package/out/IWorldKernel.sol/IWorldKernel.json +1 -1
- package/out/IWorldKernel.sol/IWorldModuleInstallation.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
- package/out/InstalledModules.sol/InstalledModules.json +1 -1
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
- package/out/MUDERC20.sol/MUDERC20.json +1 -1
- package/out/Memory.sol/Memory.json +1 -1
- package/out/Module.sol/Module.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
- package/out/Owner.sol/Owner.json +1 -1
- package/out/Pausable.sol/Pausable.json +1 -1
- package/out/Paused.sol/Paused.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/ResourceId.sol/ResourceIdInstance.json +1 -1
- package/out/ResourceId.sol/ResourceIdLib.json +1 -1
- package/out/ResourceIds.sol/ResourceIds.json +1 -1
- package/out/Schema.sol/SchemaInstance.json +1 -1
- package/out/Schema.sol/SchemaLib.json +1 -1
- package/out/Slice.sol/SliceInstance.json +1 -1
- package/out/Slice.sol/SliceLib.json +1 -1
- package/out/StdAssertions.sol/StdAssertions.abi.json +1 -14
- package/out/StdAssertions.sol/StdAssertions.abi.json.d.ts +1 -14
- package/out/StdAssertions.sol/StdAssertions.json +1 -1
- package/out/StdChains.sol/StdChains.json +1 -1
- package/out/StdCheats.sol/StdCheats.json +1 -1
- package/out/StdCheats.sol/StdCheatsSafe.json +1 -1
- package/out/StdConstants.sol/StdConstants.json +1 -0
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StdInvariant.sol/StdInvariant.abi.json +54 -4
- package/out/StdInvariant.sol/StdInvariant.abi.json.d.ts +54 -4
- package/out/StdInvariant.sol/StdInvariant.json +1 -1
- package/out/StdJson.sol/stdJson.json +1 -1
- package/out/StdMath.sol/stdMath.json +1 -1
- package/out/StdStorage.sol/stdStorage.json +1 -1
- package/out/StdStorage.sol/stdStorageSafe.json +1 -1
- package/out/StdStyle.sol/StdStyle.json +1 -1
- package/out/StdToml.sol/stdToml.abi.json +1 -0
- package/out/StdToml.sol/stdToml.json +1 -0
- package/out/StdUtils.sol/StdUtils.json +1 -1
- package/out/Storage.sol/Storage.json +1 -1
- package/out/StoreCore.sol/StoreCore.json +1 -1
- package/out/StoreCore.sol/StoreCoreInternal.json +1 -1
- package/out/StoreHooks.sol/StoreHooks.json +1 -1
- package/out/StoreKernel.sol/StoreKernel.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/StoreSwitch.sol/StoreSwitch.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/SystemCall.sol/SystemCall.json +1 -1
- package/out/SystemHooks.sol/SystemHooks.json +1 -1
- package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
- package/out/Systems.sol/Systems.json +1 -1
- package/out/Tables.sol/Tables.json +1 -1
- package/out/Test.sol/Test.abi.json +55 -5
- package/out/Test.sol/Test.abi.json.d.ts +55 -5
- package/out/Test.sol/Test.json +1 -1
- package/out/TightCoder.sol/TightCoder.json +1 -1
- package/out/TotalSupply.sol/TotalSupply.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/Vm.sol/Vm.abi.json +9682 -1821
- package/out/Vm.sol/Vm.abi.json.d.ts +9682 -1821
- package/out/Vm.sol/Vm.json +1 -1
- package/out/Vm.sol/VmSafe.abi.json +8012 -1351
- package/out/Vm.sol/VmSafe.abi.json.d.ts +8012 -1351
- package/out/Vm.sol/VmSafe.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/WorldConsumer.sol/WorldConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
- package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
- package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdInstance.json +1 -1
- package/out/WorldResourceId.sol/WorldResourceIdLib.json +1 -1
- package/out/build-info/{a3739bdd1db68693cb6fcb64b58f8d25.json → 1f2980d4a7abc468e53c40b0d75e350c.json} +1 -1
- package/out/console.sol/console.json +1 -1
- package/out/constants.sol/LayoutOffsets.json +1 -1
- package/out/safeconsole.sol/safeconsole.json +1 -1
- package/out/src/IERC165.sol/IERC165.json +1 -1
- package/out/tables/Balances.sol/Balances.json +1 -1
- package/package.json +9 -10
- package/dist/chunk-5LBWQX65.js.map +0 -1
- package/dist/chunk-Y6LDJZ7L.js.map +0 -1
- package/dist/secp256k1-QCGY4Z6Q.js.map +0 -1
- package/out/console2.sol/console2.json +0 -1
- package/out/test.sol/DSTest.abi.json +0 -296
- package/out/test.sol/DSTest.abi.json.d.ts +0 -298
- package/out/test.sol/DSTest.json +0 -1
- /package/dist/{ccip-POWS7KFG.js.map → ccip-YKKDCE4N.js.map} +0 -0
- /package/out/{console2.sol/console2.abi.json → StdConstants.sol/StdConstants.abi.json} +0 -0
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
__toESM
|
|
6
6
|
} from "./chunk-PR4QN5HX.js";
|
|
7
7
|
|
|
8
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
8
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/constants.js
|
|
9
9
|
var require_constants = __commonJS({
|
|
10
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
10
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/constants.js"(exports, module) {
|
|
11
11
|
"use strict";
|
|
12
12
|
var BINARY_TYPES = ["nodebuffer", "arraybuffer", "fragments"];
|
|
13
13
|
var hasBlob = typeof Blob !== "undefined";
|
|
@@ -241,9 +241,9 @@ var require_bufferutil = __commonJS({
|
|
|
241
241
|
}
|
|
242
242
|
});
|
|
243
243
|
|
|
244
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
244
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/buffer-util.js
|
|
245
245
|
var require_buffer_util = __commonJS({
|
|
246
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
246
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/buffer-util.js"(exports, module) {
|
|
247
247
|
"use strict";
|
|
248
248
|
var { EMPTY_BUFFER } = require_constants();
|
|
249
249
|
var FastBuffer = Buffer[Symbol.species];
|
|
@@ -316,9 +316,9 @@ var require_buffer_util = __commonJS({
|
|
|
316
316
|
}
|
|
317
317
|
});
|
|
318
318
|
|
|
319
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
319
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/limiter.js
|
|
320
320
|
var require_limiter = __commonJS({
|
|
321
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
321
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/limiter.js"(exports, module) {
|
|
322
322
|
"use strict";
|
|
323
323
|
var kDone = Symbol("kDone");
|
|
324
324
|
var kRun = Symbol("kRun");
|
|
@@ -366,9 +366,9 @@ var require_limiter = __commonJS({
|
|
|
366
366
|
}
|
|
367
367
|
});
|
|
368
368
|
|
|
369
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
369
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/permessage-deflate.js
|
|
370
370
|
var require_permessage_deflate = __commonJS({
|
|
371
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
371
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/permessage-deflate.js"(exports, module) {
|
|
372
372
|
"use strict";
|
|
373
373
|
var zlib = __require("zlib");
|
|
374
374
|
var bufferUtil = require_buffer_util();
|
|
@@ -798,9 +798,9 @@ var require_utf_8_validate = __commonJS({
|
|
|
798
798
|
}
|
|
799
799
|
});
|
|
800
800
|
|
|
801
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
801
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/validation.js
|
|
802
802
|
var require_validation = __commonJS({
|
|
803
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
803
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/validation.js"(exports, module) {
|
|
804
804
|
"use strict";
|
|
805
805
|
var { isUtf8 } = __require("buffer");
|
|
806
806
|
var { hasBlob } = require_constants();
|
|
@@ -999,9 +999,9 @@ var require_validation = __commonJS({
|
|
|
999
999
|
}
|
|
1000
1000
|
});
|
|
1001
1001
|
|
|
1002
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
1002
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/receiver.js
|
|
1003
1003
|
var require_receiver = __commonJS({
|
|
1004
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
1004
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/receiver.js"(exports, module) {
|
|
1005
1005
|
"use strict";
|
|
1006
1006
|
var { Writable } = __require("stream");
|
|
1007
1007
|
var PerMessageDeflate = require_permessage_deflate();
|
|
@@ -1591,9 +1591,9 @@ var require_receiver = __commonJS({
|
|
|
1591
1591
|
}
|
|
1592
1592
|
});
|
|
1593
1593
|
|
|
1594
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
1594
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/sender.js
|
|
1595
1595
|
var require_sender = __commonJS({
|
|
1596
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
1596
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/sender.js"(exports, module) {
|
|
1597
1597
|
"use strict";
|
|
1598
1598
|
var { Duplex } = __require("stream");
|
|
1599
1599
|
var { randomFillSync } = __require("crypto");
|
|
@@ -2079,9 +2079,9 @@ var require_sender = __commonJS({
|
|
|
2079
2079
|
}
|
|
2080
2080
|
});
|
|
2081
2081
|
|
|
2082
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
2082
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/event-target.js
|
|
2083
2083
|
var require_event_target = __commonJS({
|
|
2084
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
2084
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/event-target.js"(exports, module) {
|
|
2085
2085
|
"use strict";
|
|
2086
2086
|
var { kForOnEventAttribute, kListener } = require_constants();
|
|
2087
2087
|
var kCode = Symbol("kCode");
|
|
@@ -2308,9 +2308,9 @@ var require_event_target = __commonJS({
|
|
|
2308
2308
|
}
|
|
2309
2309
|
});
|
|
2310
2310
|
|
|
2311
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
2311
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/extension.js
|
|
2312
2312
|
var require_extension = __commonJS({
|
|
2313
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
2313
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/extension.js"(exports, module) {
|
|
2314
2314
|
"use strict";
|
|
2315
2315
|
var { tokenChars } = require_validation();
|
|
2316
2316
|
function push(dest, name, elem) {
|
|
@@ -2461,9 +2461,9 @@ var require_extension = __commonJS({
|
|
|
2461
2461
|
}
|
|
2462
2462
|
});
|
|
2463
2463
|
|
|
2464
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
2464
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/websocket.js
|
|
2465
2465
|
var require_websocket = __commonJS({
|
|
2466
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
2466
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/websocket.js"(exports, module) {
|
|
2467
2467
|
"use strict";
|
|
2468
2468
|
var EventEmitter = __require("events");
|
|
2469
2469
|
var https = __require("https");
|
|
@@ -3344,9 +3344,9 @@ var require_websocket = __commonJS({
|
|
|
3344
3344
|
}
|
|
3345
3345
|
});
|
|
3346
3346
|
|
|
3347
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
3347
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/stream.js
|
|
3348
3348
|
var require_stream = __commonJS({
|
|
3349
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
3349
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/stream.js"(exports, module) {
|
|
3350
3350
|
"use strict";
|
|
3351
3351
|
var WebSocket4 = require_websocket();
|
|
3352
3352
|
var { Duplex } = __require("stream");
|
|
@@ -3442,9 +3442,9 @@ var require_stream = __commonJS({
|
|
|
3442
3442
|
}
|
|
3443
3443
|
});
|
|
3444
3444
|
|
|
3445
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
3445
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/subprotocol.js
|
|
3446
3446
|
var require_subprotocol = __commonJS({
|
|
3447
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
3447
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/subprotocol.js"(exports, module) {
|
|
3448
3448
|
"use strict";
|
|
3449
3449
|
var { tokenChars } = require_validation();
|
|
3450
3450
|
function parse(header) {
|
|
@@ -3487,9 +3487,9 @@ var require_subprotocol = __commonJS({
|
|
|
3487
3487
|
}
|
|
3488
3488
|
});
|
|
3489
3489
|
|
|
3490
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
3490
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/websocket-server.js
|
|
3491
3491
|
var require_websocket_server = __commonJS({
|
|
3492
|
-
"../../node_modules/.pnpm/ws@8.18.
|
|
3492
|
+
"../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/lib/websocket-server.js"(exports, module) {
|
|
3493
3493
|
"use strict";
|
|
3494
3494
|
var EventEmitter = __require("events");
|
|
3495
3495
|
var http = __require("http");
|
|
@@ -3701,9 +3701,11 @@ var require_websocket_server = __commonJS({
|
|
|
3701
3701
|
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message);
|
|
3702
3702
|
return;
|
|
3703
3703
|
}
|
|
3704
|
-
if (version !==
|
|
3704
|
+
if (version !== 13 && version !== 8) {
|
|
3705
3705
|
const message = "Missing or invalid Sec-WebSocket-Version header";
|
|
3706
|
-
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message
|
|
3706
|
+
abortHandshakeOrEmitwsClientError(this, req, socket, 400, message, {
|
|
3707
|
+
"Sec-WebSocket-Version": "13, 8"
|
|
3708
|
+
});
|
|
3707
3709
|
return;
|
|
3708
3710
|
}
|
|
3709
3711
|
if (!this.shouldHandle(req)) {
|
|
@@ -3862,19 +3864,19 @@ var require_websocket_server = __commonJS({
|
|
|
3862
3864
|
` + Object.keys(headers).map((h) => `${h}: ${headers[h]}`).join("\r\n") + "\r\n\r\n" + message
|
|
3863
3865
|
);
|
|
3864
3866
|
}
|
|
3865
|
-
function abortHandshakeOrEmitwsClientError(server, req, socket, code, message) {
|
|
3867
|
+
function abortHandshakeOrEmitwsClientError(server, req, socket, code, message, headers) {
|
|
3866
3868
|
if (server.listenerCount("wsClientError")) {
|
|
3867
3869
|
const err = new Error(message);
|
|
3868
3870
|
Error.captureStackTrace(err, abortHandshakeOrEmitwsClientError);
|
|
3869
3871
|
server.emit("wsClientError", err, socket, req);
|
|
3870
3872
|
} else {
|
|
3871
|
-
abortHandshake(socket, code, message);
|
|
3873
|
+
abortHandshake(socket, code, message, headers);
|
|
3872
3874
|
}
|
|
3873
3875
|
}
|
|
3874
3876
|
}
|
|
3875
3877
|
});
|
|
3876
3878
|
|
|
3877
|
-
// ../../node_modules/.pnpm/ws@8.18.
|
|
3879
|
+
// ../../node_modules/.pnpm/ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10/node_modules/ws/wrapper.mjs
|
|
3878
3880
|
var wrapper_exports = {};
|
|
3879
3881
|
__export(wrapper_exports, {
|
|
3880
3882
|
Receiver: () => import_receiver.default,
|
|
@@ -3891,7 +3893,7 @@ var import_websocket = __toESM(require_websocket(), 1);
|
|
|
3891
3893
|
var import_websocket_server = __toESM(require_websocket_server(), 1);
|
|
3892
3894
|
var wrapper_default = import_websocket.default;
|
|
3893
3895
|
|
|
3894
|
-
// ../../node_modules/.pnpm/isows@1.0.7_ws@8.18.
|
|
3896
|
+
// ../../node_modules/.pnpm/isows@1.0.7_ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10_/node_modules/isows/_esm/utils.js
|
|
3895
3897
|
function getNativeWebSocket() {
|
|
3896
3898
|
if (typeof WebSocket !== "undefined")
|
|
3897
3899
|
return WebSocket;
|
|
@@ -3904,7 +3906,7 @@ function getNativeWebSocket() {
|
|
|
3904
3906
|
throw new Error("`WebSocket` is not supported in this environment");
|
|
3905
3907
|
}
|
|
3906
3908
|
|
|
3907
|
-
// ../../node_modules/.pnpm/isows@1.0.7_ws@8.18.
|
|
3909
|
+
// ../../node_modules/.pnpm/isows@1.0.7_ws@8.18.3_bufferutil@4.0.8_utf-8-validate@5.0.10_/node_modules/isows/_esm/index.js
|
|
3908
3910
|
var WebSocket3 = (() => {
|
|
3909
3911
|
try {
|
|
3910
3912
|
return getNativeWebSocket();
|
|
@@ -3917,4 +3919,4 @@ var WebSocket3 = (() => {
|
|
|
3917
3919
|
export {
|
|
3918
3920
|
WebSocket3 as WebSocket
|
|
3919
3921
|
};
|
|
3920
|
-
//# sourceMappingURL=_esm-
|
|
3922
|
+
//# sourceMappingURL=_esm-GD2BESU2.js.map
|