@wix/ditto-codegen-public 1.0.23 → 1.0.24
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/out.js +12 -11
- package/package.json +2 -2
package/dist/out.js
CHANGED
|
@@ -74358,13 +74358,13 @@ var require_instrumentation3 = __commonJS({
|
|
|
74358
74358
|
constructor(id) {
|
|
74359
74359
|
this.id = id;
|
|
74360
74360
|
}
|
|
74361
|
-
onStart(span
|
|
74361
|
+
onStart(span) {
|
|
74362
74362
|
try {
|
|
74363
|
-
span.setAttribute
|
|
74363
|
+
span.setAttribute?.("session.id", this.id);
|
|
74364
74364
|
} catch {
|
|
74365
74365
|
}
|
|
74366
74366
|
}
|
|
74367
|
-
onEnd(
|
|
74367
|
+
onEnd() {
|
|
74368
74368
|
}
|
|
74369
74369
|
shutdown() {
|
|
74370
74370
|
return Promise.resolve();
|
|
@@ -74925,7 +74925,7 @@ var require_read_access_token_from_dev_machine = __commonJS({
|
|
|
74925
74925
|
console.warn(`\u26A0\uFE0F ${authFilePath} doesn't contain the auth token property`);
|
|
74926
74926
|
return void 0;
|
|
74927
74927
|
} catch (error) {
|
|
74928
|
-
console.warn(`\u26A0\uFE0F ${authFilePath} isn't found or isn't parseable
|
|
74928
|
+
console.warn(`\u26A0\uFE0F ${authFilePath} isn't found or isn't parseable`, error);
|
|
74929
74929
|
return void 0;
|
|
74930
74930
|
}
|
|
74931
74931
|
}
|
|
@@ -74959,7 +74959,7 @@ var require_context = __commonJS({
|
|
|
74959
74959
|
clear() {
|
|
74960
74960
|
this.history = [];
|
|
74961
74961
|
}
|
|
74962
|
-
async init(
|
|
74962
|
+
async init() {
|
|
74963
74963
|
this.history = [];
|
|
74964
74964
|
}
|
|
74965
74965
|
};
|
|
@@ -74982,8 +74982,8 @@ var require_context = __commonJS({
|
|
|
74982
74982
|
}
|
|
74983
74983
|
}
|
|
74984
74984
|
});
|
|
74985
|
-
var initCtx = async (
|
|
74986
|
-
await exports2.ctx.history.init(
|
|
74985
|
+
var initCtx = async () => {
|
|
74986
|
+
await exports2.ctx.history.init();
|
|
74987
74987
|
return exports2.ctx;
|
|
74988
74988
|
};
|
|
74989
74989
|
exports2.initCtx = initCtx;
|
|
@@ -120400,7 +120400,7 @@ var require_orchestrator = __commonJS({
|
|
|
120400
120400
|
}
|
|
120401
120401
|
const fullPath = path_1.default.join(outputPath, file.path);
|
|
120402
120402
|
switch (file.operation) {
|
|
120403
|
-
case "insert":
|
|
120403
|
+
case "insert": {
|
|
120404
120404
|
if (!file.content) {
|
|
120405
120405
|
console.warn(`\u26A0\uFE0F Skipping insert operation for ${file.path}: no content provided`);
|
|
120406
120406
|
continue;
|
|
@@ -120412,6 +120412,7 @@ var require_orchestrator = __commonJS({
|
|
|
120412
120412
|
fs_1.default.writeFileSync(fullPath, file.content.trim());
|
|
120413
120413
|
console.log(`\u{1F4DD} Inserted: ${file.path}`);
|
|
120414
120414
|
break;
|
|
120415
|
+
}
|
|
120415
120416
|
case "update":
|
|
120416
120417
|
if (!file.content) {
|
|
120417
120418
|
console.warn(`\u26A0\uFE0F Skipping update operation for ${file.path}: no content provided`);
|
|
@@ -120734,7 +120735,7 @@ var require_utils18 = __commonJS({
|
|
|
120734
120735
|
if (!(key in base)) {
|
|
120735
120736
|
try {
|
|
120736
120737
|
base[key] = anyErr[key];
|
|
120737
|
-
} catch
|
|
120738
|
+
} catch {
|
|
120738
120739
|
}
|
|
120739
120740
|
}
|
|
120740
120741
|
}
|
|
@@ -120754,7 +120755,7 @@ var require_utils18 = __commonJS({
|
|
|
120754
120755
|
if (typeof error === "object" && error !== null) {
|
|
120755
120756
|
try {
|
|
120756
120757
|
return JSON.parse(JSON.stringify(error));
|
|
120757
|
-
} catch
|
|
120758
|
+
} catch {
|
|
120758
120759
|
return { message: String(error) };
|
|
120759
120760
|
}
|
|
120760
120761
|
}
|
|
@@ -121013,7 +121014,7 @@ var require_index = __commonJS({
|
|
|
121013
121014
|
}
|
|
121014
121015
|
});
|
|
121015
121016
|
}
|
|
121016
|
-
(0, context_1.initCtx)(
|
|
121017
|
+
(0, context_1.initCtx)().then((ctx) => {
|
|
121017
121018
|
main(ctx);
|
|
121018
121019
|
});
|
|
121019
121020
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/ditto-codegen-public",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.24",
|
|
4
4
|
"description": "AI-powered Wix CLI app generator - standalone executable",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node build.mjs",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
"@wix/ditto-codegen": "1.0.0",
|
|
25
25
|
"esbuild": "^0.25.9"
|
|
26
26
|
},
|
|
27
|
-
"falconPackageHash": "
|
|
27
|
+
"falconPackageHash": "fa966cef3dac1ed79c35395fb325d43dfed817110edb09b3e6ee3ce4"
|
|
28
28
|
}
|