@getlimelight/sdk 0.1.2 → 0.1.3

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/README.md CHANGED
@@ -38,7 +38,7 @@ pnpm add @getlimelight/sdk
38
38
  import { Limelight } from "@getlimelight/sdk";
39
39
 
40
40
  // That's it! One line to start debugging
41
- Limelight.connect({ projectId: "project-123" });
41
+ Limelight.connect({ projectKey: "project-123" });
42
42
  ```
43
43
 
44
44
  ### React Native
@@ -46,7 +46,7 @@ Limelight.connect({ projectId: "project-123" });
46
46
  ```typescript
47
47
  import { Limelight } from "@getlimelight/sdk";
48
48
 
49
- Limelight.connect({ projectId: "project-123" });
49
+ Limelight.connect({ projectKey: "project-123" });
50
50
  ```
51
51
 
52
52
  ### Expo
@@ -56,7 +56,7 @@ import { Limelight } from "@getlimelight/sdk";
56
56
  import Constants from "expo-constants";
57
57
 
58
58
  Limelight.connect({
59
- projectId: "project-123",
59
+ projectKey: "project-123",
60
60
  enabled: __DEV__,
61
61
  appName: Constants.expoConfig?.name,
62
62
  });
@@ -71,7 +71,7 @@ import { Limelight } from '@getlimelight/sdk';
71
71
 
72
72
  Limelight.connect({
73
73
  // The only required field: project Id:
74
- projectId: string;
74
+ projectKey: string;
75
75
 
76
76
  // Optional: Platform identifier (auto-detected)
77
77
  platform?: string;
@@ -108,7 +108,7 @@ Limelight.connect({
108
108
  import { Limelight } from "@getlimelight/sdk";
109
109
 
110
110
  Limelight.connect({
111
- projectId: "project-123",
111
+ projectKey: "project-123",
112
112
  enabled: __DEV__, // Only enable in development
113
113
  appName: "MyAwesomeApp",
114
114
  });
@@ -120,7 +120,7 @@ Limelight.connect({
120
120
  import { Limelight } from "@getlimelight/sdk";
121
121
 
122
122
  Limelight.connect({
123
- projectId: "project-123",
123
+ projectKey: "project-123",
124
124
  serverUrl: "ws://192.168.1.100:8080", // Your computer's IP
125
125
  appName: "MyApp",
126
126
  });
@@ -226,13 +226,13 @@ Connects to the Limelight server and starts intercepting network requests and co
226
226
  import { Limelight } from "@getlimelight/sdk";
227
227
 
228
228
  // Minimal usage
229
- Limelight.connect({ projectId: "project-123" });
229
+ Limelight.connect({ projectKey: "project-123" });
230
230
 
231
231
  // With configuration
232
232
  Limelight.connect({
233
233
  enabled: __DEV__,
234
234
  appName: "MyApp",
235
- serverUrl: "ws://localhost:8080",
235
+ projectKey: "project-123",
236
236
  });
237
237
  ```
238
238
 
@@ -294,6 +294,7 @@ interface ConsoleEvent {
294
294
  import { Limelight } from "@getlimelight/sdk";
295
295
 
296
296
  Limelight.connect({
297
+ projectKey: "project-123",
297
298
  enableNetworkInspector: true, // Capture network requests
298
299
  enableConsole: true, // Capture console logs
299
300
  enableGraphQL: false, // Disable GraphQL parsing
@@ -319,6 +320,7 @@ const getConfig = () => {
319
320
  }
320
321
 
321
322
  return {
323
+ projectKey: "project-123",
322
324
  serverUrl: "ws://localhost:8080",
323
325
  enabled: true,
324
326
  };
@@ -372,6 +374,7 @@ const config: LimelightConfig = {
372
374
  if (event.phase === "NETWORK") {
373
375
  console.log(event.url); // TypeScript knows this exists
374
376
  }
377
+
375
378
  return event;
376
379
  },
377
380
  };
@@ -431,6 +434,7 @@ For maximum privacy, disable request/response body capture entirely:
431
434
 
432
435
  ```typescript
433
436
  Limelight.connect({
437
+ projectKey: "project-123",
434
438
  disableBodyCapture: true, // Only capture headers and metadata
435
439
  });
436
440
  ```
@@ -450,6 +454,7 @@ import { Limelight } from "@getlimelight/sdk";
450
454
 
451
455
  // For physical devices, use your computer's IP
452
456
  Limelight.connect({
457
+ projectKey: "project-123",
453
458
  serverUrl: "ws://192.168.1.100:8080", // Replace with your IP
454
459
  enabled: true,
455
460
  });
@@ -482,7 +487,7 @@ MIT © LIMELIGHT
482
487
 
483
488
  ## Support
484
489
 
485
- - 📧 Email: support@getlimelight.io
490
+ - 📧 Email: hello@getlimelight.io
486
491
  - 🐛 Issues: [GitHub Issues](https://github.com/getlimelight/limelight/issues)
487
492
 
488
493
  ---
package/dist/index.js CHANGED
@@ -257,7 +257,7 @@ var SENSITIVE_HEADERS = [
257
257
  ];
258
258
  var DEFAULT_PORT = 9090;
259
259
  var WS_PATH = "/limelight";
260
- var SDK_VERSION = true ? "0.1.2" : "test-version";
260
+ var SDK_VERSION = true ? "0.1.3" : "test-version";
261
261
 
262
262
  // src/helpers/safety/redactSensitiveHeaders.ts
263
263
  var redactSensitiveHeaders = (headers) => {
package/dist/index.mjs CHANGED
@@ -221,7 +221,7 @@ var SENSITIVE_HEADERS = [
221
221
  ];
222
222
  var DEFAULT_PORT = 9090;
223
223
  var WS_PATH = "/limelight";
224
- var SDK_VERSION = true ? "0.1.2" : "test-version";
224
+ var SDK_VERSION = true ? "0.1.3" : "test-version";
225
225
 
226
226
  // src/helpers/safety/redactSensitiveHeaders.ts
227
227
  var redactSensitiveHeaders = (headers) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlimelight/sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "The react native debugger that actually works",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",