@wix/blog_posts
Advanced tools
Comparing version 1.0.50 to 1.0.51
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getTotalPosts = exports.queryPostCountStats = exports.getPostMetrics = exports.queryPosts = exports.listPosts = exports.getPostBySlug = exports.getPost = void 0; | ||
const metro_runtime_1 = require("@wix/metro-runtime"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const float_1 = require("@wix/sdk-runtime/transformations/float"); | ||
@@ -10,3 +10,3 @@ const bytes_1 = require("@wix/sdk-runtime/transformations/bytes"); | ||
const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths"); | ||
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules"); | ||
const rest_modules_2 = require("@wix/sdk-runtime/rest-modules"); | ||
function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) { | ||
@@ -189,3 +189,3 @@ const domainToMappings = { | ||
}; | ||
return (0, rest_modules_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -369,3 +369,3 @@ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) { | ||
}; | ||
return (0, rest_modules_1.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings })); | ||
} | ||
@@ -392,3 +392,3 @@ const PACKAGE_NAME = '@wix/blog_posts'; | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -480,3 +480,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -570,3 +570,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -765,3 +765,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -807,3 +807,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(serializedData), | ||
params: (0, rest_modules_1.toURLSearchParams)(serializedData), | ||
transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [ | ||
@@ -842,3 +842,3 @@ { | ||
}), | ||
params: (0, metro_runtime_1.toURLSearchParams)(payload), | ||
params: (0, rest_modules_1.toURLSearchParams)(payload), | ||
}; | ||
@@ -845,0 +845,0 @@ return metadata; |
@@ -1,2 +0,2 @@ | ||
import { toURLSearchParams } from '@wix/metro-runtime'; | ||
import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules'; | ||
import { transformRESTFloatToSDKFloat } from '@wix/sdk-runtime/transformations/float'; | ||
@@ -3,0 +3,0 @@ import { transformRESTBytesToSDKBytes } from '@wix/sdk-runtime/transformations/bytes'; |
{ | ||
"name": "@wix/blog_posts", | ||
"version": "1.0.50", | ||
"version": "1.0.51", | ||
"publishConfig": { | ||
@@ -46,3 +46,3 @@ "registry": "https://registry.npmjs.org/", | ||
}, | ||
"falconPackageHash": "3486f67a998a2abe322e2bdc2b4732a4d26c46a4fa1f81e9bcb2020e" | ||
"falconPackageHash": "5b7b673a3814b54c8bf2801c2f879785b88171c65b02d4e88271b32f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1430541