BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-10-24 07:14:17 +02:00
parent 85d958e424
commit 60da639d69
13 changed files with 4489 additions and 26248 deletions

8
ts/00_commitinfo_data.ts Normal file
View File

@ -0,0 +1,8 @@
/**
* autocreated commitinfo by @pushrocks/commitinfo
*/
export const commitinfo = {
name: '@pushrocks/smartjwt',
version: '2.0.0',
description: 'a package for handling jwt'
}

View File

@ -1 +1 @@
export * from './smartjwt.classes.smartjwt';
export * from './smartjwt.classes.smartjwt.js';

View File

@ -1,4 +1,4 @@
import * as plugins from './smartjwt.plugins';
import * as plugins from './smartjwt.plugins.js';
export interface ISmartJWTJSONKeypair {
privatePem: string;

View File

@ -4,5 +4,5 @@ import * as smartcrypto from '@pushrocks/smartcrypto';
export { smartcrypto };
// thirdparty scope
import * as jsonwebtoken from 'jsonwebtoken';
import jsonwebtoken from 'jsonwebtoken';
export { jsonwebtoken };