custom-element-flow
Advanced tools
Comparing version 1.0.56 to 1.0.57
@@ -54,2 +54,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const authData = yield getAuthData(); | ||
console.log("REQ MSID", msid); | ||
if (authData) { | ||
@@ -74,2 +75,3 @@ const { data } = yield axios.post('https://manage.wix.com/account/sites/v2/sites/query', { | ||
}); | ||
console.log("DATA MSID", data); | ||
return { | ||
@@ -112,2 +114,3 @@ site: data.sites[0], | ||
return __awaiter(this, void 0, void 0, function* () { | ||
console.log("SITE REQ", site); | ||
const { htmlAppId, editUrl, viewUrl, id } = site; | ||
@@ -114,0 +117,0 @@ const { appMarketParams } = yield getAppMarketParams(appId); |
{ | ||
"name": "custom-element-flow", | ||
"version": "1.0.56", | ||
"version": "1.0.57", | ||
"description": "My New Project description.", | ||
@@ -5,0 +5,0 @@ "type": "module", |
@@ -75,2 +75,3 @@ import axios from 'axios'; | ||
console.log("REQ MSID", msid) | ||
if (authData) { | ||
@@ -98,2 +99,3 @@ const { data } = await axios.post<{ sites: MetaSite[] }>('https://manage.wix.com/account/sites/v2/sites/query', | ||
console.log("DATA MSID", data) | ||
return { | ||
@@ -132,2 +134,3 @@ site: data.sites[0], | ||
export async function generateSiteUrls(site: MetaSite, appId: string): Promise<{ editorStartUrl: string; liveSiteStartUrl: string }> { | ||
console.log("SITE REQ", site) | ||
const { htmlAppId, editUrl, viewUrl, id } = site; | ||
@@ -134,0 +137,0 @@ const { appMarketParams } = await getAppMarketParams(appId); |
68625
1783