@nomalism-com/api 0.40.117 → 0.40.119
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.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1645,7 +1645,7 @@ declare class Repository$9 implements Nomalism$1.Gmails.IRepository {
|
|
|
1645
1645
|
route: string;
|
|
1646
1646
|
private api;
|
|
1647
1647
|
constructor({ api, route }: IModuleConstructor);
|
|
1648
|
-
auth(): Promise<string>;
|
|
1648
|
+
auth(params: Nomalism$1.Gmails.IAuthRequest): Promise<string>;
|
|
1649
1649
|
emails(): Promise<Nomalism$1.Gmails.IGmailsResponse[]>;
|
|
1650
1650
|
}
|
|
1651
1651
|
|
package/dist/index.js
CHANGED
|
@@ -3827,8 +3827,8 @@ var Repository112 = class {
|
|
|
3827
3827
|
this.api = api;
|
|
3828
3828
|
this.route = route;
|
|
3829
3829
|
}
|
|
3830
|
-
async auth() {
|
|
3831
|
-
const response = await this.api.get(`${this.route}auth
|
|
3830
|
+
async auth(params) {
|
|
3831
|
+
const response = await this.api.get(`${this.route}auth`, { params });
|
|
3832
3832
|
return response.data;
|
|
3833
3833
|
}
|
|
3834
3834
|
async emails() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nomalism-com/api",
|
|
3
3
|
"description": "A nomalism API package for performing HTTP requests on API endpoints",
|
|
4
|
-
"version": "0.40.
|
|
4
|
+
"version": "0.40.119",
|
|
5
5
|
"author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"type": "module",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"prepack": "npm run lint && npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@nomalism-com/types": "^0.40.
|
|
27
|
-
"axios": "^1.13.
|
|
26
|
+
"@nomalism-com/types": "^0.40.129",
|
|
27
|
+
"axios": "^1.13.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@swc/core": "^1.15.
|
|
30
|
+
"@swc/core": "^1.15.11",
|
|
31
31
|
"@types/node": "^24.10.9",
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
33
|
-
"@typescript-eslint/parser": "^8.
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
33
|
+
"@typescript-eslint/parser": "^8.54.0",
|
|
34
34
|
"eslint": "^9.39.2",
|
|
35
35
|
"eslint-config-prettier": "^10.1.8",
|
|
36
36
|
"eslint-import-resolver-typescript": "^4.4.4",
|