@web3api/react
Advanced tools
Comparing version 0.0.1-prealpha.8 to 0.0.1-prealpha.9
@@ -19,3 +19,3 @@ import { UriRedirect, Web3ApiClient } from "@web3api/client-js"; | ||
export declare const PRIMARY_PROVIDER = "PRIMARY_PROVIDER"; | ||
export declare const Web3ApiProvider: Web3ApiProviderFC; | ||
export declare const Web3ApiProvider: React.FC<Web3ApiProviderProps>; | ||
export {}; |
@@ -17,3 +17,3 @@ "use strict"; | ||
var stateReducer = function () { return function (state, newState) { return (__assign(__assign({}, state), newState)); }; }; | ||
var useStateReducer = function (initialState) { | ||
exports.useStateReducer = function (initialState) { | ||
var _a = react_1.useReducer(stateReducer(), initialState), state = _a[0], dispatch = _a[1]; | ||
@@ -24,3 +24,2 @@ return react_1.useMemo(function () { | ||
}; | ||
exports.useStateReducer = useStateReducer; | ||
//# sourceMappingURL=state.js.map |
{ | ||
"name": "@web3api/react", | ||
"description": "Web3API React Integration", | ||
"version": "0.0.1-prealpha.8", | ||
"version": "0.0.1-prealpha.9", | ||
"license": "MIT", | ||
@@ -24,4 +24,4 @@ "repository": { | ||
"dependencies": { | ||
"@web3api/client-js": "0.0.1-prealpha.8", | ||
"@web3api/core-js": "0.0.1-prealpha.8" | ||
"@web3api/client-js": "0.0.1-prealpha.9", | ||
"@web3api/core-js": "0.0.1-prealpha.9" | ||
}, | ||
@@ -32,9 +32,9 @@ "devDependencies": { | ||
"@types/jest": "26.0.8", | ||
"@web3api/cli": "0.0.1-prealpha.8", | ||
"@web3api/test-cases": "0.0.1-prealpha.8", | ||
"@web3api/test-env-js": "0.0.1-prealpha.8", | ||
"jest": "26.2.2", | ||
"@web3api/cli": "0.0.1-prealpha.9", | ||
"@web3api/test-cases": "0.0.1-prealpha.9", | ||
"@web3api/test-env-js": "0.0.1-prealpha.9", | ||
"jest": "26.6.3", | ||
"jest-environment-jsdom": "^26.0.1", | ||
"rimraf": "3.0.2", | ||
"typescript": "^4.1.3" | ||
"typescript": "4.0.7" | ||
}, | ||
@@ -44,3 +44,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "6a84f6875f7b6d9ca3e283b796f1c70f9eb6185b", | ||
"gitHead": "8efa3ec6b9f54abf4450cd44fe2558226407e2fc", | ||
"publishConfig": { | ||
@@ -47,0 +47,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
16600
206
+ Added@web3api/client-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/core-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/ens-plugin-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/ethereum-plugin-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/ipfs-plugin-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/logger-plugin-js@0.0.1-prealpha.9(transitive)
+ Added@web3api/manifest-schema@0.0.1-prealpha.9(transitive)
+ Added@web3api/schema-parse@0.0.1-prealpha.9(transitive)
+ Addedgraphql@15.5.0(transitive)
+ Addedgraphql-json-transform@1.1.0-alpha.0(transitive)
+ Addedgraphql-schema-cycles@1.1.2(transitive)
- Removed@web3api/client-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/core-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/ens-plugin-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/ethereum-plugin-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/ipfs-plugin-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/logger-plugin-js@0.0.1-prealpha.8(transitive)
- Removed@web3api/manifest-schema@0.0.1-prealpha.8(transitive)
- Removed@web3api/schema-parse@0.0.1-prealpha.8(transitive)
- Removedgraphql@15.3.015.4.015.9.0(transitive)