@itarius-ug/bipro-box-api-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
import { PostboxData } from "./postbox.contracts.js"; | ||
export interface BiproConfiguration { | ||
baseUrl: string; | ||
baseUrl?: string; | ||
token: string; | ||
@@ -5,0 +5,0 @@ } |
@@ -26,6 +26,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
constructor(configuration) { | ||
var _a; | ||
_Bipro_baseUrl.set(this, void 0); | ||
_Bipro_token.set(this, void 0); | ||
_Bipro_postbox.set(this, void 0); | ||
__classPrivateFieldSet(this, _Bipro_baseUrl, configuration.baseUrl, "f"); | ||
__classPrivateFieldSet(this, _Bipro_baseUrl, (_a = configuration.baseUrl) !== null && _a !== void 0 ? _a : "https://www.bipro-box.de/app/core/api/json/v1.0", "f"); | ||
__classPrivateFieldSet(this, _Bipro_token, configuration.token, "f"); | ||
@@ -32,0 +33,0 @@ __classPrivateFieldSet(this, _Bipro_postbox, new Postbox(this), "f"); |
{ | ||
"name": "@itarius-ug/bipro-box-api-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A TypeScript wrapper for the BiPRO Box API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -12,7 +12,5 @@ # BiPRO Box API Client | ||
```ts | ||
import { Bipro } from "./bipro.js"; | ||
import { ApiStatus } from "./postbox.contracts.js"; | ||
import { ApiStatus, Bipro } from "@itarius-ug/bipro-box-api-client"; | ||
const bipro = new Bipro({ | ||
baseUrl: "https://www.bipro-box.de/app/core/api/json/v1.0", | ||
token: "<my-api-token>", | ||
@@ -19,0 +17,0 @@ }); |
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
38133
214
47