apogeoapi 1.0.1 → 1.0.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/CHANGELOG.md +59 -59
- package/EXAMPLES.md +666 -666
- package/README.md +15 -15
- package/dist/index.d.ts +7 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +4 -4
- package/dist/types/index.js.map +1 -1
- package/dist/utils/http-client.d.ts.map +1 -1
- package/dist/utils/http-client.js +3 -3
- package/dist/utils/http-client.js.map +1 -1
- package/package.json +44 -44
package/CHANGELOG.md
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to the apogeoapi will be documented in this file.
|
|
4
|
-
|
|
5
|
-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
-
|
|
8
|
-
## [1.0.0] - 2024-01-15
|
|
9
|
-
|
|
10
|
-
### Added
|
|
11
|
-
- Initial release of apogeoapi
|
|
12
|
-
- Full TypeScript support with complete type definitions
|
|
13
|
-
- **AuthClient** - Authentication (register, login, refresh token)
|
|
14
|
-
- **GeoClient** - Geography data (countries, states, cities, search)
|
|
15
|
-
- **AccountClient** - Account management (dashboard, profile, usage stats)
|
|
16
|
-
- **ApiKeysClient** - API keys CRUD operations
|
|
17
|
-
- **BillingClient** - Subscription and billing management
|
|
18
|
-
- **WebhooksClient** - Webhook configuration and logs
|
|
19
|
-
- Auto-retry logic with exponential backoff
|
|
20
|
-
- Rate limit handling with retry-after support
|
|
21
|
-
- Comprehensive error handling with typed errors
|
|
22
|
-
- Request/Response interceptors
|
|
23
|
-
- Configurable timeout and retry settings
|
|
24
|
-
- Debug mode for development
|
|
25
|
-
- Complete JSDoc documentation
|
|
26
|
-
- Extensive README with examples
|
|
27
|
-
- Example usage patterns document
|
|
28
|
-
|
|
29
|
-
### Features
|
|
30
|
-
- ✅ Automatic token management
|
|
31
|
-
- ✅ Type-safe API with full autocomplete
|
|
32
|
-
- ✅ Zero configuration required (sensible defaults)
|
|
33
|
-
- ✅ Works in Node.js and browser environments
|
|
34
|
-
- ✅ CommonJS and ESM support
|
|
35
|
-
|
|
36
|
-
### Documentation
|
|
37
|
-
- Complete README with quick start guide
|
|
38
|
-
- API reference for all clients
|
|
39
|
-
- Usage examples for common scenarios
|
|
40
|
-
- Error handling patterns
|
|
41
|
-
- Production best practices
|
|
42
|
-
|
|
43
|
-
## [1.0.1] - 2026-04-05
|
|
44
|
-
|
|
45
|
-
### Fixed
|
|
46
|
-
- Renamed package from `@geo-api/sdk` to `apogeoapi` across all documentation and source files
|
|
47
|
-
- Updated default base URL from placeholder `yourcompany.com` to `https://api.apogeoapi.com/v1`
|
|
48
|
-
- Updated `User-Agent` header to `apogeoapi/1.0.1`
|
|
49
|
-
|
|
50
|
-
## [Unreleased]
|
|
51
|
-
|
|
52
|
-
### Planned
|
|
53
|
-
- [ ] WebSocket support for real-time updates
|
|
54
|
-
- [ ] Batch operations support
|
|
55
|
-
- [ ] Response caching layer
|
|
56
|
-
- [ ] Request cancellation support
|
|
57
|
-
- [ ] GraphQL client (if API adds GraphQL)
|
|
58
|
-
- [ ] React hooks package (@geo-api/react)
|
|
59
|
-
- [ ] Vue composables package (@geo-api/vue)
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to the apogeoapi will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [1.0.0] - 2024-01-15
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- Initial release of apogeoapi
|
|
12
|
+
- Full TypeScript support with complete type definitions
|
|
13
|
+
- **AuthClient** - Authentication (register, login, refresh token)
|
|
14
|
+
- **GeoClient** - Geography data (countries, states, cities, search)
|
|
15
|
+
- **AccountClient** - Account management (dashboard, profile, usage stats)
|
|
16
|
+
- **ApiKeysClient** - API keys CRUD operations
|
|
17
|
+
- **BillingClient** - Subscription and billing management
|
|
18
|
+
- **WebhooksClient** - Webhook configuration and logs
|
|
19
|
+
- Auto-retry logic with exponential backoff
|
|
20
|
+
- Rate limit handling with retry-after support
|
|
21
|
+
- Comprehensive error handling with typed errors
|
|
22
|
+
- Request/Response interceptors
|
|
23
|
+
- Configurable timeout and retry settings
|
|
24
|
+
- Debug mode for development
|
|
25
|
+
- Complete JSDoc documentation
|
|
26
|
+
- Extensive README with examples
|
|
27
|
+
- Example usage patterns document
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
- ✅ Automatic token management
|
|
31
|
+
- ✅ Type-safe API with full autocomplete
|
|
32
|
+
- ✅ Zero configuration required (sensible defaults)
|
|
33
|
+
- ✅ Works in Node.js and browser environments
|
|
34
|
+
- ✅ CommonJS and ESM support
|
|
35
|
+
|
|
36
|
+
### Documentation
|
|
37
|
+
- Complete README with quick start guide
|
|
38
|
+
- API reference for all clients
|
|
39
|
+
- Usage examples for common scenarios
|
|
40
|
+
- Error handling patterns
|
|
41
|
+
- Production best practices
|
|
42
|
+
|
|
43
|
+
## [1.0.1] - 2026-04-05
|
|
44
|
+
|
|
45
|
+
### Fixed
|
|
46
|
+
- Renamed package from `@geo-api/sdk` to `apogeoapi` across all documentation and source files
|
|
47
|
+
- Updated default base URL from placeholder `yourcompany.com` to `https://api.apogeoapi.com/v1`
|
|
48
|
+
- Updated `User-Agent` header to `apogeoapi/1.0.1`
|
|
49
|
+
|
|
50
|
+
## [Unreleased]
|
|
51
|
+
|
|
52
|
+
### Planned
|
|
53
|
+
- [ ] WebSocket support for real-time updates
|
|
54
|
+
- [ ] Batch operations support
|
|
55
|
+
- [ ] Response caching layer
|
|
56
|
+
- [ ] Request cancellation support
|
|
57
|
+
- [ ] GraphQL client (if API adds GraphQL)
|
|
58
|
+
- [ ] React hooks package (@geo-api/react)
|
|
59
|
+
- [ ] Vue composables package (@geo-api/vue)
|