# @serve.zone/servicespec

a universal service spec that may be adhered to, to create portable services.

# readme.md for @serve.zone/servicespec

# @serve.zone/platformclient
a module that makes it really easy to use the serve.zone platform inside your app

## Availabililty and Links
* [npmjs.org (npm package)](https://www.npmjs.com/package/@serve.zone/platformclient)
* [gitlab.com (source)](https://gitlab.com/serve.zone/platformclient)
* [github.com (source mirror)](https://github.com/serve.zone/platformclient)
* [docs (typedoc)](https://serve.zone.gitlab.io/platformclient/)

## Status for master

Status Category | Status Badge
-- | --
GitLab Pipelines | [![pipeline status](https://gitlab.com/serve.zone/platformclient/badges/master/pipeline.svg)](https://lossless.cloud)
GitLab Pipline Test Coverage | [![coverage report](https://gitlab.com/serve.zone/platformclient/badges/master/coverage.svg)](https://lossless.cloud)
npm | [![npm downloads per month](https://badgen.net/npm/dy/@serve.zone/platformclient)](https://lossless.cloud)
Snyk | [![Known Vulnerabilities](https://badgen.net/snyk/serve.zone/platformclient)](https://lossless.cloud)
TypeScript Support | [![TypeScript](https://badgen.net/badge/TypeScript/>=%203.x/blue?icon=typescript)](https://lossless.cloud)
node Support | [![node](https://img.shields.io/badge/node->=%2010.x.x-blue.svg)](https://nodejs.org/dist/latest-v10.x/docs/api/)
Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](https://lossless.cloud)
PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@serve.zone/platformclient)](https://lossless.cloud)
PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@serve.zone/platformclient)](https://lossless.cloud)
BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@serve.zone/platformclient)](https://lossless.cloud)

## Usage
Use TypeScript for best in class intellisense
For further information read the linked docs at the top of this readme.

## Legal
> MIT licensed | **&copy;** [Task Venture Capital GmbH](https://task.vc)
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy)

# changelog.md for @serve.zone/servicespec

## 2024-10-05 - 1.1.2 - fix(core)
Fix authorization handling and format code.

- Resolved the incorrect condition check for 'authorizationStringArg' within the 'init' function.
- Corrected the condition to activate 'debugMode' within the 'init' function.
- Improved code formatting for better readability.

## 2024-10-05 - 1.1.1 - fix(platformclient)
Refactor debug mode checks in SzPlatformClient connectors

- Unified debug mode checks across email, SMS, and letter connectors
- Added new SzPushNotificationConnector class with debug mode functionality

## 2024-10-04 - 1.1.0 - feat(SzPlatformClient)
Add debug mode functionality to SzPlatformClient and SzEmailConnector

- Introduced a debug mode in SzPlatformClient to handle authorization in test scenarios.
- Updated SzEmailConnector to log emails and early return in debug mode for testing purposes.

## 2024-10-02 - 1.0.11 - fix(email,sms)
Reorder debug logging to avoid confusion in email and sms connectors

- Reordered the logging after request creation in `sendEmail` method of `SzEmailConnector`
- Reordered the logging after request creation in `sendSms` method of `SzSmsConnector`

## 2024-10-02 - 1.0.10 - fix(build)
Fix build script configuration and plugins import path

- Corrected the build script in package.json to include tsfolders parameter
- Fixed the import path for plugins in classes.infohtml.ts

## 2024-10-02 - 1.0.9 - fix(infohtml)
Refactor infohtml module and fix import paths

- Refactored ts_infohtml module.
- Fixed incorrect import paths in ts_infohtml module.
- Ensured that the InfoHtml class and related templates are properly imported and used.

## 2024-10-02 - 1.0.8 - fix(core)
Maintain dependencies, update metadata

- No changes detected

## 2024-10-02 - 1.0.7 - fix(core)
Update dependencies and add logging for email and SMS functions

- Updated devDependencies and dependencies in package.json
- Added logger import and logging statements in classes.emailconnector.ts and classes.smsconnector.ts
- Fixed formatting issues in test/test.ts
- Cleaned up and removed unused imports in index.ts and plugins.ts

## 2024-07-26 - 1.0.6 - fix(core)
Update @types/node dependency version

- Dependencies updated: @types/node updated from ^20.14.11 to ^20.14.12

## 2024-07-23 - 1.0.5 - fix(dependencies)
Updated dependencies to latest versions and removed unused service server class

- Updated devDependencies and dependencies to their latest versions in package.json
- Removed the unused ServiceServer class
- Updated index.ts to reflect changes in imports

## 2024-05-11 - 1.0.3 to 1.0.4 - General Updates
Maintenance updates

- Fix(core): update

## 2024-02-17 - 1.0.1 to 1.0.3 - General Updates
Maintenance updates

- Fix(core): update