react-globe.gl 2.22.5 → 2.22.7

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.
@@ -1,5 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { Material, Object3D, Scene, Camera, WebGLRenderer } from 'three';
3
+ import { OrbitControls } from 'three/examples/jsm/controls/OrbitControls.js';
3
4
  import { EffectComposer } from 'three/examples/jsm/postprocessing/EffectComposer.js';
4
5
  import { ConfigOptions, GlobeInstance } from 'globe.gl';
5
6
 
@@ -255,7 +256,7 @@ interface GlobeMethods {
255
256
  camera(): Camera;
256
257
  renderer(): WebGLRenderer;
257
258
  postProcessingComposer(): EffectComposer;
258
- controls(): object;
259
+ controls(): OrbitControls;
259
260
 
260
261
  // Utilities
261
262
  getGlobeRadius(): number;
@@ -1,4 +1,4 @@
1
- // Version 2.22.5 react-globe.gl - https://github.com/vasturiano/react-globe.gl
1
+ // Version 2.22.7 react-globe.gl - https://github.com/vasturiano/react-globe.gl
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) :
4
4
  typeof define === 'function' && define.amd ? define(['react'], factory) :