Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .changeset/connector-i18n.md

This file was deleted.

16 changes: 16 additions & 0 deletions packages/connector-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @ckb-ccc/connector-react

## 2.3.0

### Minor Changes

- [#555](https://github.com/ckb-devrel/ccc/pull/555) [`6118633`](https://github.com/ckb-devrel/ccc/commit/6118633d17fa8d6e91b5b3573f7057738995689b) Thanks [@yixyxiu](https://github.com/yixyxiu)! - feat(connector): add localization support

- New `locale` property on `<ccc-connector>` and `ccc.Provider`; English by default, `zh-Hans` built in. The value must be an exact built-in tag; anything else falls back to English.
- `ccc.connectorLocales` lists the built-in language tags at runtime.
- Fee rate options are selected by a stable id instead of their display label.
- Errors raised by the connector itself (camera access, Khie pairing) are translated at render time via `ConnectorError`.

### Patch Changes

- Updated dependencies [[`6118633`](https://github.com/ckb-devrel/ccc/commit/6118633d17fa8d6e91b5b3573f7057738995689b)]:
- @ckb-ccc/connector@2.4.0

## 2.2.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connector-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/connector-react",
"version": "2.2.2",
"version": "2.3.0",
"description": "CCC - CKBer's Codebase. Common Chains Connector UI Component for React",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down
11 changes: 11 additions & 0 deletions packages/connector/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @ckb-ccc/connector

## 2.4.0

### Minor Changes

- [#555](https://github.com/ckb-devrel/ccc/pull/555) [`6118633`](https://github.com/ckb-devrel/ccc/commit/6118633d17fa8d6e91b5b3573f7057738995689b) Thanks [@yixyxiu](https://github.com/yixyxiu)! - feat(connector): add localization support

- New `locale` property on `<ccc-connector>` and `ccc.Provider`; English by default, `zh-Hans` built in. The value must be an exact built-in tag; anything else falls back to English.
- `ccc.connectorLocales` lists the built-in language tags at runtime.
- Fee rate options are selected by a stable id instead of their display label.
- Errors raised by the connector itself (camera access, Khie pairing) are translated at render time via `ConnectorError`.

## 2.3.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/connector/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ckb-ccc/connector",
"version": "2.3.2",
"version": "2.4.0",
"description": "CCC - CKBer's Codebase. Common Chains Connector UI",
"author": "Hanssen0 <hanssen0@hanssen0.com>",
"license": "MIT",
Expand Down