Skip to content

Commit 7c69b50

Browse files
authored
ca-sdk v0.0.6 doc updates (#144)
* Fix: #AR-9236 cleanup * fix vale errors * Avalanche update * Fix: Update RN for ca-sdk v0.0.6 * update archives nav * Fix: #AR-9236 Doc update Avalanche in the CA wallet (#137) * remove network config parameter as it defaults to Coral
1 parent 20aa432 commit 7c69b50

File tree

9 files changed

+85
-21
lines changed

9 files changed

+85
-21
lines changed

.github/styles/config/vocabularies/Arcana/accept.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
κ
21
Aave
32
about-auth
43
accesscontrol
@@ -128,6 +127,7 @@ AuthWagmiCreateClientText
128127
AuthWagmiInstallText
129128
AuthWatchAssetText
130129
autoRedirect
130+
Avalanche
131131
AVSS
132132
backend
133133
backends
@@ -1284,6 +1284,7 @@ SupportedViewerWalletText
12841284
SupportedWalletText
12851285
SupportEmailLinkText
12861286
SupportEmailText
1287+
Sushiswap
12871288
TabItem
12881289
TBD
12891290
telegram_custom_ui_tag

docs/img/logos/avalanche.webp

7.23 KB
Loading

docs/relnotes/archives/ca-index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ arcana:
1010

1111
=== "CA SDK"
1212

13+
[[rn-ca-v0.0.5| :material-note-text:{ .icon-color } CA v0.0.5]]{ .md-button }
1314
[[rn-ca-v0.0.3| :material-note-text:{ .icon-color } CA v0.0.3]]{ .md-button }
1415
[[rn-ca-v0.0.2| :material-note-text:{ .icon-color } CA v0.0.2]]{ .md-button }
1516

docs/relnotes/rn-ca-v0.0.5.md

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
alias: rn-ca-v0.0.5
3+
title: 'CA SDK Release Note'
4+
description: 'Arcana CA SDK Release Note'
5+
arcana:
6+
root_rel_path: ..
7+
---
8+
9+
# CA SDK Release Note
10+
11+
**Release Date: 17 Feb, 2025**
12+
13+
**Version: v0.0.5**
14+
15+
## What is New?
16+
17+
---
18+
19+
This is a minor update release with the following changes:
20+
21+
1. Earlier, to instantiate a `CA` object, you had to pass in the `provider`. Now, there is no input parameter to the constructor.
22+
2. A new `setEVMProvider` method is added to the `CA` class. This method can be used to set the EVM provider later.
23+
24+
25+
=== "Old"
26+
27+
```typescript
28+
let provider: window.ethereum;
29+
const ca = new CA(provider);
30+
```
31+
32+
=== "New"
33+
34+
```typescript
35+
let provider: window.ethereum;
36+
const ca = new CA();
37+
ca.setEVMProvider(provider);
38+
```
39+
40+
Check out the complete list of supported [[ca-stack#chains|chains]] and [[ca-stack#tokens|tokens]].
41+
42+
[Changelog](https://github.com/arcana-network/ca-sdk/releases/latest){ .md-button }
43+
44+
## Get Started
45+
46+
---
47+
48+
* [[ca-quick-start|{{config.extra.arcana.ca_sdk_name}} Quick Start Guide]]
49+
* [Integration example](https://github.com/arcana-network/ca-sdk/tree/main/example)
50+
* {% include "./text-snippets/casdkref_url.md" %}
51+
52+
## Previous Releases
53+
54+
Are you using an older version of the {{config.extra.arcana.ca_sdk_name}}?
55+
56+
Refer to the [[ca-index-release-notes| release notes archive]]. Upgrade to the latest version.
57+
58+
## Questions?
59+
60+
---
61+
62+
Can't find what you are looking for? Contact [{{config.extra.arcana.company_name}} Support]({{page.meta.arcana.root_rel_path}}/support/index.md).

includes/text-snippets/ca_supported_chains.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@
1414
<figcaption>Arbitrum</figcaption>
1515
</figure>
1616

17+
<figure markdown="span">
18+
<img src="{{config.extra.arcana.img_dir}}/logos/avalanche.{{config.extra.arcana.img_png}}"/>
19+
<figcaption>Avalanche</figcaption>
20+
</figure>
21+
1722
<figure markdown="span">
1823
<img src="{{config.extra.arcana.img_dir}}/logos/base.{{config.extra.arcana.img_png}}"/>
1924
<figcaption>Base</figcaption>

includes/text-snippets/ca_wallet_supported_apps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@
6060
<img src="{{config.extra.arcana.img_dir}}/logos/uniswap.{{config.extra.arcana.img_png}}"/>
6161
<figcaption>Uniswap</figcaption>
6262
</figure>
63-
</div>
63+
</div>

includes/text-snippets/ca_wallet_supported_chains.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!---
22
* Arbitrum
3+
* Avalanche
34
* Base
45
* Ethereum
56
* Fuel
@@ -16,6 +17,11 @@
1617
<figcaption>Arbitrum</figcaption>
1718
</figure>
1819

20+
<figure markdown="span">
21+
<img src="{{config.extra.arcana.img_dir}}/logos/avalanche.{{config.extra.arcana.img_png}}"/>
22+
<figcaption>Avalanche</figcaption>
23+
</figure>
24+
1925
<figure markdown="span">
2026
<img src="{{config.extra.arcana.img_dir}}/logos/base.{{config.extra.arcana.img_png}}"/>
2127
<figcaption>Base</figcaption>

includes/text-snippets/latest-ca-rn.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,19 @@
11
**Release Date: {{config.extra.arcana.latest_ca_sdk_release_date}}**
22

3-
Version: **v{{config.extra.arcana.latest_ca_sdk_version}}**
3+
**Version: v{{config.extra.arcana.latest_ca_sdk_version}}**
44

55
## What is New?
66

77
---
88

9-
This is a minor update release with the following changes:
9+
This is a minor update release with support for the Avalanche chain and a few bug fixes, improvements.
1010

11-
1. Earlier, to instantiate a `CA` object, you had to pass in the `provider`. Now, there is no input parameter to the constructor.
12-
2. A new `setEVMProvider` method is added to the `CA` class. This method can be used to set the EVM provider later.
11+
```typescript
12+
let provider = window.ethereum;
1313

14-
15-
=== "Old"
16-
17-
```typescript
18-
let provider: window.ethereum;
19-
const ca = new CA(provider);
20-
```
21-
22-
=== "New"
23-
24-
```typescript
25-
let provider: window.ethereum;
26-
const ca = new CA();
27-
ca.setEVMProvider(provider);
28-
```
14+
const ca = new CA();
15+
ca.setEVMProvider(provider);
16+
```
2917

3018
Check out the complete list of supported [[ca-stack#chains|chains]] and [[ca-stack#tokens|tokens]].
3119

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ nav:
508508
- Archives:
509509
- relnotes/archives/ca-index.md
510510
- CA SDK:
511+
- v0.0.5: relnotes/rn-ca-v0.0.5.md
511512
- v0.0.3: relnotes/rn-ca-v0.0.3.md
512513
- v0.0.2: relnotes/rn-ca-v0.0.2.md
513514
- CA Wagmi SDK:

0 commit comments

Comments
 (0)