Socket
Socket
Sign inDemoInstall

phoenix

Package Overview
Dependencies
Maintainers
2
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

phoenix - npm Package Compare versions

Comparing version 1.5.3 to 1.5.4

12

assets/js/phoenix.js

@@ -506,2 +506,12 @@ /**

/**
* Sends a message `event` to phoenix with the payload `payload`.
* Phoenix receives this in the `handle_in(event, payload, socket)`
* function. if phoenix replies or it times out (default 10000ms),
* then optionally the reply can be received.
*
* @example
* channel.push("event")
* .receive("ok", payload => console.log("phoenix replied:", payload))
* .receive("error", err => console.log("phoenix errored", err))
* .receive("timeout", () => console.log("timed out pushing"))
* @param {string} event

@@ -534,3 +544,3 @@ * @param {Object} payload

*
* To receive leave acknowledgements, use the a `receive`
* To receive leave acknowledgements, use the `receive`
* hook to bind to the server ack, ie:

@@ -537,0 +547,0 @@ *

2

assets/package.json
{
"name": "phoenix",
"version": "1.5.3",
"version": "1.5.4",
"description": "The official JavaScript client for the Phoenix web framework.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -15,2 +15,13 @@ # Changelog for v1.5

### 1.5.4 (2020-07-21)
### Enhancements
* [Phoenix.Endpoint] Include `:conn` in `[:phoenix, :error_rendered]` event
* [Phoenix.Endpoint] Warn if the `url.host` provided for the endpoint is invalid
* [Phoenix.Router] Log when router plugs halt
* Fix warnings on Elixir v1.11
### Bug fixes
* [Phoenix.Router] Rename the `[:phoenix, :router_dispatch, :exception]` metadata from `:error` to `:reason` to match the documentation and the telemetry specification (`:error` is still emitted for compatibility but it will be fully removed on v1.6)
## 1.5.3 (2020-05-21)

@@ -17,0 +28,0 @@

{
"name": "phoenix",
"version": "1.5.3",
"version": "1.5.4",
"description": "The official JavaScript client for the Phoenix web framework.",

@@ -5,0 +5,0 @@ "license": "MIT",

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