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

@droz-js/sdk

Package Overview
Dependencies
Maintainers
1
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@droz-js/sdk - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

package.json
{
"name": "@droz-js/sdk",
"description": "Droz SDK",
"version": "0.1.2",
"version": "0.1.3",
"private": false,

@@ -6,0 +6,0 @@ "exports": {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DrozSdk = void 0;
const discoveryEndpoint = `https://th3xrek4rane2scfwwfoo7wemq0tvuzm.lambda-url.sa-east-1.on.aws`;
const discoveryEndpoint = 'https://th3xrek4rane2scfwwfoo7wemq0tvuzm.lambda-url.sa-east-1.on.aws';
class DrozSdkConfig {

@@ -39,4 +39,10 @@ authentication;

});
if (instance)
if (instance) {
if (type === 'http') {
const endpoint = new URL(instance.endpoint);
endpoint.pathname = '/graphql';
return endpoint.toString();
}
return instance.endpoint;
}
throw new Error(`Endpoint for ${serviceId} and type ${type} not found`);

@@ -43,0 +49,0 @@ }

import Observable from 'zen-observable';
type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | Observable<R>;
export declare function HttpClientBuilder<Sdk>(serviceName: string, getSdk: (requester: Requester<Sdk, any>) => Sdk): new () => Sdk;
type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | Observable<R>;
export declare function HttpClientBuilder<Sdk>(serviceName: string, getSdk: (requester: Requester<Sdk>) => Sdk): new () => Sdk;
export {};
import Observable from 'zen-observable';
type Requester<C = {}, E = unknown> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | Observable<R>;
export declare function WsClientBuilder<Sdk>(serviceName: string, getSdk: (requester: Requester<Sdk, any>) => Sdk): new () => Sdk;
type Requester<C = {}> = <R, V>(doc: string, vars?: V, options?: C) => Promise<R> | Observable<R>;
export declare function WsClientBuilder<Sdk>(serviceName: string, getSdk: (requester: Requester<Sdk>) => Sdk): new () => Sdk;
export {};
export * from './sdks/drozbot';
declare const DrozBot_base: new () => {
export declare const DrozBot: new () => {
getDrozBotInstance(variables: import("./sdks/drozbot").Exact<{

@@ -19,3 +19,1 @@ id: string;

};
export declare class DrozBot extends DrozBot_base {
}

@@ -21,4 +21,2 @@ "use strict";

__exportStar(require("./sdks/drozbot"), exports);
class DrozBot extends (0, http_1.HttpClientBuilder)(drozbot_1.serviceName, drozbot_1.getSdk) {
}
exports.DrozBot = DrozBot;
exports.DrozBot = (0, http_1.HttpClientBuilder)(drozbot_1.serviceName, drozbot_1.getSdk);
export * from './sdks/drozchat';
declare const DrozChat_base: new () => {
export declare const DrozChat: new () => {
getDrozBotInstance(variables: import("./sdks/drozbot").Exact<{

@@ -19,3 +19,1 @@ id: string;

};
export declare class DrozChat extends DrozChat_base {
}

@@ -21,4 +21,2 @@ "use strict";

__exportStar(require("./sdks/drozchat"), exports);
class DrozChat extends (0, http_1.HttpClientBuilder)(drozbot_1.serviceName, drozbot_1.getSdk) {
}
exports.DrozChat = DrozChat;
exports.DrozChat = (0, http_1.HttpClientBuilder)(drozbot_1.serviceName, drozbot_1.getSdk);
export * from './sdks/reclameaqui';
declare const Reclameaqui_base: new () => {
export declare const Reclameaqui: new () => {
getReclameAquiInstance(variables: import("./sdks/reclameaqui").Exact<{

@@ -19,3 +19,1 @@ id: string;

};
export declare class Reclameaqui extends Reclameaqui_base {
}

@@ -21,4 +21,2 @@ "use strict";

__exportStar(require("./sdks/reclameaqui"), exports);
class Reclameaqui extends (0, http_1.HttpClientBuilder)(reclameaqui_1.serviceName, reclameaqui_1.getSdk) {
}
exports.Reclameaqui = Reclameaqui;
exports.Reclameaqui = (0, http_1.HttpClientBuilder)(reclameaqui_1.serviceName, reclameaqui_1.getSdk);
export * from './sdks/zendesk';
declare const Zendesk_base: new () => {
export declare const Zendesk: new () => {
getZendeskInstance(variables: import("./sdks/zendesk").Exact<{

@@ -19,3 +19,1 @@ id: string;

};
export declare class Zendesk extends Zendesk_base {
}

@@ -21,4 +21,2 @@ "use strict";

__exportStar(require("./sdks/zendesk"), exports);
class Zendesk extends (0, http_1.HttpClientBuilder)(zendesk_1.serviceName, zendesk_1.getSdk) {
}
exports.Zendesk = Zendesk;
exports.Zendesk = (0, http_1.HttpClientBuilder)(zendesk_1.serviceName, zendesk_1.getSdk);
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