@jumpn/absinthe-phoenix-socket
Advanced tools
Comparing version 0.3.0 to 0.3.1
{ | ||
"name": "@jumpn/absinthe-phoenix-socket", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Absinthe Phoenix Socket", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
@@ -41,2 +41,6 @@ # @jumpn/absinthe-phoenix-socket | ||
> reestablished. | ||
- Cancellable request | ||
> Calling [cancel](#cancel) removes given notifier from absintheSocket instance | ||
> and sends a Cancel event to all its observers and unsubscribing in case it | ||
> holds a subscription request. | ||
- Observer support of recoverable errors | ||
@@ -66,2 +70,8 @@ > Since connection lost is handled, then two events needs to exist to represent | ||
```flowtype | ||
// from @jumpn/utils-graphql | ||
type GqlRequest<Variables: void | Object = void> = { | ||
operation: string, | ||
variables?: Variables | ||
}; | ||
type Event = "Abort" | "Cancel" | "Error" | "Start" | "Result"; | ||
@@ -98,3 +108,3 @@ | ||
Cancels a notifier sending a Stop event to all its observers and | ||
Cancels a notifier sending a Cancel event to all its observers and | ||
unsubscribing in case it holds a subscription request | ||
@@ -101,0 +111,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
553760
230
0