@code.store/arcxp-sdk-ts 5.1.1 → 5.1.2

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.js CHANGED
@@ -686,10 +686,11 @@ class ArcSales extends ArcAbstractAPI {
686
686
  constructor(options) {
687
687
  super({ ...options, apiPath: 'sales/api/v1' });
688
688
  }
689
- async migrate(payload) {
689
+ async migrate(params, payload) {
690
690
  const form = new FormData();
691
691
  form.append('file', JSON.stringify(payload), { filename: 'subs.json', contentType: 'application/json' });
692
692
  const { data } = await this.client.post('/migrate', form, {
693
+ params,
693
694
  headers: {
694
695
  ...form.getHeaders(),
695
696
  },