feathers-ucan 0.1.0 → 0.1.1

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.
@@ -0,0 +1 @@
1
+ module.exports = require('./auth-service/index.js');
@@ -0,0 +1 @@
1
+ export * from './auth-service/index';
@@ -0,0 +1 @@
1
+ export * from './auth-service/index.js';
package/lib/core.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./core/index.js');
package/lib/core.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './core/index';
package/lib/core.js ADDED
@@ -0,0 +1 @@
1
+ export * from './core/index.js';
@@ -1 +1 @@
1
- export declare const VERSION = "0.1.0";
1
+ export declare const VERSION = "0.1.1";
package/lib/hooks.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./hooks/index.js');
package/lib/hooks.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './hooks/index';
package/lib/hooks.js ADDED
@@ -0,0 +1 @@
1
+ export * from './hooks/index.js';
package/lib/types.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./types/index.js');
package/lib/types.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './types/index';
package/lib/types.js ADDED
@@ -0,0 +1 @@
1
+ export * from './types/index.js';
package/lib/utils.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = require('./utils/index.js');
package/lib/utils.d.ts ADDED
@@ -0,0 +1 @@
1
+ export * from './utils/index';
package/lib/utils.js ADDED
@@ -0,0 +1 @@
1
+ export * from './utils/index.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feathers-ucan",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Ucan extension of feathers jwt auth",
5
5
  "source": "src/index.ts",
6
6
  "unpkg": "lib/index.umd.js",
@@ -8,16 +8,45 @@
8
8
  "module": "lib/index.module.js",
9
9
  "types": "lib/index.d.ts",
10
10
  "type": "module",
11
+ "sideEffects": false,
11
12
  "exports": {
12
- "types": "./lib/index.d.ts",
13
- "require": "./lib/index.cjs",
14
- "default": "./lib/index.modern.js"
13
+ ".": {
14
+ "types": "./lib/index.d.ts",
15
+ "require": "./lib/index.cjs",
16
+ "default": "./lib/index.modern.js"
17
+ },
18
+ "./auth-service": {
19
+ "types": "./lib/auth-service.d.ts",
20
+ "import": "./lib/auth-service.js",
21
+ "require": "./lib/auth-service.cjs"
22
+ },
23
+ "./core": {
24
+ "types": "./lib/core.d.ts",
25
+ "import": "./lib/core.js",
26
+ "require": "./lib/core.cjs"
27
+ },
28
+ "./hooks": {
29
+ "types": "./lib/hooks.d.ts",
30
+ "import": "./lib/hooks.js",
31
+ "require": "./lib/hooks.cjs"
32
+ },
33
+ "./types": {
34
+ "types": "./lib/types.d.ts",
35
+ "import": "./lib/types.js",
36
+ "require": "./lib/types.cjs"
37
+ },
38
+ "./utils": {
39
+ "types": "./lib/utils.d.ts",
40
+ "import": "./lib/utils.js",
41
+ "require": "./lib/utils.cjs"
42
+ }
15
43
  },
16
44
  "scripts": {
17
45
  "test": "test",
18
46
  "prebuild": "rimraf lib dist && node scripts/gen-version.js",
19
- "build": "rm -rf lib && microbundle --tsconfig tsconfig.json",
20
- "dev": "microbundle --watch --tsconfig tsconfig.json --no-sourcemap"
47
+ "build": "rm -rf lib && microbundle --tsconfig tsconfig.json && node scripts/create-submodule-exports.js",
48
+ "dev": "microbundle --watch --tsconfig tsconfig.json --no-sourcemap",
49
+ "dev:modules": "microbundle src/auth-service.ts src/core.ts src/hooks.ts src/types.ts src/utils.ts --watch --tsconfig tsconfig.json --no-sourcemap --no-pkg-main"
21
50
  },
22
51
  "files": [
23
52
  "lib"