@latticexyz/world 2.2.20-306707570ec5fd27877d674502aa381d7fd89662 → 2.2.20-31870811b975d44f4b5d14ae69fd623914237584

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.
Files changed (246) hide show
  1. package/dist/{System.abi-ENBBMWQJ.js → System.abi-QE5PR27M.js} +2 -2
  2. package/dist/{System.abi-ENBBMWQJ.js.map → System.abi-QE5PR27M.js.map} +1 -1
  3. package/dist/{chunk-XSBK355I.js → chunk-6E2JY6MZ.js} +2 -1
  4. package/dist/chunk-6E2JY6MZ.js.map +1 -0
  5. package/dist/{chunk-SGZK356L.js → chunk-6KRKTNJ5.js} +42 -22
  6. package/dist/chunk-6KRKTNJ5.js.map +1 -0
  7. package/dist/{chunk-2W4TKC47.js → chunk-NVV4GS3R.js} +2 -2
  8. package/dist/{dynamicResolution-AmVd5Qtd.d.ts → dynamicResolution-Bul4y_B0.d.ts} +11 -5
  9. package/dist/index.d.ts +2 -2
  10. package/dist/index.js +2 -2
  11. package/dist/internal.d.ts +23 -18
  12. package/dist/internal.js +7 -7
  13. package/dist/internal.js.map +1 -1
  14. package/dist/mud.config.d.ts +242 -131
  15. package/dist/mud.config.js +9 -7
  16. package/dist/node.d.ts +1 -1
  17. package/dist/node.js +22 -20
  18. package/dist/node.js.map +1 -1
  19. package/dist/{world-Nl5BmMma.d.ts → world-NqdA4pfW.d.ts} +9 -1
  20. package/out/AccessControl.t.sol/AccessControlTest.json +1 -1
  21. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +1 -1
  22. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +1 -1
  23. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  24. package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.abi.json +7 -0
  25. package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.abi.json.d.ts +9 -0
  26. package/out/AccessManagementSystemLib.sol/AccessManagementSystemLib.json +1 -0
  27. package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.abi.json +20 -0
  28. package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.abi.json.d.ts +22 -0
  29. package/out/AccessManagementSystemLib.sol/_grantAccess_ResourceId_address.json +1 -0
  30. package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.abi.json +15 -0
  31. package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.abi.json.d.ts +17 -0
  32. package/out/AccessManagementSystemLib.sol/_renounceOwnership_ResourceId.json +1 -0
  33. package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.abi.json +20 -0
  34. package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.abi.json.d.ts +22 -0
  35. package/out/AccessManagementSystemLib.sol/_revokeAccess_ResourceId_address.json +1 -0
  36. package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.abi.json +20 -0
  37. package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.abi.json.d.ts +22 -0
  38. package/out/AccessManagementSystemLib.sol/_transferOwnership_ResourceId_address.json +1 -0
  39. package/out/AddressArray.sol/AddressArray.json +1 -1
  40. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +1 -1
  41. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +1 -1
  42. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  43. package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.abi.json +7 -0
  44. package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.abi.json.d.ts +9 -0
  45. package/out/BalanceTransferSystemLib.sol/BalanceTransferSystemLib.json +1 -0
  46. package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.abi.json +25 -0
  47. package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.abi.json.d.ts +27 -0
  48. package/out/BalanceTransferSystemLib.sol/_transferBalanceToAddress_ResourceId_address_uint256.json +1 -0
  49. package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.abi.json +25 -0
  50. package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.abi.json.d.ts +27 -0
  51. package/out/BalanceTransferSystemLib.sol/_transferBalanceToNamespace_ResourceId_ResourceId_uint256.json +1 -0
  52. package/out/Balances.sol/Balances.json +1 -1
  53. package/out/BatchCall.t.sol/BatchCallTest.json +1 -1
  54. package/out/BatchCall.t.sol/TestSystem.abi.json +1 -1
  55. package/out/BatchCall.t.sol/TestSystem.abi.json.d.ts +1 -1
  56. package/out/BatchCall.t.sol/TestSystem.json +1 -1
  57. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +1 -1
  58. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +1 -1
  59. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  60. package/out/BatchCallSystemLib.sol/BatchCallSystemLib.abi.json +7 -0
  61. package/out/BatchCallSystemLib.sol/BatchCallSystemLib.abi.json.d.ts +9 -0
  62. package/out/BatchCallSystemLib.sol/BatchCallSystemLib.json +1 -0
  63. package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.abi.json +32 -0
  64. package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.abi.json.d.ts +34 -0
  65. package/out/BatchCallSystemLib.sol/_batchCallFrom_SystemCallFromDataArray.json +1 -0
  66. package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.abi.json +27 -0
  67. package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.abi.json.d.ts +29 -0
  68. package/out/BatchCallSystemLib.sol/_batchCall_SystemCallDataArray.json +1 -0
  69. package/out/Bool.sol/Bool.json +1 -1
  70. package/out/Create2Factory.sol/Create2Factory.json +1 -1
  71. package/out/Delegation.sol/Delegation.json +1 -1
  72. package/out/DelegationControl.sol/DelegationControl.abi.json +1 -1
  73. package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +1 -1
  74. package/out/DelegationControl.sol/DelegationControl.json +1 -1
  75. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +1 -1
  76. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +1 -1
  77. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  78. package/out/EchoSubscriber.sol/EchoSubscriber.json +1 -1
  79. package/out/Factories.t.sol/FactoriesTest.json +1 -1
  80. package/out/FunctionSelectors.sol/FunctionSelectors.json +1 -1
  81. package/out/FunctionSignatures.sol/FunctionSignatures.json +1 -1
  82. package/out/GasReporter.sol/GasReporter.json +1 -1
  83. package/out/IAccessManagementSystem.sol/IAccessManagementSystem.json +1 -1
  84. package/out/IBalanceTransferSystem.sol/IBalanceTransferSystem.json +1 -1
  85. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  86. package/out/IBatchCallSystem.sol/IBatchCallSystem.json +1 -1
  87. package/out/IModuleInstallationSystem.sol/IModuleInstallationSystem.json +1 -1
  88. package/out/IRegistrationSystem.sol/IRegistrationSystem.json +1 -1
  89. package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.abi.json +81 -0
  90. package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.abi.json.d.ts +83 -0
  91. package/out/IStoreRegistrationSystem.sol/IStoreRegistrationSystem.json +1 -0
  92. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  93. package/out/InitModule.sol/InitModule.abi.json +1 -1
  94. package/out/InitModule.sol/InitModule.abi.json.d.ts +1 -1
  95. package/out/InitModule.sol/InitModule.json +1 -1
  96. package/out/InitModule.t.sol/InitModuleTest.json +1 -1
  97. package/out/InitModule.t.sol/WorldMock.json +1 -1
  98. package/out/InitModuleAddress.sol/InitModuleAddress.json +1 -1
  99. package/out/InitSystems.t.sol/LimitedCallContextTest.json +1 -1
  100. package/out/InstalledModules.sol/InstalledModules.json +1 -1
  101. package/out/LimitedCallContext.sol/LimitedCallContext.json +1 -1
  102. package/out/Module.sol/Module.abi.json +1 -1
  103. package/out/Module.sol/Module.abi.json.d.ts +1 -1
  104. package/out/Module.sol/Module.json +1 -1
  105. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
  106. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
  107. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  108. package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.abi.json +7 -0
  109. package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.abi.json.d.ts +9 -0
  110. package/out/ModuleInstallationSystemLib.sol/ModuleInstallationSystemLib.json +1 -0
  111. package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.abi.json +20 -0
  112. package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.abi.json.d.ts +22 -0
  113. package/out/ModuleInstallationSystemLib.sol/_installModule_IModule_bytes.json +1 -0
  114. package/out/MudTest.t.sol/MudTest.json +1 -1
  115. package/out/NamespaceDelegationControl.sol/NamespaceDelegationControl.json +1 -1
  116. package/out/NamespaceOwner.sol/NamespaceOwner.json +1 -1
  117. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
  118. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
  119. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  120. package/out/RegistrationSystemLib.sol/RegistrationSystemLib.abi.json +7 -0
  121. package/out/RegistrationSystemLib.sol/RegistrationSystemLib.abi.json.d.ts +9 -0
  122. package/out/RegistrationSystemLib.sol/RegistrationSystemLib.json +1 -0
  123. package/out/ResourceAccess.sol/ResourceAccess.json +1 -1
  124. package/out/RevertSubscriber.sol/RevertSubscriber.json +1 -1
  125. package/out/RevertWithBytes.t.sol/RevertWithBytesTest.json +1 -1
  126. package/out/StdError.sol/stdError.json +1 -1
  127. package/out/StoreMock.sol/StoreMock.json +1 -1
  128. package/out/StoreRead.sol/StoreRead.json +1 -1
  129. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
  130. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
  131. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  132. package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.abi.json +7 -0
  133. package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.abi.json.d.ts +9 -0
  134. package/out/StoreRegistrationSystemLib.sol/StoreRegistrationSystemLib.json +1 -0
  135. package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.abi.json +25 -0
  136. package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.abi.json.d.ts +27 -0
  137. package/out/StoreRegistrationSystemLib.sol/_registerStoreHook_ResourceId_IStoreHook_uint8.json +1 -0
  138. package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.abi.json +40 -0
  139. package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.abi.json.d.ts +42 -0
  140. package/out/StoreRegistrationSystemLib.sol/_registerTable_ResourceId_FieldLayout_Schema_Schema_stringArray_stringArray.json +1 -0
  141. package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.abi.json +20 -0
  142. package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.abi.json.d.ts +22 -0
  143. package/out/StoreRegistrationSystemLib.sol/_unregisterStoreHook_ResourceId_IStoreHook.json +1 -0
  144. package/out/System.sol/System.abi.json +1 -1
  145. package/out/System.sol/System.abi.json.d.ts +1 -1
  146. package/out/System.sol/System.json +1 -1
  147. package/out/System.t.sol/SystemTest.json +1 -1
  148. package/out/System.t.sol/TestSystem.abi.json +1 -1
  149. package/out/System.t.sol/TestSystem.abi.json.d.ts +1 -1
  150. package/out/System.t.sol/TestSystem.json +1 -1
  151. package/out/SystemCall.sol/SystemCall.json +1 -1
  152. package/out/SystemHook.t.sol/SystemHookTest.json +1 -1
  153. package/out/SystemHooks.sol/SystemHooks.json +1 -1
  154. package/out/SystemRegistry.sol/SystemRegistry.json +1 -1
  155. package/out/Systems.sol/Systems.json +1 -1
  156. package/out/TwoFields.sol/TwoFields.json +1 -1
  157. package/out/UserDelegationControl.sol/UserDelegationControl.json +1 -1
  158. package/out/Utils.t.sol/UtilsTest.json +1 -1
  159. package/out/Utils.t.sol/UtilsTestSystem.abi.json +1 -1
  160. package/out/Utils.t.sol/UtilsTestSystem.abi.json.d.ts +1 -1
  161. package/out/Utils.t.sol/UtilsTestSystem.json +1 -1
  162. package/out/World.sol/World.json +1 -1
  163. package/out/World.t.sol/EchoSystemHook.json +1 -1
  164. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  165. package/out/World.t.sol/PayableFallbackSystem.abi.json +1 -1
  166. package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +1 -1
  167. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  168. package/out/World.t.sol/RevertSystemHook.json +1 -1
  169. package/out/World.t.sol/WorldTest.json +1 -1
  170. package/out/World.t.sol/WorldTestSystem.abi.json +1 -1
  171. package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +1 -1
  172. package/out/World.t.sol/WorldTestSystem.json +1 -1
  173. package/out/WorldBalance.t.sol/WorldBalanceTest.json +1 -1
  174. package/out/WorldBalance.t.sol/WorldBalanceTestSystem.abi.json +1 -1
  175. package/out/WorldBalance.t.sol/WorldBalanceTestSystem.abi.json.d.ts +1 -1
  176. package/out/WorldBalance.t.sol/WorldBalanceTestSystem.json +1 -1
  177. package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
  178. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
  179. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  180. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  181. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  182. package/out/WorldContext.t.sol/TestContextConsumer.abi.json +1 -1
  183. package/out/WorldContext.t.sol/TestContextConsumer.abi.json.d.ts +1 -1
  184. package/out/WorldContext.t.sol/TestContextConsumer.json +1 -1
  185. package/out/WorldContext.t.sol/WorldContextTest.json +1 -1
  186. package/out/WorldDynamicUpdate.t.sol/UpdateInDynamicFieldTest.json +1 -1
  187. package/out/WorldFactory.sol/WorldFactory.json +1 -1
  188. package/out/WorldProxy.sol/WorldProxy.json +1 -1
  189. package/out/WorldProxy.t.sol/WorldProxyTest.json +1 -1
  190. package/out/WorldProxyFactory.sol/WorldProxyFactory.json +1 -1
  191. package/out/WorldProxyFactory.t.sol/WorldProxyFactoryTest.json +1 -1
  192. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
  193. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
  194. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  195. package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.abi.json +7 -0
  196. package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.abi.json.d.ts +9 -0
  197. package/out/WorldRegistrationSystemLib.sol/WorldRegistrationSystemLib.json +1 -0
  198. package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.abi.json +25 -0
  199. package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.abi.json.d.ts +27 -0
  200. package/out/WorldRegistrationSystemLib.sol/_registerDelegation_address_ResourceId_bytes.json +1 -0
  201. package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.abi.json +20 -0
  202. package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.abi.json.d.ts +22 -0
  203. package/out/WorldRegistrationSystemLib.sol/_registerFunctionSelector_ResourceId_string.json +1 -0
  204. package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.abi.json +25 -0
  205. package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.abi.json.d.ts +27 -0
  206. package/out/WorldRegistrationSystemLib.sol/_registerNamespaceDelegation_ResourceId_ResourceId_bytes.json +1 -0
  207. package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.abi.json +15 -0
  208. package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.abi.json.d.ts +17 -0
  209. package/out/WorldRegistrationSystemLib.sol/_registerNamespace_ResourceId.json +1 -0
  210. package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.abi.json +25 -0
  211. package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.abi.json.d.ts +27 -0
  212. package/out/WorldRegistrationSystemLib.sol/_registerRootFunctionSelector_ResourceId_string_string.json +1 -0
  213. package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.abi.json +25 -0
  214. package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.abi.json.d.ts +27 -0
  215. package/out/WorldRegistrationSystemLib.sol/_registerSystemHook_ResourceId_ISystemHook_uint8.json +1 -0
  216. package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.abi.json +25 -0
  217. package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.abi.json.d.ts +27 -0
  218. package/out/WorldRegistrationSystemLib.sol/_registerSystem_ResourceId_System_bool.json +1 -0
  219. package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.abi.json +15 -0
  220. package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.abi.json.d.ts +17 -0
  221. package/out/WorldRegistrationSystemLib.sol/_unregisterDelegation_address.json +1 -0
  222. package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.abi.json +15 -0
  223. package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.abi.json.d.ts +17 -0
  224. package/out/WorldRegistrationSystemLib.sol/_unregisterNamespaceDelegation_ResourceId.json +1 -0
  225. package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.abi.json +20 -0
  226. package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.abi.json.d.ts +22 -0
  227. package/out/WorldRegistrationSystemLib.sol/_unregisterSystemHook_ResourceId_ISystemHook.json +1 -0
  228. package/out/WorldResourceId.t.sol/WorldResourceIdTest.json +1 -1
  229. package/out/build-info/{43a8dd5c87606a54984bccbb9ca78a38.json → 6366a746548e984842b93ef762b76b99.json} +1 -1
  230. package/out/test.sol/DSTest.json +1 -1
  231. package/package.json +9 -9
  232. package/src/WorldContext.sol +1 -1
  233. package/src/codegen/experimental/systems/AccessManagementSystemLib.sol +182 -0
  234. package/src/codegen/experimental/systems/BalanceTransferSystemLib.sol +169 -0
  235. package/src/codegen/experimental/systems/BatchCallSystemLib.sol +153 -0
  236. package/src/codegen/experimental/systems/ModuleInstallationSystemLib.sol +107 -0
  237. package/src/codegen/experimental/systems/RegistrationSystemLib.sol +71 -0
  238. package/src/codegen/experimental/systems/StoreRegistrationSystemLib.sol +228 -0
  239. package/src/codegen/experimental/systems/WorldRegistrationSystemLib.sol +471 -0
  240. package/src/codegen/interfaces/IStoreRegistrationSystem.sol +29 -0
  241. package/src/modules/init/implementations/ModuleInstallationSystem.sol +1 -1
  242. package/src/modules/init/implementations/StoreRegistrationSystem.sol +2 -1
  243. package/src/modules/init/implementations/WorldRegistrationSystem.sol +1 -1
  244. package/dist/chunk-SGZK356L.js.map +0 -1
  245. package/dist/chunk-XSBK355I.js.map +0 -1
  246. /package/dist/{chunk-2W4TKC47.js.map → chunk-NVV4GS3R.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-AmVd5Qtd.js';
3
+ import { S as SystemDeploy, V as ValueWithType, D as DynamicResolution, C as Codegen, W as World } from './dynamicResolution-Bul4y_B0.js';
4
4
  import { Hex } from 'viem';
5
5
  import { StoreInput as StoreInput$1 } from '@latticexyz/store';
6
6
 
@@ -65,6 +65,13 @@ 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;
68
75
  /** Arguments to be passed to the module's install method */
69
76
  readonly args?: readonly (ValueWithType | DynamicResolution)[];
70
77
  };
@@ -127,6 +134,7 @@ declare const SYSTEM_DEFAULTS: {
127
134
  type SYSTEM_DEFAULTS = typeof SYSTEM_DEFAULTS;
128
135
  declare const MODULE_DEFAULTS: {
129
136
  readonly root: false;
137
+ readonly useDelegation: false;
130
138
  readonly args: readonly [];
131
139
  readonly artifactPath: undefined;
132
140
  };