@multiplayer-app/session-recorder-react-native 0.0.1-beta.11 → 0.0.1-beta.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.
@@ -27,6 +27,9 @@ fi
27
27
  echo "🔄 Copying dist folder..."
28
28
  cp -r "$SOURCE_DIR" "$TARGET_DIR/"
29
29
 
30
+ # Copy the package.json file
31
+ cp "$SOURCE_DIR/package.json" "$TARGET_DIR/"
32
+
30
33
  echo "✅ Successfully copied dist folder to sample Expo app!"
31
34
  echo "📍 Source: $SOURCE_DIR"
32
35
  echo "📍 Target: $TARGET_DIR/dist"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiplayer-app/session-recorder-react-native",
3
- "version": "0.0.1-beta.11",
3
+ "version": "0.0.1-beta.12",
4
4
  "description": "Multiplayer Fullstack Session Recorder for React Native",
5
5
  "author": {
6
6
  "name": "Multiplayer Software, Inc.",
@@ -20,8 +20,7 @@
20
20
  ".": {
21
21
  "import": "./dist/index.js",
22
22
  "require": "./dist/index.js"
23
- },
24
- "./app.plugin.js": "./app.plugin.js"
23
+ }
25
24
  },
26
25
  "engines": {
27
26
  "node": ">=18",
@@ -41,7 +40,7 @@
41
40
  "scripts": {
42
41
  "clean": "rimraf dist",
43
42
  "prepublishOnly": "npm run build",
44
- "build": "tsc && babel ./dist --out-dir dist --extensions '.js' && ./copy-react-native-dist.sh",
43
+ "build": "tsc && babel ./dist --out-dir dist --extensions '.js'",
45
44
  "generate-metadata": "node scripts/generate-app-metadata.js"
46
45
  },
47
46
  "devDependencies": {
@@ -82,13 +81,27 @@
82
81
  "socket.io-client": "4.7.5"
83
82
  },
84
83
  "peerDependencies": {
85
- "@opentelemetry/api": "^1.9.0",
86
- "react": ">=18.0.0 <20.0.0",
87
- "react-native": ">=0.72.0 <0.82.0",
88
- "react-native-svg": "^15.13.0"
84
+ "@opentelemetry/api": "*",
85
+ "react": "*",
86
+ "react-native": "*",
87
+ "react-native-svg": "*"
88
+ },
89
+ "peerDependenciesMeta": {
90
+ "@opentelemetry/api": {
91
+ "optional": true
92
+ },
93
+ "react": {
94
+ "optional": true
95
+ },
96
+ "react-native": {
97
+ "optional": true
98
+ },
99
+ "react-native-svg": {
100
+ "optional": true
101
+ }
89
102
  },
90
103
  "optionalDependencies": {
91
- "expo-constants": "^15.0.0"
104
+ "expo-constants": "*"
92
105
  },
93
106
  "react-native": {
94
107
  "ios": {
@@ -108,4 +121,4 @@
108
121
  "packageImportPath": "import com.multiplayer.sessionrecorder.SessionRecorderPackage;"
109
122
  }
110
123
  }
111
- }
124
+ }