kleisterjs 2.6.0 → 2.6.2

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 10 08:16:08 UTC 2025
1
+ Mon Mar 24 08:19:30 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.6.2](https://github.com/kleister/kleister-js/compare/v2.6.1...v2.6.2) (2025-03-31)
4
+
5
+
6
+ ### Bugfixes
7
+
8
+ * use correct spec and update definition ([48adc83](https://github.com/kleister/kleister-js/commit/48adc8341bf05059568b5b4ed84fc18909cb4597))
9
+
10
+ ## [2.6.1](https://github.com/kleister/kleister-js/compare/v2.6.0...v2.6.1) (2025-03-24)
11
+
12
+
13
+ ### Bugfixes
14
+
15
+ * **deps:** update dependency axios to v1.8.4 ([#173](https://github.com/kleister/kleister-js/issues/173)) ([9526fe0](https://github.com/kleister/kleister-js/commit/9526fe0ef9d56c263871de8cb7af9f1a93f0a57a))
16
+
3
17
  ## [2.6.0](https://github.com/kleister/kleister-js/compare/v2.5.1...v2.6.0) (2025-03-17)
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.0
9
+ - Package version: 2.6.2
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.0
42
+ npm install --save kleisterjs@2.6.2
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
@@ -37,11 +37,11 @@
37
37
  "nixpkgs": "nixpkgs_3"
38
38
  },
39
39
  "locked": {
40
- "lastModified": 1742147141,
41
- "narHash": "sha256-pTgorBdmI0rMrFirATgMIye65/jL72De8Kxh7rBT/58=",
40
+ "lastModified": 1743292849,
41
+ "narHash": "sha256-rybjlr2xNmSHrlRVliYvI9bOPRnROecFqz+tO0V2woI=",
42
42
  "owner": "cachix",
43
43
  "repo": "devenv",
44
- "rev": "e1eb23d427a3a0871c277268a28163898fd37266",
44
+ "rev": "fa5cbf91fb1f1614936997badbb6018a2fdef320",
45
45
  "type": "github"
46
46
  },
47
47
  "original": {
@@ -154,11 +154,11 @@
154
154
  "nixpkgs": "nixpkgs_4"
155
155
  },
156
156
  "locked": {
157
- "lastModified": 1742058297,
158
- "narHash": "sha256-b4SZc6TkKw8WQQssbN5O2DaCEzmFfvSTPYHlx/SFW9Y=",
157
+ "lastModified": 1742649964,
158
+ "narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
159
159
  "owner": "cachix",
160
160
  "repo": "git-hooks.nix",
161
- "rev": "59f17850021620cd348ad2e9c0c64f4e6325ce2a",
161
+ "rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
162
162
  "type": "github"
163
163
  },
164
164
  "original": {
@@ -245,11 +245,11 @@
245
245
  ]
246
246
  },
247
247
  "locked": {
248
- "lastModified": 1734114420,
249
- "narHash": "sha256-n52PUzub5jZWc8nI/sR7UICOheU8rNA+YZ73YaHeCBg=",
248
+ "lastModified": 1741798497,
249
+ "narHash": "sha256-E3j+3MoY8Y96mG1dUIiLFm2tZmNbRvSiyN7CrSKuAVg=",
250
250
  "owner": "domenkozar",
251
251
  "repo": "nix",
252
- "rev": "bde6a1a0d1f2af86caa4d20d23eca019f3d57eee",
252
+ "rev": "f3f44b2baaf6c4c6e179de8cbb1cc6db031083cd",
253
253
  "type": "github"
254
254
  },
255
255
  "original": {
@@ -340,11 +340,11 @@
340
340
  },
341
341
  "nixpkgs_5": {
342
342
  "locked": {
343
- "lastModified": 1742069588,
344
- "narHash": "sha256-C7jVfohcGzdZRF6DO+ybyG/sqpo1h6bZi9T56sxLy+k=",
343
+ "lastModified": 1743315132,
344
+ "narHash": "sha256-6hl6L/tRnwubHcA4pfUUtk542wn2Om+D4UnDhlDW9BE=",
345
345
  "owner": "NixOS",
346
346
  "repo": "nixpkgs",
347
- "rev": "c80f6a7e10b39afcc1894e02ef785b1ad0b0d7e5",
347
+ "rev": "52faf482a3889b7619003c0daec593a1912fddc1",
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.0
3
+ npmVersion: 2.6.2
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.0",
3
+ "version": "2.6.2",
4
4
  "description": "OpenAPI client for Kleister",
5
5
  "homepage": "https://github.com/kleister/kleister-js#readme",
6
6
  "license": "Apache-2.0",
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
- }