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.5.2 to 1.5.3

6

build/index.d.ts

@@ -19,5 +19,5 @@ type HostModule<T, H extends Host> = {

interface HttpClient {
request<T>(req: RequestOptionsFactory<T>): Promise<HttpResponse<T>>;
request<TResponse, TData = any>(req: RequestOptionsFactory<TResponse, TData>): Promise<HttpResponse<TResponse>>;
}
type RequestOptionsFactory<T = any> = (context: any) => RequestOptions<T>;
type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;
type HttpResponse<T = any> = {

@@ -30,3 +30,3 @@ data: T;

};
type RequestOptions<Data = any> = {
type RequestOptions<_TResponse = any, Data = any> = {
method: 'POST' | 'GET' | 'PUT' | 'DELETE' | 'PATCH' | 'HEAD' | 'OPTIONS';

@@ -33,0 +33,0 @@ url: string;

{
"name": "@wix/sdk-types",
"version": "1.5.2",
"version": "1.5.3",
"license": "UNLICENSED",

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

"devDependencies": {
"@types/node": "^20.10.0",
"@types/node": "^20.10.2",
"eslint": "^7.32.0",

@@ -61,3 +61,3 @@ "eslint-config-sdk": "0.0.0",

},
"falconPackageHash": "dc7a23cf9438bfbbcb58bb7f92eaf9275a78f18498ecc02ef185f002"
"falconPackageHash": "eb3b93798a0a2ac170eebe9986f88b44569e779a7c80e605455a6e38"
}

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