@natyapp/meta 1.3.0 → 1.3.1

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.
@@ -22,10 +22,9 @@ class WhatsappResponse {
22
22
  var _a;
23
23
  const connection = await services_1.connectionMutations.getAll({page:0,size:1000});
24
24
  const { isSuccess, isError } = connection;
25
- const thisInstance = isSuccess?.find(item=>item.id === `${this.companyId}/${this.phone_number_id}`)
26
- console.log(`log from api updated`,{thisInstance,companyId:this.companyId,phoneNumberId:this.phone_number_id})
27
25
  if (isError)
28
26
  return;
27
+ const thisInstance = isSuccess?.find(item=>item.id === `${this.companyId}/${this.phone_number_id}`)
29
28
  const token = (_a = thisInstance) === null || _a === void 0 ? void 0 : _a.accessToken;
30
29
  this.token = token;
31
30
  this.apiCall = (0, services_1.newAxiosInstance)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@natyapp/meta",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",