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

@types/react-relay

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-relay - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

14

react-relay/classic.d.ts

@@ -212,8 +212,8 @@ import * as React from "react";

export interface RelayProp {
export interface RelayProp<V = any> {
readonly route: { name: string }; // incomplete, also has params and queries
readonly variables: any;
readonly pendingVariables?: any;
setVariables(variables: any, onReadyStateChange?: OnReadyStateChange): void;
forceFetch(variables: any, onReadyStateChange?: OnReadyStateChange): void;
readonly variables: V;
readonly pendingVariables?: V;
setVariables(variables: V, onReadyStateChange?: OnReadyStateChange): void;
forceFetch(variables: V, onReadyStateChange?: OnReadyStateChange): void;
hasOptimisticUpdate(record: any): boolean;

@@ -223,1 +223,5 @@ getPendingTransactions(record: any): RelayMutationTransaction[];

}
export interface RelayProps<V> {
readonly relay: RelayProp<V>;
}

@@ -0,0 +0,0 @@ export {

@@ -6,2 +6,3 @@ // Type definitions for react-relay 1.3

// Eloy Durán <https://github.com/alloy>
// Nicolas Pirotte <https://github.com/npirotte>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -8,0 +9,0 @@ // TypeScript Version: 2.4

{
"name": "@types/react-relay",
"version": "1.3.1",
"version": "1.3.2",
"description": "TypeScript definitions for react-relay",

@@ -21,2 +21,7 @@ "license": "MIT",

"githubUsername": "alloy"
},
{
"name": "Nicolas Pirotte",
"url": "https://github.com/npirotte",
"githubUsername": "npirotte"
}

@@ -31,7 +36,7 @@ ],

"dependencies": {
"@types/relay-runtime": "*",
"@types/react": "*"
"@types/react": "*",
"@types/relay-runtime": "*"
},
"typesPublisherContentHash": "c1e82c69ce3384586694f2abafb59a4bdb19d086807332db1c32d700577d58bc",
"typesPublisherContentHash": "71adff5a28775e7d5258ce6e77bd8e473cb3b3e7cd5974ff6eb5f97c93bf2d3c",
"typeScriptVersion": "2.4"
}

@@ -11,7 +11,7 @@ # Installation

Additional Details
* Last updated: Fri, 20 Oct 2017 14:37:14 GMT
* Dependencies: relay-runtime, react
* Last updated: Thu, 01 Feb 2018 18:55:42 GMT
* Dependencies: react, relay-runtime
* Global values: none
# Credits
These definitions were written by Johannes Schickling <https://github.com/graphcool>, Matt Martin <https://github.com/voxmatt>, Eloy Durán <https://github.com/alloy>.
These definitions were written by Johannes Schickling <https://github.com/graphcool>, Matt Martin <https://github.com/voxmatt>, Eloy Durán <https://github.com/alloy>, Nicolas Pirotte <https://github.com/npirotte>.

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