Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wix/sdk-types

Package Overview
Dependencies
Maintainers
21
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/sdk-types - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

16

build/index.d.ts

@@ -1,16 +0,6 @@

type HostModule<T, H extends Host> = {
type HostModule<T, Host> = {
__type: 'host';
create(host: H): T;
create(host: Host): T;
};
type HostModuleAPI<T extends HostModule<any, any>> = T extends HostModule<infer U, any> ? U : never;
type Host<Environment = unknown> = {
channel: {
observeEnvironment(callback: (environment: Environment) => unknown): {
disconnect: () => void;
} | Promise<{
disconnect: () => void;
}>;
};
environment?: Environment;
};

@@ -48,2 +38,2 @@ type RESTFunctionDescriptor<T extends (...args: any[]) => any = (...args: any[]) => any> = (httpClient: HttpClient) => T;

export { APIMetadata, AuthenticationStrategy, BuildRESTFunction, Host, HostModule, HostModuleAPI, HttpClient, HttpResponse, RESTFunctionDescriptor, RequestOptions, RequestOptionsFactory };
export { APIMetadata, AuthenticationStrategy, BuildRESTFunction, HostModule, HostModuleAPI, HttpClient, HttpResponse, RESTFunctionDescriptor, RequestOptions, RequestOptionsFactory };

4

package.json
{
"name": "@wix/sdk-types",
"version": "1.2.2",
"version": "1.2.3",
"license": "UNLICENSED",

@@ -63,3 +63,3 @@ "author": {

},
"falconPackageHash": "1e79ae8d7f89805c873eb1606053cfd1112b4534b1e82e16092ad6fb"
"falconPackageHash": "8ea0320b2888cd72b852723e943a71978440a9104bdf2f2791253c9a"
}

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