@qr-platform/qr-code.js 0.20.0 → 0.20.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qr-platform/qr-code.js",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "description": "QRCode.js is a professional JavaScript/TypeScript library for creating customized QR codes, offering a blend of simplicity and sophistication. With versatile styling options—dot shapes, colors, gradients, embedded images, borders, and text—it enables you to design unique, visually appealing QR codes that work flawlessly with standard scanners. QRCode.js is part of QR-Platform: All-in-One QR Codes Management Solution.",
5
5
  "type": "module",
6
6
  "main": "./lib/node.js",
@@ -1,19 +0,0 @@
1
- /**
2
- * Represents the decoded payload of a valid license token.
3
- */
4
- export interface DecodedLicenseToken {
5
- sub: string;
6
- client: string;
7
- email?: string;
8
- domains?: string[];
9
- iat: number;
10
- exp: number;
11
- }
12
- /**
13
- * Validates a JWT access token using the public key.
14
- *
15
- * @param token The JWT token string to validate.
16
- * @returns The decoded token payload if the token is valid and not expired.
17
- * @throws {Error} If the token is invalid, expired, or verification fails for any other reason.
18
- */
19
- export declare function validateToken(token: string): Promise<DecodedLicenseToken>;
@@ -1,19 +0,0 @@
1
- /**
2
- * Represents the decoded payload of a valid license token.
3
- */
4
- export interface DecodedLicenseToken {
5
- sub: string;
6
- client: string;
7
- email?: string;
8
- domains?: string[];
9
- iat: number;
10
- exp: number;
11
- }
12
- /**
13
- * Validates a JWT access token using the public key.
14
- *
15
- * @param token The JWT token string to validate.
16
- * @returns The decoded token payload if the token is valid and not expired.
17
- * @throws {Error} If the token is invalid, expired, or verification fails for any other reason.
18
- */
19
- export declare function validateToken(token: string): Promise<DecodedLicenseToken>;