@obelisk/client
Advanced tools
Comparing version 2.3.5 to 2.4.0
@@ -6,3 +6,2 @@ import { Observable } from 'rxjs'; | ||
* Endpoint class represents an Obelisk API Endpoint. | ||
* For now just get(), but will support all http methods. | ||
*/ | ||
@@ -9,0 +8,0 @@ export declare class Endpoint { |
@@ -6,3 +6,2 @@ "use strict"; | ||
* Endpoint class represents an Obelisk API Endpoint. | ||
* For now just get(), but will support all http methods. | ||
*/ | ||
@@ -9,0 +8,0 @@ class Endpoint { |
@@ -5,1 +5,2 @@ export * from './endpoint'; | ||
export * from './tpageresponse'; | ||
export * from './graphql-endpoint'; |
@@ -9,1 +9,2 @@ "use strict"; | ||
__export(require("./stream-endpoint")); | ||
__export(require("./graphql-endpoint")); |
import { Observable } from "rxjs"; | ||
import { Endpoint, StreamEndpoint, TPageEndpoint } from "../api"; | ||
import { Endpoint, StreamEndpoint, TPageEndpoint, GraphQLEndpoint } from "../api"; | ||
import { Tokens, Token } from '../auth'; | ||
@@ -59,2 +59,6 @@ import { ClientEvent } from "./events"; | ||
/** | ||
* Construct a GraphQL Endpoint instance. | ||
*/ | ||
graphQLEndpoint(): GraphQLEndpoint; | ||
/** | ||
* Constructs a StreamEndpoint instance. | ||
@@ -61,0 +65,0 @@ * @param uri The uri pointing to a valid event stream (SSE) andpoint. (ends on /sse) |
import { Observable, Observer } from 'rxjs'; | ||
import { Endpoint, StreamEndpoint, TPageEndpoint } from './api'; | ||
import { Endpoint, StreamEndpoint, TPageEndpoint, GraphQLEndpoint } from './api'; | ||
import { Token, Tokens } from './auth'; | ||
@@ -80,2 +80,6 @@ import { Client, ClientEvent, ClientOptions } from './interfaces'; | ||
* @inheritdoc | ||
*/ | ||
graphQLEndpoint(): GraphQLEndpoint; | ||
/** | ||
* @inheritdoc | ||
* */ | ||
@@ -82,0 +86,0 @@ rawEndpoint(uri: string): Endpoint; |
@@ -203,2 +203,8 @@ "use strict"; | ||
* @inheritdoc | ||
*/ | ||
graphQLEndpoint() { | ||
return api_1.GraphQLEndpoint.create(this); | ||
} | ||
/** | ||
* @inheritdoc | ||
* */ | ||
@@ -205,0 +211,0 @@ rawEndpoint(uri) { |
{ | ||
"name": "@obelisk/client", | ||
"version": "2.3.5", | ||
"version": "2.4.0", | ||
"description": "Typescript client to interact with Obelisk on a higher level than the regular ReST API calls.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
105872
52
2820