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

@proscom/prostore-apollo-react

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@proscom/prostore-apollo-react - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

10

package.json
{
"name": "@proscom/prostore-apollo-react",
"version": "0.0.16",
"version": "0.0.17",
"description": "> TODO: description",

@@ -29,5 +29,5 @@ "author": "Andrew Starostin <a.starostin@proscom.ru>",

"dependencies": {
"@proscom/prostore": "^0.0.16",
"@proscom/prostore-apollo": "^0.0.16",
"@proscom/prostore-react": "^0.0.16"
"@proscom/prostore": "^0.0.17",
"@proscom/prostore-apollo": "^0.0.17",
"@proscom/prostore-react": "^0.0.17"
},

@@ -45,3 +45,3 @@ "peerDependencies": {

"sideEffects": false,
"gitHead": "9e41c54db0c137f99f25d2c62297c44e0e0fd66e"
"gitHead": "a0492daf329032cbf4a042351a4e7211a1fe8eb2"
}
import { DependencyList, useMemo } from 'react';
import {
GraphqlQueryStore,
IGraphqlQueryStoreParams
GraphqlQueryStore, IGraphqlQueryOptions,
IGraphqlQueryStoreParams,
} from '@proscom/prostore-apollo';

@@ -14,2 +14,3 @@ import { useRequestStore } from '@proscom/prostore-react';

variables?: Vars;
options?: IGraphqlQueryOptions<Vars>;
}

@@ -20,3 +21,4 @@

queryOptions,
variables
variables,
options
}: IUseGraphqlQueryParams<Vars, Data>) {

@@ -34,3 +36,3 @@ const actualClient = useContextApolloClient(client);

return useRequestStore(store, variables);
return useRequestStore(store, variables, options);
}

@@ -37,0 +39,0 @@

import { DependencyList, useMemo } from 'react';
import {
GraphqlWatchQueryStore,
IGraphqlWatchQueryStoreParams
GraphqlWatchQueryStore, IGraphqlWatchQueryOptions,
IGraphqlWatchQueryStoreParams,
} from '@proscom/prostore-apollo';

@@ -14,2 +14,3 @@ import { useRequestStore } from '@proscom/prostore-react';

variables?: Vars;
options?: IGraphqlWatchQueryOptions<Vars>
}

@@ -27,3 +28,4 @@

queryOptions,
variables
variables,
options
}: IUseGraphqlWatchQueryParams<Vars, Data>) {

@@ -41,3 +43,3 @@ const actualClient = useContextApolloClient(client);

return useRequestStore(store, variables);
return useRequestStore(store, variables, options);
}

@@ -44,0 +46,0 @@

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