Socket
Socket
Sign inDemoInstall

bizzabo-api

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bizzabo-api - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

dist/api/index.d.ts

4

dist/auth/token.js

@@ -52,2 +52,3 @@ "use strict";

var axios_1 = require("axios");
var UnauthorizedException_1 = require("../errors/UnauthorizedException");
var DEFAULT_AUTH_BASE_URL = 'https://auth.bizzabo.com';

@@ -67,4 +68,3 @@ var DEFAULT_AUTH_AUDIENCE = 'https://api.bizzabo.com/api';

this._handleError = function (error) {
console.error(error.response.data);
return Promise.reject(JSON.stringify(error.response.data));
return Promise.reject(new UnauthorizedException_1.UnauthorizedException(JSON.stringify(error.response.data)));
};

@@ -71,0 +71,0 @@ this.clientId = clientId;

@@ -29,3 +29,2 @@ "use strict";

this.handleError = function (error) {
console.error(error.response.data);
return Promise.reject(JSON.stringify(error.response.data));

@@ -32,0 +31,0 @@ };

@@ -6,5 +6,5 @@ import { ContactsApi } from './api/contacts-client';

export * from './auth/token';
export * from './api/contacts-client';
export * from './api/speakers-client';
export * from './api/events-client';
export * from './api';
export * from './errors';
export * from './utils/http-status.enum';
export declare class Bizzabo {

@@ -11,0 +11,0 @@ contactsApi: ContactsApi;

@@ -22,5 +22,5 @@ "use strict";

__exportStar(require("./auth/token"), exports);
__exportStar(require("./api/contacts-client"), exports);
__exportStar(require("./api/speakers-client"), exports);
__exportStar(require("./api/events-client"), exports);
__exportStar(require("./api"), exports);
__exportStar(require("./errors"), exports);
__exportStar(require("./utils/http-status.enum"), exports);
var Bizzabo = /** @class */ (function () {

@@ -27,0 +27,0 @@ function Bizzabo(token) {

{
"name": "bizzabo-api",
"version": "0.1.2",
"version": "0.1.3",
"description": "The Bizzabo API is a Typescript client that allows calling Bizzabo public APIs",

@@ -5,0 +5,0 @@ "author": "Bizzabo",

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