Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@brightleaf/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightleaf/react-hooks - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

8

lib/index.js

@@ -36,2 +36,8 @@ "use strict";

});
Object.defineProperty(exports, "useMutation", {
enumerable: true,
get: function () {
return _useMutation.default;
}
});
Object.defineProperty(exports, "useNes", {

@@ -72,2 +78,4 @@ enumerable: true,

var _useMutation = _interopRequireDefault(require("./use-mutation"));
var _useNes = _interopRequireDefault(require("./use-nes"));

@@ -74,0 +82,0 @@

6

lib/use-mutation.js

@@ -6,3 +6,3 @@ "use strict";

});
exports.default = exports.useGraphQL = void 0;
exports.default = exports.useMutation = void 0;

@@ -39,3 +39,3 @@ var _graphqlRequest = require("graphql-request");

const useMutation = function (url, query, variables) {
const useMutation = function (url, query) {
const [state, dispatch] = (0, _react.useReducer)(reducer, {

@@ -66,4 +66,4 @@ data: [],

exports.useGraphQL = useMutation;
exports.useMutation = useMutation;
var _default = useMutation;
exports.default = _default;
{
"name": "@brightleaf/react-hooks",
"version": "0.7.0",
"version": "0.8.0",
"description": "Useful react hooks",

@@ -5,0 +5,0 @@ "files": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc