@remnawave/backend-contract 2.2.22 → 2.2.24
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.
| 
         @@ -4,9 +4,9 @@ export declare const CACHE_KEYS: { 
     | 
|
| 
       4 
4 
     | 
    
         
             
                readonly SUBSCRIPTION_TEMPLATE: (name: string, type: TSubscriptionTemplateType) => string;
         
     | 
| 
       5 
5 
     | 
    
         
             
                readonly PASSKEY_REGISTRATION_OPTIONS: (uuid: string) => string;
         
     | 
| 
       6 
6 
     | 
    
         
             
                readonly PASSKEY_AUTHENTICATION_OPTIONS: (uuid: string) => string;
         
     | 
| 
       7 
     | 
    
         
            -
                readonly  
     | 
| 
      
 7 
     | 
    
         
            +
                readonly REMNAWAVE_SETTINGS: "remnawave_settings";
         
     | 
| 
       8 
8 
     | 
    
         
             
            };
         
     | 
| 
       9 
9 
     | 
    
         
             
            export declare const CACHE_KEYS_TTL: {
         
     | 
| 
       10 
     | 
    
         
            -
                readonly  
     | 
| 
      
 10 
     | 
    
         
            +
                readonly REMNAWAVE_SETTINGS: 86400000;
         
     | 
| 
       11 
11 
     | 
    
         
             
            };
         
     | 
| 
       12 
12 
     | 
    
         
             
            //# sourceMappingURL=cache-keys.constants.d.ts.map
         
     | 
| 
         @@ -6,8 +6,8 @@ exports.CACHE_KEYS = { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                SUBSCRIPTION_TEMPLATE: (name, type) => `subscription_template:${name}:${type}`,
         
     | 
| 
       7 
7 
     | 
    
         
             
                PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
         
     | 
| 
       8 
8 
     | 
    
         
             
                PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
         
     | 
| 
       9 
     | 
    
         
            -
                 
     | 
| 
      
 9 
     | 
    
         
            +
                REMNAWAVE_SETTINGS: 'remnawave_settings',
         
     | 
| 
       10 
10 
     | 
    
         
             
            };
         
     | 
| 
       11 
11 
     | 
    
         
             
            exports.CACHE_KEYS_TTL = {
         
     | 
| 
       12 
     | 
    
         
            -
                 
     | 
| 
      
 12 
     | 
    
         
            +
                REMNAWAVE_SETTINGS: 86400000, // 1 day
         
     | 
| 
       13 
13 
     | 
    
         
             
            };
         
     | 
| 
         @@ -6,8 +6,8 @@ exports.CACHE_KEYS = { 
     | 
|
| 
       6 
6 
     | 
    
         
             
                SUBSCRIPTION_TEMPLATE: (name, type) => `subscription_template:${name}:${type}`,
         
     | 
| 
       7 
7 
     | 
    
         
             
                PASSKEY_REGISTRATION_OPTIONS: (uuid) => `passkey_registration_options:${uuid}`,
         
     | 
| 
       8 
8 
     | 
    
         
             
                PASSKEY_AUTHENTICATION_OPTIONS: (uuid) => `passkey_authentication_options:${uuid}`,
         
     | 
| 
       9 
     | 
    
         
            -
                 
     | 
| 
      
 9 
     | 
    
         
            +
                REMNAWAVE_SETTINGS: 'remnawave_settings',
         
     | 
| 
       10 
10 
     | 
    
         
             
            };
         
     | 
| 
       11 
11 
     | 
    
         
             
            exports.CACHE_KEYS_TTL = {
         
     | 
| 
       12 
     | 
    
         
            -
                 
     | 
| 
      
 12 
     | 
    
         
            +
                REMNAWAVE_SETTINGS: 86400000, // 1 day
         
     | 
| 
       13 
13 
     | 
    
         
             
            };
         
     | 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,6 +1,6 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
              "name": "@remnawave/backend-contract",
         
     | 
| 
       3 
     | 
    
         
            -
              "version": "2.2. 
     | 
| 
      
 3 
     | 
    
         
            +
              "version": "2.2.24",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "public": true,
         
     | 
| 
       5 
5 
     | 
    
         
             
              "license": "AGPL-3.0-only",
         
     | 
| 
       6 
6 
     | 
    
         
             
              "description": "A contract library for Remnawave Backend. It can be used in backend and frontend.",
         
     | 
| 
         @@ -28,10 +28,10 @@ 
     | 
|
| 
       28 
28 
     | 
    
         
             
              },
         
     | 
| 
       29 
29 
     | 
    
         
             
              "keywords": [],
         
     | 
| 
       30 
30 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       31 
     | 
    
         
            -
                "zod": "^3.25.76"
         
     | 
| 
      
 31 
     | 
    
         
            +
                "zod": "^3.25.76",
         
     | 
| 
      
 32 
     | 
    
         
            +
                "validator": "13.15.15"
         
     | 
| 
       32 
33 
     | 
    
         
             
              },
         
     | 
| 
       33 
34 
     | 
    
         
             
              "devDependencies": {
         
     | 
| 
       34 
     | 
    
         
            -
                "validator": "13.15.15",
         
     | 
| 
       35 
35 
     | 
    
         
             
                "@types/validator": "13.15.3"
         
     | 
| 
       36 
36 
     | 
    
         
             
              }
         
     | 
| 
       37 
37 
     | 
    
         
             
            }
         
     |