@nmshd/crypto 1.0.0 → 1.0.4
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/LICENSE +7 -1
- package/README.md +7 -1
- package/dist/buildInformation.d.ts +16 -0
- package/dist/buildInformation.js +15 -0
- package/dist/buildInformation.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/lib-web/nmshd.crypto.js +26 -34
- package/lib-web/nmshd.crypto.js.map +1 -1
- package/lib-web/nmshd.crypto.min.js +1 -1
- package/lib-web/nmshd.crypto.min.js.map +1 -1
- package/package.json +7 -7
- package/dist/CryptoBuildInformation.d.ts +0 -11
- package/dist/CryptoBuildInformation.js +0 -23
- package/dist/CryptoBuildInformation.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmshd/crypto",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "The Enmeshed crypto library.",
|
|
5
5
|
"homepage": "https://enmeshed.eu",
|
|
6
6
|
"repository": "github:nmshd/cns-crypto",
|
|
7
|
-
"license": "
|
|
7
|
+
"license": "MIT",
|
|
8
8
|
"author": "j&s-soft GmbH",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
@@ -44,26 +44,26 @@
|
|
|
44
44
|
"uuid": "8.3.2"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@js-soft/eslint-config-ts": "^1.
|
|
47
|
+
"@js-soft/eslint-config-ts": "^1.4.0",
|
|
48
48
|
"@js-soft/license-check": "1.0.2",
|
|
49
|
-
"@js-soft/ts-serval": "1.0.
|
|
49
|
+
"@js-soft/ts-serval": "1.0.2",
|
|
50
50
|
"@types/chai": "^4.2.22",
|
|
51
51
|
"@types/libsodium-wrappers-sumo": "^0.7.5",
|
|
52
52
|
"@types/mocha": "^9.0.0",
|
|
53
|
-
"@types/node": "^16.
|
|
53
|
+
"@types/node": "^16.10.3",
|
|
54
54
|
"@types/uuid": "^8.3.1",
|
|
55
55
|
"bt-runner": "^1.0.17",
|
|
56
56
|
"chai": "^4.3.4",
|
|
57
57
|
"copy-webpack-plugin": "^9.0.1",
|
|
58
58
|
"eslint": "7.32.0",
|
|
59
59
|
"madge": "^5.0.1",
|
|
60
|
-
"mocha": "^9.1.
|
|
60
|
+
"mocha": "^9.1.2",
|
|
61
61
|
"prettier": "^2.4.1",
|
|
62
62
|
"terser-webpack-plugin": "^5.2.4",
|
|
63
63
|
"ts-node": "^10.2.1",
|
|
64
64
|
"tsconfig-paths": "^3.11.0",
|
|
65
65
|
"typescript": "^4.4.3",
|
|
66
|
-
"webpack": "^5.
|
|
66
|
+
"webpack": "^5.57.1",
|
|
67
67
|
"webpack-cli": "^4.8.0"
|
|
68
68
|
},
|
|
69
69
|
"publishConfig": {
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ServalBuildInformation } from "@js-soft/ts-serval";
|
|
2
|
-
export declare class CryptoBuildInformation {
|
|
3
|
-
readonly version: string;
|
|
4
|
-
readonly build: string;
|
|
5
|
-
readonly date: string;
|
|
6
|
-
readonly commit: string;
|
|
7
|
-
readonly dependencies: object;
|
|
8
|
-
readonly serval: ServalBuildInformation;
|
|
9
|
-
private constructor();
|
|
10
|
-
static readonly info: CryptoBuildInformation;
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CryptoBuildInformation = void 0;
|
|
4
|
-
const ts_serval_1 = require("@js-soft/ts-serval");
|
|
5
|
-
class CryptoBuildInformation {
|
|
6
|
-
constructor() {
|
|
7
|
-
this.version = "1.0.0";
|
|
8
|
-
this.build = "";
|
|
9
|
-
this.date = "2021-09-27T08:36:54+00:00";
|
|
10
|
-
this.commit = "";
|
|
11
|
-
this.serval = ts_serval_1.ServalBuildInformation.info;
|
|
12
|
-
try {
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/quotes
|
|
14
|
-
this.dependencies = JSON.parse(`{"libsodium-wrappers-sumo":"0.7.9","uuid":"8.3.2"}`);
|
|
15
|
-
}
|
|
16
|
-
catch (e) {
|
|
17
|
-
this.dependencies = {};
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
exports.CryptoBuildInformation = CryptoBuildInformation;
|
|
22
|
-
CryptoBuildInformation.info = new CryptoBuildInformation();
|
|
23
|
-
//# sourceMappingURL=CryptoBuildInformation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CryptoBuildInformation.js","sourceRoot":"","sources":["../src/CryptoBuildInformation.ts"],"names":[],"mappings":";;;AAAA,kDAA4D;AAE5D,MAAa,sBAAsB;IAQ/B;QAPgB,YAAO,GAAW,aAAa,CAAC;QAChC,UAAK,GAAW,WAAW,CAAC;QAC5B,SAAI,GAAW,UAAU,CAAC;QAC1B,WAAM,GAAW,YAAY,CAAC;QAE9B,WAAM,GAA2B,kCAAsB,CAAC,IAAI,CAAC;QAGzE,IAAI;YACA,qDAAqD;YACrD,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC;SACtD;QAAC,OAAO,CAAC,EAAE;YACR,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;SAC1B;IACL,CAAC;;AAfL,wDAkBC;AAD0B,2BAAI,GAA2B,IAAI,sBAAsB,EAAE,CAAC"}
|