@freelog/tools-lib 0.1.52 → 0.1.56

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freelog/tools-lib",
3
- "version": "0.1.52",
3
+ "version": "0.1.56",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -54,7 +54,7 @@
54
54
  "typescript": "^4.3.2"
55
55
  },
56
56
  "dependencies": {
57
- "@freelog/resource-policy-lang": "^1.1.18",
57
+ "@freelog/resource-policy-lang": "^1.1.25",
58
58
  "@freelog/tools-lib": "^0.1.43",
59
59
  "axios": "^0.21.1",
60
60
  "crypto-js": "^4.0.0",
@@ -137,7 +137,7 @@ interface TestResourcesDependencyTreeParamsType {
137
137
  testResourceId: string;
138
138
  }
139
139
 
140
- export function TestResourcesDependencyTree({testResourceId}: TestResourcesDependencyTreeParamsType) {
140
+ export function testResourcesDependencyTree({testResourceId}: TestResourcesDependencyTreeParamsType) {
141
141
  return FUtil.Request({
142
142
  method: 'GET',
143
143
  url: `/v2/testNodes/testResources/${testResourceId}/dependencyTree`,
@@ -154,7 +154,7 @@ export function testResourcesAuthTree({testResourceId}: TestResourcesAuthTreePar
154
154
  // return FUtil.Axios.get(`/v2/testNodes/testResources/${testResourceId}`);
155
155
  return FUtil.Request({
156
156
  method: 'GET',
157
- url: `https://api.freelog.com/v2/testNodes/testResources/${testResourceId}/authTree`,
157
+ url: `/v2/testNodes/testResources/${testResourceId}/authTree`,
158
158
  // params: params,
159
159
  });
160
160
  }