Gathering detailed insights and metrics for apollo-link-phx-ws
Gathering detailed insights and metrics for apollo-link-phx-ws
Gathering detailed insights and metrics for apollo-link-phx-ws
Gathering detailed insights and metrics for apollo-link-phx-ws
npm install apollo-link-phx-ws
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
4,427
Last Day
1
Last Week
7
Last Month
30
Last Year
267
7 Stars
38 Commits
1 Forks
3 Watchers
1 Branches
2 Contributors
Updated on Nov 12, 2020
Minified
Minified + Gzipped
Latest Version
0.3.4
Package Id
apollo-link-phx-ws@0.3.4
Size
54.86 kB
NPM Version
5.4.2
Node Version
8.6.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
-41.7%
7
Compared to previous week
Last Month
-50%
30
Compared to previous month
Last Year
-46.5%
267
Compared to previous year
Phoenix websocket link for Apollo 2.0
window
). For SSR, override opts.transport
with a W3CWebSocket.1{:absinthe, "~> 1.4.0-rc.3", override: true}, 2{:absinthe_plug, "~> 1.4.0-rc.1"}, 3{:absinthe_ecto, "~> 0.1.2"}, 4{:absinthe_phoenix, github: "absinthe-graphql/absinthe_phoenix"},
2017-11-18 Update: The Absinthe suite was updated on Nov 13th. My current deps are:
1{:absinthe, "~> 1.4.0"}, 2{:absinthe_plug, "~> 1.4.0"}, 3{:absinthe_ecto, "~> 0.1.3"}, 4{:absinthe_phoenix, "~> 1.4.0"} 5
1import { ApolloClient } from 'apollo-client' 2import { PhoenixWebSocketLink } from 'apollo-link-phx-ws' 3import { InMemoryCache } from 'apollo-cache-inmemory' 4 5// socket options 6let options = { 7 uri: 'ws://localhost:4000/socket', 8 params: { token: 'ABC123' } 9} 10 11// socket link 12const link = new PhoenixWebSocketLink(options) 13 14// apollo client 15const client = new ApolloClient({ 16 cache: new InMemoryCache(), 17 link 18})
Note: in the example, any
options.params
will be sent to the socket connect function. You can use this opportunity to useGuardian.decode_verify
, as well as assign the loaded user to GraphQL resolve context.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
Found 1/27 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
39 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More