@latticexyz/world-modules 2.0.12-type-resolutions-d4eea91b → 2.0.13-account-kit-957ab7d69

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 (48) hide show
  1. package/dist/mud.config.d.ts +2 -0
  2. package/out/BatchCallSystem.sol/BatchCallSystem.json +1 -1
  3. package/out/CallWithSignatureModule.t.sol/Unstable_CallWithSignatureModuleTest.json +1 -1
  4. package/out/ERC20.t.sol/ERC20Test.json +1 -1
  5. package/out/ERC20Module.sol/ERC20Module.json +1 -1
  6. package/out/ERC20Module.sol/ERC20ModuleRegistrationLibrary.json +1 -1
  7. package/out/ERC20System.sol/ERC20System.json +1 -1
  8. package/out/ERC721.t.sol/ERC721Recipient.json +1 -1
  9. package/out/ERC721.t.sol/ERC721Test.json +1 -1
  10. package/out/ERC721.t.sol/ERC721TokenReceiver.json +1 -1
  11. package/out/ERC721.t.sol/NonERC721Recipient.json +1 -1
  12. package/out/ERC721.t.sol/RevertingERC721Recipient.json +1 -1
  13. package/out/ERC721.t.sol/WrongReturnDataERC721Recipient.json +1 -1
  14. package/out/ERC721Module.sol/ERC721Module.json +1 -1
  15. package/out/ERC721Module.sol/ERC721ModuleRegistrationLibrary.json +1 -1
  16. package/out/ERC721System.sol/ERC721System.json +1 -1
  17. package/out/InitModule.sol/InitModule.json +1 -1
  18. package/out/KeysInTableModule.sol/KeysInTableModule.json +1 -1
  19. package/out/KeysInTableModule.t.sol/KeysInTableModuleTest.json +1 -1
  20. package/out/KeysWithValueHook.sol/KeysWithValueHook.json +1 -1
  21. package/out/KeysWithValueModule.sol/KeysWithValueModule.json +1 -1
  22. package/out/KeysWithValueModule.t.sol/KeysWithValueModuleTest.json +1 -1
  23. package/out/Puppet.sol/Puppet.json +1 -1
  24. package/out/PuppetFactorySystem.sol/PuppetFactorySystem.json +1 -1
  25. package/out/PuppetMaster.sol/PuppetMaster.json +1 -1
  26. package/out/PuppetModule.sol/PuppetModule.json +1 -1
  27. package/out/PuppetModule.t.sol/PuppetModuleTest.json +1 -1
  28. package/out/PuppetModule.t.sol/PuppetTestSystem.json +1 -1
  29. package/out/StandardDelegationsModule.sol/StandardDelegationsModule.json +1 -1
  30. package/out/StandardDelegationsModule.t.sol/StandardDelegationsModuleTest.json +1 -1
  31. package/out/SystemSwitch.t.sol/EchoSystem.json +1 -1
  32. package/out/SystemSwitch.t.sol/SystemSwitchTest.json +1 -1
  33. package/out/UniqueEntityModule.sol/UniqueEntityModule.json +1 -1
  34. package/out/UniqueEntityModule.t.sol/UniqueEntityModuleTest.json +1 -1
  35. package/out/UniqueEntityModule.t.sol/UniqueEntityTestSystem.json +1 -1
  36. package/out/Unstable_CallWithSignatureModule.sol/Unstable_CallWithSignatureModule.json +1 -1
  37. package/out/World.t.sol/EchoSystemHook.json +1 -1
  38. package/out/World.t.sol/IWorldTestSystem.json +1 -1
  39. package/out/World.t.sol/PayableFallbackSystem.json +1 -1
  40. package/out/World.t.sol/RevertSystemHook.json +1 -1
  41. package/out/World.t.sol/WorldTest.json +1 -1
  42. package/out/World.t.sol/WorldTestSystem.json +1 -1
  43. package/out/build-info/6078276a1b945505393da5fe48d6089e.json +1 -0
  44. package/out/interfaces/IBaseWorld.sol/IBaseWorld.json +1 -1
  45. package/out/query.t.sol/QueryTest.json +1 -1
  46. package/package.json +16 -11
  47. package/src/modules/erc20-puppet/ERC20Module.sol +3 -1
  48. package/foundry.toml +0 -15
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latticexyz/world-modules",
3
- "version": "2.0.12-type-resolutions-d4eea91b",
3
+ "version": "2.0.13-account-kit-957ab7d69",
4
4
  "description": "World modules",
5
5
  "repository": {
6
6
  "type": "git",
@@ -13,34 +13,39 @@
13
13
  "./internal/mud.config": "./dist/mud.config.js",
14
14
  "./out/*": "./out/*"
15
15
  },
16
+ "typesVersions": {
17
+ "*": {
18
+ "internal/mud.config": [
19
+ "./dist/mud.config.d.ts"
20
+ ]
21
+ }
22
+ },
16
23
  "files": [
17
24
  "dist",
18
25
  "out",
19
- "foundry.toml",
20
26
  "src"
21
27
  ],
22
28
  "dependencies": {
23
29
  "zod": "^3.22.2",
24
- "@latticexyz/config": "2.0.12-type-resolutions-d4eea91b",
25
- "@latticexyz/schema-type": "2.0.12-type-resolutions-d4eea91b",
26
- "@latticexyz/common": "2.0.12-type-resolutions-d4eea91b",
27
- "@latticexyz/world": "2.0.12-type-resolutions-d4eea91b",
28
- "@latticexyz/store": "2.0.12-type-resolutions-d4eea91b"
30
+ "@latticexyz/common": "2.0.13-account-kit-957ab7d69",
31
+ "@latticexyz/store": "2.0.13-account-kit-957ab7d69",
32
+ "@latticexyz/schema-type": "2.0.13-account-kit-957ab7d69",
33
+ "@latticexyz/config": "2.0.13-account-kit-957ab7d69",
34
+ "@latticexyz/world": "2.0.13-account-kit-957ab7d69"
29
35
  },
30
36
  "devDependencies": {
31
37
  "@types/ejs": "^3.1.1",
32
- "@types/glob": "^7.2.0",
33
38
  "@types/mocha": "^9.1.1",
34
39
  "@types/node": "^18.15.11",
35
40
  "ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
36
41
  "forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
37
- "glob": "^8.0.3",
42
+ "glob": "^10.4.2",
38
43
  "solhint": "^3.3.7",
39
44
  "tsup": "^6.7.0",
40
45
  "tsx": "^3.12.6",
41
46
  "vitest": "0.34.6",
42
- "@latticexyz/abi-ts": "2.0.12-type-resolutions-d4eea91b",
43
- "@latticexyz/gas-report": "2.0.12-type-resolutions-d4eea91b"
47
+ "@latticexyz/abi-ts": "2.0.13-account-kit-957ab7d69",
48
+ "@latticexyz/gas-report": "2.0.13-account-kit-957ab7d69"
44
49
  },
45
50
  "publishConfig": {
46
51
  "access": "public"
@@ -13,11 +13,12 @@ import { createPuppet } from "../puppet/createPuppet.sol";
13
13
  import { Balances } from "../tokens/tables/Balances.sol";
14
14
 
15
15
  import { MODULE_NAMESPACE, MODULE_NAMESPACE_ID, ERC20_REGISTRY_TABLE_ID } from "./constants.sol";
16
- import { _allowancesTableId, _balancesTableId, _metadataTableId, _erc20SystemId } from "./utils.sol";
16
+ import { _allowancesTableId, _balancesTableId, _metadataTableId, _totalSupplyTableId, _erc20SystemId } from "./utils.sol";
17
17
  import { ERC20System } from "./ERC20System.sol";
18
18
 
19
19
  import { ERC20Registry } from "./tables/ERC20Registry.sol";
20
20
  import { Allowances } from "./tables/Allowances.sol";
21
+ import { TotalSupply } from "./tables/TotalSupply.sol";
21
22
  import { ERC20Metadata, ERC20MetadataData } from "./tables/ERC20Metadata.sol";
22
23
 
23
24
  contract ERC20Module is Module {
@@ -80,6 +81,7 @@ contract ERC20ModuleRegistrationLibrary {
80
81
  // Register the tables
81
82
  Allowances.register(_allowancesTableId(namespace));
82
83
  Balances.register(_balancesTableId(namespace));
84
+ TotalSupply.register(_totalSupplyTableId(namespace));
83
85
  ERC20Metadata.register(_metadataTableId(namespace));
84
86
 
85
87
  // Register a new ERC20System
package/foundry.toml DELETED
@@ -1,15 +0,0 @@
1
- [profile.default]
2
- solc = "0.8.24"
3
- ffi = false
4
- fuzz_runs = 256
5
- optimizer = true
6
- optimizer_runs = 3000
7
- verbosity = 2
8
- allow_paths = ["../../node_modules", "../"]
9
- src = "src"
10
- out = "out"
11
- bytecode_hash = "none"
12
- extra_output_files = [
13
- "abi",
14
- "evm.bytecode"
15
- ]