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

@wix/sdk-types

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

11

build/index.d.ts

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

}>;
decodeJWT?: (token: string, verifyCallerClaims?: boolean) => {
decodeJWT?: (token: string, verifyCallerClaims?: boolean) => Promise<{
decoded: {

@@ -52,3 +52,3 @@ data: string;

valid: boolean;
};
}>;
};

@@ -61,6 +61,7 @@ type BoundAuthenticationStrategy = {

type EventDefinition<Payload = unknown> = {
type: string;
type EventDefinition<Payload = unknown, Type extends string = string> = {
type: Type;
__payload: Payload;
};
declare function EventDefinition<Type extends string>(type: Type): <Payload = unknown>() => EventDefinition<Payload, Type>;

@@ -72,2 +73,2 @@ type SPIDefinition<TInput, TResult> = {

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

@@ -6,2 +6,6 @@ "use strict";

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
for (var name in all)
__defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {

@@ -19,2 +23,14 @@ if (from && typeof from === "object" || typeof from === "function") {

var src_exports = {};
__export(src_exports, {
EventDefinition: () => EventDefinition
});
module.exports = __toCommonJS(src_exports);
// src/webhooks.ts
function EventDefinition(type) {
return () => ({ type });
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
EventDefinition
});
{
"name": "@wix/sdk-types",
"version": "1.5.6",
"version": "1.5.7",
"license": "UNLICENSED",

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

},
"falconPackageHash": "413000daa6e1e75d69913de2edf89efad884bb828fc97e9482f472a3"
"falconPackageHash": "11cd2184d696f61c8d1abb447f1f9be0194458f59c8e3b52a4a42c54"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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