@yolo-croket-dev/amqp-access 0.7.330 → 0.7.331

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.
@@ -33,6 +33,6 @@ export type GetExchangeRateByCountryCodeExactResult = {
33
33
  readonly isSupported: false;
34
34
  };
35
35
  export declare function isExchangeRateBaseDate(value: string): value is ExchangeRateBaseDate;
36
- export declare function toExchangeRateBaseDate<const Value extends string>(value: Value & ExchangeRateBaseDateInput<Value>): ExchangeRateBaseDate;
36
+ export declare function toExchangeRateBaseDate<Value extends string>(value: Value & ExchangeRateBaseDateInput<Value>): ExchangeRateBaseDate;
37
37
  export declare function isGetExchangeRateByCountryCodeExactResult(value: unknown): value is GetExchangeRateByCountryCodeExactResult;
38
38
  export {};
@@ -30,6 +30,7 @@ function isExchangeRateBaseDate(value) {
30
30
  return /^\d{8}$/.test(value);
31
31
  }
32
32
  exports.isExchangeRateBaseDate = isExchangeRateBaseDate;
33
+ // TypeScript 4.x consumers also read this function's generated declaration.
33
34
  function toExchangeRateBaseDate(value) {
34
35
  if (!isExchangeRateBaseDate(value)) {
35
36
  throw new TypeError('Exchange-rate baseDate must be exactly eight ASCII digits');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.330",
3
+ "version": "0.7.331",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",