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 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
@@ -370,7 +370,7 @@ async function discard(res) {
370
370
  }
371
371
 
372
372
  // src/version.ts
373
- var VERSION = "1.0.0";
373
+ var VERSION = "1.0.1";
374
374
 
375
375
  export {
376
376
  BCVError,
package/dist/cli.js CHANGED
@@ -34,7 +34,7 @@ import {
34
34
  rangeOrderMessage,
35
35
  sameCurrencyMessage,
36
36
  todayCaracas
37
- } from "./chunk-2JWU4TEK.js";
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-HI6U6UUH.js");
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
@@ -507,7 +507,7 @@ function group(a, places) {
507
507
  }
508
508
 
509
509
  // src/version.ts
510
- var VERSION = "1.0.0";
510
+ var VERSION = "1.0.1";
511
511
 
512
512
  // src/client.ts
513
513
  var DEFAULT_USER_AGENT = `bcv-today-js/${VERSION} (+https://bcv.today)`;
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.0 (+https://bcv.today)";
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.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.0 (+https://bcv.today)";
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.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
@@ -505,7 +505,7 @@ function group(a, places) {
505
505
  }
506
506
 
507
507
  // src/version.ts
508
- var VERSION = "1.0.0";
508
+ var VERSION = "1.0.1";
509
509
 
510
510
  // src/client.ts
511
511
  var DEFAULT_USER_AGENT = `bcv-today-js/${VERSION} (+https://bcv.today)`;
@@ -24,7 +24,7 @@ import {
24
24
  rangeOrderMessage,
25
25
  round,
26
26
  sameCurrencyMessage
27
- } from "./chunk-2JWU4TEK.js";
27
+ } from "./chunk-PZYACY3A.js";
28
28
 
29
29
  // src/tools.ts
30
30
  function ok(summary, data) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bcv-today",
3
- "version": "1.0.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",