@mindline/sync 1.0.4 → 1.0.6

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/README.md CHANGED
@@ -35,10 +35,6 @@ In order to enable the preset you have to define it in your babel.config.json fi
35
35
  npm install class-transformer --save
36
36
  npm install reflect-metadata --save
37
37
  ```
38
- ## install @mindline/sync package to speak to backend
39
- ``` js
40
- npm install @mindline/sync --save
41
- ```
42
38
  # 2. Latest releases
43
39
  # 3. API references
44
40
  # 4. Unit Test
package/index.js CHANGED
@@ -118,16 +118,6 @@ function readConfigs(user, virtuals, syncs, configs)
118
118
  return true;
119
119
  }
120
120
 
121
- /*
122
- module.exports = {
123
- sum,
124
- helloNpm,
125
- readobjects,
126
- User, VirtualTenant, SyncTenant, SyncConfig,
127
- readConfigs
128
- };
129
- */
130
-
131
121
  export {
132
122
  sum,
133
123
  helloNpm,
package/index.test.js CHANGED
@@ -7,7 +7,6 @@ test("loads array of VirtualTenants from JSON and expects 2", () => {
7
7
  expect(readobjects()).toBe(2);
8
8
  });
9
9
  test("loads config based on a user and expects function to return true", () => {
10
- debugger;
11
10
  let u = new User;
12
11
  let vts = new Array();
13
12
  let sts = new Array();
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@mindline/sync",
3
- "version": "1.0.4",
3
+ "type": "module",
4
+ "version": "1.0.6",
4
5
  "description": "sync is a node.js package encapsulating javscript classes required for configuring Mindline sync service.",
5
- "main": "index.js",
6
+ "exports": "./index.js",
6
7
  "scripts": {
7
8
  "test": "jest"
8
9
  },