@wmfs/tymly-rest-client-plugin 1.38.1 → 1.40.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/.circleci/config.yml +4 -0
- package/.version +1 -1
- package/CHANGELOG.md +4 -0
- package/lib/components/state-resources/post-data-to-rest-api/index.js +2 -1
- package/package.json +5 -5
- package/plugin.json +1 -1
- package/renovate.json +2 -23
- package/version_plugin +1 -1
package/.circleci/config.yml
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
version: 2.1
|
|
2
|
+
orbs:
|
|
3
|
+
gh-app: wmfs/github-app-token@1.0.0
|
|
2
4
|
jobs:
|
|
3
5
|
unit-test:
|
|
4
6
|
docker:
|
|
@@ -67,6 +69,7 @@ jobs:
|
|
|
67
69
|
key: v1-deps-{{ checksum "package.json" }}
|
|
68
70
|
paths:
|
|
69
71
|
- node_modules
|
|
72
|
+
- gh-app/mint
|
|
70
73
|
- run:
|
|
71
74
|
name: release
|
|
72
75
|
command: |
|
|
@@ -87,6 +90,7 @@ workflows:
|
|
|
87
90
|
context:
|
|
88
91
|
- docker-hub-creds
|
|
89
92
|
- build-env-vars
|
|
93
|
+
- github-app
|
|
90
94
|
requires:
|
|
91
95
|
- unit-test
|
|
92
96
|
- lint
|
package/.version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION=1.
|
|
1
|
+
VERSION=1.40.0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
## [1.40.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.39.0...v1.40.0) (2026-10-26)
|
|
2
|
+
|
|
3
|
+
## [1.39.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.38.1...v1.39.0) (2026-10-15)
|
|
4
|
+
|
|
1
5
|
## [1.38.1](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.38.0...v1.38.1) (2026-08-13)
|
|
2
6
|
|
|
3
7
|
## [1.38.0](https://github.com/wmfs/tymly-rest-client-plugin/compare/v1.37.0...v1.38.0) (2026-05-20)
|
|
@@ -51,7 +51,8 @@ class PostDataToRestApi {
|
|
|
51
51
|
try {
|
|
52
52
|
const result = await axios(options)
|
|
53
53
|
switch (result.status) {
|
|
54
|
-
case 200:
|
|
54
|
+
case 200:
|
|
55
|
+
case 202:// OK
|
|
55
56
|
await recordRequest(this.restModel, options, context, result.status)
|
|
56
57
|
if (this.resultPath) context.sendTaskSuccess({ [this.resultPath]: result.data[this.resultPath] })
|
|
57
58
|
else context.sendTaskSuccess(result.data)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wmfs/tymly-rest-client-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.40.0",
|
|
4
4
|
"description": "A REST API client for Tymly",
|
|
5
5
|
"homepage": "https://github.com/wmfs/tymly-rest-client-plugin#readme",
|
|
6
6
|
"author": "West Midlands Fire Service",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"lodash.isobject": "3.0.2",
|
|
23
23
|
"lodash.isstring": "4.0.1",
|
|
24
24
|
"jsonpath": "1.1.1",
|
|
25
|
-
"axios": "1.
|
|
25
|
+
"axios": "1.20.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@semantic-release/changelog": "7.0.0",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"codecov": "3.8.3",
|
|
34
34
|
"conventional-changelog-conventionalcommits": "10.3.0",
|
|
35
35
|
"cz-conventional-changelog": "3.3.0",
|
|
36
|
-
"express": "5.
|
|
37
|
-
"body-parser": "2.
|
|
38
|
-
"mocha": "
|
|
36
|
+
"express": "5.3.0",
|
|
37
|
+
"body-parser": "2.4.0",
|
|
38
|
+
"mocha": "12.0.3",
|
|
39
39
|
"nyc": "18.0.0",
|
|
40
40
|
"semantic-release": "25.0.9",
|
|
41
41
|
"standard": "17.1.2"
|
package/plugin.json
CHANGED
package/renovate.json
CHANGED
|
@@ -1,26 +1,5 @@
|
|
|
1
1
|
{
|
|
2
2
|
"extends": [
|
|
3
|
-
"config
|
|
4
|
-
]
|
|
5
|
-
"dependencyDashboard": true,
|
|
6
|
-
"enabledManagers": ["npm"],
|
|
7
|
-
"packageRules": [
|
|
8
|
-
{
|
|
9
|
-
"matchDepTypes": ["devDependencies"],
|
|
10
|
-
"automerge": true,
|
|
11
|
-
"semanticCommitType": "build",
|
|
12
|
-
"semanticCommitScope": "deps-dev",
|
|
13
|
-
"labels": ["devDependencies"]
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"matchDepTypes": ["dependencies"],
|
|
17
|
-
"semanticCommitType": "build",
|
|
18
|
-
"semanticCommitScope": "deps",
|
|
19
|
-
"labels": ["dependencies"],
|
|
20
|
-
"reviewers": ["team:tymly-reviewers"]
|
|
21
|
-
}
|
|
22
|
-
],
|
|
23
|
-
"vulnerabilityAlerts": {
|
|
24
|
-
"labels": ["security"]
|
|
25
|
-
}
|
|
3
|
+
"github>wmfs/renovate-config"
|
|
4
|
+
]
|
|
26
5
|
}
|
package/version_plugin
CHANGED
|
@@ -7,7 +7,7 @@ sudo apt-get install jq
|
|
|
7
7
|
sudo jq --arg version "$version" '.version=$version' plugin.json > plugin_edit.json && mv plugin_edit.json plugin.json
|
|
8
8
|
git config --global user.name "$GIT_COMMITTER_NAME"
|
|
9
9
|
git config --global user.email "$GIT_COMMITTER_EMAIL"
|
|
10
|
-
git remote set-url origin https
|
|
10
|
+
git remote set-url origin https://x-access-token:${GH_TOKEN}@github.com/wmfs/tymly-rest-client-plugin.git
|
|
11
11
|
git checkout master
|
|
12
12
|
git add plugin.json
|
|
13
13
|
git commit -m "chore(version): plugin $version [skip ci]"
|