@stacks/network
Advanced tools
Comparing version 4.2.1 to 4.2.3-pr.4764d64.0
{ | ||
"name": "@stacks/network", | ||
"version": "4.2.1", | ||
"version": "4.2.3-pr.4764d64.0", | ||
"description": "Library for Stacks network operations", | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"@stacks/common": "^4.2.1", | ||
"@stacks/common": "^4.2.3-pr.4764d64.0", | ||
"cross-fetch": "^3.1.5" | ||
@@ -66,3 +66,3 @@ }, | ||
}, | ||
"gitHead": "cff19320b26d01f0d909c8433918aed84adb478c" | ||
"gitHead": "4764d64ea5b0747d5f124364dd206e71266f8fd9" | ||
} |
@@ -61,3 +61,3 @@ # @stacks/network | ||
const myApiMiddleware = createApiKeyMiddleware('example_e8e044a3_41d8b0fe_3dd3988ef302'); | ||
const myFetchFn = createFetchFn(apiMiddleware); // middlewares can be used to create a new fetch function | ||
const myFetchFn = createFetchFn(myApiMiddleware); // middlewares can be used to create a new fetch function | ||
const myMainnet = new StacksMainnet({ fetchFn: myFetchFn }); // the fetchFn options can be passed to a StacksNetwork to override the default fetch function | ||
@@ -64,0 +64,0 @@ |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
119811
1