@jammysunshine/astrology-api-client 1.0.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jammysunshine/astrology-api-client",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Unified API Client for Astrology Services",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
- const { v4: uuid } = require('uuid');
1
+ const crypto = require('crypto');
2
2
  const axios = require('axios');
3
3
  const http = require('http');
4
4
  const https = require('https');
@@ -141,7 +141,7 @@ class AstrologyApiClient {
141
141
  }
142
142
 
143
143
  const t0 = Date.now(); // Prep end
144
- const requestId = uuid();
144
+ const requestId = crypto.randomUUID();
145
145
 
146
146
  // Hard Request Ceiling enforcement
147
147
  const baseTimeout = this.monitor.status === 'flaky' ? SDK_CONFIG.FLAKY_TIMEOUT : this.config.timeout;
@@ -1,4 +1,4 @@
1
- const { v4: uuid } = require('uuid');
1
+ const crypto = require('crypto');
2
2
 
3
3
  /**
4
4
  * Request Batcher for aggregating independent calls (SDK Sec 9.B)
@@ -10,7 +10,7 @@ class RequestBatcher {
10
10
 
11
11
  async batch(calls) {
12
12
  const payload = {
13
- requestId: uuid(),
13
+ requestId: crypto.randomUUID(),
14
14
  timestamp: new Date().toISOString(),
15
15
  isBatch: true,
16
16
  requests: calls.map(c => ({