@markprompt/core
Advanced tools
Comparing version 0.21.2 to 0.21.3
@@ -20,3 +20,10 @@ import defaults from 'defaults'; | ||
}), | ||
body: JSON.stringify(feedback), | ||
body: JSON.stringify({ | ||
...feedback, | ||
// /v1/feedback was using promptId. The new /feedback endpoint | ||
// now uses messageId. We should eventually migrate everything | ||
// to messageId, but now we just copy the promptId parameter | ||
// to messageId, so that it works with both endpoints. | ||
messageId: feedback.promptId, | ||
}), | ||
signal: resolvedOptions?.signal, | ||
@@ -23,0 +30,0 @@ }); |
{ | ||
"name": "@markprompt/core", | ||
"version": "0.21.2", | ||
"version": "0.21.3", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
72728
1013