@tamagui/proxy-worm 1.45.2 → 1.45.4

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 (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -30,6 +30,10 @@ ${new Error().stack}
30
30
  obj.displayName = `ProxyWorm - Check excludeReactNativeWebExports`
31
31
  obj._isProxyWorm = true
32
32
 
33
+ // reanimated tries to find component like things
34
+ obj.prototype ||= {}
35
+ obj.prototype.isReactComponent = true
36
+
33
37
  return new Proxy(obj, {
34
38
  get(_, key) {
35
39
  if (Reflect.has(obj, key)) return Reflect.get(obj, key)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/proxy-worm",
3
- "version": "1.45.2",
3
+ "version": "1.45.4",
4
4
  "main": "index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"