swell-js 4.2.4 → 4.2.6

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": "swell-js",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "Swell JS library for client-side stores",
5
5
  "engines": {
6
6
  "node": ">=16"
package/types/index.d.ts CHANGED
@@ -543,3 +543,12 @@ export function post<T>(url: string, data?: unknown): Promise<T>;
543
543
 
544
544
  declare function _delete<T>(url: string, data?: unknown): Promise<T>;
545
545
  export { _delete as delete };
546
+
547
+ export function getCookie(key: string): string | undefined;
548
+ export function setCookie(
549
+ key: string,
550
+ value: string,
551
+ options?: { [key: string]: string },
552
+ ): void;
553
+
554
+ export default swell;