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 0.9.7 to 0.9.8

27

react-relay/index.d.ts

@@ -106,6 +106,29 @@ // Type definitions for react-relay 0.9.2

type ReadyStateEvent =
'ABORT' |
'CACHE_RESTORED_REQUIRED' |
'CACHE_RESTORE_FAILED' |
'CACHE_RESTORE_START' |
'NETWORK_QUERY_ERROR' |
'NETWORK_QUERY_RECEIVED_ALL' |
'NETWORK_QUERY_RECEIVED_REQUIRED' |
'NETWORK_QUERY_START' |
'STORE_FOUND_ALL' |
'STORE_FOUND_REQUIRED';
interface OnReadyStateChange {
(readyState: {
ready: boolean,
done: boolean,
stale: boolean,
error?: Error,
events: Array<ReadyStateEvent>,
aborted: boolean
}): void
}
interface RelayProp {
variables: any
setVariables(variables: Object): void
variables: any
setVariables(variables: Object, onReadyStateChange?: OnReadyStateChange): void
}
}

7

react-relay/package.json
{
"name": "@types/react-relay",
"version": "0.9.7",
"description": "TypeScript definitions for react-relay 0.9.2",
"version": "0.9.8",
"description": "TypeScript definitions for react-relay",
"license": "MIT",

@@ -17,4 +17,3 @@ "author": "Johannes Schickling <https://github.com/graphcool>",

"peerDependencies": {},
"typings": "index.d.ts",
"typesPublisherContentHash": "c7a8775b33ce37ff2d024976ff889df77860e0136bab69f95bb49efd4f9b54ac"
"typesPublisherContentHash": "646e0305fbd539b63f16076596f228fd58e194bfdf76fe936f817b93fc2e57ad"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for react-relay 0.9.2 (https://github.com/facebook/relay).
This package contains type definitions for react-relay (https://github.com/facebook/relay).

@@ -12,4 +12,3 @@ # Details

Additional Details
* Last updated: Wed, 23 Nov 2016 19:10:41 GMT
* File structure: ModuleAugmentation
* Last updated: Thu, 08 Dec 2016 22:15:17 GMT
* Library Dependencies: none

@@ -16,0 +15,0 @@ * Module Dependencies: react

{
"authors": "Johannes Schickling <https://github.com/graphcool>",
"definitionFilename": "index.d.ts",
"libraryDependencies": [],

@@ -10,3 +9,3 @@ "moduleDependencies": [

"libraryMinorVersion": 9,
"libraryName": "react-relay 0.9.2",
"libraryName": "react-relay",
"typingsPackageName": "react-relay",

@@ -16,3 +15,2 @@ "projectName": "https://github.com/facebook/relay",

"sourceBranch": "types-2.0",
"kind": "ModuleAugmentation",
"globals": [],

@@ -26,3 +24,3 @@ "declaredModules": [

"hasPackageJson": false,
"contentHash": "c7a8775b33ce37ff2d024976ff889df77860e0136bab69f95bb49efd4f9b54ac"
"contentHash": "646e0305fbd539b63f16076596f228fd58e194bfdf76fe936f817b93fc2e57ad"
}
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