@retor/react-native 0.5.0 → 0.5.1

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.d.mts CHANGED
@@ -32,6 +32,10 @@ interface RetorTag {
32
32
  * Uses the same arc-length lookup as `LineProgressPayload.distanceFromStart`, so the
33
33
  * values are directly comparable. Null if the project isn't georeferenced. */
34
34
  distanceFromStart?: number | null;
35
+ /** Real-world pitch of the line tangent (degrees above the GPS-derived horizon) at this
36
+ * tag's position. Positive = uphill, negative = downhill. Same calculation as
37
+ * `LineProgressPayload.pitchDeg`. Null if not georeferenced. */
38
+ pitchDeg?: number | null;
35
39
  }
36
40
  interface RetorLine {
37
41
  _id: string;
package/dist/index.d.ts CHANGED
@@ -32,6 +32,10 @@ interface RetorTag {
32
32
  * Uses the same arc-length lookup as `LineProgressPayload.distanceFromStart`, so the
33
33
  * values are directly comparable. Null if the project isn't georeferenced. */
34
34
  distanceFromStart?: number | null;
35
+ /** Real-world pitch of the line tangent (degrees above the GPS-derived horizon) at this
36
+ * tag's position. Positive = uphill, negative = downhill. Same calculation as
37
+ * `LineProgressPayload.pitchDeg`. Null if not georeferenced. */
38
+ pitchDeg?: number | null;
35
39
  }
36
40
  interface RetorLine {
37
41
  _id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@retor/react-native",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "React Native SDK for embedding Retor 3D experiences",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",