Readme update + api example

This commit is contained in:
Aaron Burton
2026-03-18 19:02:52 -07:00
parent 96c6d998dd
commit e460b49fb4
4 changed files with 14 additions and 0 deletions
+3
View File
@@ -24,6 +24,9 @@ app.registerExtension({
const origCreated = nodeType.prototype.onNodeCreated;
nodeType.prototype.onNodeCreated = function () {
origCreated?.apply(this, arguments);
if (this.widgets) {
this.widgets = this.widgets.filter(w => w.name !== "Get Tokens");
}
this.addWidget("button", "Get Tokens", null, () => {
window.open("https://augmentstudio.app/pricing", "_blank");
});