@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 CHANGED
@@ -1 +1,7 @@
1
- This is a package to protect source code against unauthorised use
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.
@@ -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
- REPLACE WITH YOUR RSA PUBLIC KEY
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cored3v/web-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Reusable licensed Express core for web applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",