@maxzima/wa-communicator 1.0.3 → 1.0.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.
@@ -128,7 +128,7 @@ export class Communicator {
128
128
  });
129
129
  return yield this.send({
130
130
  method: 'POST',
131
- url: `${this.props.clientAuthApiBaseUrl}${"clients/registration"}`,
131
+ url: `${this.props.clientFAPIBaseUrl}${"clients/registration"}`,
132
132
  headers: Object.assign({ 'Authorization': `Bearer ${data.authToken}` }, CommunicatorDefaultRequestData.FETCH_HEADERS_INIT),
133
133
  body,
134
134
  });
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.3",
2
+ "version": "1.0.4",
3
3
  "name": "@maxzima/wa-communicator",
4
4
  "description": "",
5
5
  "author": "Noname",
@@ -133,7 +133,7 @@ export class Communicator {
133
133
 
134
134
  return await this.send({
135
135
  method: 'POST',
136
- url: `${this.props.clientAuthApiBaseUrl}${CommunicatorFAPIEndpointEnum.REGISTRATION}`,
136
+ url: `${this.props.clientFAPIBaseUrl}${CommunicatorFAPIEndpointEnum.REGISTRATION}`,
137
137
  headers: {
138
138
  'Authorization': `Bearer ${data.authToken}`,
139
139
  ...CommunicatorDefaultRequestData.FETCH_HEADERS_INIT,