@towns-protocol/contracts 0.0.389 → 0.0.391

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towns-protocol/contracts",
3
- "version": "0.0.389",
3
+ "version": "0.0.391",
4
4
  "packageManager": "yarn@3.8.0",
5
5
  "scripts": {
6
6
  "clean": "forge clean",
@@ -34,7 +34,7 @@
34
34
  "@layerzerolabs/oapp-evm": "^0.3.2",
35
35
  "@openzeppelin/merkle-tree": "^1.0.8",
36
36
  "@prb/test": "^0.6.4",
37
- "@towns-protocol/prettier-config": "^0.0.389",
37
+ "@towns-protocol/prettier-config": "^0.0.391",
38
38
  "@wagmi/cli": "^2.2.0",
39
39
  "forge-std": "github:foundry-rs/forge-std#v1.10.0",
40
40
  "prettier": "^3.5.3",
@@ -54,5 +54,5 @@
54
54
  "publishConfig": {
55
55
  "access": "public"
56
56
  },
57
- "gitHead": "9b165c828ec932ccf49c2c990ddbae10c96bd5bd"
57
+ "gitHead": "cee1e497a4c9c60bad2675c43b20aabd0171e9a4"
58
58
  }
@@ -46,7 +46,7 @@ contract AppFactoryFacet is
46
46
 
47
47
  app = _createApp(beaconId, params);
48
48
  appId = _registerApp(ITownsApp(app), params.client);
49
- emit AppCreated(app, appId);
49
+ emit AppCreated(app, appId, msg.sender);
50
50
  }
51
51
 
52
52
  /// @notice Create an upgradeable simple app contract
@@ -59,7 +59,7 @@ contract AppFactoryFacet is
59
59
  bytes32 beaconId = _getDefaultBeaconId();
60
60
  app = _createApp(beaconId, params);
61
61
  appId = _registerApp(ITownsApp(app), params.client);
62
- emit AppCreated(app, appId);
62
+ emit AppCreated(app, appId, msg.sender);
63
63
  }
64
64
 
65
65
  function addBeacons(Beacon[] calldata beacons) external onlyOwner {
@@ -36,7 +36,7 @@ interface IAppFactoryBase {
36
36
  /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
37
37
  /* EVENTS */
38
38
  /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/
39
- event AppCreated(address indexed app, bytes32 indexed uid);
39
+ event AppCreated(address indexed app, bytes32 indexed uid, address indexed owner);
40
40
  event BeaconAdded(bytes32 indexed beaconId, address indexed beacon);
41
41
  event BeaconRemoved(bytes32 indexed beaconId, address indexed beacon);
42
42
  event EntryPointSet(address indexed oldEntryPoint, address indexed newEntryPoint);