@alwatr/crypto
Advanced tools
Comparing version 4.2.2 to 4.3.0
@@ -6,2 +6,24 @@ # Change Log | ||
## [4.3.0](https://github.com/Alwatr/nanotron/compare/v4.2.2...v4.3.0) (2024-10-11) | ||
### Features | ||
* update `import`s & packages based on the latest changes of `nanolib` & prevent `sideeffects` from `build` result ([1d234b8](https://github.com/Alwatr/nanotron/commit/1d234b83152fb246b793476898e9cf026aa52874)) by @mohammadhonarvar | ||
### Bug Fixes | ||
* **crypto:** update types & `logger` & use `packageTracer` based on last changes of `nanolib` ([cf1a480](https://github.com/Alwatr/nanotron/commit/cf1a48071fe745226f6aed2afdf11038da5065e2)) by @mohammadhonarvar | ||
### Code Refactoring | ||
* update `import`s & packages based on the latest changes of `nanolib` ([7652b5d](https://github.com/Alwatr/nanotron/commit/7652b5d9cc69218f2ff28bda3d0d8f52f147c6f6)) by @mohammadhonarvar | ||
### Miscellaneous Chores | ||
* edited README ([d707d38](https://github.com/Alwatr/nanotron/commit/d707d389e085dd320402521cb23af5805013d777)) by @ArmanAsadian | ||
### Dependencies update | ||
* update ([834ffcc](https://github.com/Alwatr/nanotron/commit/834ffcc8f6de96cc11a1a6fa933f948b7813cde6)) by @mohammadhonarvar | ||
## [4.2.2](https://github.com/Alwatr/nanotron/compare/v4.2.1...v4.2.2) (2024-09-29) | ||
@@ -8,0 +30,0 @@ |
@@ -0,4 +1,4 @@ | ||
import { type Duration } from '@alwatr/nanolib'; | ||
import { AlwatrHashGenerator } from './hash.js'; | ||
import { AlwatrTokenGenerator, type TokenValidity } from './token.js'; | ||
import type { DurationString } from '@alwatr/parse-duration'; | ||
/** | ||
@@ -15,3 +15,3 @@ * Configuration options for the CryptoFactory. | ||
*/ | ||
duration: DurationString | 'infinite'; | ||
duration: Duration | 'infinite'; | ||
} | ||
@@ -18,0 +18,0 @@ /** |
@@ -1,2 +0,2 @@ | ||
import { type DurationString } from '@alwatr/parse-duration'; | ||
import { type Duration } from '@alwatr/nanolib'; | ||
import type { CryptoAlgorithm, CryptoEncoding } from './type.js'; | ||
@@ -27,3 +27,3 @@ export type TokenValidity = 'valid' | 'invalid' | 'expired'; | ||
*/ | ||
duration: DurationString | 'infinite'; | ||
duration: Duration | 'infinite'; | ||
} | ||
@@ -30,0 +30,0 @@ /** |
{ | ||
"name": "@alwatr/crypto", | ||
"version": "4.2.2", | ||
"version": "4.3.0", | ||
"description": "A robust generator of secure authentication HOTP tokens, employing the HMAC-based One-Time Password algorithm, accompanied by a suite of cryptographic utilities, all encapsulated within a compact TypeScript module.", | ||
@@ -69,15 +69,14 @@ "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>", | ||
"dependencies": { | ||
"@alwatr/logger": "^3.2.14", | ||
"@alwatr/parse-duration": "^1.0.11" | ||
"@alwatr/nanolib": "^1.2.0" | ||
}, | ||
"devDependencies": { | ||
"@alwatr/nano-build": "^1.3.10", | ||
"@alwatr/prettier-config": "^1.0.4", | ||
"@alwatr/tsconfig-base": "^1.2.0", | ||
"@alwatr/type-helper": "^1.2.6", | ||
"@types/node": "^22.7.4", | ||
"@alwatr/nano-build": "^2.0.1", | ||
"@alwatr/prettier-config": "^1.0.6", | ||
"@alwatr/tsconfig-base": "^1.3.2", | ||
"@alwatr/type-helper": "^2.0.2", | ||
"@types/node": "^22.7.5", | ||
"jest": "^29.7.0", | ||
"typescript": "^5.6.2" | ||
"typescript": "^5.6.3" | ||
}, | ||
"gitHead": "887f58ef716850a245871fe0f3672354201cdb9a" | ||
"gitHead": "5dd04b482d18bc8160ead9003f1d518512a62a8e" | ||
} |
@@ -24,3 +24,3 @@ # Crypto | ||
The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website. | ||
The following companies, organizations, and individuals support Nanotron ongoing maintenance and development. Become a Sponsor to get your logo on our README and website. | ||
@@ -27,0 +27,0 @@ [](https://exirstudio.com) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
122186
1
1015
0
+ Added@alwatr/nanolib@^1.2.0
+ Added@alwatr/async-queue@1.3.8(transitive)
+ Added@alwatr/deep-clone@1.1.8(transitive)
+ Added@alwatr/delay@1.0.8(transitive)
+ Added@alwatr/env@1.0.1(transitive)
+ Added@alwatr/exit-hook@1.1.8(transitive)
+ Added@alwatr/fetch@4.2.1(transitive)
+ Added@alwatr/flat-string@1.1.8(transitive)
+ Added@alwatr/flatomise@1.2.8(transitive)
+ Added@alwatr/http-primer@1.0.1(transitive)
+ Added@alwatr/local-storage@1.1.8(transitive)
+ Added@alwatr/logger@4.0.8(transitive)
+ Added@alwatr/nanolib@1.5.1(transitive)
+ Added@alwatr/node-fs@1.1.8(transitive)
+ Added@alwatr/render-state@1.0.8(transitive)
+ Added@alwatr/resolve-url@1.0.2(transitive)
+ Added@alwatr/unicode-digits@1.1.3(transitive)
- Removed@alwatr/logger@^3.2.14
- Removed@alwatr/parse-duration@^1.0.11
- Removed@alwatr/logger@3.2.14(transitive)