feathers-ucan 0.1.1 → 0.1.2

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,3 @@
1
+ // Auth Service Module
2
+ import { AuthService, NotAuthError, UcanStrategy } from '../index.module.js';
3
+ export { AuthService, NotAuthError, UcanStrategy };
@@ -1 +1,2 @@
1
- module.exports = require('./auth-service/index.js');
1
+ const mod = require('./auth-service/index.js');
2
+ module.exports = mod;
@@ -0,0 +1,3 @@
1
+ // Core Module
2
+ import { CoreCall } from '../index.module.js';
3
+ export { CoreCall };
package/lib/core.cjs CHANGED
@@ -1 +1,2 @@
1
- module.exports = require('./core/index.js');
1
+ const mod = require('./core/index.js');
2
+ module.exports = mod;
@@ -1 +1 @@
1
- export declare const VERSION = "0.1.1";
1
+ export declare const VERSION = "0.1.2";
@@ -0,0 +1,19 @@
1
+ // Hooks Module
2
+ import {
3
+ ucanAuth,
4
+ allUcanAuth,
5
+ noThrowAuth,
6
+ bareAuth,
7
+ updateUcan,
8
+ anyAuth,
9
+ noThrow
10
+ } from '../index.module.js';
11
+ export {
12
+ ucanAuth,
13
+ allUcanAuth,
14
+ noThrowAuth,
15
+ bareAuth,
16
+ updateUcan,
17
+ anyAuth,
18
+ noThrow
19
+ };
package/lib/hooks.cjs CHANGED
@@ -1 +1,2 @@
1
- module.exports = require('./hooks/index.js');
1
+ const mod = require('./hooks/index.js');
2
+ module.exports = mod;
@@ -0,0 +1,4 @@
1
+ // Types Module - JavaScript doesn't support type exports
2
+ // Types are available through TypeScript declaration files
3
+ // This module exists for consistency but exports nothing at runtime
4
+ export {};
package/lib/types.cjs CHANGED
@@ -1 +1,2 @@
1
- module.exports = require('./types/index.js');
1
+ const mod = require('./types/index.js');
2
+ module.exports = mod;
@@ -0,0 +1,3 @@
1
+ // Utils Module
2
+ import { loadExists, setExists, getExists, existsPath } from '../index.module.js';
3
+ export { loadExists, setExists, getExists, existsPath };
package/lib/utils.cjs CHANGED
@@ -1 +1,2 @@
1
- module.exports = require('./utils/index.js');
1
+ const mod = require('./utils/index.js');
2
+ module.exports = mod;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feathers-ucan",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Ucan extension of feathers jwt auth",
5
5
  "source": "src/index.ts",
6
6
  "unpkg": "lib/index.umd.js",
@@ -1 +0,0 @@
1
- export * from './auth-service/index';
package/lib/core.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './core/index';
package/lib/hooks.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './hooks/index';
package/lib/types.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './types/index';
package/lib/utils.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './utils/index';