itube-specs 0.0.774 → 0.0.775
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
|
@@ -18,6 +18,7 @@ export class ApiHelper {
|
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
const method = String(fetchOptions.method || 'GET').toUpperCase();
|
|
21
|
+
// Повторяем только идемпотентные методы; POST/PUT/DELETE не ретраим — риск дубля действия
|
|
21
22
|
const isIdempotent = method === 'GET' || method === 'HEAD';
|
|
22
23
|
|
|
23
24
|
const res = await $fetch(`/bff${path}`, {
|