@tramvai/module-cookie 5.18.1 → 5.19.0

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.
@@ -11,9 +11,9 @@ export declare class CookieManager implements Interface {
11
11
  responseManager: typeof RESPONSE_MANAGER_TOKEN;
12
12
  userAgent: typeof USER_AGENT_TOKEN;
13
13
  });
14
- get(name: string): string;
14
+ get(name: string): string | undefined;
15
15
  set({ name, value, ...options }: CookieSetOptions): void;
16
- all(): Record<string, string>;
16
+ all(): Record<string, string | undefined>;
17
17
  remove(name: string, options?: CookieOptions): void;
18
18
  }
19
19
  //# sourceMappingURL=cookieManager.server.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/module-cookie",
3
- "version": "5.18.1",
3
+ "version": "5.19.0",
4
4
  "description": "",
5
5
  "browser": "lib/browser.js",
6
6
  "main": "lib/server.js",
@@ -19,15 +19,15 @@
19
19
  },
20
20
  "dependencies": {
21
21
  "@tinkoff/browser-cookies": "5.0.2",
22
- "@tramvai/tokens-cookie": "5.18.1",
23
- "@tramvai/module-client-hints": "5.18.1",
22
+ "@tramvai/tokens-cookie": "5.19.0",
23
+ "@tramvai/module-client-hints": "5.19.0",
24
24
  "cookie": "^0.5.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "@tinkoff/utils": "^2.1.2",
28
- "@tramvai/core": "5.18.1",
29
- "@tramvai/state": "5.18.1",
30
- "@tramvai/tokens-common": "5.18.1",
28
+ "@tramvai/core": "5.19.0",
29
+ "@tramvai/state": "5.19.0",
30
+ "@tramvai/tokens-common": "5.19.0",
31
31
  "@tinkoff/dippy": "0.11.3",
32
32
  "tslib": "^2.4.0"
33
33
  },