@bbearai/react-native 0.2.2 → 0.2.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/dist/index.js CHANGED
@@ -12315,6 +12315,7 @@ var BugBearClient = class {
12315
12315
  thread_id: threadId,
12316
12316
  sender_type: "tester",
12317
12317
  sender_tester_id: testerInfo.id,
12318
+ sender_name: testerInfo.name || testerInfo.email,
12318
12319
  content
12319
12320
  });
12320
12321
  if (error) {
@@ -12392,6 +12393,7 @@ var BugBearClient = class {
12392
12393
  thread_id: thread.id,
12393
12394
  sender_type: "tester",
12394
12395
  sender_tester_id: testerInfo.id,
12396
+ sender_name: testerInfo.name || testerInfo.email,
12395
12397
  content: options.message
12396
12398
  });
12397
12399
  if (messageError) {
package/dist/index.mjs CHANGED
@@ -12277,6 +12277,7 @@ var BugBearClient = class {
12277
12277
  thread_id: threadId,
12278
12278
  sender_type: "tester",
12279
12279
  sender_tester_id: testerInfo.id,
12280
+ sender_name: testerInfo.name || testerInfo.email,
12280
12281
  content
12281
12282
  });
12282
12283
  if (error) {
@@ -12354,6 +12355,7 @@ var BugBearClient = class {
12354
12355
  thread_id: thread.id,
12355
12356
  sender_type: "tester",
12356
12357
  sender_tester_id: testerInfo.id,
12358
+ sender_name: testerInfo.name || testerInfo.email,
12357
12359
  content: options.message
12358
12360
  });
12359
12361
  if (messageError) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbearai/react-native",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "BugBear React Native components for mobile apps",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -36,7 +36,7 @@
36
36
  "build": "tsup --config tsup.config.ts",
37
37
  "dev": "tsup --config tsup.config.ts --watch",
38
38
  "lint": "eslint src/",
39
- "prepublishOnly": "npm run build"
39
+ "prepublishOnly": "npm run lint && npm run build"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "react": "^18.0.0 || ^19.0.0",
@@ -44,10 +44,14 @@
44
44
  },
45
45
  "devDependencies": {
46
46
  "@bbearai/core": "^0.2.0",
47
+ "@eslint/js": "^9.39.2",
47
48
  "@types/react": "^18.2.0",
49
+ "eslint": "^9.39.2",
50
+ "eslint-plugin-react-hooks": "^7.0.1",
48
51
  "react": "^18.2.0",
49
52
  "react-native": "^0.73.0",
50
53
  "tsup": "^8.0.0",
51
- "typescript": "^5.3.0"
54
+ "typescript": "^5.3.0",
55
+ "typescript-eslint": "^8.54.0"
52
56
  }
53
57
  }