cleanup: Remove the bcrypt JS API. Apps that need it should find their own implementation. Core does it all in C.

This commit is contained in:
2025-09-28 12:48:25 -04:00
parent 3746622a11
commit 83a0b017c5
3 changed files with 0 additions and 63 deletions

View File

@@ -1,7 +1,6 @@
#include "task.h"
#include "api.js.h"
#include "bcrypt.js.h"
#include "database.js.h"
#include "file.js.h"
#include "httpd.js.h"
@@ -1728,7 +1727,6 @@ void tf_task_activate(tf_task_t* task)
tf_trace_set_write_callback(task->_trace, _tf_task_trace_to_parent, task);
}
tf_bcrypt_register(context);
tf_util_register(context);
JS_SetPropertyStr(context, global, "exit", JS_NewCFunction(context, _tf_task_exit, "exit", 1));
JS_SetPropertyStr(context, global, "version", JS_NewCFunction(context, _tf_task_version, "version", 0));