New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

api-core

Package Overview
Dependencies
Maintainers
1
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

api-core - npm Package Compare versions

Comparing version 0.17.1 to 0.17.2

2

dist/src/edge/ApiEdgeDefinition.d.ts

@@ -19,2 +19,3 @@ import { ApiEdgeRelation } from "../relations/ApiEdgeRelation";

type: ApiRequestType;
parameters: string[];
}[];

@@ -91,2 +92,3 @@ typings?: {

type: ApiRequestType;
parameters: string[];
}[];

@@ -93,0 +95,0 @@ typings: any;

2

dist/src/edge/ApiEdgeDefinition.js

@@ -27,3 +27,3 @@ "use strict";

fields: this.schema.fields,
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes })),
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes, parameters: m.parameters })),
typings: this.schema.originalSchema

@@ -30,0 +30,0 @@ ? SchemaTypeMapper_1.SchemaTypeMapper.exportSchema(this.schema.originalSchema)

{
"name": "api-core",
"version": "0.17.1",
"version": "0.17.2",
"description": "Model-based dynamic multi-level APIs for any provider, plus multiple consumption channels",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -18,3 +18,3 @@ import {ApiEdgeRelation} from "../relations/ApiEdgeRelation";

fields: string[];
methods: { name: string, type: ApiRequestType }[];
methods: { name: string, type: ApiRequestType, parameters: string[] }[];
typings?: { [key: string]: any };

@@ -96,3 +96,3 @@ allowGet: boolean;

fields: this.schema.fields,
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes })),
methods: this.methods.map(m => ({ name: m.name, type: m.acceptedTypes, parameters: m.parameters })),
//relatedFields,

@@ -99,0 +99,0 @@ typings: this.schema.originalSchema

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