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

@wix/api-client

Package Overview
Dependencies
Maintainers
22
Versions
133
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.6 to 1.7.7

4

build/helpers.js

@@ -19,6 +19,6 @@ // we follow a simplified version of the axios convention

// publicKey is base64 encoded
return typeof btoa !== 'undefined'
? btoa(publicKey)
return typeof atob !== 'undefined'
? atob(publicKey)
: Buffer.from(publicKey, 'base64').toString('utf-8');
}
}

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

*/
export type AssertHostMatches<T extends Descriptors, H extends Host<any>> = T extends HostModule<any, infer U> ? H extends undefined ? never : H extends U ? T : HostModule<any, H> : T extends RESTFunctionDescriptor<any> ? T : {
export type AssertHostMatches<T extends Descriptors, H extends Host<any>> = T extends HostModule<any, infer U> ? H extends undefined ? never : H extends U ? T : `The host of this module does not match host provided to createClient.` : T extends RESTFunctionDescriptor<any> ? T : {
[Key in keyof T]: T[Key] extends Descriptors ? AssertHostMatches<T[Key], H> : T[Key];

@@ -38,0 +38,0 @@ };

{
"name": "@wix/api-client",
"version": "1.7.6",
"version": "1.7.7",
"license": "UNLICENSED",

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

"@babel/runtime": "^7.23.2",
"@wix/identity": "^1.0.73",
"@wix/image-kit": "^1.56.0",
"@wix/identity": "^1.0.74",
"@wix/image-kit": "^1.58.0",
"@wix/redirects": "^1.0.32",

@@ -36,4 +36,4 @@ "@wix/sdk-types": "^1.5.9",

"devDependencies": {
"@wix/metro-runtime": "^1.1635.0",
"@wix/sdk": "1.7.6"
"@wix/metro-runtime": "^1.1638.0",
"@wix/sdk": "1.7.7"
},

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

},
"falconPackageHash": "ff95761a750a5825a0708d74ca33b5b9261924064e04775e3754d3c5"
"falconPackageHash": "fde777124f57b4ef30496771bd2ba9b38f47980514d1d16824a9bf7c"
}
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