Socket
Socket
Sign inDemoInstall

@wix/blog_categories

Package Overview
Dependencies
Maintainers
26
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/blog_categories - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

33

build/cjs/src/blog-v3-category-categories.public.d.ts

@@ -6,34 +6,3 @@ import { HttpClient } from '@wix/sdk-types';

};
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions) => Promise<import("./blog-v3-category-categories.universal").Category & {
_id: string;
label: string;
postCount: number;
url: string;
title: string;
coverMedia?: {
image: string;
video: string;
enabled: boolean;
displayed: boolean;
custom: boolean;
} | undefined;
oldRank: number;
slug: string;
seoData?: {
tags: {
type: string;
children: string;
custom: boolean;
disabled: boolean;
}[];
settings?: {
preventAutoRedirect: boolean;
keywords: {
term: string;
isMain: boolean;
}[];
} | undefined;
} | undefined;
coverImage: string;
}>;
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions) => Promise<import("./blog-v3-category-categories.universal").GetCategoryResponse & import("./blog-v3-category-categories.universal").GetCategoryResponseNonNullableFields>;
export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string, options?: GetCategoryBySlugOptions) => Promise<import("./blog-v3-category-categories.universal").GetCategoryBySlugResponse & import("./blog-v3-category-categories.universal").GetCategoryBySlugResponseNonNullableFields>;

@@ -40,0 +9,0 @@ export declare function listCategories(httpClient: HttpClient): (options?: ListCategoriesOptions) => Promise<import("./blog-v3-category-categories.universal").ListCategoriesResponse & import("./blog-v3-category-categories.universal").ListCategoriesResponseNonNullableFields>;

3

build/cjs/src/blog-v3-category-categories.universal.d.ts

@@ -760,5 +760,4 @@ import { EventDefinition } from '@wix/sdk-types';

* @applicableIdentity VISITOR
* @returns Category info.
*/
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<Category & NonNullable<GetCategoryResponseNonNullableFields>['category']>;
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<GetCategoryResponse & GetCategoryResponseNonNullableFields>;
export interface GetCategoryOptions {

@@ -765,0 +764,0 @@ /** @internal */

@@ -100,3 +100,2 @@ "use strict";

* @applicableIdentity VISITOR
* @returns Category info.
*/

@@ -135,3 +134,3 @@ async function getCategory(categoryId, options) {

},
]))?.category;
]));
}

@@ -138,0 +137,0 @@ catch (err) {

@@ -6,34 +6,3 @@ import { HttpClient } from '@wix/sdk-types';

};
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions) => Promise<import("./blog-v3-category-categories.universal").Category & {
_id: string;
label: string;
postCount: number;
url: string;
title: string;
coverMedia?: {
image: string;
video: string;
enabled: boolean;
displayed: boolean;
custom: boolean;
} | undefined;
oldRank: number;
slug: string;
seoData?: {
tags: {
type: string;
children: string;
custom: boolean;
disabled: boolean;
}[];
settings?: {
preventAutoRedirect: boolean;
keywords: {
term: string;
isMain: boolean;
}[];
} | undefined;
} | undefined;
coverImage: string;
}>;
export declare function getCategory(httpClient: HttpClient): (categoryId: string, options?: GetCategoryOptions) => Promise<import("./blog-v3-category-categories.universal").GetCategoryResponse & import("./blog-v3-category-categories.universal").GetCategoryResponseNonNullableFields>;
export declare function getCategoryBySlug(httpClient: HttpClient): (slug: string, options?: GetCategoryBySlugOptions) => Promise<import("./blog-v3-category-categories.universal").GetCategoryBySlugResponse & import("./blog-v3-category-categories.universal").GetCategoryBySlugResponseNonNullableFields>;

@@ -40,0 +9,0 @@ export declare function listCategories(httpClient: HttpClient): (options?: ListCategoriesOptions) => Promise<import("./blog-v3-category-categories.universal").ListCategoriesResponse & import("./blog-v3-category-categories.universal").ListCategoriesResponseNonNullableFields>;

@@ -760,5 +760,4 @@ import { EventDefinition } from '@wix/sdk-types';

* @applicableIdentity VISITOR
* @returns Category info.
*/
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<Category & NonNullable<GetCategoryResponseNonNullableFields>['category']>;
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<GetCategoryResponse & GetCategoryResponseNonNullableFields>;
export interface GetCategoryOptions {

@@ -765,0 +764,0 @@ /** @internal */

@@ -74,3 +74,2 @@ import { serializer, transformError, resolveQueryFieldsTransformationPaths, } from '@wix/metro-runtime/velo';

* @applicableIdentity VISITOR
* @returns Category info.
*/

@@ -109,3 +108,3 @@ export async function getCategory(categoryId, options) {

},
]))?.category;
]));
}

@@ -112,0 +111,0 @@ catch (err) {

{
"name": "@wix/blog_categories",
"version": "1.0.14",
"version": "1.0.15",
"publishConfig": {

@@ -42,3 +42,3 @@ "registry": "https://registry.npmjs.org/",

},
"falconPackageHash": "79302de80bf27034a02ba7ce40a273c16e2c8a8e81ee0bb03cfdd084"
"falconPackageHash": "d0895aa1edfb148f7bd91721ef50ede1cc3ddf6ee0c43016384408c0"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc