Socket
Socket
Sign inDemoInstall

@wix/api-client

Package Overview
Dependencies
35
Maintainers
26
Versions
112
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.2 to 1.9.3

19

build/wixClient.d.ts

@@ -14,15 +14,8 @@ import { AuthenticationStrategy, BoundAuthenticationStrategy, BuildEventDefinition, BuildRESTFunction, EventDefinition, EventIdentity, Host, HostModule, HostModuleAPI, RESTFunctionDescriptor, SPIDefinition } from '@wix/sdk-types';

*/
export type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined> = BuildRESTDescriptors<T> & BuildAmbassadorDescriptors<T> & BuildEventDefinitions<T> & (H extends Host<any> ? BuildHostDescriptors<T> : {});
type BuildRESTDescriptors<T extends Descriptors> = T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : ConditionalExcept<{
[Key in keyof T]: T[Key] extends Descriptors ? BuildRESTDescriptors<T[Key]> : never;
}, EmptyObject>;
type BuildAmbassadorDescriptors<T extends Descriptors> = T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : ConditionalExcept<{
[Key in keyof T]: T[Key] extends Descriptors ? BuildAmbassadorDescriptors<T[Key]> : never;
}, EmptyObject>;
type BuildHostDescriptors<T extends Descriptors> = T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
[Key in keyof T]: T[Key] extends Descriptors ? BuildHostDescriptors<T[Key]> : never;
}, EmptyObject>;
type BuildEventDefinitions<T extends Descriptors> = T extends EventDefinition ? BuildEventDefinition<T> : ConditionalExcept<{
[Key in keyof T]: T[Key] extends Descriptors ? BuildEventDefinitions<T[Key]> : never;
}, EmptyObject>;
export type BuildDescriptors<T extends Descriptors, H extends Host<any> | undefined, Depth extends number = 5> = {
done: T;
recurse: T extends AmbassadorFunctionDescriptor ? BuildAmbassadorFunction<T> : T extends RESTFunctionDescriptor ? BuildRESTFunction<T> : T extends EventDefinition ? BuildEventDefinition<T> : T extends HostModule<any, any> ? HostModuleAPI<T> : ConditionalExcept<{
[Key in keyof T]: T[Key] extends Descriptors ? BuildDescriptors<T[Key], H, [-1, 0, 1, 2, 3, 4, 5][Depth]> : never;
}, EmptyObject>;
}[Depth extends -1 ? 'done' : 'recurse'];
/**

@@ -29,0 +22,0 @@ * Descriptors are objects that describe the API of a module, and the module

{
"name": "@wix/api-client",
"version": "1.9.2",
"version": "1.9.3",
"license": "UNLICENSED",

@@ -36,3 +36,3 @@ "main": "build/index.js",

"@wix/metro-runtime": "^1.1677.0",
"@wix/sdk": "1.9.2"
"@wix/sdk": "1.9.3"
},

@@ -50,3 +50,3 @@ "wix": {

},
"falconPackageHash": "7dcb151b9ada75e2238d6ea5edc3bbdc614c615a6545c23997655466"
"falconPackageHash": "258e361f634a53da8a5bbd0435944f4e4f79a4daa3d80142fec9fd59"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc