@wix/data-backend-public-sdk-poc
Advanced tools
Comparing version 1.0.52 to 1.0.53
@@ -5,3 +5,2 @@ "use strict"; | ||
const metro_runtime_1 = require("@wix/metro-runtime"); | ||
const metro_runtime_2 = require("@wix/metro-runtime"); | ||
function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) { | ||
@@ -288,3 +287,3 @@ const domainToMappings = { | ||
}; | ||
return (0, metro_runtime_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
return (0, metro_runtime_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -300,3 +299,3 @@ /** | ||
entityFqdn: 'wix.data.v1.data_service', | ||
method: 'GET', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Query', | ||
@@ -308,6 +307,6 @@ url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({ | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
data: payload, | ||
fallback: [ | ||
{ | ||
method: 'GET', | ||
method: 'POST', | ||
url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({ | ||
@@ -318,3 +317,3 @@ protoPath: '/v1/items/query', | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
data: payload, | ||
}, | ||
@@ -321,0 +320,0 @@ ], |
@@ -1,2 +0,1 @@ | ||
import { toURLSearchParams } from '@wix/metro-runtime'; | ||
import { resolveUrl } from '@wix/metro-runtime'; | ||
@@ -295,3 +294,3 @@ function resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl(opts) { | ||
entityFqdn: 'wix.data.v1.data_service', | ||
method: 'GET', | ||
method: 'POST', | ||
methodFqn: 'com.wixpress.cloud.data.api.dataservice.WixDataService.Query', | ||
@@ -303,6 +302,6 @@ url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({ | ||
}), | ||
params: toURLSearchParams(payload), | ||
data: payload, | ||
fallback: [ | ||
{ | ||
method: 'GET', | ||
method: 'POST', | ||
url: resolveComWixpressCloudDataApiDataserviceWixDataServiceUrl({ | ||
@@ -313,3 +312,3 @@ protoPath: '/v1/items/query', | ||
}), | ||
params: toURLSearchParams(payload), | ||
data: payload, | ||
}, | ||
@@ -316,0 +315,0 @@ ], |
{ | ||
"name": "@wix/data-backend-public-sdk-poc", | ||
"version": "1.0.52", | ||
"version": "1.0.53", | ||
"publishConfig": { | ||
@@ -38,3 +38,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "d063cc852f7ce2cd191ca5f231b4104c40bf6f5e2428c13dfb4a49b1" | ||
"falconPackageHash": "b35f7555adbab602cb8d9005d57d685cea1af46cc8794b3a7202d4a3" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
147040
3444