bcv-today 1.0.0 → 1.0.1
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 +8 -0
- package/dist/{chunk-2JWU4TEK.js → chunk-PZYACY3A.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/{stdio-HI6U6UUH.js → stdio-2BTLOQHB.js} +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to the `bcv-today` npm package. The format follows
|
|
|
4
4
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the package uses
|
|
5
5
|
[Semantic Versioning](https://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [1.0.1] - 2026-11-18
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- First release published from GitHub Actions with npm Trusted Publishing, so the
|
|
12
|
+
package now carries a signed provenance attestation linking it to
|
|
13
|
+
https://github.com/grupoclip/bcv-api. No code changes.
|
|
14
|
+
|
|
7
15
|
## [1.0.0] - 2026-11-18
|
|
8
16
|
|
|
9
17
|
### Added
|
package/dist/cli.js
CHANGED
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
rangeOrderMessage,
|
|
35
35
|
sameCurrencyMessage,
|
|
36
36
|
todayCaracas
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-PZYACY3A.js";
|
|
38
38
|
|
|
39
39
|
// src/cli.ts
|
|
40
40
|
import { parseArgs } from "util";
|
|
@@ -782,7 +782,7 @@ async function main(argv = process.argv.slice(2), io = defaultIo, client) {
|
|
|
782
782
|
}
|
|
783
783
|
const baseUrl = typeof values["base-url"] === "string" ? values["base-url"] : void 0;
|
|
784
784
|
if (command === "mcp") {
|
|
785
|
-
const { runStdioServer } = await import("./stdio-
|
|
785
|
+
const { runStdioServer } = await import("./stdio-2BTLOQHB.js");
|
|
786
786
|
await runStdioServer({ ...baseUrl ? { baseUrl } : {}, timeoutMs: timeoutSec * 1e3 });
|
|
787
787
|
return EXIT_OK;
|
|
788
788
|
}
|
package/dist/index.cjs
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -169,7 +169,7 @@ interface Status {
|
|
|
169
169
|
raw: StatusDoc;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
declare const DEFAULT_USER_AGENT = "bcv-today-js/1.0.
|
|
172
|
+
declare const DEFAULT_USER_AGENT = "bcv-today-js/1.0.1 (+https://bcv.today)";
|
|
173
173
|
/** A calendar day: "YYYY-MM-DD" or a Date (its UTC calendar day is used). */
|
|
174
174
|
type DateInput = string | Date;
|
|
175
175
|
/** An amount: a number, a decimal string ("12.50", "1_000") or a bigint. */
|
|
@@ -311,6 +311,6 @@ declare class UpstreamError extends BCVError {
|
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
/** Version of the bcv-today package (kept in sync with package.json by a test). */
|
|
314
|
-
declare const VERSION = "1.0.
|
|
314
|
+
declare const VERSION = "1.0.1";
|
|
315
315
|
|
|
316
316
|
export { ANY_CURRENCIES, type AmountInput, type AnyCurrency, BCV, BCVError, type BCVOptions, CURRENCIES, type Conversion, type ConvertOptions, type Currency, CurrencyNotAvailable, DEFAULT_BASE_URL, DEFAULT_USER_AGENT, type DateInput, DateOutOfRange, type DayRate, EARLIEST_SNAPSHOT, type FetchLike, type History, type HistoryOptions, type HistoryPoint, InvalidAmount, InvalidArgument, InvalidCurrency, InvalidDate, MAX_HISTORY_DAYS, NotFound, type RateEntry, type RateMap, type Rates, SOURCE, type Status, type StatusDoc, UNIT, UpstreamError, VERSION };
|
package/dist/index.d.ts
CHANGED
|
@@ -169,7 +169,7 @@ interface Status {
|
|
|
169
169
|
raw: StatusDoc;
|
|
170
170
|
}
|
|
171
171
|
|
|
172
|
-
declare const DEFAULT_USER_AGENT = "bcv-today-js/1.0.
|
|
172
|
+
declare const DEFAULT_USER_AGENT = "bcv-today-js/1.0.1 (+https://bcv.today)";
|
|
173
173
|
/** A calendar day: "YYYY-MM-DD" or a Date (its UTC calendar day is used). */
|
|
174
174
|
type DateInput = string | Date;
|
|
175
175
|
/** An amount: a number, a decimal string ("12.50", "1_000") or a bigint. */
|
|
@@ -311,6 +311,6 @@ declare class UpstreamError extends BCVError {
|
|
|
311
311
|
}
|
|
312
312
|
|
|
313
313
|
/** Version of the bcv-today package (kept in sync with package.json by a test). */
|
|
314
|
-
declare const VERSION = "1.0.
|
|
314
|
+
declare const VERSION = "1.0.1";
|
|
315
315
|
|
|
316
316
|
export { ANY_CURRENCIES, type AmountInput, type AnyCurrency, BCV, BCVError, type BCVOptions, CURRENCIES, type Conversion, type ConvertOptions, type Currency, CurrencyNotAvailable, DEFAULT_BASE_URL, DEFAULT_USER_AGENT, type DateInput, DateOutOfRange, type DayRate, EARLIEST_SNAPSHOT, type FetchLike, type History, type HistoryOptions, type HistoryPoint, InvalidAmount, InvalidArgument, InvalidCurrency, InvalidDate, MAX_HISTORY_DAYS, NotFound, type RateEntry, type RateMap, type Rates, SOURCE, type Status, type StatusDoc, UNIT, UpstreamError, VERSION };
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bcv-today",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Official client for the BCV Today API: Banco Central de Venezuela exchange rates (USD, EUR, CNY, TRY, RUB to VES), with exact decimal conversions, a CLI and a local MCP server. Unofficial, not affiliated with the bank.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bcv",
|