@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/index.mjs CHANGED
@@ -1132,20 +1132,12 @@ function getAssetCode({
1132
1132
  function replaceAssetCode({
1133
1133
  asset_container_with_code,
1134
1134
  asset_id,
1135
- code,
1136
- debug = false,
1137
- modules,
1138
- shader_context
1135
+ asset_code
1139
1136
  }, headers) {
1140
1137
  return axiosInstance({
1141
1138
  method: "put",
1142
1139
  url: "/assets/" + encodeURIComponent(asset_container_with_code) + "/" + encodeURIComponent(asset_id) + "/code",
1143
- data: {
1144
- code,
1145
- debug,
1146
- modules,
1147
- shader_context
1148
- },
1140
+ data: asset_code,
1149
1141
  headers
1150
1142
  });
1151
1143
  }
@@ -1248,7 +1240,7 @@ function createEntity({
1248
1240
  measure,
1249
1241
  mesh_ref,
1250
1242
  morph_targets,
1251
- navmesh_ref,
1243
+ nav_mesh_ref,
1252
1244
  orthographic_lens,
1253
1245
  overrider,
1254
1246
  perspective_lens,
@@ -1303,7 +1295,7 @@ function createEntity({
1303
1295
  measure,
1304
1296
  mesh_ref,
1305
1297
  morph_targets,
1306
- navmesh_ref,
1298
+ nav_mesh_ref,
1307
1299
  orthographic_lens,
1308
1300
  overrider,
1309
1301
  perspective_lens,
@@ -1374,7 +1366,7 @@ function updateEntity({
1374
1366
  measure,
1375
1367
  mesh_ref,
1376
1368
  morph_targets,
1377
- navmesh_ref,
1369
+ nav_mesh_ref,
1378
1370
  orthographic_lens,
1379
1371
  overrider,
1380
1372
  perspective_lens,
@@ -1429,7 +1421,7 @@ function updateEntity({
1429
1421
  measure,
1430
1422
  mesh_ref,
1431
1423
  morph_targets,
1432
- navmesh_ref,
1424
+ nav_mesh_ref,
1433
1425
  orthographic_lens,
1434
1426
  overrider,
1435
1427
  perspective_lens,