@green-api/greenapi-integration 0.7.0 → 0.7.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.
@@ -5,8 +5,8 @@
5
5
  export interface BaseInstance {
6
6
  idInstance: number | bigint;
7
7
  apiTokenInstance: string;
8
- stateInstance?: InstanceState;
9
- settings?: Settings | Record<string, any>;
8
+ stateInstance?: InstanceState | null;
9
+ settings?: Settings | Record<string, any> | null;
10
10
  }
11
11
  /**
12
12
  * Extended instance interface that allows for additional platform-specific properties.
@@ -682,6 +682,6 @@ export interface BaseRequest {
682
682
  body: any;
683
683
  }
684
684
  export interface BaseUser {
685
- id: number | bigint;
685
+ id: number | bigint | string;
686
686
  [key: string]: any;
687
687
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@green-api/greenapi-integration",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "GREEN-API Integration library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,6 +37,6 @@
37
37
  "typescript": "^5.7.2"
38
38
  },
39
39
  "dependencies": {
40
- "axios": "^1.7.9"
40
+ "axios": "^1.9.0"
41
41
  }
42
42
  }