@gendive/slide 0.1.11 → 0.1.12
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.
package/dist/devdive-slide.es.js
CHANGED
|
@@ -6328,14 +6328,19 @@ const xv = async (t, e, n, o, i, c) => {
|
|
|
6328
6328
|
})
|
|
6329
6329
|
});
|
|
6330
6330
|
if (!u.ok) {
|
|
6331
|
-
const
|
|
6331
|
+
const y = await u.json().catch(() => ({}));
|
|
6332
6332
|
throw new $f(
|
|
6333
|
-
|
|
6334
|
-
|
|
6333
|
+
y.detail || `DevDive API 오류: ${u.status}`,
|
|
6334
|
+
y.code,
|
|
6335
6335
|
u.status
|
|
6336
6336
|
);
|
|
6337
6337
|
}
|
|
6338
|
-
|
|
6338
|
+
const A = await u.json();
|
|
6339
|
+
return A.result && !A.content ? {
|
|
6340
|
+
content: {
|
|
6341
|
+
text: typeof A.result == "string" ? A.result : JSON.stringify(A.result)
|
|
6342
|
+
}
|
|
6343
|
+
} : A;
|
|
6339
6344
|
}, $S = async (t, e) => {
|
|
6340
6345
|
const o = `당신은 프레젠테이션 콘텐츠 작성 전문가입니다. ${{
|
|
6341
6346
|
title: "제목으로 사용할 짧고 임팩트 있는",
|