@h3ravel/hashing 0.1.6 → 0.1.8

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.cts CHANGED
@@ -239,7 +239,7 @@ declare abstract class Manager {
239
239
  * @return string
240
240
  */
241
241
  getDefaultDriver(): HashAlgorithm;
242
- protected createDriver(driver: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
242
+ protected createDriver(driver: HashAlgorithm): ArgonHasher | Argon2idHasher | BcryptHasher;
243
243
  /**
244
244
  * Determine if a given string is already hashed.
245
245
  *
@@ -334,7 +334,7 @@ declare class HashManager extends Manager {
334
334
  *
335
335
  * @throws InvalidArgumentException
336
336
  */
337
- driver(driver?: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
337
+ driver(driver?: HashAlgorithm): ArgonHasher | Argon2idHasher | BcryptHasher;
338
338
  }
339
339
  declare const defineConfig: (config: Configuration) => Configuration;
340
340
  //#endregion
package/dist/index.d.ts CHANGED
@@ -239,7 +239,7 @@ declare abstract class Manager {
239
239
  * @return string
240
240
  */
241
241
  getDefaultDriver(): HashAlgorithm;
242
- protected createDriver(driver: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
242
+ protected createDriver(driver: HashAlgorithm): ArgonHasher | Argon2idHasher | BcryptHasher;
243
243
  /**
244
244
  * Determine if a given string is already hashed.
245
245
  *
@@ -334,7 +334,7 @@ declare class HashManager extends Manager {
334
334
  *
335
335
  * @throws InvalidArgumentException
336
336
  */
337
- driver(driver?: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
337
+ driver(driver?: HashAlgorithm): ArgonHasher | Argon2idHasher | BcryptHasher;
338
338
  }
339
339
  declare const defineConfig: (config: Configuration) => Configuration;
340
340
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/hashing",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Secure framework-agnostic Bcrypt and Argon2 hashing for storing user passwords in H3ravel and node Apps.",
5
5
  "h3ravel": {
6
6
  "providers": [
@@ -48,8 +48,8 @@
48
48
  "typescript": "^5.4.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@h3ravel/core": "^1.18.1",
52
- "@h3ravel/support": "^0.14.2"
51
+ "@h3ravel/core": "^1.20.0",
52
+ "@h3ravel/support": "^0.14.4"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "@h3ravel/core": {