@wix/ditto-codegen-public 1.0.73 → 1.0.74

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.
Files changed (2) hide show
  1. package/dist/out.js +5 -1
  2. package/package.json +2 -2
package/dist/out.js CHANGED
@@ -121643,12 +121643,16 @@ var require_url_resolver = __commonJS({
121643
121643
  return host.replace("create.editorx.com", "editor.editorx.com");
121644
121644
  }
121645
121645
  function resolveMappingsByDomain(domain, domainToMappings) {
121646
- const mappings = domainToMappings[domain] || domainToMappings[USER_DOMAIN];
121646
+ const mappings = domainToMappings[domain];
121647
121647
  if (mappings) {
121648
121648
  return mappings;
121649
121649
  }
121650
121650
  const rootDomainMappings = resolveRootDomain(domain, domainToMappings);
121651
121651
  if (!rootDomainMappings) {
121652
+ const userMappings = domainToMappings[USER_DOMAIN];
121653
+ if (userMappings) {
121654
+ return userMappings;
121655
+ }
121652
121656
  if (isBaseDomain(domain)) {
121653
121657
  return domainToMappings[wwwBaseDomain];
121654
121658
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/ditto-codegen-public",
3
- "version": "1.0.73",
3
+ "version": "1.0.74",
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": "d9dc2a14abf3abf3e8d15476dda9bb636a32fbc71b6833ec3d168d6e"
27
+ "falconPackageHash": "58ca229ae94bedb22a27232b8bf20f30d0ab46586cb568fe2052d089"
28
28
  }