@h3ravel/hashing 0.2.0-alpha.1 → 0.2.0-alpha.10

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/package.json +7 -7
package/dist/index.d.ts CHANGED
@@ -184,7 +184,7 @@ declare abstract class Manager extends IBaseHashManager {
184
184
  * @return string
185
185
  */
186
186
  getDefaultDriver(): HashAlgorithm;
187
- protected createDriver(driver: HashAlgorithm): BcryptHasher | ArgonHasher | Argon2idHasher;
187
+ protected createDriver(driver: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
188
188
  /**
189
189
  * Determine if a given string is already hashed.
190
190
  *
@@ -280,7 +280,7 @@ declare class HashManager extends HashManager_base {
280
280
  *
281
281
  * @throws InvalidArgumentException
282
282
  */
283
- driver(driver?: HashAlgorithm): BcryptHasher | ArgonHasher | Argon2idHasher;
283
+ driver(driver?: HashAlgorithm): Argon2idHasher | ArgonHasher | BcryptHasher;
284
284
  }
285
285
  declare const defineConfig: (config: HashConfiguration) => HashConfiguration;
286
286
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/hashing",
3
- "version": "0.2.0-alpha.1",
3
+ "version": "0.2.0-alpha.10",
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,10 +48,10 @@
48
48
  "typescript": "^5.4.0"
49
49
  },
50
50
  "peerDependencies": {
51
- "@h3ravel/core": "^1.22.0-alpha.1",
52
- "@h3ravel/foundation": "^0.1.0-alpha.1",
53
- "@h3ravel/shared": "^0.29.0-alpha.1",
54
- "@h3ravel/support": "^0.17.0-alpha.1"
51
+ "@h3ravel/core": "^1.22.0-alpha.10",
52
+ "@h3ravel/foundation": "^0.1.0-alpha.10",
53
+ "@h3ravel/shared": "^0.29.0-alpha.10",
54
+ "@h3ravel/support": "^0.17.0-alpha.10"
55
55
  },
56
56
  "peerDependenciesMeta": {
57
57
  "@h3ravel/core": {
@@ -60,8 +60,8 @@
60
60
  },
61
61
  "dependencies": {
62
62
  "argon2": "^0.44.0",
63
- "@h3ravel/contracts": "^0.29.0-alpha.1",
64
- "@h3ravel/foundation": "^0.1.0-alpha.1"
63
+ "@h3ravel/contracts": "^0.29.0-alpha.10",
64
+ "@h3ravel/foundation": "^0.1.0-alpha.10"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "tsdown --config-loader unconfig",