@nexusts/crypto 0.9.0 → 0.9.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.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * `nexusjs/crypto` — encryption + password hashing.
2
+ * `@nexusts/crypto` — encryption + password hashing.
3
3
  *
4
4
  * Public API:
5
5
  * - `EncryptionService` — AES-256-GCM + HMAC sign/unsign.
@@ -20,8 +20,8 @@
20
20
  *
21
21
  * Quick start:
22
22
  *
23
- * import { Module } from "nexusjs";
24
- * import { CryptoModule, EncryptionService, HashService } from "nexusjs/crypto";
23
+ * import { Module } from "@nexusts/core";
24
+ * import { CryptoModule, EncryptionService, HashService } from "@nexusts/crypto";
25
25
  *
26
26
  * @Module({
27
27
  * imports: [CryptoModule.forRoot({ key: process.env.APP_KEY! })],
@@ -47,7 +47,7 @@
47
47
  * }
48
48
  *
49
49
  * // Or use the standalone helpers without DI:
50
- * import { scryptHash, scryptVerify } from "nexusjs/crypto";
50
+ * import { scryptHash, scryptVerify } from "@nexusts/crypto";
51
51
  * const hash = await scryptHash("hunter2");
52
52
  * const ok = await scryptVerify(hash, "hunter2");
53
53
  */
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
- * Public types for `nexusjs/crypto`.
2
+ * Public types for `@nexusts/crypto`.
3
3
  *
4
- * `nexusjs/crypto` provides:
4
+ * `@nexusts/crypto` provides:
5
5
  * - `EncryptionService` — AES-256-GCM symmetric encryption +
6
6
  * HMAC sign/unsign (for stateless session cookies, CSRF tokens,
7
7
  * signed URLs, etc.).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexusts/crypto",
3
- "version": "0.9.0",
3
+ "version": "0.9.2",
4
4
  "description": "AES-256-GCM encryption + HMAC + scrypt/argon2",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,7 +26,7 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "dependencies": {
29
- "@nexusts/core": "^0.9.0"
29
+ "@nexusts/core": "^0.9.2"
30
30
  },
31
31
  "repository": {
32
32
  "type": "git",