UNPKG
@bigmi/core
Version:
alpha (0.6.6-alpha.2)
beta (0.4.0-beta.1)
latest (0.7.0)
0.7.0
0.6.6-alpha.2
0.6.6-alpha.1
0.6.5
0.6.4
0.6.4-alpha.0
0.6.3
0.6.3-alpha.3
0.6.3-alpha.2
0.6.3-alpha.1
0.6.3-alpha.0
0.6.2
0.6.1
0.6.0
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.5
0.4.4
0.4.3
0.4.2
0.4.0
0.4.0-beta.1
0.4.0-beta.0
0.3.1
0.3.1-beta.0
0.3.0
0.3.0-beta.6
0.3.0-beta.5
0.3.0-beta.4
0.3.0-beta.3
0.3.0-beta.2
0.3.0-beta.1
0.3.0-beta.0
0.2.1
0.2.0
0.2.0-beta.2
0.2.0-beta.1
0.2.0-beta.0
0.1.1
0.1.0
0.0.7
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
TypeScript library for Bitcoin apps.
github.com/lifinance/bigmi
lifinance/bigmi
@bigmi/core
/
dist
/
esm
/
test
/
utils.js
9 lines
•
241 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
export
const
createMockResponse
= (
data, options
) => ({
ok
:
true
,
json
:
() =>
Promise
.
resolve
(data),
headers
:
new
Headers
({
'Content-type'
:
'application/json'
, }), ...options, });
//# sourceMappingURL=utils.js.map