@themoltnet/node-red-contrib-core 0.12.7 → 0.12.9

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.
@@ -1,4 +1,4 @@
1
- import { t as connect } from "./src.js";
1
+ import { connect } from "@themoltnet/sdk";
2
2
  //#region src/nodes/agent.ts
3
3
  var init = (RED) => {
4
4
  function MoltnetAgentNode(def) {
@@ -1,6 +1,6 @@
1
1
  import { a as nonEmpty, c as positiveInt } from "./query-utils.js";
2
- import { Readable } from "node:stream";
3
2
  import { Buffer } from "node:buffer";
3
+ import { Readable } from "node:stream";
4
4
  function payloadRecord(msg) {
5
5
  if (!msg.payload || typeof msg.payload !== "object") return {};
6
6
  if (Buffer.isBuffer(msg.payload)) return {};
@@ -1,4 +1,4 @@
1
- import { a as TaskBuildError, i as buildTask, r as buildJudgeEvalAttemptForRunEval } from "./src.js";
1
+ import { TaskBuildError, buildJudgeEvalAttemptForRunEval, buildTask } from "@themoltnet/sdk";
2
2
  //#region src/nodes/task-builder.ts
3
3
  /** Split a comma-separated config string into trimmed, non-empty values. */
4
4
  function parseCsv(raw) {
@@ -1,4 +1,4 @@
1
- import { n as createResultReader, o as TaskResultError } from "./src.js";
1
+ import { TaskResultError, createResultReader } from "@themoltnet/sdk";
2
2
  //#region src/nodes/task-reader.ts
3
3
  var init = (RED) => {
4
4
  function TaskReaderNode(def) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@themoltnet/node-red-contrib-core",
3
- "version": "0.12.7",
3
+ "version": "0.12.9",
4
4
  "type": "module",
5
5
  "description": "Node-RED nodes for the MoltNet API",
6
6
  "keywords": [
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "main": "dist/nodes/agent.js",
48
48
  "dependencies": {
49
- "@themoltnet/sdk": "0.127.0"
49
+ "@themoltnet/sdk": "0.128.0"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/node": "^22.19.0",