Skip to content

Commit 0893375

Browse files
Version Packages (#6)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 48499f8 commit 0893375

7 files changed

Lines changed: 42 additions & 16 deletions

File tree

.changeset/usdc-payment-verification.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

packages/core/CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @hbar-kit/core
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 48499f8: Add USDC payment verification helpers for Hedera.
8+
9+
Introduces `verifyUsdcPayment` and `waitForUsdcPayment` as convenience wrappers over HTS payment
10+
verification, with 6-decimal amount parsing, optional token ID override, docs, examples, and tests.
11+
Adds a verified USDC token registry (`USDC_TOKEN_IDS`, `getUsdcTokenId`) with mainnet/testnet token
12+
ids confirmed against the Mirror Node and Circle's official docs, plus `isUsdcPaymentResult` and an
13+
optional `symbol` field on `PaymentAsset` (additive, non-breaking). Adds a new `UnsupportedAssetError`
14+
to `@hbar-kit/core` for networks without a verified USDC token id (e.g. previewnet).
15+
316
## 0.1.3
417

518
### Patch Changes

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hbar-kit/core",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"description": "Zero-dependency Hedera primitives for TypeScript: network config, bigint money (tinybars & HTS decimals), id/timestamp parsing, errors.",
55
"license": "MIT",
66
"homepage": "https://devwhodevs.github.io/hbar-kit/",

packages/mirror/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @hbar-kit/mirror
22

3+
## 0.1.4
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [48499f8]
8+
- @hbar-kit/core@0.2.0
9+
310
## 0.1.3
411

512
### Patch Changes

packages/mirror/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hbar-kit/mirror",
3-
"version": "0.1.3",
3+
"version": "0.1.4",
44
"description": "Typed Hedera Mirror Node REST API client for TypeScript: transactions, tokens, balances, with cursor pagination.",
55
"license": "MIT",
66
"homepage": "https://devwhodevs.github.io/hbar-kit/",

packages/payments/CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,24 @@
11
# @hbar-kit/payments
22

3+
## 0.2.0
4+
5+
### Minor Changes
6+
7+
- 48499f8: Add USDC payment verification helpers for Hedera.
8+
9+
Introduces `verifyUsdcPayment` and `waitForUsdcPayment` as convenience wrappers over HTS payment
10+
verification, with 6-decimal amount parsing, optional token ID override, docs, examples, and tests.
11+
Adds a verified USDC token registry (`USDC_TOKEN_IDS`, `getUsdcTokenId`) with mainnet/testnet token
12+
ids confirmed against the Mirror Node and Circle's official docs, plus `isUsdcPaymentResult` and an
13+
optional `symbol` field on `PaymentAsset` (additive, non-breaking). Adds a new `UnsupportedAssetError`
14+
to `@hbar-kit/core` for networks without a verified USDC token id (e.g. previewnet).
15+
16+
### Patch Changes
17+
18+
- Updated dependencies [48499f8]
19+
- @hbar-kit/core@0.2.0
20+
- @hbar-kit/mirror@0.1.4
21+
322
## 0.1.3
423

524
### Patch Changes

packages/payments/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hbar-kit/payments",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"description": "Verify native Hedera payments (HBAR & HTS) by receiver, amount, memo, and time window via the Mirror Node — read-only, non-custodial, bigint-safe.",
55
"license": "MIT",
66
"homepage": "https://devwhodevs.github.io/hbar-kit/",

0 commit comments

Comments
 (0)