UNPKG
@pirichain/core
Version:
latest (3.5.10)
3.5.10
3.5.9
3.5.8
3.5.7
3.5.6
3.5.5
3.5.4
3.5.3
3.5.2
3.5.1
3.5.0
2.2.3
2.2.2
2.2.1
2.2.0
2.1.11
2.1.10
2.1.9
2.1.8
2.1.7
2.1.6
2.1.5
2.1.4
2.1.3
2.1.2
2.1.1
2.1.0
2.0.0
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Pirichain API package contains base commands for common usage.
github.com/pirichain
pirichain/api
@pirichain/core
/
dist
/
src
/
config
/
response.d.ts
7 lines
•
296 B
TypeScript
View Raw
1
2
3
4
5
6
7
export
declare
class
FetchResponse
{
private
readonly
baseURL;
constructor
(
baseURL
:
string
);
getResponse
(
endpoint
:
string
,
config
?:
RequestInit
):
Promise
<
any
>;
postResponse
(
endpoint
:
string
,
data
?:
any
,
config
?:
RequestInit
):
Promise
<
any
>; }
//# sourceMappingURL=response.d.ts.map