@whop/react-native 0.0.10 → 0.0.12

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@whop/react-native",
3
3
  "description": "React Native SDK for building embedded apps on Whop",
4
- "version": "0.0.10",
4
+ "version": "0.0.12",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/whopio/whop-sdk-ts",
@@ -23,6 +23,10 @@
23
23
  "types": "./dist/lib/index.d.ts",
24
24
  "import": "./dist/lib/index.mjs",
25
25
  "require": "./dist/lib/index.cjs"
26
+ },
27
+ "./web": {
28
+ "types": "./dist/lib/web.d.ts",
29
+ "import": "./dist/lib/web.mjs"
26
30
  }
27
31
  },
28
32
  "main": "./dist/lib/index.cjs",
@@ -42,16 +46,21 @@
42
46
  "@react-native/babel-preset": "^0.80.1",
43
47
  "@react-native/metro-config": "^0.80.1",
44
48
  "dotenv": "16.5.0",
49
+ "esbuild": "^0.25.9",
45
50
  "events": "^3.3.0",
46
51
  "find-up": "^7.0.0",
47
52
  "jszip": "^3.10.1",
48
53
  "metro": "^0.83.0",
49
54
  "metro-react-native-babel-transformer": "^0.77.0",
55
+ "qrcode-terminal": "^0.12.0",
50
56
  "rimraf": "^6.0.1",
51
- "@whop/api": "0.0.42"
57
+ "@whop/api": "0.0.42",
58
+ "@whop/iframe": "0.0.3"
52
59
  },
53
60
  "devDependencies": {
61
+ "@types/babel__core": "^7.20.5",
54
62
  "@types/node": "latest",
63
+ "@types/qrcode-terminal": "^0.12.2",
55
64
  "@types/react": "19.1.5",
56
65
  "react": "^19.0.0",
57
66
  "react-native": "0.80.0",
@@ -67,9 +76,60 @@
67
76
  "access": "public"
68
77
  },
69
78
  "peerDependencies": {
70
- "react": "^19.0.0",
79
+ "react": "19.1.0",
80
+ "react-dom": "19.1.0",
71
81
  "react-native": "0.80.0",
72
- "react-native-reanimated": "3.18.0"
82
+ "react-native-web": "0.21.1",
83
+ "react-native-nitro-modules": "0.26.3",
84
+ "react-native-video": "6.16.1",
85
+ "@d11/react-native-fast-image": "8.10.0",
86
+ "react-native-svg": "15.12.0",
87
+ "react-native-webview": "13.15.0",
88
+ "react-native-reanimated": "3.18.0",
89
+ "react-native-gesture-handler": "2.27.2",
90
+ "react-native-haptic-feedback": "2.3.3",
91
+ "react-native-vision-camera": "4.7.1",
92
+ "react-native-safe-area-context": "5.5.2",
93
+ "lottie-react-native": "7.3.2",
94
+ "react-native-image-picker": "8.2.1"
95
+ },
96
+ "peerDependenciesMeta": {
97
+ "react-native-nitro-modules": {
98
+ "optional": true
99
+ },
100
+ "react-native-video": {
101
+ "optional": true
102
+ },
103
+ "@d11/react-native-fast-image": {
104
+ "optional": true
105
+ },
106
+ "react-native-svg": {
107
+ "optional": true
108
+ },
109
+ "react-native-webview": {
110
+ "optional": true
111
+ },
112
+ "react-native-reanimated": {
113
+ "optional": true
114
+ },
115
+ "react-native-gesture-handler": {
116
+ "optional": true
117
+ },
118
+ "react-native-haptic-feedback": {
119
+ "optional": true
120
+ },
121
+ "react-native-vision-camera": {
122
+ "optional": true
123
+ },
124
+ "react-native-safe-area-context": {
125
+ "optional": true
126
+ },
127
+ "lottie-react-native": {
128
+ "optional": true
129
+ },
130
+ "react-native-image-picker": {
131
+ "optional": true
132
+ }
73
133
  },
74
134
  "scripts": {
75
135
  "build": "pnpm run clean && tsup && cp src/cli/*.js dist/cli",