quidproquo-core
Advanced tools
Comparing version 0.0.56 to 0.0.57
@@ -5,3 +5,3 @@ export declare enum NetworkActionType { | ||
export type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'PATCH'; | ||
export type ResponseTypes = 'arraybuffer' | 'base64' | 'json'; | ||
export type ResponseType = 'binary' | 'json'; | ||
export interface HTTPRequestOptions<T> { | ||
@@ -12,3 +12,3 @@ basePath?: string; | ||
body?: T; | ||
responseType: ResponseTypes; | ||
responseType?: ResponseType; | ||
} | ||
@@ -15,0 +15,0 @@ export interface HTTPNetworkResponse<T> { |
import { Action, ActionProcessor, ActionRequester } from '../../types/Action'; | ||
import { NetworkActionType, HTTPNetworkResponse, HTTPMethod, ResponseTypes } from './NetworkActionType'; | ||
import { NetworkActionType, HTTPNetworkResponse, HTTPMethod, ResponseType } from './NetworkActionType'; | ||
export interface NetworkRequestActionPayload<T> { | ||
@@ -10,3 +10,3 @@ url: string; | ||
headers?: Record<string, string>; | ||
responseType: ResponseTypes; | ||
responseType: ResponseType; | ||
} | ||
@@ -13,0 +13,0 @@ export interface NetworkRequestAction<T> extends Action<NetworkRequestActionPayload<T>> { |
{ | ||
"name": "quidproquo-core", | ||
"version": "0.0.56", | ||
"version": "0.0.57", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
98235