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.19.4 to 0.19.5

4

dist/src/query/ApiQueryBuilder.d.ts
/// <reference types="node" />
import { QueryStep, ApiQueryScope, ApiQuery } from "./ApiQuery";
import { ApiQuery, ApiQueryScope, QueryStep } from "./ApiQuery";
import { ApiEdgeQuery } from "../edge/ApiEdgeQuery";
import { ApiEdgeQueryContext } from "../edge/ApiEdgeQueryContext";
import { ApiEdgeRelation } from "../relations/ApiEdgeRelation";
import { PathSegment, ApiRequest } from "../request/ApiRequest";
import { ApiRequest, PathSegment } from "../request/ApiRequest";
import { ApiEdgeQueryResponse } from "../edge/ApiEdgeQueryResponse";

@@ -8,0 +8,0 @@ import { Api } from "../Api";

@@ -132,3 +132,4 @@ "use strict";

debug(`[${scope.query.id}]`, this.inspect());
this.query.body = scope.body;
if (this.query.type !== ApiEdgeQueryType_1.ApiEdgeQueryType.Read)
this.query.body = scope.body;
this.query.context = scope.context;

@@ -135,0 +136,0 @@ this.query.execute().then((response) => {

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

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

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

import {QueryStep, ApiQueryScope, ApiQuery} from "./ApiQuery";
import {ApiQuery, ApiQueryScope, QueryStep} from "./ApiQuery";
import {ApiEdgeQuery} from "../edge/ApiEdgeQuery";

@@ -8,4 +8,9 @@ import {ApiEdgeQueryContext} from "../edge/ApiEdgeQueryContext";

import {
PathSegment, EntryPathSegment, RelatedFieldPathSegment, ApiRequest,
EdgePathSegment, ApiRequestType, MethodPathSegment
ApiRequest,
ApiRequestType,
EdgePathSegment,
EntryPathSegment,
MethodPathSegment,
PathSegment,
RelatedFieldPathSegment
} from "../request/ApiRequest";

@@ -17,6 +22,7 @@ import {ApiEdgeQueryResponse} from "../edge/ApiEdgeQueryResponse";

import {ApiEdgeMethod, ApiEdgeMethodScope} from "../edge/ApiEdgeMethod";
import {ApiEdgeAction, ApiEdgeActionTriggerKind, ApiEdgeActionTrigger} from "../edge/ApiEdgeAction";
import {ApiEdgeAction, ApiEdgeActionTrigger, ApiEdgeActionTriggerKind} from "../edge/ApiEdgeAction";
import {ApiAction, ApiActionTriggerKind} from "./ApiAction";
import {ApiEdgeDefinition} from "../edge/ApiEdgeDefinition";
import {OneToManyRelation} from "../relations/OneToManyRelation";
const parse = require('obj-parse');

@@ -158,3 +164,3 @@ const debug = require('debug')('api-core');

this.query.body = scope.body;
if(this.query.type !== ApiEdgeQueryType.Read) this.query.body = scope.body;
this.query.context = scope.context;

@@ -161,0 +167,0 @@

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