@arkstack/auth 0.15.3 → 0.15.4

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 +1 -2
  2. package/package.json +4 -4
package/dist/index.d.ts CHANGED
@@ -1,7 +1,6 @@
1
1
  /// <reference path="./app.d.ts" />
2
2
  import { Exception } from "@arkstack/common";
3
3
  import { Request, RequestSource, Response, ResponseSource, Session } from "@arkstack/http";
4
- import * as _$otpauth from "otpauth";
5
4
  import { Model } from "@arkstack/database";
6
5
  import { User as User$1 } from "@app/models/User";
7
6
 
@@ -466,7 +465,7 @@ declare class TwoFactor {
466
465
  * @param secret
467
466
  * @returns
468
467
  */
469
- static getTotp(user: User$1, secret: string): _$otpauth.TOTP;
468
+ static getTotp(user: User$1, secret: string): import("otpauth").TOTP;
470
469
  /**
471
470
  * Generate a new shared secret for authenticator-based 2FA.
472
471
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkstack/auth",
3
- "version": "0.15.3",
3
+ "version": "0.15.4",
4
4
  "type": "module",
5
5
  "description": "Authentication module for Arkstack, providing core authentication and identity features.",
6
6
  "homepage": "https://arkstack.toneflix.net/guide/auth",
@@ -40,12 +40,12 @@
40
40
  "jose": "^6.2.3",
41
41
  "otpauth": "^9.5.1",
42
42
  "ua-parser-js": "^2.0.9",
43
- "@arkstack/common": "^0.15.3",
44
- "@arkstack/http": "^0.15.3"
43
+ "@arkstack/http": "^0.15.4",
44
+ "@arkstack/common": "^0.15.4"
45
45
  },
46
46
  "peerDependencies": {
47
47
  "@h3ravel/support": "^2.2.0",
48
- "@arkstack/database": "^0.15.3"
48
+ "@arkstack/database": "^0.15.4"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "tsdown --config-loader unrun",