@resolution/atlassian-api-common 0.7.8 → 0.10.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.
@@ -45,7 +45,7 @@ function createForgeBridgeFetch({ bridgeRequest, }) {
45
45
  status: response.status,
46
46
  statusText: response.statusText,
47
47
  body,
48
- url: response.url,
48
+ url: url.toString(),
49
49
  headers,
50
50
  ok: response.ok,
51
51
  customRequestProps: request.customRequestProps,
@@ -1 +1 @@
1
- {"version":3,"file":"createForgeBridgeFetch.js","sourceRoot":"","sources":["../../src/fetch/createForgeBridgeFetch.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAOA,0CAAkE;AAoB3D,MAAM,0BAA0B,GAAG,CAAC,EACzC,WAAW,GACqB,EAAE,EAAE,CACpC,sBAAsB,CAAC,EAAE,aAAa,EAAE,WAAW,EAAE,CAAC,CAAC;AAH5C,QAAA,0BAA0B,8BAGkB;AAElD,MAAM,gCAAgC,GAAG,CAAC,EAC/C,iBAAiB,GACqB,EAAE,EAAE,CAC1C,sBAAsB,CAAC,EAAE,aAAa,EAAE,iBAAiB,EAAE,CAAC,CAAC;AAHlD,QAAA,gCAAgC,oCAGkB;AAQ/D,SAAS,sBAAsB,CAAC,EAC9B,aAAa,GACe;IAC5B,OAAO,SAAe,gBAAgB,CACpC,GAAQ,EACR,OAAqC;;YAErC,MAAW,YAAY,UAAK,OAAO,EAA7B,EAAmB,CAAU,CAAC;YACpC,MAAM,WAAW,GAAgB,YAAY,CAAC;YAC9C,MAAM,QAAQ,GAAG,MAAM,aAAa,CAClC,GAAG,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,EAAE,EAC9B,WAAW,CACZ,CAAC;YACF,MAAM,IAAI,GAAG,MAAM,IAAA,wCAAgC,EAAC,QAAQ,CAAC,CAAC;YAC9D,MAAM,OAAO,GAAoC,EAAE,CAAC;YACpD,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAA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AAgB,YAAY,CAAC;YAC9C,MAAM,QAAQ,GAAG,MAAM,aAAa,CAClC,GAAG,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,MAAM,EAAE,EAC9B,WAAW,CACZ,CAAC;YACF,MAAM,IAAI,GAAG,MAAM,IAAA,wCAAgC,EAAC,QAAQ,CAAC,CAAC;YAC9D,MAAM,OAAO,GAAoC,EAAE,CAAC;YACpD,QAAQ,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;gBACtC,OAAO,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACvB,CAAC,CAAC,CAAC;YACH,IACE,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,CAAC,KAAK,IAAI;gBAC3C,cAAc,IAAI,QAAQ,CAAC,OAAO,EAClC,CAAC;gBACD,OAAO,CAAC,YAAY,CAAC,GACnB,QAAQ,CAAC,OAGV,CAAC,YAAY,EAAE,CAAC;YACnB,CAAC;YACD,OAAO;gBACL,MAAM,EAAE,QAAQ,CAAC,MAAM;gBACvB,UAAU,EAAE,QAAQ,CAAC,UAAU;gBAC/B,IAAI;gBACJ,GAAG,EAAE,GAAG,CAAC,QAAQ,EAAE;gBACnB,OAAO;gBACP,EAAE,EAAE,QAAQ,CAAC,EAAE;gBACf,kBAAkB,EAAE,OAAO,CAAC,kBAAkB;aAC/C,CAAC;QACJ,CAAC;KAAA,CAAC;AACJ,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolution/atlassian-api-common",
3
- "version": "0.7.8",
3
+ "version": "0.10.0",
4
4
  "description": "Shared code across different implementations of Atlassian API Clients.",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -43,5 +43,5 @@
43
43
  "publishConfig": {
44
44
  "access": "public"
45
45
  },
46
- "gitHead": "b46eb54957ec26dd6da516abfa014a06d321195d"
46
+ "gitHead": "acbd73f0dabb52a38886810bcef0c586a04ede99"
47
47
  }
package/CHANGELOG.md DELETED
@@ -1,312 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [0.7.8](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.7.7...v0.7.8) (2024-11-08)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * confluence api proper fix for forgeApi ([021fb34](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/021fb342cf3b53d542bfbeccabfc8b80ff1b6263))
12
-
13
-
14
-
15
-
16
-
17
- ## [0.7.7](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.7.6...v0.7.7) (2024-11-01)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * make argument of asUser optional for forge api ([596ff4a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/596ff4a779a82f5e5ead17ff16e7c98b85ff3ff6))
23
-
24
-
25
-
26
-
27
-
28
- ## [0.7.6](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.7.5...v0.7.6) (2024-10-01)
29
-
30
-
31
- ### Bug Fixes
32
-
33
- * fix return types for Jira's bulk get users API ([d9cbc9d](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/d9cbc9d1f691d77340ce8b47ad5688980bbfaea5))
34
-
35
-
36
-
37
-
38
-
39
- ## [0.7.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.7.3...v0.7.4) (2024-09-13)
40
-
41
-
42
- ### Bug Fixes
43
-
44
- * add more information to HTTP Errors ([9d702c0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/9d702c00f7bce55c6ce285430462fa85e4234abb))
45
-
46
-
47
-
48
-
49
-
50
- # [0.7.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.4...v0.7.0) (2024-09-10)
51
-
52
-
53
- ### Features
54
-
55
- * support forgeApiWithProvider in jira and confluence ([4de975a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/4de975aa1a80c59d1cbbddc7d214622797fcb5b3))
56
-
57
-
58
-
59
-
60
-
61
- ## [0.6.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.3...v0.6.4) (2024-09-10)
62
-
63
-
64
- ### Bug Fixes
65
-
66
- * handle incorrect http response from Atlassian API: another attempt to solve this problem ([4cda0bc](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/4cda0bcaf04ac7672440f21a9761926dbf321275))
67
-
68
-
69
-
70
-
71
-
72
- ## [0.6.3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.2...v0.6.3) (2024-09-10)
73
-
74
-
75
- ### Bug Fixes
76
-
77
- * handle incorrect http response from Atlassian API: empty body with json content-type ([dfb35f2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/dfb35f289df15f148ba39510736af9f882d0e035))
78
-
79
-
80
-
81
-
82
-
83
- ## [0.6.2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.1...v0.6.2) (2024-09-05)
84
-
85
-
86
- ### Bug Fixes
87
-
88
- * add proper reference to IssueLinkFromIssue ([67f9cea](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/67f9ceade5945c19bd331b155d8d5c32cf600341))
89
-
90
-
91
-
92
-
93
-
94
- ## [0.6.1](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.6.0...v0.6.1) (2024-08-22)
95
-
96
-
97
- ### Bug Fixes
98
-
99
- * export ApiClientOptions from common package entry point ([9c88f39](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/9c88f39b04b29a13eb4d8d78f35bc3427fcd0b42))
100
-
101
-
102
-
103
-
104
-
105
- # [0.6.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.11...v0.6.0) (2024-08-19)
106
-
107
-
108
- ### Features
109
-
110
- * ability to customize validation error handling ([3eb0e04](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/3eb0e04d3a72fb787419d1c5b7440563ff1b2fb8))
111
-
112
-
113
-
114
-
115
-
116
- ## [0.5.11](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.10...v0.5.11) (2024-08-12)
117
-
118
-
119
- ### Bug Fixes
120
-
121
- * split issue links into inwards / outwards ([03cbf85](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/03cbf85d078e07fcfb0e16df4e4775b79235d88f))
122
-
123
-
124
-
125
-
126
-
127
- ## [0.5.9](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.8...v0.5.9) (2024-08-05)
128
-
129
- **Note:** Version bump only for package @resolution/atlassian-api-common
130
-
131
-
132
-
133
-
134
-
135
- ## [0.5.8](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.7...v0.5.8) (2024-07-23)
136
-
137
-
138
- ### Bug Fixes
139
-
140
- * remove project from required fields of an issue, add other issue fields ([d809e59](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/d809e59aee933a18cf3af786b221cf2eaedd8e30))
141
-
142
-
143
-
144
-
145
-
146
- ## [0.5.7](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.6...v0.5.7) (2024-07-22)
147
-
148
- **Note:** Version bump only for package @resolution/atlassian-api-common
149
-
150
-
151
-
152
-
153
-
154
- ## [0.5.6](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.5...v0.5.6) (2024-07-05)
155
-
156
-
157
- ### Bug Fixes
158
-
159
- * confluence api constructor options, improve docs ([194e14f](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/194e14fe351b6a17a442105f6b27931ee7e6cf27))
160
-
161
-
162
-
163
-
164
-
165
- ## [0.5.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.3...v0.5.4) (2024-07-02)
166
-
167
-
168
- ### Bug Fixes
169
-
170
- * reuse same core classes / types ([8e7465a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/8e7465afc91d436853df637b49a03b0b9b2ada78))
171
-
172
-
173
-
174
-
175
-
176
- ## [0.5.3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.2...v0.5.3) (2024-06-28)
177
-
178
-
179
- ### Bug Fixes
180
-
181
- * improve documentation ([a327fcc](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/a327fccdd877cfb61ef19c280c8d85fe894fd713))
182
-
183
-
184
-
185
-
186
-
187
- ## [0.5.2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.5.1...v0.5.2) (2024-06-24)
188
-
189
-
190
- ### Bug Fixes
191
-
192
- * include API Docs markdown files, build automatically ([07e5670](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/07e56705dd35e37ad68528e9e4ded5129a5833d1))
193
-
194
-
195
-
196
-
197
-
198
- # [0.5.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.6...v0.5.0) (2024-06-20)
199
-
200
-
201
- ### Features
202
-
203
- * first version of Jira Service Management API ([67634ea](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/67634ea9bfe37adf30a7d2b124b59f52c4f1ccda))
204
-
205
-
206
-
207
-
208
-
209
- ## [0.4.5](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.4...v0.4.5) (2024-06-14)
210
-
211
-
212
- ### Bug Fixes
213
-
214
- * a hack for "fields" schema, which was probably added by mistake ([c860460](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/c86046039324361ae2b06de33e0007947e08d74e))
215
- * missing packages changes ([2c1f946](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/2c1f946e7c96f955fa88464f0c673081209616c6))
216
-
217
-
218
-
219
-
220
-
221
- ## [0.4.4](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.3...v0.4.4) (2024-06-11)
222
-
223
-
224
- ### Bug Fixes
225
-
226
- * add license information to all packages ([d771640](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/d771640b39b4e9b8901a5d93bf8bec77496c957d))
227
-
228
-
229
-
230
-
231
-
232
- ## [0.4.2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.1...v0.4.2) (2024-06-11)
233
-
234
-
235
- ### Bug Fixes
236
-
237
- * add base path to confluence v2 API ([8b1965c](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/8b1965ca84d55dd4bf9600c36006d7d61e8e2fcd))
238
- * add links to JIRA/Confluence documentation ([64c19b2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/64c19b2b0d1685c0d64639c6a44314a253ad5529))
239
-
240
-
241
-
242
-
243
-
244
- ## [0.4.1](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/v0.4.0...v0.4.1) (2024-06-10)
245
-
246
-
247
- ### Bug Fixes
248
-
249
- * remove previous file versions when building ([3ff3a0a](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/3ff3a0a8dde8376aa551fd66d0b4ed1ac040ac79))
250
-
251
-
252
-
253
-
254
-
255
- # 0.4.0 (2024-06-10)
256
-
257
-
258
- ### Bug Fixes
259
-
260
- * don't stringify the request body twice ([3252a78](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/3252a78b8bd63b4606c7acb8000b930b8b27218e))
261
-
262
-
263
- ### Features
264
-
265
- * first confluence API version ([d580ceb](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/d580cebbab7334f2290c08a307bea5eed8a372a5))
266
- * first version with JiraSoftwareApi ([e941fd3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/e941fd304be3eb7fa59232cb13722c81b0a9c202))
267
- * initial version ([5c1e2d2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/5c1e2d295fb3efe134ae9629fd6b5f00dc83d151))
268
- * update confluence api client, set v2 explicitly ([7c7cba2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/7c7cba22f48e3fb25d532717cf77a912fed2d5ee))
269
-
270
-
271
-
272
-
273
-
274
- # [0.3.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/atlassian-api-common@0.2.0...@resolution/atlassian-api-common@0.3.0) (2024-06-07)
275
-
276
-
277
- ### Features
278
-
279
- * first confluence API version ([d580ceb](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/d580cebbab7334f2290c08a307bea5eed8a372a5))
280
-
281
-
282
-
283
-
284
-
285
- # [0.2.0](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/atlassian-api-common@0.1.1...@resolution/atlassian-api-common@0.2.0) (2024-06-04)
286
-
287
-
288
- ### Features
289
-
290
- * first version with JiraSoftwareApi ([e941fd3](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/e941fd304be3eb7fa59232cb13722c81b0a9c202))
291
-
292
-
293
-
294
-
295
-
296
- ## [0.1.1](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/compare/@resolution/atlassian-api-common@0.1.0...@resolution/atlassian-api-common@0.1.1) (2024-05-30)
297
-
298
-
299
- ### Bug Fixes
300
-
301
- * don't stringify the request body twice ([3252a78](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/3252a78b8bd63b4606c7acb8000b930b8b27218e))
302
-
303
-
304
-
305
-
306
-
307
- # 0.1.0 (2024-05-28)
308
-
309
-
310
- ### Features
311
-
312
- * initial version ([5c1e2d2](https://bitbucket.org/resolutiongmbh/atlassian-api-clients/commits/5c1e2d295fb3efe134ae9629fd6b5f00dc83d151))