bugstash 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.
Files changed (2) hide show
  1. package/README.md +0 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,7 +37,6 @@ import BugStash from 'bugstash';
37
37
 
38
38
  BugStash.init({
39
39
  projectId: 'your-project-id',
40
- endpoint: 'https://bugstash-backend.azurewebsites.net',
41
40
  environment: 'development', // auto-disabled in 'production'
42
41
  });
43
42
  ```
@@ -54,7 +53,6 @@ BugStash.init({
54
53
  projectId: 'your-project-id',
55
54
 
56
55
  // Optional
57
- endpoint: 'https://bugstash-backend.azurewebsites.net',
58
56
  environment: 'development', // 'development' | 'staging' | 'production'
59
57
  panelPosition: 'bottom-right', // 'bottom-right' | 'bottom-left'
60
58
 
@@ -195,7 +193,6 @@ export function BugStashProvider({ children }: { children: React.ReactNode }) {
195
193
  useEffect(() => {
196
194
  BugStash.init({
197
195
  projectId: process.env.NEXT_PUBLIC_BUGSTASH_PROJECT_ID!,
198
- endpoint: 'https://bugstash-backend.azurewebsites.net',
199
196
  environment: process.env.NODE_ENV as any,
200
197
  });
201
198
  return () => BugStash.destroy();
@@ -228,7 +225,6 @@ import BugStash from 'bugstash';
228
225
 
229
226
  BugStash.init({
230
227
  projectId: import.meta.env.VITE_BUGSTASH_PROJECT_ID,
231
- endpoint: 'https://bugstash-backend.azurewebsites.net',
232
228
  environment: import.meta.env.MODE,
233
229
  });
234
230
  ```
@@ -241,7 +237,6 @@ import BugStash from 'bugstash';
241
237
 
242
238
  BugStash.init({
243
239
  projectId: process.env.REACT_APP_BUGSTASH_PROJECT_ID!,
244
- endpoint: 'https://bugstash-backend.azurewebsites.net',
245
240
  environment: process.env.NODE_ENV,
246
241
  });
247
242
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bugstash",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Lightweight browser SDK for pre-production bug reporting",
6
6
  "main": "./dist/index.cjs",