@web3api/react
Advanced tools
Comparing version 0.0.1-prealpha.80 to 0.0.1-prealpha.81
@@ -37,3 +37,3 @@ "use strict"; | ||
return function (_a) { | ||
var redirects = _a.redirects, plugins = _a.plugins, interfaces = _a.interfaces, children = _a.children; | ||
var envs = _a.envs, redirects = _a.redirects, plugins = _a.plugins, interfaces = _a.interfaces, children = _a.children; | ||
var _b = __read(react_1.default.useState(false), 2), clientCreated = _b[0], setClientCreated = _b[1]; | ||
@@ -46,3 +46,3 @@ react_1.default.useEffect(function () { | ||
// Instantiate the client | ||
exports.PROVIDERS[name].client = new client_js_1.Web3ApiClient({ redirects: redirects, plugins: plugins, interfaces: interfaces }); | ||
exports.PROVIDERS[name].client = new client_js_1.Web3ApiClient({ redirects: redirects, plugins: plugins, interfaces: interfaces, envs: envs }); | ||
setClientCreated(true); | ||
@@ -49,0 +49,0 @@ // Unset the client in the global state when |
{ | ||
"name": "@web3api/react", | ||
"description": "Web3API React Integration", | ||
"version": "0.0.1-prealpha.80", | ||
"version": "0.0.1-prealpha.81", | ||
"license": "MIT", | ||
@@ -18,8 +18,8 @@ "repository": { | ||
"test:ci": "yarn test", | ||
"test": "jest --passWithNoTests --runInBand --verbose --env=./src/__tests__/env/index.ts", | ||
"test": "jest --passWithNoTests --runInBand --verbose --onlyChanged --env=./src/__tests__/env/index.ts", | ||
"test:watch": "yarn test --watch" | ||
}, | ||
"dependencies": { | ||
"@web3api/client-js": "0.0.1-prealpha.80", | ||
"@web3api/core-js": "0.0.1-prealpha.80" | ||
"@web3api/client-js": "0.0.1-prealpha.81", | ||
"@web3api/core-js": "0.0.1-prealpha.81" | ||
}, | ||
@@ -33,8 +33,8 @@ "devDependencies": { | ||
"@types/react-dom": "16.9.0", | ||
"@web3api/cli": "0.0.1-prealpha.80", | ||
"@web3api/ens-plugin-js": "0.0.1-prealpha.80", | ||
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.80", | ||
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.80", | ||
"@web3api/test-cases": "0.0.1-prealpha.80", | ||
"@web3api/test-env-js": "0.0.1-prealpha.80", | ||
"@web3api/cli": "0.0.1-prealpha.81", | ||
"@web3api/ens-plugin-js": "0.0.1-prealpha.81", | ||
"@web3api/ethereum-plugin-js": "0.0.1-prealpha.81", | ||
"@web3api/ipfs-plugin-js": "0.0.1-prealpha.81", | ||
"@web3api/test-cases": "0.0.1-prealpha.81", | ||
"@web3api/test-env-js": "0.0.1-prealpha.81", | ||
"jest": "26.6.3", | ||
@@ -48,3 +48,3 @@ "jest-environment-jsdom": "^26.0.1", | ||
}, | ||
"gitHead": "1ba6782929ddae44866ec9e59e14b6ada4785bb2", | ||
"gitHead": "99dd08378e51809acaf96a61aa146a128d697f7d", | ||
"publishConfig": { | ||
@@ -51,0 +51,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
25788
+ Added@web3api/asyncify-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/client-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/core-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/ens-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/ethereum-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/fs-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/graph-node-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/http-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/ipfs-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/logger-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/manifest-schemas@0.0.1-prealpha.81(transitive)
+ Added@web3api/schema-parse@0.0.1-prealpha.81(transitive)
+ Added@web3api/sha3-plugin-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/tracing-js@0.0.1-prealpha.81(transitive)
+ Added@web3api/uts46-plugin-js@0.0.1-prealpha.81(transitive)
- Removed@web3api/asyncify-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/client-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/core-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/ens-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/ethereum-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/fs-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/graph-node-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/http-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/ipfs-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/logger-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/manifest-schemas@0.0.1-prealpha.80(transitive)
- Removed@web3api/schema-parse@0.0.1-prealpha.80(transitive)
- Removed@web3api/sha3-plugin-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/tracing-js@0.0.1-prealpha.80(transitive)
- Removed@web3api/uts46-plugin-js@0.0.1-prealpha.80(transitive)