vis-core 0.28.17 → 0.28.18

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.
@@ -88,7 +88,7 @@ const publicKeyPEM = "LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUlJQklqQU5CZ2txaGtpRz
88
88
  ).toString(CryptoJS.enc.Utf8), Ne = JSON.parse(Pe), Ae = Date.now();
89
89
  return !Ne.s || Ne.s > Ae ? (this.token = void 0, "") : Ne.e && Ne.e < Ae ? (this.token = void 0, "") : (Ne.isValid = O, Ne);
90
90
  }
91
- }, version = "0.28.17";
91
+ }, version = "0.28.18";
92
92
  /**
93
93
  * @license
94
94
  * Copyright 2010-2025 Three.js Authors
@@ -58521,10 +58521,11 @@ class SetMaterialMap extends Command {
58521
58521
  return t.objectUuid = this.editor.uuidByMaterialObject(this.object), t.materialSlot = this.materialSlot, t.mapName = this.mapName, t.newMap = serializeMap(this.newMap), t;
58522
58522
  }
58523
58523
  fromJSON(t) {
58524
+ var r;
58524
58525
  super.fromJSON(t), this.object = this.editor.materialObjectByUuid(t.objectUuid), this.materialSlot = t.materialSlot, this.material = this.editor.getObjectMaterial(
58525
58526
  this.object,
58526
58527
  this.materialSlot
58527
- ), this.mapName = t.mapName, this.oldMap = this.object && this.material ? this.material[this.mapName] : void 0, t.newMap.name === "PMREM.cubeUv" ? this.newMap = this.editor.viewport.vis.getRoomEnvMap() : this.newMap = parseTexture(t.newMap);
58528
+ ), this.mapName = t.mapName, this.oldMap = this.object && this.material ? this.material[this.mapName] : void 0, ((r = t.newMap) == null ? void 0 : r.name) === "PMREM.cubeUv" ? this.newMap = this.editor.viewport.vis.getRoomEnvMap() : this.newMap = parseTexture(t.newMap);
58528
58529
  }
58529
58530
  fixJSON() {
58530
58531
  const t = this.json;
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.28.17";
1
+ declare const _default: "0.28.18";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vis-core",
3
- "version": "0.28.17",
3
+ "version": "0.28.18",
4
4
  "scripts": {
5
5
  "start": "npm run version && PORT=5173 bundler-dev",
6
6
  "build:site": "npm run version && PUBLIC_EXCLUDE=true bundler",