🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

farrow-api

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

farrow-api - npm Package Compare versions

Comparing version

to
2.2.1

2

dist/codegen.js

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

typeDeclarations.push("\nexport type ApiClientLoaderInput = {\n path: string[]\n input: JsonType\n}\n".trim());
typeDeclarations.push("\nexport interface ApiClientLoaderOptions {\n batch?: boolean\n stream?: boolean\n cache?: boolean\n}\n".trim());
typeDeclarations.push("\ndeclare global {\n interface ApiClientLoaderOptions {}\n}\n".trim());
typeDeclarations.push("\nexport type ApiClientOptions = {\n loader: (input: ApiClientLoaderInput, options?: ApiClientLoaderOptions) => Promise<JsonType>\n}\n".trim());

@@ -172,0 +172,0 @@ var handleApi_1 = function (api, path) {

{
"name": "farrow-api",
"version": "2.2.0",
"version": "2.2.1",
"description": "A type-friendly BFF framework",

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

@@ -282,6 +282,4 @@ import { FormatFields, FormatType, FormatTypes, isNamedFormatType } from 'farrow-schema/formatter'

`
export interface ApiClientLoaderOptions {
batch?: boolean
stream?: boolean
cache?: boolean
declare global {
interface ApiClientLoaderOptions {}
}

@@ -362,3 +360,3 @@ `.trim(),

let source = [
const source = [
PREFIX_COMMENT,

@@ -365,0 +363,0 @@ getNoCheck(),

Sorry, the diff of this file is not supported yet