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

frint-react

Package Overview
Dependencies
Maintainers
6
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frint-react - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

33

index.d.ts

@@ -1,4 +0,4 @@

import { App } from 'frint';
import React, { PropTypes } from 'react';
import { BehaviorSubject, Observable } from 'rxjs';
import { App } from "frint";
import * as React from "react";
import { BehaviorSubject, Observable } from "rxjs";

@@ -16,3 +16,3 @@ export class Streamer {

setDispatch(actions: {[name: string]: (...args:any[]) => void}): Streamer;
setDispatch(actions: {[name: string]: (...args: any[]) => any}, dispatcher: any): Streamer;

@@ -32,16 +32,16 @@ get$(): Observable<any>;

export class Provider extends React.Component<any, any> {
propTypes: PropTypes = {
app: PropTypes.object.isRequired,
children: PropTypes.element.isRequired,
};
export interface ProviderProps {
app: App;
children: any;
}
childContextTypes: PropTypes = {
app: PropTypes.object.isRequired,
};
export interface ProviderChildContextTypes {
app: App;
}
export class Provider extends React.Component<ProviderProps, any> {
static childContextTypes: ProviderChildContextTypes;
getChildContext(): { app: App };
constructor(props: PropTypes, context: any);
render(): React.ReactElement<any>;

@@ -53,3 +53,4 @@ }

export function render(app: App, node: Element): void | Element | React.Component<any, React.ComponentState>;
export function getMountableComponent(app: App): () => React.Component | Element;
export function observe(fn: (app: App) => Observable<any>): () => React.Component | Element;
export function getMountableComponent(app: App): () => React.Component<ProviderProps, undefined> | Element;
type Constructor<T extends React.Component<any, any>> = new(...args: any[]) => T;
export function observe<T extends Constructor<React.Component<any, any>>>(fn: (app: App) => Observable<any>): (comp: T) => any;
{
"name": "frint-react",
"version": "1.3.0",
"version": "1.3.1",
"description": "React package for Frint",

@@ -35,3 +35,3 @@ "main": "lib/index.js",

"devDependencies": {
"frint": "^1.3.0",
"frint": "^1.3.1",
"frint-test-utils": "^1.3.0",

@@ -38,0 +38,0 @@ "react": "^0.14.8",

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