web3dlink 2.0.7 → 2.0.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "web3dlink",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "",
5
5
  "main": "Web3DLink.es.js",
6
6
  "scripts": {
package/web3dlink.es.js CHANGED
@@ -2410,8 +2410,8 @@ class OtherApi {
2410
2410
  errorFun() {
2411
2411
  console.error("嘿嘿!崩掉喽!");
2412
2412
  }
2413
- _handleSend(h, u = {}) {
2414
- return h ? this.commandManager.sendWithDefault({ errors: [], normalized: u }, h) : this.errorFun();
2413
+ _handleSend(h, u = {}, A = {}) {
2414
+ return h ? (log("嘿嘿! 自定义呦,要小心喽"), this.commandManager.sendWithDefault({ errors: [], normalized: u }, h, A)) : this.errorFun();
2415
2415
  }
2416
2416
  }
2417
2417
  class GameAPI {
@@ -2471,7 +2471,7 @@ class GameAPI {
2471
2471
  return this._otherApi._handleSend(`arrow.${h}`, u);
2472
2472
  }
2473
2473
  async VTK(h, u) {
2474
- return this._otherApi._handleSend(`VTK.${h}`, u);
2474
+ return this._otherApi._handleSend(`VTK.${h}`, u, { timeout: 0 });
2475
2475
  }
2476
2476
  async NC(h, u) {
2477
2477
  return this._otherApi._handleSend(`NC.${h}`, u);