@wemap/geo 3.2.3 → 3.2.6

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/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "directory": "packages/geo"
13
13
  },
14
14
  "name": "@wemap/geo",
15
- "version": "3.2.3",
15
+ "version": "3.2.6",
16
16
  "bugs": {
17
17
  "url": "https://github.com/wemap/wemap-modules-js/issues"
18
18
  },
@@ -29,5 +29,5 @@
29
29
  "@wemap/logger": "^3.2.3",
30
30
  "@wemap/maths": "^3.2.3"
31
31
  },
32
- "gitHead": "f7075f59fc3227c7f4cb7f1fa8cc69b98705364e"
32
+ "gitHead": "0b4bcb307a86aa10d123603698961463baf931fd"
33
33
  }
@@ -127,8 +127,10 @@ class AbsoluteHeading {
127
127
  };
128
128
  }
129
129
 
130
- static fromJson(json) {
131
- return new AbsoluteHeading(json);
130
+ static fromJson({
131
+ heading, time, accuracy
132
+ }) {
133
+ return new AbsoluteHeading(heading, time, accuracy);
132
134
  }
133
135
 
134
136
  }