@latticexyz/world-modules 2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69 → 2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0

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 (140) hide show
  1. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json +1 -1
  2. package/out/AccessManagementSystem.sol/AccessManagementSystem.abi.json.d.ts +1 -1
  3. package/out/AccessManagementSystem.sol/AccessManagementSystem.json +1 -1
  4. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json +1 -1
  5. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.abi.json.d.ts +1 -1
  6. package/out/BalanceTransferSystem.sol/BalanceTransferSystem.json +1 -1
  7. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json +1 -1
  8. package/out/BatchCallSystem.sol/BatchCallSystem.abi.json.d.ts +1 -1
  9. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  10. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json +1 -1
  11. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.abi.json.d.ts +1 -1
  12. package/out/CallboundDelegationControl.sol/CallboundDelegationControl.json +1 -1
  13. package/out/Delegation.sol/Delegation.json +1 -1
  14. package/out/DelegationControl.sol/DelegationControl.abi.json +1 -1
  15. package/out/DelegationControl.sol/DelegationControl.abi.json.d.ts +1 -1
  16. package/out/DelegationControl.sol/DelegationControl.json +1 -1
  17. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json +1 -1
  18. package/out/DelegationControlMock.sol/DelegationControlMock.abi.json.d.ts +1 -1
  19. package/out/DelegationControlMock.sol/DelegationControlMock.json +1 -1
  20. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  21. package/out/ERC20Module.sol/ERC20Module.abi.json +3 -3
  22. package/out/ERC20Module.sol/ERC20Module.abi.json.d.ts +3 -3
  23. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  24. package/out/ERC20Module.sol/ERC20ModuleRegistrationLib.json +1 -1
  25. package/out/ERC20System.sol/ERC20System.abi.json +1 -1
  26. package/out/ERC20System.sol/ERC20System.abi.json.d.ts +1 -1
  27. package/out/ERC20System.sol/ERC20System.json +1 -1
  28. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  29. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  30. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  31. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  32. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  33. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  34. package/out/ERC721Module.sol/ERC721Module.abi.json +3 -3
  35. package/out/ERC721Module.sol/ERC721Module.abi.json.d.ts +3 -3
  36. package/out/ERC721Module.sol/ERC721Module.json +1 -1
  37. package/out/ERC721Module.sol/ERC721ModuleRegistrationLib.json +1 -1
  38. package/out/ERC721System.sol/ERC721System.abi.json +1 -1
  39. package/out/ERC721System.sol/ERC721System.abi.json.d.ts +1 -1
  40. package/out/ERC721System.sol/ERC721System.json +1 -1
  41. package/out/IBaseWorld.sol/IBaseWorld.json +1 -1
  42. package/out/IWorld.sol/IWorld.json +1 -1
  43. package/out/IWorldRegistrationSystem.sol/IWorldRegistrationSystem.json +1 -1
  44. package/out/InitModule.sol/InitModule.abi.json +3 -3
  45. package/out/InitModule.sol/InitModule.abi.json.d.ts +3 -3
  46. package/out/InitModule.sol/InitModule.json +1 -1
  47. package/out/KeysInTableModule.sol/KeysInTableModule.abi.json +3 -3
  48. package/out/KeysInTableModule.sol/KeysInTableModule.abi.json.d.ts +3 -3
  49. package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
  50. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  51. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
  52. package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json +3 -3
  53. package/out/KeysWithValueModule.sol/KeysWithValueModule.abi.json.d.ts +3 -3
  54. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
  55. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  56. package/out/Module.sol/Module.abi.json +1 -1
  57. package/out/Module.sol/Module.abi.json.d.ts +1 -1
  58. package/out/Module.sol/Module.json +1 -1
  59. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json +1 -1
  60. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.abi.json.d.ts +1 -1
  61. package/out/ModuleInstallationSystem.sol/ModuleInstallationSystem.json +1 -1
  62. package/out/Puppet.sol/Puppet.json +1 -1
  63. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json +1 -1
  64. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.abi.json.d.ts +1 -1
  65. package/out/PuppetDelegationControl.sol/PuppetDelegationControl.json +1 -1
  66. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json +1 -1
  67. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.abi.json.d.ts +1 -1
  68. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
  69. package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
  70. package/out/PuppetModule.sol/PuppetModule.abi.json +1 -1
  71. package/out/PuppetModule.sol/PuppetModule.abi.json.d.ts +1 -1
  72. package/out/PuppetModule.sol/PuppetModule.json +1 -1
  73. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  74. package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json +1 -1
  75. package/out/PuppetModule.t.sol/PuppetTestSystem.abi.json.d.ts +1 -1
  76. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  77. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json +1 -1
  78. package/out/RegistrationSystem.sol/RegistrationSystem.abi.json.d.ts +1 -1
  79. package/out/RegistrationSystem.sol/RegistrationSystem.json +1 -1
  80. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json +3 -3
  81. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.abi.json.d.ts +3 -3
  82. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
  83. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  84. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json +1 -1
  85. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.abi.json.d.ts +1 -1
  86. package/out/StoreRegistrationSystem.sol/StoreRegistrationSystem.json +1 -1
  87. package/out/System.sol/System.abi.json +1 -1
  88. package/out/System.sol/System.abi.json.d.ts +1 -1
  89. package/out/System.sol/System.json +1 -1
  90. package/out/SystemCall.sol/SystemCall.json +1 -1
  91. package/out/SystemSwitch.sol/SystemSwitch.json +1 -1
  92. package/out/SystemSwitch.t.sol/EchoSystem.abi.json +1 -1
  93. package/out/SystemSwitch.t.sol/EchoSystem.abi.json.d.ts +1 -1
  94. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  95. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  96. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json +1 -1
  97. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.abi.json.d.ts +1 -1
  98. package/out/SystemboundDelegationControl.sol/SystemboundDelegationControl.json +1 -1
  99. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json +1 -1
  100. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.abi.json.d.ts +1 -1
  101. package/out/TimeboundDelegationControl.sol/TimeboundDelegationControl.json +1 -1
  102. package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json +1 -1
  103. package/out/UniqueEntityModule.sol/UniqueEntityModule.abi.json.d.ts +1 -1
  104. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
  105. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  106. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json +1 -1
  107. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.abi.json.d.ts +1 -1
  108. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  109. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json +1 -1
  110. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.abi.json.d.ts +1 -1
  111. package/out/UniqueEntitySystem.sol/UniqueEntitySystem.json +1 -1
  112. package/out/World.sol/World.json +1 -1
  113. package/out/World.t.sol/EchoSystemHook.json +1 -1
  114. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  115. package/out/World.t.sol/PayableFallbackSystem.abi.json +1 -1
  116. package/out/World.t.sol/PayableFallbackSystem.abi.json.d.ts +1 -1
  117. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  118. package/out/World.t.sol/RevertSystemHook.json +1 -1
  119. package/out/World.t.sol/WorldTest.json +1 -1
  120. package/out/World.t.sol/WorldTestSystem.abi.json +1 -1
  121. package/out/World.t.sol/WorldTestSystem.abi.json.d.ts +1 -1
  122. package/out/World.t.sol/WorldTestSystem.json +1 -1
  123. package/out/WorldContext.sol/WorldContextConsumer.abi.json +1 -1
  124. package/out/WorldContext.sol/WorldContextConsumer.abi.json.d.ts +1 -1
  125. package/out/WorldContext.sol/WorldContextConsumer.json +1 -1
  126. package/out/WorldContext.sol/WorldContextConsumerLib.json +1 -1
  127. package/out/WorldContext.sol/WorldContextProviderLib.json +1 -1
  128. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json +1 -1
  129. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.abi.json.d.ts +1 -1
  130. package/out/WorldRegistrationSystem.sol/WorldRegistrationSystem.json +1 -1
  131. package/out/build-info/{97a3233dbd7e0fbea81b29ace0405d00.json → a719ac6111d0804c0ec3a2c92ab1dcb6.json} +1 -1
  132. package/out/query.t.sol/QueryTest.json +1 -1
  133. package/package.json +9 -9
  134. package/src/modules/erc20-puppet/ERC20Module.sol +1 -5
  135. package/src/modules/erc721-puppet/ERC721Module.sol +1 -5
  136. package/src/modules/keysintable/KeysInTableModule.sol +0 -4
  137. package/src/modules/keyswithvalue/KeysWithValueModule.sol +1 -5
  138. package/src/modules/puppet/PuppetModule.sol +2 -2
  139. package/src/modules/std-delegations/StandardDelegationsModule.sol +1 -5
  140. package/src/modules/uniqueentity/UniqueEntityModule.sol +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/world-modules",
3
- "version": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
3
+ "version": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
4
4
  "description": "World modules",
5
5
  "repository": {
6
6
  "type": "git",
@@ -27,11 +27,11 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "zod": "3.23.8",
30
- "@latticexyz/common": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
31
- "@latticexyz/config": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
32
- "@latticexyz/schema-type": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
33
- "@latticexyz/store": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
34
- "@latticexyz/world": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69"
30
+ "@latticexyz/config": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
31
+ "@latticexyz/schema-type": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
32
+ "@latticexyz/store": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
33
+ "@latticexyz/common": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
34
+ "@latticexyz/world": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/ejs": "^3.1.1",
@@ -39,9 +39,9 @@
39
39
  "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
40
40
  "glob": "^10.4.2",
41
41
  "solhint": "^3.3.7",
42
- "@latticexyz/abi-ts": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
43
- "@latticexyz/cli": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69",
44
- "@latticexyz/gas-report": "2.2.19-900ac35deebfa260bafb1697d15e95eef855cd69"
42
+ "@latticexyz/abi-ts": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
43
+ "@latticexyz/cli": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0",
44
+ "@latticexyz/gas-report": "2.2.20-06e48e0239a5c7994ce73b4d2752860743fec4b0"
45
45
  },
46
46
  "publishConfig": {
47
47
  "access": "public"
@@ -24,7 +24,7 @@ import { ERC20Metadata, ERC20MetadataData } from "./tables/ERC20Metadata.sol";
24
24
  contract ERC20Module is Module {
25
25
  error ERC20Module_InvalidNamespace(bytes14 namespace);
26
26
 
27
- function install(bytes memory encodedArgs) public {
27
+ function install(bytes memory encodedArgs) public override {
28
28
  // Require the module to not be installed with these args yet
29
29
  requireNotInstalled(__self, encodedArgs);
30
30
 
@@ -58,10 +58,6 @@ contract ERC20Module is Module {
58
58
  }
59
59
  ERC20Registry.set(ERC20_REGISTRY_TABLE_ID, namespaceId, puppet);
60
60
  }
61
-
62
- function installRoot(bytes memory) public pure {
63
- revert Module_RootInstallNotSupported();
64
- }
65
61
  }
66
62
 
67
63
  library ERC20ModuleRegistrationLib {
@@ -27,7 +27,7 @@ import { ERC721Metadata, ERC721MetadataData } from "./tables/ERC721Metadata.sol"
27
27
  contract ERC721Module is Module {
28
28
  error ERC721Module_InvalidNamespace(bytes14 namespace);
29
29
 
30
- function install(bytes memory encodedArgs) public {
30
+ function install(bytes memory encodedArgs) public override {
31
31
  // Require the module to not be installed with these args yet
32
32
  requireNotInstalled(__self, encodedArgs);
33
33
 
@@ -61,10 +61,6 @@ contract ERC721Module is Module {
61
61
  }
62
62
  ERC721Registry.set(ERC721_REGISTRY_TABLE_ID, namespaceId, puppet);
63
63
  }
64
-
65
- function installRoot(bytes memory) public pure {
66
- revert Module_RootInstallNotSupported();
67
- }
68
64
  }
69
65
 
70
66
  library ERC721ModuleRegistrationLib {
@@ -103,8 +103,4 @@ contract KeysInTableModule is Module {
103
103
  )
104
104
  );
105
105
  }
106
-
107
- function install(bytes memory) public pure {
108
- revert Module_NonRootInstallNotSupported();
109
- }
110
106
  }
@@ -35,7 +35,7 @@ contract KeysWithValueModule is Module {
35
35
  // from the source table id (passed as argument to the hook methods)
36
36
  KeysWithValueHook private immutable hook = new KeysWithValueHook();
37
37
 
38
- function installRoot(bytes memory encodedArgs) public {
38
+ function installRoot(bytes memory encodedArgs) public override {
39
39
  // Naive check to ensure this is only installed once
40
40
  // TODO: only revert if there's nothing to do
41
41
  requireNotInstalled(__self, encodedArgs);
@@ -96,8 +96,4 @@ contract KeysWithValueModule is Module {
96
96
  );
97
97
  if (!success) revertWithBytes(returnData);
98
98
  }
99
-
100
- function install(bytes memory) public pure {
101
- revert Module_NonRootInstallNotSupported();
102
- }
103
99
  }
@@ -23,7 +23,7 @@ contract PuppetModule is Module {
23
23
  PuppetDelegationControl private immutable puppetDelegationControl = new PuppetDelegationControl();
24
24
  PuppetFactorySystem private immutable puppetFactorySystem = new PuppetFactorySystem();
25
25
 
26
- function installRoot(bytes memory) public {
26
+ function installRoot(bytes memory) public override {
27
27
  IBaseWorld world = IBaseWorld(_world());
28
28
 
29
29
  // Register namespace
@@ -48,7 +48,7 @@ contract PuppetModule is Module {
48
48
  if (!success) revertWithBytes(returnData);
49
49
  }
50
50
 
51
- function install(bytes memory) public {
51
+ function install(bytes memory) public override {
52
52
  IBaseWorld world = IBaseWorld(_world());
53
53
 
54
54
  // Register namespace
@@ -24,7 +24,7 @@ contract StandardDelegationsModule is Module {
24
24
  SystemboundDelegationControl private immutable systemboundDelegationControl = new SystemboundDelegationControl();
25
25
  TimeboundDelegationControl private immutable timeboundDelegationControl = new TimeboundDelegationControl();
26
26
 
27
- function installRoot(bytes memory) public {
27
+ function installRoot(bytes memory) public override {
28
28
  IBaseWorld world = IBaseWorld(_world());
29
29
 
30
30
  // Register tables
@@ -48,8 +48,4 @@ contract StandardDelegationsModule is Module {
48
48
  );
49
49
  if (!success) revertWithBytes(returnData);
50
50
  }
51
-
52
- function install(bytes memory) public pure {
53
- revert Module_NonRootInstallNotSupported();
54
- }
55
51
  }
@@ -22,7 +22,7 @@ contract UniqueEntityModule is Module {
22
22
  // known tables, we can deploy it once and register it in multiple Worlds.
23
23
  UniqueEntitySystem private immutable uniqueEntitySystem = new UniqueEntitySystem();
24
24
 
25
- function installRoot(bytes memory encodedArgs) public {
25
+ function installRoot(bytes memory encodedArgs) public override {
26
26
  // Naive check to ensure this is only installed once
27
27
  // TODO: only revert if there's nothing to do
28
28
  requireNotInstalled(__self, encodedArgs);
@@ -51,7 +51,7 @@ contract UniqueEntityModule is Module {
51
51
  if (!success) revertWithBytes(data);
52
52
  }
53
53
 
54
- function install(bytes memory encodedArgs) public {
54
+ function install(bytes memory encodedArgs) public override {
55
55
  // Naive check to ensure this is only installed once
56
56
  // TODO: only revert if there's nothing to do
57
57
  requireNotInstalled(__self, encodedArgs);