Replace Assets
Use postAsset() to register dynamic assets so your Expansion can safely display them in the frontend.
Posting Assets with postAsset()
postAsset()nm.postAsset({
Add: base64Data
});Example Usage
const icon = await api.nexomaker.imgconvert(__dirname + "/assets/add-icon.png");
nm.postAsset({
Add: icon
});⚠️ Notes
Last updated