Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@obelisk/client

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obelisk/client - npm Package Compare versions

Comparing version 2.3.5 to 2.4.0

lib/api/graphql-endpoint.d.ts

1

lib/api/endpoint.d.ts

@@ -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": [

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