Socket
Socket
Sign inDemoInstall

@wix/api-client

Package Overview
Dependencies
Maintainers
22
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wix/api-client - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2

10

build/wixClient.d.ts

@@ -64,6 +64,6 @@ import { AuthenticationStrategy, BoundAuthenticationStrategy, BuildRESTFunction, Host, HostModule, HostModuleAPI, RESTFunctionDescriptor, EventDefinition } from '@wix/sdk-types';

webhooks: {
process<ExpectedEvents extends EventDefinition[] = []>(jwt: string, opts?: {
process<ExpectedEvents extends EventDefinition<any>[] = []>(jwt: string, opts?: {
expectedEvents: ExpectedEvents;
}): ProcessedEvent<ExpectedEvents>;
processRequest<ExpectedEvents extends EventDefinition[] = []>(request: Request, opts?: {
processRequest<ExpectedEvents extends EventDefinition<any>[] = []>(request: Request, opts?: {
expectedEvents: ExpectedEvents;

@@ -73,4 +73,4 @@ }): Promise<ProcessedEvent<ExpectedEvents>>;

} & BuildDescriptors<T, H>;
type ResolvePossibleEvents<T extends EventDefinition[]> = {
[K in keyof T]: T[K] extends EventDefinition ? {
type ResolvePossibleEvents<T extends EventDefinition<any>[]> = {
[K in keyof T]: T[K] extends EventDefinition<any> ? {
eventType: T[K]['type'];

@@ -80,3 +80,3 @@ payload: T[K]['__payload'];

} extends (infer U)[] ? U : never;
export type ProcessedEvent<T extends EventDefinition[] = []> = {
export type ProcessedEvent<T extends EventDefinition<any>[] = []> = {
instanceId: string;

@@ -83,0 +83,0 @@ } & (T['length'] extends 0 ? {

{
"name": "@wix/api-client",
"version": "1.7.1",
"version": "1.7.2",
"license": "UNLICENSED",

@@ -24,6 +24,6 @@ "main": "build/index.js",

"@babel/runtime": "^7.23.2",
"@wix/identity": "^1.0.71",
"@wix/image-kit": "^1.49.0",
"@wix/identity": "^1.0.72",
"@wix/image-kit": "^1.50.0",
"@wix/redirects": "^1.0.32",
"@wix/sdk-types": "^1.5.4",
"@wix/sdk-types": "^1.5.5",
"crypto-js": "^4.2.0",

@@ -36,4 +36,4 @@ "jsonwebtoken": "^9.0.2",

"devDependencies": {
"@wix/metro-runtime": "^1.1613.0",
"@wix/sdk": "1.7.1"
"@wix/metro-runtime": "^1.1616.0",
"@wix/sdk": "1.7.2"
},

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

},
"falconPackageHash": "6012bbbe38c3ddee37d832d703a5da27fc969e90d1cfd9875e982d11"
"falconPackageHash": "7e631ffc2f146e6bf55d6dcd916531cf8b460c7623dcc3953e49516b"
}
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