@3dverse/api 0.18.0 → 0.19.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/_prebuild/wrapper.d.ts +70 -55
- package/dist/index.js +2 -10
- package/dist/index.js.map +2 -2
- package/dist/index.mjs +2 -10
- package/dist/index.mjs.map +2 -2
- package/package.json +2 -2
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
|
-
|
|
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
|
}
|