brick-module 0.1.18 → 0.1.19

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.
@@ -20,7 +20,7 @@ open class BrickModuleBase: NSObject {
20
20
 
21
21
  /// Sends an event with the given name and data
22
22
  /// Automatically prefixes with module name and uses the registry's event emitter
23
- public func sendEvent(_ eventName: String, data: [String: Any]?) {
23
+ public func sendEvent(_ eventName: String, data: Any?) {
24
24
  // Format event name with module prefix
25
25
  let fullEventName = "\(moduleName)_\(eventName)"
26
26
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "brick-module",
3
- "version": "0.1.18",
3
+ "version": "0.1.19",
4
4
  "description": "Better React Native native module development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -62,7 +62,7 @@
62
62
  "brick-codegen": "./bin/brick-codegen.js"
63
63
  },
64
64
  "dependencies": {
65
- "brick-codegen": "0.1.18"
65
+ "brick-codegen": "0.1.19"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "react": ">=18.2.0",