attlaz-client 1.38.2 → 1.39.0
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/Service/LogEndpoint.d.ts +1 -1
- package/dist/Service/LogEndpoint.js +4 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +12 -12
|
@@ -14,5 +14,5 @@ export declare class LogEndpoint extends Endpoint {
|
|
|
14
14
|
delete(logId: string): Promise<boolean>;
|
|
15
15
|
clear(logStreamId: LogStreamId): Promise<boolean>;
|
|
16
16
|
getInformation(logStreamId: LogStreamId): Promise<LogStreamInformation | null>;
|
|
17
|
-
getByProject(projectId: string): Promise<CollectionResult<LogStream>>;
|
|
17
|
+
getByProject(projectId: string, pagination?: CursorPagination | null): Promise<CollectionResult<LogStream>>;
|
|
18
18
|
}
|
|
@@ -129,9 +129,11 @@ export class LogEndpoint extends Endpoint {
|
|
|
129
129
|
throw error;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
|
-
async getByProject(projectId) {
|
|
132
|
+
async getByProject(projectId, pagination = null) {
|
|
133
|
+
const queryString = new QueryString('projects/' + projectId + '/logstreams');
|
|
134
|
+
queryString.addPagination(pagination);
|
|
133
135
|
const parser = (raw) => new LogStream(new LogStreamId(raw.id), raw.name);
|
|
134
|
-
const result = await this.requestCollection(
|
|
136
|
+
const result = await this.requestCollection(queryString, parser);
|
|
135
137
|
return result;
|
|
136
138
|
}
|
|
137
139
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "1.38.
|
|
1
|
+
export declare const VERSION = "1.38.2";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = "1.38.
|
|
1
|
+
export const VERSION = "1.38.2";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "attlaz-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.39.0",
|
|
4
4
|
"description": "Javascript Client to access Attlaz API",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -43,28 +43,28 @@
|
|
|
43
43
|
"registry": "https://registry.npmjs.org"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"axios": "^1.
|
|
46
|
+
"axios": "^1.10.0",
|
|
47
47
|
"axios-oauth-client": "^2.2.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@types/jest": "^
|
|
51
|
-
"@types/node": "^
|
|
50
|
+
"@types/jest": "^30.0.0",
|
|
51
|
+
"@types/node": "^24.0.13",
|
|
52
52
|
"@typescript-eslint/eslint-plugin": "^8.1.0",
|
|
53
53
|
"@typescript-eslint/parser": "^8.1.0",
|
|
54
|
-
"dotenv": "^
|
|
55
|
-
"eslint": "^9.
|
|
56
|
-
"eslint-config-attlaz-base": "^1.
|
|
57
|
-
"eslint-import-resolver-typescript": "^4.
|
|
58
|
-
"eslint-plugin-import": "^2.
|
|
59
|
-
"eslint-plugin-jsdoc": "^
|
|
54
|
+
"dotenv": "^17.2.0",
|
|
55
|
+
"eslint": "^9.31.0",
|
|
56
|
+
"eslint-config-attlaz-base": "^1.4.0",
|
|
57
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
58
|
+
"eslint-plugin-import": "^2.32.0",
|
|
59
|
+
"eslint-plugin-jsdoc": "^51.3.4",
|
|
60
60
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
61
61
|
"eslint-plugin-promise": "^7.2.1",
|
|
62
|
-
"jest": "^
|
|
62
|
+
"jest": "^30.0.4",
|
|
63
63
|
"rimraf": "^6.0.1",
|
|
64
64
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
65
65
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
66
66
|
"rollup-plugin-typescript": "^1.0.1",
|
|
67
|
-
"ts-jest": "^29.
|
|
67
|
+
"ts-jest": "^29.4.0",
|
|
68
68
|
"typescript": "^5.8.3"
|
|
69
69
|
},
|
|
70
70
|
"directories": {
|