@moosty/lisk-connection-provider
Advanced tools
Comparing version 0.0.130 to 0.0.131
@@ -119,4 +119,12 @@ "use strict"; | ||
}, [connections]); | ||
return (react_1.default.createElement(exports.LiskClientContext.Provider, { value: { | ||
endpoints: endpointsState?.endpoints, | ||
return (react_1.default.createElement(exports.LiskClientContext.Provider, { value: react_1.useMemo(() => { | ||
return { | ||
endpoints: endpointsState.endpoints || [], | ||
connections, | ||
serviceClient, | ||
coreClient, | ||
legacyServiceClient, | ||
}; | ||
}, [ | ||
endpointsState, | ||
connections, | ||
@@ -126,5 +134,5 @@ serviceClient, | ||
legacyServiceClient, | ||
} }, children)); | ||
]) }, children)); | ||
}; | ||
exports.LiskConnectionProvider = LiskConnectionProvider; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@moosty/lisk-connection-provider", | ||
"version": "0.0.130", | ||
"version": "0.0.131", | ||
"description": "Lisk connection provider component to connect react to Lisk endpoints", | ||
@@ -37,3 +37,3 @@ "author": "Moosty <info@moosty.com>", | ||
}, | ||
"gitHead": "a3f650e9674776fa932dad7e47cfb89a5d64f20d" | ||
"gitHead": "f65cf3c19da5ab2121f38bc9ef85225a17de0a63" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
51954
797