@squzy/vanilla
Advanced tools
Comparing version 0.1.2-alpha.0 to 0.1.3-alpha.0
@@ -1,2 +0,2 @@ | ||
import { Options } from "@squzy/core"; | ||
export declare function createFetch(opts: Options): (input: RequestInfo, init?: RequestInit, parentId?: string) => Promise<Error | Response>; | ||
import { IApp } from "@squzy/core"; | ||
export declare function createFetch(application: IApp): (input: RequestInfo, init?: RequestInit, parentId?: string) => Promise<Error | Response>; |
@@ -6,6 +6,5 @@ "use strict"; | ||
const uri_parse_lib_1 = require("uri-parse-lib"); | ||
function createFetch(opts) { | ||
const _app = core_1.createApplication(opts); | ||
function createFetch(application) { | ||
return (input, init, parentId) => { | ||
return _app.then((app) => { | ||
return Promise.resolve(application).then((app) => { | ||
let transactionName; | ||
@@ -12,0 +11,0 @@ let reqUrl; |
{ | ||
"name": "@squzy/vanilla", | ||
"version": "0.1.2-alpha.0", | ||
"version": "0.1.3-alpha.0", | ||
"description": "> TODO: description", | ||
@@ -31,6 +31,6 @@ "author": "Iurii Panarin <tduble94@gmail.com>", | ||
"dependencies": { | ||
"@squzy/core": "^0.1.1-alpha.0", | ||
"@squzy/core": "^0.1.3-alpha.0", | ||
"uri-parse-lib": "^2.3.0" | ||
}, | ||
"gitHead": "9ad315d97c007e29d7cc20746508d86a2d29a808" | ||
"gitHead": "b4acadbcf4494ebbd93c1eeeed3fca6e9253a4c6" | ||
} |
Sorry, the diff of this file is not supported yet
7972
79
+ Added@squzy/core@0.1.3-alpha.0(transitive)
- Removed@squzy/core@0.1.1-alpha.0(transitive)
Updated@squzy/core@^0.1.3-alpha.0