@tamagui/proxy-worm 1.46.2 → 1.47.0

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 +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -13,7 +13,6 @@ function worm(root = false) {
13
13
  process.env.NODE_ENV === 'development' &&
14
14
  process.env.DEBUG?.startsWith('tamagui')
15
15
  ) {
16
- // rome-ignore lint/nursery/noConsoleLog: ok
17
16
  console.warn(`
18
17
 
19
18
  This has been excluded via Tamagui!
@@ -31,7 +30,7 @@ ${new Error().stack}
31
30
  obj._isProxyWorm = true
32
31
 
33
32
  // reanimated tries to find component like things
34
- obj.prototype ||= {}
33
+ obj.prototype = obj.prototype || {}
35
34
  obj.prototype.isReactComponent = true
36
35
 
37
36
  return new Proxy(obj, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/proxy-worm",
3
- "version": "1.46.2",
3
+ "version": "1.47.0",
4
4
  "main": "index.js",
5
5
  "publishConfig": {
6
6
  "access": "public"