Socket
Socket
Sign inDemoInstall

@types/phoenix

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.6 to 1.6.0

11

phoenix/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for phoenix 1.5
// Type definitions for phoenix 1.6
// Project: https://github.com/phoenixframework/phoenix

@@ -71,2 +71,3 @@ // Definitions by: Mirosław Ciastek <https://github.com/mciastek>

isConnected(): boolean;
replaceTransport(transport: new (endpoint: string) => object): void;

@@ -80,6 +81,6 @@ remove(channel: Channel): void;

onOpen(callback: (cb: any) => void | Promise<void>): MessageRef;
onClose(callback: (cb: any) => void | Promise<void>): MessageRef;
onError(callback: (cb: any) => void | Promise<void>): MessageRef;
onMessage(callback: (cb: any) => void | Promise<void>): MessageRef;
onOpen(callback: () => void | Promise<void>): MessageRef;
onClose(callback: (event: CloseEvent) => void | Promise<void>): MessageRef;
onError(callback: (error: Event | string | number, transport: new (endpoint: string) => object, establishedConnections: number) => void | Promise<void>): MessageRef;
onMessage(callback: (message: object) => void | Promise<void>): MessageRef;

@@ -86,0 +87,0 @@ makeRef(): MessageRef;

{
"name": "@types/phoenix",
"version": "1.5.6",
"version": "1.6.0",
"description": "TypeScript definitions for phoenix",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/phoenix",

"dependencies": {},
"typesPublisherContentHash": "2ede6cda0656efed98fa7bf6037a90e3f8855de116d1561bbace1ab52c42bbd6",
"typesPublisherContentHash": "d051a15b7a2615103707afcd3b35fac501dc374193be3bb9b2252aeba692b5b6",
"typeScriptVersion": "4.3"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 10 Apr 2023 15:03:11 GMT
* Last updated: Wed, 31 May 2023 15:32:50 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc