@3dverse/api 0.18.0 → 0.20.0
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/_prebuild/wrapper.d.ts +242 -144
- package/dist/index.js +6 -14
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +6 -14
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1279,20 +1279,12 @@ function getAssetCode({
|
|
|
1279
1279
|
function replaceAssetCode({
|
|
1280
1280
|
asset_container_with_code,
|
|
1281
1281
|
asset_id,
|
|
1282
|
-
|
|
1283
|
-
debug = false,
|
|
1284
|
-
modules,
|
|
1285
|
-
shader_context
|
|
1282
|
+
asset_code
|
|
1286
1283
|
}, headers) {
|
|
1287
1284
|
return axiosInstance({
|
|
1288
1285
|
method: "put",
|
|
1289
1286
|
url: "/assets/" + encodeURIComponent(asset_container_with_code) + "/" + encodeURIComponent(asset_id) + "/code",
|
|
1290
|
-
data:
|
|
1291
|
-
code,
|
|
1292
|
-
debug,
|
|
1293
|
-
modules,
|
|
1294
|
-
shader_context
|
|
1295
|
-
},
|
|
1287
|
+
data: asset_code,
|
|
1296
1288
|
headers
|
|
1297
1289
|
});
|
|
1298
1290
|
}
|
|
@@ -1395,7 +1387,7 @@ function createEntity({
|
|
|
1395
1387
|
measure,
|
|
1396
1388
|
mesh_ref,
|
|
1397
1389
|
morph_targets,
|
|
1398
|
-
|
|
1390
|
+
nav_mesh_ref,
|
|
1399
1391
|
orthographic_lens,
|
|
1400
1392
|
overrider,
|
|
1401
1393
|
perspective_lens,
|
|
@@ -1450,7 +1442,7 @@ function createEntity({
|
|
|
1450
1442
|
measure,
|
|
1451
1443
|
mesh_ref,
|
|
1452
1444
|
morph_targets,
|
|
1453
|
-
|
|
1445
|
+
nav_mesh_ref,
|
|
1454
1446
|
orthographic_lens,
|
|
1455
1447
|
overrider,
|
|
1456
1448
|
perspective_lens,
|
|
@@ -1521,7 +1513,7 @@ function updateEntity({
|
|
|
1521
1513
|
measure,
|
|
1522
1514
|
mesh_ref,
|
|
1523
1515
|
morph_targets,
|
|
1524
|
-
|
|
1516
|
+
nav_mesh_ref,
|
|
1525
1517
|
orthographic_lens,
|
|
1526
1518
|
overrider,
|
|
1527
1519
|
perspective_lens,
|
|
@@ -1576,7 +1568,7 @@ function updateEntity({
|
|
|
1576
1568
|
measure,
|
|
1577
1569
|
mesh_ref,
|
|
1578
1570
|
morph_targets,
|
|
1579
|
-
|
|
1571
|
+
nav_mesh_ref,
|
|
1580
1572
|
orthographic_lens,
|
|
1581
1573
|
overrider,
|
|
1582
1574
|
perspective_lens,
|