@squzy/vanilla
Advanced tools
Comparing version 0.1.1-alpha.0 to 0.1.2-alpha.0
{ | ||
"name": "@squzy/vanilla", | ||
"version": "0.1.1-alpha.0", | ||
"version": "0.1.2-alpha.0", | ||
"description": "> TODO: description", | ||
@@ -34,3 +34,3 @@ "author": "Iurii Panarin <tduble94@gmail.com>", | ||
}, | ||
"gitHead": "2c1449a7385593843264c62bb7d9222e64456d0a" | ||
"gitHead": "9ad315d97c007e29d7cc20746508d86a2d29a808" | ||
} |
@@ -13,4 +13,5 @@ # @squzy/vanilla | ||
import { createFetch } from "@squzy/vanilla" | ||
import { createApplication } from "@squzy/core" | ||
const fetch = createFetch({ | ||
const application = await createApplication({ | ||
apiHost: "http://localhost:8080", | ||
@@ -20,4 +21,6 @@ name: "nodejs" | ||
const fetch = createFetch(application) | ||
fetch("https://google.ru") - same like native | ||
``` | ||
``` |
8011
25