@remnawave/backend-contract 2.2.21 → 2.2.23

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 REMNAAWAVE_SETTINGS: "remnawave_settings";
7
+ readonly REMNAWAVE_SETTINGS: "remnawave_settings";
8
8
  };
9
9
  export declare const CACHE_KEYS_TTL: {
10
- readonly REMNAAWAVE_SETTINGS: 86400000;
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
- REMNAAWAVE_SETTINGS: 'remnawave_settings',
9
+ REMNAWAVE_SETTINGS: 'remnawave_settings',
10
10
  };
11
11
  exports.CACHE_KEYS_TTL = {
12
- REMNAAWAVE_SETTINGS: 86400000, // 1 day
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
- REMNAAWAVE_SETTINGS: 'remnawave_settings',
9
+ REMNAWAVE_SETTINGS: 'remnawave_settings',
10
10
  };
11
11
  exports.CACHE_KEYS_TTL = {
12
- REMNAAWAVE_SETTINGS: 86400000, // 1 day
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.21",
3
+ "version": "2.2.23",
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.",
@@ -31,6 +31,7 @@
31
31
  "zod": "^3.25.76"
32
32
  },
33
33
  "devDependencies": {
34
- "validator": "13.15.15"
34
+ "validator": "13.15.15",
35
+ "@types/validator": "13.15.3"
35
36
  }
36
37
  }