@friggframework/devtools 2.0.0-next.64 → 2.0.0-next.65

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@friggframework/devtools",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "2.0.0-next.64",
4
+ "version": "2.0.0-next.65",
5
5
  "bin": {
6
6
  "frigg": "./frigg-cli/index.js"
7
7
  },
@@ -25,9 +25,9 @@
25
25
  "@babel/eslint-parser": "^7.18.9",
26
26
  "@babel/parser": "^7.25.3",
27
27
  "@babel/traverse": "^7.25.3",
28
- "@friggframework/core": "2.0.0-next.64",
29
- "@friggframework/schemas": "2.0.0-next.64",
30
- "@friggframework/test": "2.0.0-next.64",
28
+ "@friggframework/core": "2.0.0-next.65",
29
+ "@friggframework/schemas": "2.0.0-next.65",
30
+ "@friggframework/test": "2.0.0-next.65",
31
31
  "@hapi/boom": "^10.0.1",
32
32
  "@inquirer/prompts": "^5.3.8",
33
33
  "axios": "^1.7.2",
@@ -55,8 +55,8 @@
55
55
  "validate-npm-package-name": "^5.0.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@friggframework/eslint-config": "2.0.0-next.64",
59
- "@friggframework/prettier-config": "2.0.0-next.64",
58
+ "@friggframework/eslint-config": "2.0.0-next.65",
59
+ "@friggframework/prettier-config": "2.0.0-next.65",
60
60
  "aws-sdk-client-mock": "^4.1.0",
61
61
  "aws-sdk-client-mock-jest": "^4.1.0",
62
62
  "jest": "^30.1.3",
@@ -88,5 +88,5 @@
88
88
  "publishConfig": {
89
89
  "access": "public"
90
90
  },
91
- "gitHead": "d7e3b2b756a0a5db13bcc4322de99c29910c4d37"
91
+ "gitHead": "a2f6c130dc7c783486a6ef03a262d2ee8dea52f9"
92
92
  }
package/test/mock-api.js CHANGED
@@ -219,8 +219,7 @@ const mockApi = (Api, classOptionByName = {}) => {
219
219
  // TODO read authentication mode from module package
220
220
  if (authenticationMode === 'client_credentials') {
221
221
  // TODO make generic (tied to crossbeam api)
222
- api.grantType = 'client_credentials';
223
- api.refreshAccessToken = api.getTokenFromClientCredentials;
222
+ api.grant_type = 'client_credentials';
224
223
 
225
224
  if (process.env.CROSSBEAM_API_BASE_URL)
226
225
  api.baseUrl = process.env.CROSSBEAM_API_BASE_URL;
@@ -231,7 +230,6 @@ const mockApi = (Api, classOptionByName = {}) => {
231
230
 
232
231
  api.client_secret = process.env.CROSSBEAM_TEST_CLIENT_SECRET;
233
232
  api.client_id = process.env.CROSSBEAM_TEST_CLIENT_ID;
234
- api.refreshAccessToken = api.getTokenFromClientCredentials;
235
233
 
236
234
  this.tokenResponse = await api.getTokenFromClientCredentials();
237
235
  } else if (authenticationMode === 'puppet') {