@wonderlandengine/editor-api 1.5.0 → 1.5.1-rc.1

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/data.d.ts CHANGED
@@ -164,7 +164,8 @@ export declare class EditorSettings extends Access {
164
164
  package: {
165
165
  packageUnusedMeshes: boolean;
166
166
  packageUnusedAnimations: boolean;
167
- supercompressionLevel: number;
167
+ textureSupercompressionLevel: number;
168
+ gzipDeployCompressionLevel: number;
168
169
  };
169
170
  importPhysicalAsPhongMaterials: boolean;
170
171
  }
package/dist/data.js CHANGED
@@ -63,7 +63,7 @@ export class Access {
63
63
  return Object.entries(this)[Symbol.iterator]();
64
64
  }
65
65
  }
66
- if (ApiObject) {
66
+ if (ApiObject && !Object.prototype.hasOwnProperty.call(ApiObject, "keys")) {
67
67
  Object.defineProperties(ApiObject, {
68
68
  keys: { value: Access.prototype.keys, enumerable: false },
69
69
  values: { value: Access.prototype.values, enumerable: false },
@@ -173,7 +173,8 @@ export class EditorSettings extends Access {
173
173
  package = {
174
174
  packageUnusedMeshes: false,
175
175
  packageUnusedAnimations: false,
176
- supercompressionLevel: 8,
176
+ textureSupercompressionLevel: 8,
177
+ gzipDeployCompressionLevel: 6,
177
178
  };
178
179
  importPhysicalAsPhongMaterials = true;
179
180
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wonderlandengine/editor-api",
3
- "version": "1.5.0",
3
+ "version": "1.5.1-rc.1",
4
4
  "description": "Wonderland Engine's Editor API for plugins - very experimental.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",