@tempivo/sensor-beacon 1.1.10 → 1.1.11

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/CHANGELOG.md CHANGED
@@ -6,6 +6,12 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.1.11] - 2026-10-14
10
+
11
+ ### Fixed
12
+
13
+ - `getOperator` on Android Expo: `withTimeout` accepts sync native returns (avoids `undefined is not a function`).
14
+
9
15
  ## [1.1.10] - 2026-10-14
10
16
 
11
17
  ### Added
@@ -270,7 +270,8 @@ function withTimeout(promise, ms, label) {
270
270
  const id = setTimeout(() => {
271
271
  reject(new TempivoSensorError('unknown', `${label} timed out after ${ms}ms.`));
272
272
  }, ms);
273
- promise.then((v) => {
273
+ // Expo may return a bare value for some AsyncFunctions; Promise.resolve normalizes both.
274
+ Promise.resolve(promise).then((v) => {
274
275
  clearTimeout(id);
275
276
  resolve(v);
276
277
  }, (e) => {
@@ -8,7 +8,7 @@
8
8
  <key>BinaryPath</key>
9
9
  <string>TempivoSensorBridge.framework/TempivoSensorBridge</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64-simulator</string>
12
12
  <key>LibraryPath</key>
13
13
  <string>TempivoSensorBridge.framework</string>
14
14
  <key>SupportedArchitectures</key>
@@ -17,12 +17,14 @@
17
17
  </array>
18
18
  <key>SupportedPlatform</key>
19
19
  <string>ios</string>
20
+ <key>SupportedPlatformVariant</key>
21
+ <string>simulator</string>
20
22
  </dict>
21
23
  <dict>
22
24
  <key>BinaryPath</key>
23
25
  <string>TempivoSensorBridge.framework/TempivoSensorBridge</string>
24
26
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64-simulator</string>
27
+ <string>ios-arm64</string>
26
28
  <key>LibraryPath</key>
27
29
  <string>TempivoSensorBridge.framework</string>
28
30
  <key>SupportedArchitectures</key>
@@ -31,8 +33,6 @@
31
33
  </array>
32
34
  <key>SupportedPlatform</key>
33
35
  <string>ios</string>
34
- <key>SupportedPlatformVariant</key>
35
- <string>simulator</string>
36
36
  </dict>
37
37
  </array>
38
38
  <key>CFBundlePackageType</key>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tempivo/sensor-beacon",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "Tempivo sensor BLE SDK. Native scan and GATT for Expo, React Native, Android, and iOS. Node helpers decode advertisements and parse QR or config (no radio).",
5
5
  "homepage": "https://app.tempivo.com/integrations",
6
6
  "author": "Tempivo",