@cored3v/web-core 1.0.0 → 1.0.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.
- package/README.md +7 -1
- package/dist/license/crypto.js +7 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
# @cored3v/web-core
|
|
2
|
+
|
|
3
|
+
A reusable, production-ready **Express.js application core** that provides
|
|
4
|
+
bootstrapping, configuration, authentication, database lifecycle management,
|
|
5
|
+
and **license-based execution enforcement**.
|
|
6
|
+
|
|
7
|
+
This package is designed to protect source code by teams and consultants against unauthorised use.
|
package/dist/license/crypto.js
CHANGED
|
@@ -7,7 +7,13 @@ exports.verifySignature = verifySignature;
|
|
|
7
7
|
const crypto_1 = __importDefault(require("crypto"));
|
|
8
8
|
const PUBLIC_KEY = `
|
|
9
9
|
-----BEGIN PUBLIC KEY-----
|
|
10
|
-
|
|
10
|
+
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsU0BSgfcYaHOuWuNRQEw
|
|
11
|
+
t3HyMf+UY+RAVGf0bDmdXIyp5fPol5K86jol45lIaxdbkMpPqODmr/lU0dDBOIwy
|
|
12
|
+
wlhbAQb0nLsIMQf3M6lNw6OtI0EnlZd2xhfisfu1XH9UBbn7Q6W2+i22rZhKC3yY
|
|
13
|
+
8E7Dntgl7IkItjEFFpnbA4tCY6yTGhGfAx/4O977Vw2ET6m5SVcFVlKs0OxekRc0
|
|
14
|
+
7rcgCTwSjHPkMumVc7zv+rfZPkhULN76ju26gcuR19xd+gNq3qLGgJ9hcDITmuwP
|
|
15
|
+
FE212I94elpNRNbrX7MUqVX3o7trE5CqxH42NuGP20edSWcKqpvqLFPSnlsSvhUp
|
|
16
|
+
MQIDAQAB
|
|
11
17
|
-----END PUBLIC KEY-----
|
|
12
18
|
`;
|
|
13
19
|
function verifySignature(payload, signature) {
|