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

@wix/sdk-types

Package Overview
Dependencies
Maintainers
0
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.11.0 to 1.12.0

8

build/index.d.ts

@@ -34,2 +34,3 @@ type HostModule<T, H extends Host> = {

wixAPIFetch: (relativeUrl: string, options: RequestInit) => Promise<Response>;
getActiveToken?: () => string | undefined;
}

@@ -69,2 +70,9 @@ type RequestOptionsFactory<TResponse = any, TData = any> = (context: any) => RequestOptions<TResponse, TData>;

}>;
/**
* This function is used to get the token that is currently active in the context of the strategy.
* This is useful when direct access to the access token is needed
* (such as getTokenInfo that requires the token in the body of the request).
* @returns the token that is currently active in the context of the strategy
*/
getActiveToken?: () => string | undefined;
};

@@ -71,0 +79,0 @@ type BoundAuthenticationStrategy = {

4

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

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

},
"falconPackageHash": "c854d83417d78c1ce56a466e2240fc2d9ea167e2a4541b4b79e57173"
"falconPackageHash": "afea462af817d46a125dccc9e9329bc3c1cb8778bcfbda5664e09896"
}

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