@loaders.gl/las 3.2.0-alpha.2 → 3.2.0-alpha.3

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.
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports._typecheckLoader = exports.LASLoader = void 0;
7
- var VERSION = typeof "3.2.0-alpha.2" !== 'undefined' ? "3.2.0-alpha.2" : 'latest';
7
+ var VERSION = typeof "3.2.0-alpha.3" !== 'undefined' ? "3.2.0-alpha.3" : 'latest';
8
8
  var DEFAULT_LAS_OPTIONS = {
9
9
  las: {
10
10
  shape: 'mesh',
@@ -1,4 +1,4 @@
1
- const VERSION = typeof "3.2.0-alpha.2" !== 'undefined' ? "3.2.0-alpha.2" : 'latest';
1
+ const VERSION = typeof "3.2.0-alpha.3" !== 'undefined' ? "3.2.0-alpha.3" : 'latest';
2
2
  const DEFAULT_LAS_OPTIONS = {
3
3
  las: {
4
4
  shape: 'mesh',
@@ -134,12 +134,13 @@
134
134
  switch (type) {
135
135
  case "process":
136
136
  try {
137
- const { input, options = {} } = payload;
137
+ const { input, options = {}, context = {} } = payload;
138
138
  const result = await parseData({
139
139
  loader,
140
140
  arrayBuffer: input,
141
141
  options,
142
142
  context: {
143
+ ...context,
143
144
  parse: parseOnMainThread
144
145
  }
145
146
  });
@@ -199,7 +200,7 @@
199
200
  }
200
201
 
201
202
  // src/las-loader.ts
202
- var VERSION = true ? "3.2.0-alpha.2" : "latest";
203
+ var VERSION = true ? "3.2.0-alpha.3" : "latest";
203
204
  var DEFAULT_LAS_OPTIONS = {
204
205
  las: {
205
206
  shape: "mesh",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/las",
3
- "version": "3.2.0-alpha.2",
3
+ "version": "3.2.0-alpha.3",
4
4
  "description": "Framework-independent loader for the LAS and LAZ formats",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -41,9 +41,9 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@babel/runtime": "^7.3.1",
44
- "@loaders.gl/loader-utils": "3.2.0-alpha.2",
45
- "@loaders.gl/schema": "3.2.0-alpha.2",
44
+ "@loaders.gl/loader-utils": "3.2.0-alpha.3",
45
+ "@loaders.gl/schema": "3.2.0-alpha.3",
46
46
  "apache-arrow": "^4.0.0"
47
47
  },
48
- "gitHead": "52a602739cbfce60fc314f474efc984d199dff78"
48
+ "gitHead": "f0d4b801efeb7094283106352ee759eccfb21f10"
49
49
  }