@smoxy-io/js-utils 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/classes/index.js CHANGED
@@ -1,14 +1,6 @@
1
1
 
2
- import * as config from './config.js';
3
- import * as env from './env.js';
4
- import * as fetch from './fetch.js';
5
- import * as session from './session.js';
6
- import * as sessionLib from './session/index.js';
7
-
8
- export default {
9
- ...config,
10
- ...env,
11
- ...fetch,
12
- ...session,
13
- ...sessionLib
14
- };
2
+ export * from './config.js';
3
+ export * from './env.js';
4
+ export * from './fetch.js';
5
+ export * from './session.js';
6
+ export * from './session/index.js';
@@ -1,6 +1,2 @@
1
1
 
2
- import * as jwt from './jwt.js';
3
-
4
- export default {
5
- ...jwt
6
- };
2
+ export * from './jwt.js';
package/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
 
2
- import classes from './classes/index.js';
3
- import lib from './lib/index.js';
2
+ import * as classes from './classes/index.js';
3
+ import * as lib from './lib/index.js';
4
4
 
5
5
  import {name, license, repository, version} from './package.json' with {type: 'json'};
6
6
 
7
- export default {
7
+ export {
8
8
  classes,
9
9
  lib,
10
10
  license,
package/lib/index.js CHANGED
@@ -1,22 +1,10 @@
1
1
 
2
- import * as func from './function.js';
3
- import * as iframe from './iframe.js';
4
- import * as jwt from './jwt.js';
5
- import * as numbers from './numbers.js';
6
- import * as obj from './object.js';
7
- import * as prom from './promise.js';
8
- import * as str from './string.js';
9
- import * as styles from './styles.js';
10
- import * as time from './time.js';
11
-
12
- export default {
13
- ...func,
14
- ...iframe,
15
- ...jwt,
16
- ...numbers,
17
- ...obj,
18
- ...prom,
19
- ...str,
20
- ...styles,
21
- ...time,
22
- };
2
+ export * from './function.js';
3
+ export * from './iframe.js';
4
+ export * from './jwt.js';
5
+ export * from './numbers.js';
6
+ export * from './object.js';
7
+ export * from './promise.js';
8
+ export * from './string.js';
9
+ export * from './styles.js';
10
+ export * from './time.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smoxy-io/js-utils",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",