Socket
Socket
Sign inDemoInstall

@prismatic-io/spectral

Package Overview
Dependencies
Maintainers
5
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prismatic-io/spectral - npm Package Compare versions

Comparing version 7.6.2 to 7.6.3

1

dist/serverTypes/index.d.ts

@@ -127,2 +127,3 @@ /// <reference types="node" />

instance: Instance;
user: User;
}

@@ -129,0 +130,0 @@ export declare type DataSourceResult = {

@@ -158,2 +158,8 @@ "use strict";

},
user: {
id: "userId",
email: "example@email.com",
externalId: "1234",
name: "Example",
},
};

@@ -160,0 +166,0 @@ /**

3

dist/types/DataSourcePerformFunction.d.ts

@@ -1,2 +0,2 @@

import { Inputs, DataSourceResult, DataSourceType, ActionInputParameters, ActionLogger, Customer, Instance } from ".";
import { Inputs, DataSourceResult, DataSourceType, ActionInputParameters, ActionLogger, Customer, Instance, User } from ".";
/** Context provided to perform method containing helpers and contextual data */

@@ -7,4 +7,5 @@ export interface DataSourceContext {

instance: Instance;
user: User;
}
/** Definition of the function to perform when a Data Source is invoked. */
export declare type DataSourcePerformFunction<TInputs extends Inputs, TDataSourceType extends DataSourceType> = (context: DataSourceContext, params: ActionInputParameters<TInputs>) => Promise<DataSourceResult<TDataSourceType>>;
{
"name": "@prismatic-io/spectral",
"version": "7.6.2",
"version": "7.6.3",
"description": "Utility library for building Prismatic components",

@@ -5,0 +5,0 @@ "keywords": [

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