@luma.gl/core 9.0.11 → 9.0.14

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/init.js CHANGED
@@ -11,7 +11,7 @@ import { lumaStats } from "./utils/stats-manager.js";
11
11
  function initializeLuma() {
12
12
  // Version detection using babel plugin
13
13
  // @ts-expect-error
14
- const VERSION = typeof "9.0.11" !== 'undefined' ? "9.0.11" : 'running from source';
14
+ const VERSION = typeof "9.0.14" !== 'undefined' ? "9.0.14" : 'running from source';
15
15
  const STARTUP_MESSAGE = 'set luma.log.level=1 (or higher) to trace rendering';
16
16
  // Assign luma.log.level in console to control logging: \
17
17
  // 0: none, 1: minimal, 2: verbose, 3: attribute/uniforms, 4: gl logs
package/dist/lib/luma.js CHANGED
@@ -69,7 +69,7 @@ export class luma {
69
69
  }
70
70
  /** Creates a device. Asynchronously. */
71
71
  static async createDevice(props = {}) {
72
- props = { ...Device.defaultProps, ...props };
72
+ props = { ...luma.defaultProps, ...props };
73
73
  if (props.gl) {
74
74
  props.type = 'webgl';
75
75
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luma.gl/core",
3
- "version": "9.0.11",
3
+ "version": "9.0.14",
4
4
  "description": "The luma.gl core Device API",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -46,5 +46,5 @@
46
46
  "@probe.gl/stats": "^4.0.2",
47
47
  "@types/offscreencanvas": "^2019.6.4"
48
48
  },
49
- "gitHead": "82c56392f73c3f7b258e2928d687a4beca2e2838"
49
+ "gitHead": "0b466762e8255ed11b00c6bc518049d3b54c4009"
50
50
  }
@@ -253,7 +253,7 @@ export abstract class Device {
253
253
 
254
254
  requestMaxLimits: true,
255
255
  debug: Boolean(log.get('debug')), // Instrument context (at the expense of performance)
256
- spector: Boolean(log.get('spector')), // Initialize the SpectorJS WebGL debugger
256
+ spector: Boolean(log.get('spector') || log.get('spectorjs')), // Initialize the SpectorJS WebGL debugger
257
257
  break: [],
258
258
 
259
259
  // TODO - Change these after confirming things work as expected
package/src/lib/luma.ts CHANGED
@@ -105,7 +105,7 @@ export class luma {
105
105
 
106
106
  /** Creates a device. Asynchronously. */
107
107
  static async createDevice(props: CreateDeviceProps = {}): Promise<Device> {
108
- props = {...Device.defaultProps, ...props};
108
+ props = {...luma.defaultProps, ...props};
109
109
  if (props.gl) {
110
110
  props.type = 'webgl';
111
111
  }