@types/phoenix
Advanced tools
Comparing version 1.4.1 to 1.4.2
@@ -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 @@ |
{ | ||
"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>. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7379
145