react-globe.gl 2.23.5 → 2.24.0

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.
@@ -161,6 +161,12 @@ var GlobePropTypes = {
161
161
  objectLat: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
162
162
  objectLng: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
163
163
  objectAltitude: PropTypes.oneOfType([PropTypes.number, PropTypes.string, PropTypes.func]),
164
+ objectRotation: PropTypes.oneOfType([PropTypes.shape({
165
+ x: PropTypes.number,
166
+ y: PropTypes.number,
167
+ z: PropTypes.number
168
+ }), PropTypes.string, PropTypes.func]),
169
+ objectFacesSurface: PropTypes.oneOfType([PropTypes.bool, PropTypes.string, PropTypes.func]),
164
170
  objectThreeObject: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func]),
165
171
  objectLabel: PropTypes.oneOfType([PropTypes.string, PropTypes.func]),
166
172
  onObjectClick: PropTypes.func,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-globe.gl",
3
- "version": "2.23.5",
3
+ "version": "2.24.0",
4
4
  "description": "React component for Globe Data Visualization using ThreeJS/WebGL",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -45,7 +45,7 @@
45
45
  "dist/**/*"
46
46
  ],
47
47
  "dependencies": {
48
- "globe.gl": "2",
48
+ "globe.gl": "^2.28",
49
49
  "prop-types": "15",
50
50
  "react-kapsule": "2"
51
51
  },
@@ -61,9 +61,9 @@
61
61
  "@rollup/plugin-node-resolve": "^15.0.2",
62
62
  "@rollup/plugin-replace": "^5.0.2",
63
63
  "@rollup/plugin-terser": "^0.4.1",
64
- "@types/react": "^18.0.35",
64
+ "@types/react": "^18.0.37",
65
65
  "rimraf": "^5.0.0",
66
- "rollup": "^3.20.2",
66
+ "rollup": "^3.20.6",
67
67
  "rollup-plugin-dts": "^5.3.0",
68
68
  "typescript": "^5.0.4"
69
69
  },