@loaders.gl/ply 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._typecheckPLYLoader = exports.PLYLoader = 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 PLYLoader = {
9
9
  name: 'PLY',
10
10
  id: 'ply',
@@ -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
  export const PLYLoader = {
3
3
  name: 'PLY',
4
4
  id: 'ply',
@@ -118,12 +118,13 @@
118
118
  switch (type) {
119
119
  case "process":
120
120
  try {
121
- const { input, options = {} } = payload;
121
+ const { input, options = {}, context = {} } = payload;
122
122
  const result = await parseData({
123
123
  loader,
124
124
  arrayBuffer: input,
125
125
  options,
126
126
  context: {
127
+ ...context,
127
128
  parse: parseOnMainThread
128
129
  }
129
130
  });
@@ -221,7 +222,7 @@
221
222
  }
222
223
 
223
224
  // src/ply-loader.ts
224
- var VERSION = true ? "3.2.0-alpha.2" : "latest";
225
+ var VERSION = true ? "3.2.0-alpha.3" : "latest";
225
226
  var PLYLoader = {
226
227
  name: "PLY",
227
228
  id: "ply",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loaders.gl/ply",
3
- "version": "3.2.0-alpha.2",
3
+ "version": "3.2.0-alpha.3",
4
4
  "description": "Framework-independent loader for the PLY format",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/runtime": "^7.3.1",
37
- "@loaders.gl/loader-utils": "3.2.0-alpha.2",
38
- "@loaders.gl/schema": "3.2.0-alpha.2"
37
+ "@loaders.gl/loader-utils": "3.2.0-alpha.3",
38
+ "@loaders.gl/schema": "3.2.0-alpha.3"
39
39
  },
40
- "gitHead": "52a602739cbfce60fc314f474efc984d199dff78"
40
+ "gitHead": "f0d4b801efeb7094283106352ee759eccfb21f10"
41
41
  }