@amedia/user 0.13.33 → 0.13.35

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.
@@ -12,4 +12,4 @@ var Us=Object.create;var dt=Object.defineProperty,Ds=Object.defineProperties,Ls=
12
12
  * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
13
13
  * Released under the MIT license
14
14
  */
15
- //# sourceMappingURL=index.esm.js.map
15
+ //# sourceMappingURL=user.js.map
package/eik.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.13.33",
3
+ "version": "0.13.35",
4
4
  "server": "https://assets.acdn.no",
5
5
  "files": {
6
- "user.js": "./dist/index.esm.js",
7
- "user.js.map": "./dist/index.esm.js.map",
8
- "user.d.ts": "./dist/index.d.ts"
6
+ "user.js": "./dist/user.js",
7
+ "user.js.map": "./dist/user.js.map",
8
+ "user.d.ts": "./dist/user.d.ts"
9
9
  }
10
10
  }
package/jest.config.js CHANGED
@@ -1,4 +1,4 @@
1
- module.exports = {
1
+ export default {
2
2
  preset: 'ts-jest',
3
3
  testEnvironment: 'jsdom',
4
4
  restoreMocks: true,
package/package.json CHANGED
@@ -1,11 +1,18 @@
1
1
  {
2
2
  "name": "@amedia/user",
3
- "version": "0.13.33",
3
+ "version": "0.13.35",
4
4
  "description": "Client lib for working with aID user and associated data",
5
5
  "repository": "https://github.com/amedia/amedia-user-js",
6
6
  "author": "Amedia Utvikling (ID og data)",
7
- "main": "dist/index.js",
8
- "module": "dist/index.esm.js",
7
+ "type": "module",
8
+ "main": "dist/index.cjs",
9
+ "module": "dist/index.js",
10
+ "exports": {
11
+ ".": {
12
+ "require": "./dist/index.cjs",
13
+ "import": "./dist/index.js"
14
+ }
15
+ },
9
16
  "typings": "dist/index.d.ts",
10
17
  "scripts": {
11
18
  "test": "jest --coverage",
@@ -13,7 +20,7 @@
13
20
  "build": "npm install && node build.js",
14
21
  "typings": "tsc",
15
22
  "eik:package": "run-p typings lint && npm run test && npm run build && eik package",
16
- "prepublishOnly": "node checkVersion.js && run-p typings lint && npm run test && npm run build",
23
+ "prepublishOnly": "node checkVersion.cjs && run-p typings lint && npm run test && npm run build",
17
24
  "postpublish": "eik package"
18
25
  },
19
26
  "dependencies": {
File without changes
File without changes
File without changes