Skip to content

Commit

Permalink
Build 0.3.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeiivankov committed Jan 30, 2025
1 parent 52f0f9a commit 891d789
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased changes
## 0.3.4 - 2025-01-30

- Add new support currencies codes to types

Expand Down
2 changes: 1 addition & 1 deletion dist/crypto-bot-api.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/crypto-bot-api.min.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions lib/helpers/casts.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ export type Balances = {
export type BalancesType = {
[variant in CryptoCurrencyCode]: string;
};
export type CryptoCurrencyCode = 'USDT' | 'TON' | 'BTC' | 'ETH' | 'LTC' | 'BNB' | 'TRX' | 'USDC' | 'JET';
export type FiatCurrencyCode = 'USD' | 'EUR' | 'RUB' | 'BYN' | 'UAH' | 'GBP' | 'CNY' | 'KZT' | 'UZS' | 'GEL' | 'TRY' | 'AMD' | 'THB' | 'INR' | 'BRL' | 'IDR' | 'AZN' | 'AED' | 'PLN' | 'ILS';
export type CurrencyCode = CryptoCurrencyCode | FiatCurrencyCode | 'KGS' | 'TJS';
export type CryptoCurrencyCode = 'USDT' | 'TON' | 'GRAM' | 'NOT' | 'MY' | 'DOGS' | 'BTC' | 'LTC' | 'ETH' | 'BNB' | 'TRX' | 'WIF' | 'USDC' | 'TRUMP' | 'MELANIA' | 'SOL' | 'DOGE' | 'PEPE' | 'BONK' | 'MAJOR' | 'HMSTR' | 'CATI';
export type FiatCurrencyCode = 'USD' | 'EUR' | 'RUB' | 'BYN' | 'UAH' | 'GBP' | 'CNY' | 'KZT' | 'UZS' | 'GEL' | 'TRY' | 'AMD' | 'THB' | 'INR' | 'BRL' | 'IDR' | 'AZN' | 'AED' | 'PLN' | 'ILS' | 'KGS' | 'TJS';
export type CurrencyCode = CryptoCurrencyCode | FiatCurrencyCode;
/** Possible currency types */
export declare enum CurrencyType {
Crypto = "crypto",
Expand Down
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021, 2024 Sergei Ivankov <sergeiivankov@pm.me>
Copyright (c) 2021, 2024, 2025 Sergei Ivankov <sergeiivankov@pm.me>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crypto-bot-api",
"version": "0.3.3",
"version": "0.3.4",
"description": "Simple and minimalistic client for Telegram CryptoBot Crypto Pay API",
"author": "Sergei Ivankov <sergeiivankov@pm.me>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ In browsers:
</script>
```

**Important: at the time of publication of version 0.3.3 (Sep 18, 2024), API servers do not return header Access-Control-Allow-Origin, which allows make requests to API from third-party domains, so client request from website environment won't work (but its work in browser extensions, Electron and similar apps)**
**Important: at the time of publication of version 0.3.4 (Jan 30, 2025), API servers do not return header Access-Control-Allow-Origin, which allows make requests to API from third-party domains, so client request from website environment won't work (but its work in browser extensions, Electron and similar apps)**

More usage examples see in [examples](https://github.com/sergeiivankov/crypto-bot-api/tree/main/examples) project directory.

Expand Down

0 comments on commit 891d789

Please sign in to comment.