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

@equinor/fusion-query

Package Overview
Dependencies
Maintainers
3
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/fusion-query - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

9

dist/esm/react/useDebounceQuery.js

@@ -5,6 +5,11 @@ import { useState } from 'react';

export const useDebounceQuery = (clientOrClientCtor, options) => {
const [client] = useState(() => clientOrClientCtor instanceof Query ? clientOrClientCtor : new Query(clientOrClientCtor));
return useDebounce(client.query.bind(client), options);
const [query] = useState(() => {
const client = clientOrClientCtor instanceof Query
? clientOrClientCtor
: new Query(clientOrClientCtor);
return client.query.bind(client);
});
return useDebounce(query, options);
};
export default useDebounceQuery;
//# sourceMappingURL=useDebounceQuery.js.map
{
"name": "@equinor/fusion-query",
"version": "1.0.0",
"version": "1.0.1",
"description": "WIP",

@@ -57,3 +57,3 @@ "private": false,

"dependencies": {
"@equinor/fusion-observable": "^3.0.0",
"@equinor/fusion-observable": "^3.0.1",
"immer": "^9.0.16",

@@ -81,3 +81,3 @@ "rxjs": "^7.5.7",

},
"gitHead": "b93e25b79c3b34ee46bd3a16b059e850acdffe95"
"gitHead": "3bb1fed86aad515b594dad564444575ef552d87d"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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