@paynext/sdk 0.0.11 → 0.0.12

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/index.es.js CHANGED
@@ -313,9 +313,10 @@ const So = async (e) => {
313
313
  body: JSON.stringify(e)
314
314
  })).json();
315
315
  }, Eo = async (e) => {
316
- const t = `${Zn.apiBase}/payments/create/billing/agreement`;
317
- return await (await fetch(t, {
316
+ const t = `${Zn.apiBase}/payments/create/billing/agreement`, n = new Headers();
317
+ return n.append("Content-Type", "application/json"), await (await fetch(t, {
318
318
  method: "POST",
319
+ headers: n,
319
320
  body: JSON.stringify({ clientSession: e })
320
321
  })).json();
321
322
  }, jo = async (e) => {