swell-js 4.2.3 → 4.2.4

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/dist/api.mjs CHANGED
@@ -145,7 +145,7 @@ function swell(initStore = undefined, initKey, initOptions = {}) {
145
145
  const api = {};
146
146
 
147
147
  Object.assign(api, {
148
- version: '4.2.3',
148
+ version: '4.2.4',
149
149
  options,
150
150
  request,
151
151
 
package/dist/swell.cjs CHANGED
@@ -10176,7 +10176,7 @@ function swell(initStore = undefined, initKey, initOptions = {}) {
10176
10176
  const api = {};
10177
10177
 
10178
10178
  Object.assign(api, {
10179
- version: '4.2.3',
10179
+ version: '4.2.4',
10180
10180
  options,
10181
10181
  request,
10182
10182
 
@@ -15621,7 +15621,7 @@
15621
15621
  const api = {};
15622
15622
 
15623
15623
  Object.assign(api, {
15624
- version: '4.2.3',
15624
+ version: '4.2.4',
15625
15625
  options,
15626
15626
  request,
15627
15627
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swell-js",
3
- "version": "4.2.3",
3
+ "version": "4.2.4",
4
4
  "description": "Swell JS library for client-side stores",
5
5
  "engines": {
6
6
  "node": ">=16"
package/types/index.d.ts CHANGED
@@ -105,6 +105,7 @@ export interface InitOptions {
105
105
  vaultUrl?: string;
106
106
  setCookie?: (key: string, value: string) => void;
107
107
  getCookie?: (key: string) => string | undefined;
108
+ headers?: Record<string, string>;
108
109
  }
109
110
 
110
111
  export interface ResultsResponse<T> {