react-native-qalink 0.3.3 → 0.4.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/README.md +2 -2
  2. package/package.json +4 -2
package/README.md CHANGED
@@ -92,7 +92,7 @@ import axios from 'axios';
92
92
  export default function App() {
93
93
  useEffect(() => {
94
94
  QALink.init({
95
- serverUrl: 'ws://192.168.1.100:3000',
95
+ serverUrl: 'wss://qalink-server-production.up.railway.app',
96
96
  apiKey: 'qlk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
97
97
  appVersion: '1.2.3',
98
98
  captureRuntimeErrors: true, // pantalla roja, yellow box
@@ -120,7 +120,7 @@ para que el dashboard no se llene de ruido.
120
120
 
121
121
  ```tsx
122
122
  QALink.init({
123
- serverUrl: 'ws://192.168.1.100:3000',
123
+ serverUrl: 'wss://qalink-server-production.up.railway.app',
124
124
  apiKey: 'qlk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
125
125
  appVersion: '1.2.3',
126
126
  console: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-qalink",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Real-time error capture SDK for React Native — helps QA teams identify if bugs are frontend or backend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -31,7 +31,9 @@
31
31
  },
32
32
  "scripts": {
33
33
  "build": "tsc",
34
- "typecheck": "tsc --noEmit"
34
+ "typecheck": "tsc --noEmit",
35
+ "prepublishOnly": "npm run build",
36
+ "version": "npm run build"
35
37
  },
36
38
  "license": "MIT"
37
39
  }