@mojaksebastian/allegro-client 1.0.5 → 1.0.6
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.
Potentially problematic release.
This version of @mojaksebastian/allegro-client might be problematic. Click here for more details.
- package/README.md +12 -10
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,21 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
Markdown
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
Główne cechy rozwiązania
|
|
3
|
+
# @mojaksebastian/allegro-client
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
Wydajny i skalowalny klient Allegro REST API dla środowiska Node.js, oferujący pełną automatyzację procesu autoryzacji OAuth2 oraz abstrakcję warstwy przechowywania tokenów.
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## Główne cechy rozwiązania
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
* **Automatyczna retencja tokenów:** System monitoruje czas wygasania sesji i odświeża tokeny przed ich unieważnieniem.
|
|
10
|
+
* **Abstrakcja warstwy Storage:** Implementacja interfejsu `ITokenStorage` pozwala na delegowanie zapisu sesji do dowolnego silnika (Redis, SQL, NoSQL, FileSystem).
|
|
11
|
+
* **Zgodność ze standardem ESM:** Paczka zoptymalizowana pod nowoczesne środowiska Node.js (20+) oraz moduły ECMAScript.
|
|
12
|
+
* **Silne typowanie:** Kompletne definicje TypeScript dla konfiguracji, strategii oraz interfejsów magazynowania danych.
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
---
|
|
13
15
|
|
|
14
|
-
Instalacja
|
|
16
|
+
## Instalacja
|
|
15
17
|
|
|
16
18
|
Paczka jest dostępna w rejestrze NPM. Można ją zainstalować za pomocą preferowanego menedżera pakietów:
|
|
17
|
-
Bash
|
|
18
19
|
|
|
20
|
+
```bash
|
|
19
21
|
npm install @mojaksebastian/allegro-client
|
|
20
22
|
|
|
21
23
|
Szybki Start
|
|
@@ -113,6 +115,6 @@ npm run dev
|
|
|
113
115
|
|
|
114
116
|
Licencja
|
|
115
117
|
|
|
116
|
-
Projekt dystrybuowany na warunkach licencji MIT.
|
|
118
|
+
Projekt dystrybuowany na warunkach licencji MIT.
|
|
117
119
|
|
|
118
120
|
Autor: mojaksebastian
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mojaksebastian/allegro-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Allegro REST API Client with automatic token refresh. Fetches tokens from allegro and serves them to the user. Supports both the production and sandbox enviroments",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|