@degenerate/generic 0.0.3 → 0.0.5

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/dist/index.js CHANGED
@@ -1,5 +1,3 @@
1
- import { CryptoSettings } from './_settings/cryptography-settings';
1
+ export * from './_settings/cryptography-settings';
2
2
  // import * as crypto from './crypto'; this would become crypto.calculateHash ...
3
- import { calculateHash } from './crypto';
4
- export { calculateHash, CryptoSettings };
5
- //# sourceMappingURL=index.js.map
3
+ export * from './crypto';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@degenerate/generic",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "description": "This contains the generic information needed for the Distributed Execution Infrastructure network.",
5
5
  "main": "dist/index.js",
6
- "types": "dist/index.js.map",
6
+ "types": "dist/index.d.ts",
7
7
  "scripts": {
8
8
  "build": "tsc",
9
9
  "test": "jest --forceExit --detectOpenHandles --verbose --silent=false --env node",
package/src/index.ts CHANGED
@@ -1,8 +1,3 @@
1
- import { CryptoSettings } from './_settings/cryptography-settings';
1
+ export * from './_settings/cryptography-settings';
2
2
  // import * as crypto from './crypto'; this would become crypto.calculateHash ...
3
- import { calculateHash } from './crypto';
4
-
5
- export {
6
- calculateHash,
7
- CryptoSettings
8
- };
3
+ export * from './crypto';
package/tsconfig.json CHANGED
@@ -29,7 +29,7 @@
29
29
  "module": "ESNext", // Module type
30
30
  "target": "ES2020", // Target language version
31
31
  "rootDir": "./src", /* Specify the root folder within your source files. */
32
- "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
32
+ "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
33
33
  // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
34
34
  // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
35
35
  // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
@@ -52,10 +52,10 @@
52
52
  // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'. */
53
53
 
54
54
  /* Emit */
55
- // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
56
- // "declarationMap": true, /* Create sourcemaps for d.ts files. */
55
+ "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
56
+ "declarationMap": true, /* Create sourcemaps for d.ts files. */
57
57
  // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */
58
- "sourceMap": true, /* Create source map files for emitted JavaScript files. */
58
+ // "sourceMap": true, /* Create source map files for emitted JavaScript files. */
59
59
  // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */
60
60
  // "noEmit": true, /* Disable emitting files from a compilation. */
61
61
  // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output. */
@@ -118,6 +118,5 @@
118
118
  "src/test/**/*",
119
119
  "__mocks__/**/*",
120
120
  "__tests__/**/*",
121
- "dist/**/*"
122
121
  ]
123
122
  }