@latticexyz/world 2.2.20-31870811b975d44f4b5d14ae69fd623914237584 → 2.2.20-b774ab28b3de6cefcbfce5e1bb6fcb68b9374abf
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/{chunk-NVV4GS3R.js → chunk-2W4TKC47.js} +2 -2
- package/dist/{chunk-6KRKTNJ5.js → chunk-SGZK356L.js} +22 -42
- package/dist/chunk-SGZK356L.js.map +1 -0
- package/dist/{chunk-6E2JY6MZ.js → chunk-XSBK355I.js} +1 -2
- package/dist/chunk-XSBK355I.js.map +1 -0
- package/dist/{dynamicResolution-Bul4y_B0.d.ts → dynamicResolution-AmVd5Qtd.d.ts} +5 -11
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/internal.d.ts +18 -23
- package/dist/internal.js +7 -7
- package/dist/internal.js.map +1 -1
- package/dist/mud.config.d.ts +131 -242
- package/dist/mud.config.js +7 -9
- package/dist/node.d.ts +1 -1
- package/dist/node.js +19 -21
- package/dist/node.js.map +1 -1
- package/dist/{world-NqdA4pfW.d.ts → world-Nl5BmMma.d.ts} +1 -9
- package/out/AccessControl.t.sol/AccessControlTest.json +1 -1
- package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
- package/out/AddressArray.sol/AddressArray.json +1 -1
- package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
- package/out/Balances.sol/Balances.json +1 -1
- package/out/BatchCall.t.sol/BatchCallTest.json +1 -1
- package/out/BatchCall.t.sol/TestSystem.json +1 -1
- package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
- package/out/Bool.sol/Bool.json +1 -1
- package/out/Create2Factory.sol/Create2Factory.json +1 -1
- package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
- package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -1
- package/out/Factories.t.sol/FactoriesTest.json +1 -1
- package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
- package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
- package/out/GasReporter.sol/GasReporter.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/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
- package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
- package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
- package/out/InitModule.sol/InitModule.json +1 -1
- package/out/InitModule.t.sol/InitModuleTest.json +1 -1
- package/out/InitModule.t.sol/WorldMock.json +1 -1
- package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
- package/out/InitSystems.t.sol/LimitedCallContextTest.json +1 -1
- package/out/InstalledModules.sol/InstalledModules.json +1 -1
- package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
- package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
- package/out/MudTest.t.sol/MudTest.json +1 -1
- package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
- package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
- package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
- package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
- package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -1
- package/out/RevertWithBytes.t.sol/RevertWithBytesTest.json +1 -1
- package/out/StdError.sol/stdError.json +1 -1
- package/out/StoreMock.sol/StoreMock.json +1 -1
- package/out/StoreRead.sol/StoreRead.json +1 -1
- package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
- package/out/System.sol/System.json +1 -1
- package/out/System.t.sol/SystemTest.json +1 -1
- package/out/System.t.sol/TestSystem.json +1 -1
- package/out/SystemHook.t.sol/SystemHookTest.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/TwoFields.sol/TwoFields.json +1 -1
- package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
- package/out/Utils.t.sol/UtilsTest.json +1 -1
- package/out/Utils.t.sol/UtilsTestSystem.json +1 -1
- package/out/World.sol/World.json +1 -1
- package/out/World.t.sol/EchoSystemHook.json +1 -1
- package/out/World.t.sol/IWorldTestSystem.json +1 -1
- package/out/World.t.sol/PayableFallbackSystem.json +1 -1
- package/out/World.t.sol/RevertSystemHook.json +1 -1
- package/out/World.t.sol/WorldTest.json +1 -1
- package/out/World.t.sol/WorldTestSystem.json +1 -1
- package/out/WorldBalance.t.sol/WorldBalanceTest.json +1 -1
- package/out/WorldBalance.t.sol/WorldBalanceTestSystem.json +1 -1
- package/out/WorldContext.t.sol/TestContextConsumer.json +1 -1
- package/out/WorldContext.t.sol/WorldContextTest.json +1 -1
- package/out/WorldDynamicUpdate.t.sol/UpdateInDynamicFieldTest.json +1 -1
- package/out/WorldFactory.sol/WorldFactory.json +1 -1
- package/out/WorldProxy.sol/WorldProxy.json +1 -1
- package/out/WorldProxy.t.sol/WorldProxyTest.json +1 -1
- package/out/WorldProxyFactory.sol/WorldProxyFactory.json +1 -1
- package/out/WorldProxyFactory.t.sol/WorldProxyFactoryTest.json +1 -1
- package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
- package/out/WorldResourceId.t.sol/WorldResourceIdTest.json +1 -1
- package/out/build-info/{6366a746548e984842b93ef762b76b99.json → 4a78a1cea15b250410c6bac766ef5562.json} +1 -1
- package/out/test.sol/DSTest.json +1 -1
- package/package.json +9 -9
- package/src/modules/init/implementations/ModuleInstallationSystem.sol +1 -1
- package/src/modules/init/implementations/StoreRegistrationSystem.sol +1 -2
- package/src/modules/init/implementations/WorldRegistrationSystem.sol +1 -1
- package/dist/chunk-6E2JY6MZ.js.map +0 -1
- package/dist/chunk-6KRKTNJ5.js.map +0 -1
- package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.abi.json +0 -7
- package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.abi.json.d.ts +0 -9
- package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.json +0 -1
- package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.abi.json +0 -20
- package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.abi.json.d.ts +0 -22
- package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.json +0 -1
- package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.abi.json +0 -15
- package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.abi.json.d.ts +0 -17
- package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.json +0 -1
- package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.abi.json +0 -20
- package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.abi.json.d.ts +0 -22
- package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.json +0 -1
- package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.abi.json +0 -20
- package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.abi.json.d.ts +0 -22
- package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.json +0 -1
- package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.abi.json +0 -7
- package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.abi.json.d.ts +0 -9
- package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.json +0 -1
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.abi.json +0 -25
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.abi.json.d.ts +0 -27
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.json +0 -1
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.abi.json +0 -25
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.abi.json.d.ts +0 -27
- package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.json +0 -1
- package/out/BatchCallSystemLib.sol/BatchCallSystemLib.abi.json +0 -7
- package/out/BatchCallSystemLib.sol/BatchCallSystemLib.abi.json.d.ts +0 -9
- package/out/BatchCallSystemLib.sol/BatchCallSystemLib.json +0 -1
- package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.abi.json +0 -32
- package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.abi.json.d.ts +0 -34
- package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.json +0 -1
- package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.abi.json +0 -27
- package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.abi.json.d.ts +0 -29
- package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.json +0 -1
- package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.abi.json +0 -81
- package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.abi.json.d.ts +0 -83
- package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +0 -1
- package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.abi.json +0 -7
- package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.abi.json.d.ts +0 -9
- package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.json +0 -1
- package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.abi.json +0 -20
- package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.abi.json.d.ts +0 -22
- package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.json +0 -1
- package/out/RegistrationSystemLib.sol/RegistrationSystemLib.abi.json +0 -7
- package/out/RegistrationSystemLib.sol/RegistrationSystemLib.abi.json.d.ts +0 -9
- package/out/RegistrationSystemLib.sol/RegistrationSystemLib.json +0 -1
- package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.abi.json +0 -7
- package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.abi.json.d.ts +0 -9
- package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.json +0 -1
- package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.abi.json +0 -25
- package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.abi.json.d.ts +0 -27
- package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.json +0 -1
- package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.abi.json +0 -40
- package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.abi.json.d.ts +0 -42
- package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.json +0 -1
- package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.abi.json +0 -20
- package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.abi.json.d.ts +0 -22
- package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.abi.json +0 -7
- package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.abi.json.d.ts +0 -9
- package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.abi.json +0 -25
- package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.abi.json.d.ts +0 -27
- package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.abi.json +0 -20
- package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.abi.json.d.ts +0 -22
- package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.abi.json +0 -25
- package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.abi.json.d.ts +0 -27
- package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.abi.json +0 -15
- package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.abi.json.d.ts +0 -17
- package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.abi.json +0 -25
- package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.abi.json.d.ts +0 -27
- package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.abi.json +0 -25
- package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.abi.json.d.ts +0 -27
- package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.abi.json +0 -25
- package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.abi.json.d.ts +0 -27
- package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.abi.json +0 -15
- package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.abi.json.d.ts +0 -17
- package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.abi.json +0 -15
- package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.abi.json.d.ts +0 -17
- package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.json +0 -1
- package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.abi.json +0 -20
- package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.abi.json.d.ts +0 -22
- package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.json +0 -1
- package/src/codegen/experimental/systems/AccessManagementSystemLib.sol +0 -182
- package/src/codegen/experimental/systems/BalanceTransferSystemLib.sol +0 -169
- package/src/codegen/experimental/systems/BatchCallSystemLib.sol +0 -153
- package/src/codegen/experimental/systems/ModuleInstallationSystemLib.sol +0 -107
- package/src/codegen/experimental/systems/RegistrationSystemLib.sol +0 -71
- package/src/codegen/experimental/systems/StoreRegistrationSystemLib.sol +0 -228
- package/src/codegen/experimental/systems/WorldRegistrationSystemLib.sol +0 -471
- package/src/codegen/interfaces/IStoreRegistrationSystem.sol +0 -29
- /package/dist/{chunk-NVV4GS3R.js.map → chunk-2W4TKC47.js.map} +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
import { requiredKeyOf, ErrorMessage, narrow, show, conform, withJsDoc } from '@ark/util';
|
2
2
|
import { NamespaceInput as NamespaceInput$1, StoreInput, mergeIfUndefined, Scope, AbiTypeScope, validateNamespace as validateNamespace$1, resolveNamespace as resolveNamespace$1, extendedScope, validateStore, CONFIG_DEFAULTS as CONFIG_DEFAULTS$1, resolveStore, flattenNamespacedTables } from '@latticexyz/store/internal';
|
3
|
-
import { S as SystemDeploy, V as ValueWithType, D as DynamicResolution, C as Codegen, W as World } from './dynamicResolution-
|
3
|
+
import { S as SystemDeploy, V as ValueWithType, D as DynamicResolution, C as Codegen, W as World } from './dynamicResolution-AmVd5Qtd.js';
|
4
4
|
import { Hex } from 'viem';
|
5
5
|
import { StoreInput as StoreInput$1 } from '@latticexyz/store';
|
6
6
|
|
@@ -65,13 +65,6 @@ type ModuleInput = ModuleInputArtifactPath & {
|
|
65
65
|
* @default false
|
66
66
|
*/
|
67
67
|
readonly root?: boolean;
|
68
|
-
/**
|
69
|
-
* Allow the module to call systems on your behalf.
|
70
|
-
* Useful when modules need to create namespaces or
|
71
|
-
* upgrade systems in namespaces you own.
|
72
|
-
* @default false
|
73
|
-
*/
|
74
|
-
readonly useDelegation?: boolean;
|
75
68
|
/** Arguments to be passed to the module's install method */
|
76
69
|
readonly args?: readonly (ValueWithType | DynamicResolution)[];
|
77
70
|
};
|
@@ -134,7 +127,6 @@ declare const SYSTEM_DEFAULTS: {
|
|
134
127
|
type SYSTEM_DEFAULTS = typeof SYSTEM_DEFAULTS;
|
135
128
|
declare const MODULE_DEFAULTS: {
|
136
129
|
readonly root: false;
|
137
|
-
readonly useDelegation: false;
|
138
130
|
readonly args: readonly [];
|
139
131
|
readonly artifactPath: undefined;
|
140
132
|
};
|