kleisterjs 2.6.1 → 2.7.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/.github/RELEASE CHANGED
@@ -1 +1 @@
1
- Mon Mar 17 08:19:49 UTC 2025
1
+ Mon Mar 31 08:20:14 UTC 2025
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  repository:
3
3
  name: kleister-js
4
- description: "Kleister: SDK for Javascript"
4
+ description: Javascript SDK for Kleister
5
5
  homepage: https://kleister.eu
6
6
  topics: kleister, minecraft, sdk, openapi, javascript
7
7
 
@@ -12,8 +12,8 @@ repository:
12
12
 
13
13
  default_branch: master
14
14
 
15
+ allow_merge_commit: false
15
16
  allow_squash_merge: true
16
- allow_merge_commit: true
17
17
  allow_rebase_merge: true
18
18
 
19
19
  allow_update_branch: true
@@ -22,24 +22,77 @@ repository:
22
22
  enable_automated_security_fixes: true
23
23
  enable_vulnerability_alerts: true
24
24
 
25
- branches:
26
- - name: master
27
- protection:
28
- required_pull_request_reviews: null
29
- required_status_checks:
30
- strict: true
31
- contexts:
32
- - testing
33
- enforce_admins: false
34
- restrictions:
35
- apps:
36
- - renovate
37
- - kleister
38
- users: []
39
- teams:
40
- - admins
41
- - bots
42
- - members
25
+ rulesets:
26
+ - name: prevent destruction
27
+ target: branch
28
+ enforcement: active
29
+ conditions:
30
+ ref_name:
31
+ include:
32
+ - "~DEFAULT_BRANCH"
33
+ exclude: []
34
+ rules:
35
+ - type: required_linear_history
36
+ - type: deletion
37
+ - type: non_fast_forward
38
+
39
+ - name: check verification
40
+ target: branch
41
+ enforcement: active
42
+ conditions:
43
+ ref_name:
44
+ include:
45
+ - "~DEFAULT_BRANCH"
46
+ exclude: []
47
+ rules:
48
+ - type: required_status_checks
49
+ parameters:
50
+ strict_required_status_checks_policy: true
51
+ required_status_checks:
52
+ - context: Semantic PR
53
+ integration_id: 198092
54
+ - context: testing
55
+ integration_id: 15368
56
+ bypass_actors:
57
+ - actor_id: 1
58
+ actor_type: OrganizationAdmin
59
+ bypass_mode: always
60
+ - actor_id: 854278 # app
61
+ actor_type: Integration
62
+ bypass_mode: always
63
+ - actor_id: 2825376 # bots
64
+ actor_type: Team
65
+ bypass_mode: always
66
+
67
+ - name: require reviewing
68
+ target: branch
69
+ enforcement: active
70
+ conditions:
71
+ ref_name:
72
+ include:
73
+ - "~DEFAULT_BRANCH"
74
+ exclude: []
75
+ rules:
76
+ - type: pull_request
77
+ parameters:
78
+ allowed_merge_methods:
79
+ - squash
80
+ - rebase
81
+ dismiss_stale_reviews_on_push: false
82
+ require_code_owner_review: false
83
+ require_last_push_approval: false
84
+ required_approving_review_count: 0
85
+ required_review_thread_resolution: false
86
+ bypass_actors:
87
+ - actor_id: 1
88
+ actor_type: OrganizationAdmin
89
+ bypass_mode: always
90
+ - actor_id: 854278 # app
91
+ actor_type: Integration
92
+ bypass_mode: always
93
+ - actor_id: 2825376 # bots
94
+ actor_type: Team
95
+ bypass_mode: always
43
96
 
44
97
  teams:
45
98
  - name: admins
@@ -1 +1 @@
1
- 7.6.0
1
+ 7.12.0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.7.0](https://github.com/kleister/kleister-js/compare/v2.6.2...v2.7.0) (2025-04-07)
4
+
5
+
6
+ ### Features
7
+
8
+ * **deps:** update dependency @types/node to 12.11.5 - 22.14 ([#174](https://github.com/kleister/kleister-js/issues/174)) ([0be9dbc](https://github.com/kleister/kleister-js/commit/0be9dbc99894c80357944525366e6e1f89540481))
9
+
10
+ ## [2.6.2](https://github.com/kleister/kleister-js/compare/v2.6.1...v2.6.2) (2025-03-31)
11
+
12
+
13
+ ### Bugfixes
14
+
15
+ * use correct spec and update definition ([48adc83](https://github.com/kleister/kleister-js/commit/48adc8341bf05059568b5b4ed84fc18909cb4597))
16
+
3
17
  ## [2.6.1](https://github.com/kleister/kleister-js/compare/v2.6.0...v2.6.1) (2025-03-24)
4
18
 
5
19
 
package/README.md CHANGED
@@ -6,7 +6,7 @@ This repository provides a client SDK for Typescript/Javascript. This SDK is
6
6
  automatically generated by the [OpenAPI Generator][generator] project:
7
7
 
8
8
  - API version: 1.0.0-alpha1
9
- - Package version: 2.6.1
9
+ - Package version: 2.7.0
10
10
  - Build package: org.openapitools.codegen.languages.TypeScriptAxiosClientCodegen
11
11
 
12
12
  For more information, please visit [https://kleister.eu](https://kleister.eu)
@@ -39,7 +39,7 @@ the following command within your project directory, after that you can import
39
39
  it as other libraries:
40
40
 
41
41
  ```console
42
- npm install --save kleisterjs@2.6.1
42
+ npm install --save kleisterjs@2.7.0
43
43
  ```
44
44
 
45
45
  ### Installation with Git
package/configuration.ts CHANGED
@@ -104,7 +104,13 @@ export class Configuration {
104
104
  this.accessToken = param.accessToken;
105
105
  this.basePath = param.basePath;
106
106
  this.serverIndex = param.serverIndex;
107
- this.baseOptions = param.baseOptions;
107
+ this.baseOptions = {
108
+ ...param.baseOptions,
109
+ headers: {
110
+ "User-Agent": "kleister-js/1.0.0-alpha1",
111
+ ...param.baseOptions?.headers,
112
+ },
113
+ };
108
114
  this.formDataCtor = param.formDataCtor;
109
115
  }
110
116
 
package/flake.lock CHANGED
@@ -14,11 +14,11 @@
14
14
  "nixpkgs": "nixpkgs"
15
15
  },
16
16
  "locked": {
17
- "lastModified": 1737621947,
18
- "narHash": "sha256-8HFvG7fvIFbgtaYAY2628Tb89fA55nPm2jSiNs0/Cws=",
17
+ "lastModified": 1742042642,
18
+ "narHash": "sha256-D0gP8srrX0qj+wNYNPdtVJsQuFzIng3q43thnHXQ/es=",
19
19
  "owner": "cachix",
20
20
  "repo": "cachix",
21
- "rev": "f65a3cd5e339c223471e64c051434616e18cc4f5",
21
+ "rev": "a624d3eaf4b1d225f918de8543ed739f2f574203",
22
22
  "type": "github"
23
23
  },
24
24
  "original": {
@@ -37,11 +37,11 @@
37
37
  "nixpkgs": "nixpkgs_3"
38
38
  },
39
39
  "locked": {
40
- "lastModified": 1742659231,
41
- "narHash": "sha256-7bvafmxXeRfoAtWSJeTFmHlCHMte0cZecGE/BvvgyqE=",
40
+ "lastModified": 1743783972,
41
+ "narHash": "sha256-5wPsNCnWmeLpLxavsftA9L7tnYgtlexV7FwLegxtpy4=",
42
42
  "owner": "cachix",
43
43
  "repo": "devenv",
44
- "rev": "c651cb04013be972767aaecb3e9a98fc930d080e",
44
+ "rev": "2f53e2f867e0c2ba18b880e66169366e5f8ca554",
45
45
  "type": "github"
46
46
  },
47
47
  "original": {
@@ -109,11 +109,11 @@
109
109
  "nixpkgs-lib": "nixpkgs-lib"
110
110
  },
111
111
  "locked": {
112
- "lastModified": 1741352980,
113
- "narHash": "sha256-+u2UunDA4Cl5Fci3m7S643HzKmIDAe+fiXrLqYsR2fs=",
112
+ "lastModified": 1743550720,
113
+ "narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
114
114
  "owner": "hercules-ci",
115
115
  "repo": "flake-parts",
116
- "rev": "f4330d22f1c5d2ba72d3d22df5597d123fdb60a9",
116
+ "rev": "c621e8422220273271f52058f618c94e405bb0f5",
117
117
  "type": "github"
118
118
  },
119
119
  "original": {
@@ -134,11 +134,11 @@
134
134
  ]
135
135
  },
136
136
  "locked": {
137
- "lastModified": 1740849354,
138
- "narHash": "sha256-oy33+t09FraucSZ2rZ6qnD1Y1c8azKKmQuCvF2ytUko=",
137
+ "lastModified": 1742649964,
138
+ "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
139
139
  "owner": "cachix",
140
140
  "repo": "git-hooks.nix",
141
- "rev": "4a709a8ce9f8c08fa7ddb86761fe488ff7858a07",
141
+ "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
142
142
  "type": "github"
143
143
  },
144
144
  "original": {
@@ -277,11 +277,11 @@
277
277
  },
278
278
  "nixpkgs-lib": {
279
279
  "locked": {
280
- "lastModified": 1740877520,
281
- "narHash": "sha256-oiwv/ZK/2FhGxrCkQkB83i7GnWXPPLzoqFHpDD3uYpk=",
280
+ "lastModified": 1743296961,
281
+ "narHash": "sha256-b1EdN3cULCqtorQ4QeWgLMrd5ZGOjLSLemfa00heasc=",
282
282
  "owner": "nix-community",
283
283
  "repo": "nixpkgs.lib",
284
- "rev": "147dee35aab2193b174e4c0868bd80ead5ce755c",
284
+ "rev": "e4822aea2a6d1cdd36653c134cacfd64c97ff4fa",
285
285
  "type": "github"
286
286
  },
287
287
  "original": {
@@ -340,11 +340,11 @@
340
340
  },
341
341
  "nixpkgs_5": {
342
342
  "locked": {
343
- "lastModified": 1742669843,
344
- "narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
343
+ "lastModified": 1743827369,
344
+ "narHash": "sha256-rpqepOZ8Eo1zg+KJeWoq1HAOgoMCDloqv5r2EAa9TSA=",
345
345
  "owner": "NixOS",
346
346
  "repo": "nixpkgs",
347
- "rev": "1e5b653dff12029333a6546c11e108ede13052eb",
347
+ "rev": "42a1c966be226125b48c384171c44c651c236c22",
348
348
  "type": "github"
349
349
  },
350
350
  "original": {
@@ -14,11 +14,11 @@ if ! hash openapi-generator-cli 2>/dev/null; then
14
14
  fi
15
15
 
16
16
  SPEC_VERSION="1.0.0-alpha1"
17
- SPEC_DOWNLOAD=${SPEC:-https://dl.kleister.eu/openapi/${SPEC_VERSION}.yml}
17
+ SPEC_DOWNLOAD=${SPEC:-https://dl.kleister.eu/openapi/${SPEC_VERSION}.yaml}
18
18
 
19
19
  pushd "${ROOT}" >/dev/null
20
20
  echo "> deleting apis and models"
21
- rm -rf api model
21
+ rm -rf api model openapitools.json
22
22
 
23
23
  export TS_POST_PROCESS_FILE="npx prettier -w"
24
24
 
@@ -6,3 +6,4 @@ dist/
6
6
  node_modules/
7
7
 
8
8
  .pre-commit-config.yaml
9
+ openapitools.json
package/openapi.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  npmName: kleisterjs
3
- npmVersion: 2.6.1
3
+ npmVersion: 2.7.0
4
4
  supportsES6: true
5
5
  useSingleRequestParameter: true
6
6
  withNodeImports: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kleisterjs",
3
- "version": "2.6.1",
3
+ "version": "2.7.0",
4
4
  "description": "OpenAPI client for Kleister",
5
5
  "homepage": "https://github.com/kleister/kleister-js#readme",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  "axios": "^1.6.1"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/node": "12.11.5 - 22.13",
37
+ "@types/node": "12.11.5 - 22.14",
38
38
  "prettier": "^3.2.5",
39
39
  "typescript": "^4.0 || ^5.0"
40
40
  }
package/openapitools.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
3
- "spaces": 2,
4
- "generator-cli": {
5
- "version": "7.6.0"
6
- }
7
- }