Socket
Socket
Sign inDemoInstall

@types/phoenix

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/phoenix - npm Package Compare versions

Comparing version 1.4.1 to 1.4.2

5

phoenix/index.d.ts

@@ -39,5 +39,7 @@ // Type definitions for phoenix 1.4

export type BinaryType = 'arraybuffer' | 'blob';
export type ConnectionState = 'connecting' | 'open' | 'closing' | 'closed';
export interface SocketConnectOption {
binaryType: BinaryType;
params: object | (() => object);

@@ -47,3 +49,2 @@ transport: string;

heartbeatIntervalMs: number;
reconnectAfterMs: number;
longpollerTimeout: number;

@@ -53,2 +54,4 @@ encode: (payload: object, callback: (encoded: any) => void) => void;

logger: (kind: string, message: string, data: any) => void;
reconnectAfterMs: (tries: number) => number;
rejoinAfterMs: (tries: number) => number;
}

@@ -55,0 +58,0 @@

4

phoenix/package.json
{
"name": "@types/phoenix",
"version": "1.4.1",
"version": "1.4.2",
"description": "TypeScript definitions for phoenix",

@@ -32,4 +32,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "c0bc5e8a6253cf568af8d4dcaca9da8a41e311d88e653bd6647e49028e1fa950",
"typesPublisherContentHash": "16327897dfae92c84569a41878e66e0ea2e895392f16b3d54d960fc8421321d9",
"typeScriptVersion": "2.4"
}

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

# Summary
This package contains type definitions for phoenix ( https://github.com/phoenixframework/phoenix ).
This package contains type definitions for phoenix (https://github.com/phoenixframework/phoenix).

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

Additional Details
* Last updated: Mon, 03 Jun 2019 23:06:16 GMT
* Last updated: Tue, 09 Jul 2019 02:09:59 GMT
* Dependencies: none

@@ -18,2 +18,2 @@ * Global values: none

# Credits
These definitions were written by Mirosław Ciastek <https://github.com/mciastek>, John Goff <https://github.com/John-Goff>, Po Chen <https://github.com/princemaple>.
These definitions were written by Mirosław Ciastek <https://github.com/mciastek>, John Goff <https://github.com/John-Goff>, and Po Chen <https://github.com/princemaple>.
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