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

graphql-mock

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-mock - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

dist/client.d.ts
import { ApolloClient, ApolloQueryResult, ObservableQuery, WatchQueryOptions, MutationOptions } from 'apollo-client';
import { NormalizedCacheObject } from 'apollo-cache-inmemory';
import { GraphQLSchema } from 'graphql';
import { FetchResult } from 'apollo-link';
export declare type AnyApolloOptions = WatchQueryOptions | MutationOptions<any>;

@@ -12,3 +11,3 @@ export default class MockClient extends ApolloClient<NormalizedCacheObject> {

watchQuery<T>(options: WatchQueryOptions): ObservableQuery<T>;
mutate<T>(options: MutationOptions<T>): Promise<FetchResult<T, any>>;
mutate<T>(options: MutationOptions<T>): Promise<any>;
}
{
"name": "graphql-mock",
"version": "1.0.2",
"version": "1.0.3",
"description": "GraphQL endpoint mockery library for testing",

@@ -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