@funkit/api-base
Advanced tools
Comparing version 1.0.0 to 1.0.1
# @funkit/api-base | ||
## 1.0.1 | ||
### Patch Changes | ||
- d7e5c7d: fix: circular dependencies | ||
## 1.0.0 | ||
@@ -4,0 +10,0 @@ |
@@ -13,2 +13,1 @@ import { RetryOptions } from './retry'; | ||
export type PutRequest = Omit<BaseRequest, 'method'>; | ||
export type BaseResponse = any; |
import { PartialAttemptOptions } from '@lifeomic/attempt'; | ||
import { BaseResponse } from './request'; | ||
export type BaseResponse = any; | ||
export type RetryOptions = PartialAttemptOptions<BaseResponse>; | ||
export declare const DEFAULT_RETRY_OPTIONS: RetryOptions; |
import { BaseRequest } from '../consts/request'; | ||
import { BaseResponse, DeleteRequest, GetRequest, PostRequest, PutRequest } from './../consts/request'; | ||
import { BaseResponse } from '../consts/retry'; | ||
import { DeleteRequest, GetRequest, PostRequest, PutRequest } from './../consts/request'; | ||
export declare const sendRequest: ({ uri, method, apiKey, body, retryOptions, }: BaseRequest) => Promise<BaseResponse>; | ||
@@ -4,0 +5,0 @@ export declare function sendGetRequest({ uri, apiKey, retryOptions, }: GetRequest): Promise<BaseResponse>; |
{ | ||
"name": "@funkit/api-base", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Base API for Funkit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
154412