diff --git a/package.json b/package.json index 6413512..9eba5a0 100644 --- a/package.json +++ b/package.json @@ -40,4 +40,4 @@ "npmextra.json", "readme.md" ] -} +} \ No newline at end of file diff --git a/readme.md b/readme.md index 465eb4e..bc25a91 100644 --- a/readme.md +++ b/readme.md @@ -21,7 +21,6 @@ Code Style | [![Code Style](https://badgen.net/badge/style/prettier/purple)](htt PackagePhobia (total standalone install weight) | [![PackagePhobia](https://badgen.net/packagephobia/install/@pushrocks/webjwt)](https://lossless.cloud) PackagePhobia (package size on registry) | [![PackagePhobia](https://badgen.net/packagephobia/publish/@pushrocks/webjwt)](https://lossless.cloud) BundlePhobia (total size when bundled) | [![BundlePhobia](https://badgen.net/bundlephobia/minzip/@pushrocks/webjwt)](https://lossless.cloud) -Platform support | [![Supports Windows 10](https://badgen.net/badge/supports%20Windows%2010/yes/green?icon=windows)](https://lossless.cloud) [![Supports Mac OS X](https://badgen.net/badge/supports%20Mac%20OS%20X/yes/green?icon=apple)](https://lossless.cloud) ## Usage @@ -33,7 +32,6 @@ We are always happy for code contributions. If you are not the code contributing For further information read the linked docs at the top of this readme. -> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh) +## Legal +> MIT licensed | **©** [Task Venture Capital GmbH](https://task.vc) | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy) - -[![repo-footer](https://lossless.gitlab.io/publicrelations/repofooter.svg)](https://maintainedby.lossless.com) diff --git a/test/test.both.ts b/test/test.both.ts index 80ba715..c95342f 100644 --- a/test/test.both.ts +++ b/test/test.both.ts @@ -4,10 +4,10 @@ import * as webjwt from '../ts/index.js'; tap.test('first test', async () => { const originalString = JSON.stringify({ a: { - "complex_2": { - "object": "yes", - } - } + complex_2: { + object: 'yes', + }, + }, }); const stringToDecode = `abc.${btoa(originalString)}.rthgf`; const result = webjwt.getDataFromJwtString(stringToDecode); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 695b291..d713f37 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@pushrocks/webjwt', - version: '1.0.3', + version: '1.0.4', description: 'a package to handle jwt in the web' } diff --git a/ts/index.ts b/ts/index.ts index fe5107f..c298331 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -13,4 +13,4 @@ export const getDataFromJwtString = (jwtString: string): T => { plainJsonString = buff.toString('ascii'); } return JSON.parse(plainJsonString); -} \ No newline at end of file +}; diff --git a/ts/webjwt.plugins.ts b/ts/webjwt.plugins.ts index 7c3bee3..b016aa1 100644 --- a/ts/webjwt.plugins.ts +++ b/ts/webjwt.plugins.ts @@ -1,5 +1,3 @@ import * as smartenv from '@pushrocks/smartenv'; -export { - smartenv -} \ No newline at end of file +export { smartenv };