@nine-lab/nine-mu 0.1.43 → 0.1.44

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nine-lab/nine-mu",
3
- "version": "0.1.43",
3
+ "version": "0.1.44",
4
4
  "description": "AI-Driven Full-Stack Code Fabrication Engine",
5
5
  "type": "module",
6
6
  "main": "./dist/nine-mu.umd.js",
@@ -141,16 +141,8 @@ export class NineChat extends HTMLElement {
141
141
  this.#diffPopup = this.shadowRoot.querySelector('nine-diff-popup');
142
142
  }
143
143
 
144
- /**
145
- * 소스 비교 팝업을 띄우고 사용자의 최종 확정 본을 반환합니다.
146
- * @param {Object} params - { asis, tobe, lang }
147
- * @returns {Promise<string|null>} - 확정 시 소스코드, 취소 시 null
148
- */
149
- showDiff = async ({ asis, tobe, lang }) => {
150
- // NineDiffPopup에 만들어둔 .wait() 또는 .open()을 연동
151
- return await this.#diffPopup.popup()
152
- .data(asis, tobe, lang)
153
- .wait(); // 사용자가 버튼을 누를 때까지 여기서 await 걸림
144
+ showDiff = (data) => {
145
+ this.#diffPopup.popup().data(data);
154
146
  }
155
147
  }
156
148