Skip to content
Closed
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
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
name: install-pnpm
id: pnpm-install
with:
version: 9
run_install: false

- uses: actions/setup-node@v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "lts/*"
cache: "pnpm"
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,26 @@ on:
- beta
- hotfix\/v[0-9]+.[0-9]+.[0-9]+

permissions:
contents: read
actions: read

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
with:
persist-credentials: false

- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
name: install-pnpm
id: pnpm-install
with:
version: 9
run_install: false

- uses: actions/setup-node@v4
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: "lts/*"
cache: "pnpm"
Expand All @@ -36,5 +40,6 @@ jobs:
- name: semantic-release
run: npx semantic-release --debug true --dry-run false
env:
HUSKY: 0
GITHUB_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: false
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ const wallet = await connect()

By default, the list of connectors is:

- Ready Wallet
- Ready X
- Braavos
- Ready (formerly Argent)
- Web Wallet

## Connect with specific connectors

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
],
"dependencies": {
"@argent/x-ui": "^1.109.0",
"@cartridge/controller": "^0.10.0",
"@cartridge/controller": "^0.12.1",
"@starknet-io/get-starknet": "^4.0.8",
"@starknet-io/get-starknet-core": "^4.0.8",
"@starknet-io/types-js": "0.8.4",
Expand Down
29 changes: 16 additions & 13 deletions pnpm-lock.yaml

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

4 changes: 2 additions & 2 deletions src/connectors/argent/argentMobile/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export class ArgentMobileBaseConnector extends Connector {
}

get name(): string {
return "Ready (formerly Argent)"
return "Ready X"
}

get icon(): ConnectorIcons {
Expand Down Expand Up @@ -217,7 +217,7 @@ export class ArgentMobileBaseConnector extends Connector {
if (wallet.id.toLowerCase() === "argentx") {
return {
...wallet,
name: "Ready Wallet (formerly Argent)",
name: "Ready X",
}
}
return wallet
Expand Down
2 changes: 1 addition & 1 deletion src/connectors/argent/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class Argent
readonly fallbackConnector: ArgentMobileBaseConnector | null

get name() {
return "Ready Wallet (formerly Argent)"
return "Ready X"
}
get icon() {
return ArgentIcon
Expand Down
2 changes: 1 addition & 1 deletion src/connectors/injected/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class InjectedConnector extends Connector {

// TODO: remove when get-starknet is updated
if (this._options.id.toLowerCase() === "argentx") {
return "Ready Wallet (formerly Argent)"
return "Ready X"
}

return this._options.name ?? this._wallet?.name ?? this._options.id
Expand Down
5 changes: 1 addition & 4 deletions src/helpers/mapModalWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,7 @@ export const mapModalWallets = ({
: installed.icon

// TODO: remove this when get-starknet will be updated
name =
installed.id === "argentX"
? "Ready Wallet (formerly Argent)"
: installed.name
name = installed.id === "argentX" ? "Ready X" : installed.name
}

const downloads = discoveryWallets.find(
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export const connect = async ({
if (wallet.id.toLowerCase() === "argentx") {
return {
...wallet,
name: "Ready Wallet (formerly Argent)",
name: "Ready X",
}
}
return wallet
Expand Down
4 changes: 2 additions & 2 deletions src/modal/Modal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,10 @@
)}
storeLink={selectedWallet?.download}
extensionName={selectedWallet?.name.includes("Ready")
? "Ready Wallet (formerly Argent)"
? "Ready X"
: selectedConnector?.name}
extensionId={selectedWallet?.id}
discoveryWallets={discoveryWallets}
{discoveryWallets}
/>
{/if}
</main>
Expand Down
4 changes: 2 additions & 2 deletions src/starknet-react/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function StarknetReactWrapper({
{status === "init" && (
<Connecting
theme={themeMode}
walletName="Ready Wallet (formerly Argent)"
walletName="Ready X"
showFallback={Boolean(fallbackConnector)}
handleFallback={async () => {
setStatus("none")
Expand All @@ -171,7 +171,7 @@ function StarknetReactWrapper({

{status === "fail" && (
<FailedLogin
walletName="Ready Wallet (formerly Argent)"
walletName="Ready X"
handleRetry={connectAsyncWrapped}
showFallback={Boolean(fallbackConnector)}
handleFallback={async () => {
Expand Down
Loading