attlaz-client 1.13.37 → 1.13.38
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/Client.js +2 -0
- package/dist/Http/ClientError.js +1 -0
- package/package.json +2 -1
package/dist/Client.js
CHANGED
|
@@ -86,6 +86,8 @@ export class Client {
|
|
|
86
86
|
}
|
|
87
87
|
setClientCredentials(clientId, clientSecret = '') {
|
|
88
88
|
const options = new OAuthClientOptions(this.apiEndpoint, clientId, clientSecret);
|
|
89
|
+
// TODO: how to know these scopes?
|
|
90
|
+
options.scopes = ['all'];
|
|
89
91
|
this.httpClient = new OAuthClient(options);
|
|
90
92
|
}
|
|
91
93
|
getHttpClient() {
|
package/dist/Http/ClientError.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "attlaz-client",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.38",
|
|
4
4
|
"description": "Javascript Client to access Attlaz API",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"prepare": "npm run clean && tsc --project tsconfig.production.json",
|
|
34
34
|
"build": "npm run clean && tsc",
|
|
35
35
|
"clean": "rimraf dist",
|
|
36
|
+
"scan": "docker run -v .:/path zricethezav/gitleaks:latest detect --source=\"/path\" ",
|
|
36
37
|
"test": "jest"
|
|
37
38
|
},
|
|
38
39
|
"publishConfig": {
|