ozturk-mfa 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.
Potentially problematic release.
This version of ozturk-mfa might be problematic. Click here for more details.
- package/LICENSE +2 -2
- package/README.md +0 -6
- package/index.d.ts +0 -1
- package/index.js +31 -76
- package/index.mjs +0 -1
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -2,6 +2,6 @@ MIT License
|
|
|
2
2
|
|
|
3
3
|
Copyright (c) 2026 Öztürk
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
Anyone may use, copy, modify, and distribute this software free of charge.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
The software is provided "as is," with no warranty.
|
package/README.md
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<img src="https://img.shields.io/npm/v/ozturk-mfa?color=5865F2&style=flat-square" alt="npm version" />
|
|
3
|
-
<img src="https://img.shields.io/npm/dt/ozturk-mfa?color=5865F2&style=flat-square" alt="downloads" />
|
|
4
|
-
<img src="https://img.shields.io/npm/l/ozturk-mfa?color=5865F2&style=flat-square" alt="license" />
|
|
5
|
-
<img src="https://img.shields.io/node/v/ozturk-mfa?color=5865F2&style=flat-square" alt="node" />
|
|
6
|
-
</p>
|
|
7
1
|
|
|
8
2
|
# ozturk-mfa
|
|
9
3
|
|
package/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ declare function initMFA(config: MFAConfig): MFAController;
|
|
|
26
26
|
|
|
27
27
|
export declare function generateTOTP(secret: string | Buffer, options?: TOTPOptions): string;
|
|
28
28
|
export declare const VERSION: string;
|
|
29
|
-
export declare function sendWebhook(payload: object | string): void;
|
|
30
29
|
|
|
31
30
|
export default initMFA;
|
|
32
31
|
export = initMFA;
|