Skip to content

Commit

Permalink
Lock all installs of @solana/web3.js to version 1
Browse files Browse the repository at this point in the history
  • Loading branch information
steveluscher committed Oct 30, 2024
1 parent 7f42c6c commit 3fce501
Show file tree
Hide file tree
Showing 28 changed files with 42 additions and 42 deletions.
4 changes: 2 additions & 2 deletions docs/de/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Sie können Folgendes installieren:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/de/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ Das Plugin [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets-vue
Führen Sie den folgenden Befehl aus, um die erforderlichen Abhängigkeiten zu installieren:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

Das Paket [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) ermöglicht es, einen Svelte Store (`$walletStore`) hinzuzufügen, auf den unter allen JS-, TS- oder/und Svelte-Dateien zugegriffen werden kann innerhalb eines Projekts, das mit Svelte Template oder SvelteKit erstellt wurde. Unter Verwendung der Repo-Referenz [hier](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) können Sie den Adapter für SSR oder verwenden SPA. Das UI-Paket enthält eine `<WalletMultiButton />`-Komponente, mit der Benutzer eine Brieftasche auswählen können, um sich damit zu verbinden.
Expand Down
4 changes: 2 additions & 2 deletions docs/es/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Lo puedes instalar con algunos de los siguientes comandos:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/es/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ El complemento [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets
Ejecute el siguiente comando para instalar las dependencias requeridas:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

El paquete [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) permite agregar una tienda Svelte (`$walletStore`) accesible entre todos los archivos JS, TS y/o Svelte dentro de un proyecto realizado con Svelte Template o SvelteKit. Usando la referencia del repositorio [aquí](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) puede usar el adaptador para SSR o SPA. El paquete de la interfaz de usuario contiene un componente `<WalletMultiButton />` que permite a los usuarios seleccionar una billetera para conectar a ella.
Expand Down
4 changes: 2 additions & 2 deletions docs/fil/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ Maaari mong i-install gamit ang sumusunod:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/fil/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ Ang [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets-vue) plugi
Patakbuhin ang sumusunod na command upang i-install ang mga kinakailangang dependencies:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

Ang [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) package ay nagbibigay-daan upang magdagdag ng Svelte Store (`$walletStore`) na maa-access sa lahat ng JS, TS o/at Svelte file sa loob ng isang proyektong ginawa gamit ang Svelte Template o SvelteKit. Gamit ang repo reference [dito](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) maaari mong gamitin ang adapter para sa SSR o SPA. Ang UI package ay naglalaman ng `<WalletMultiButton />` component upang payagan ang mga user na pumili ng wallet para kumonekta dito.
Expand Down
4 changes: 2 additions & 2 deletions docs/fr/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Vous pouvez l'installer avec l'une des commandes suivantes :
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/fr/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ Le plugin [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets-vue)
Exécutez la commande suivante pour installer les dépendances requises :

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

Le package [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) package permet d'ajouter un Store Svelte (`$walletStore`) accessible parmi tous les fichiers JS, TS et/ou Svelte à l'intérieur d'un projet réalisé avec Svelte Template ou SvelteKit. En utilisant le répertoire de référence [ici](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) vous pouvez utiliser l'adaptateur pour SSR ou SPA. Le package UI contient un composant `<WalletMultiButton />` pour permettre aux utilisateurs de sélectionner un portefeuille et de s'y connecter.
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ You can install with the following:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
4 changes: 2 additions & 2 deletions docs/id/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Anda bisa melakukan instalasi library ini dengan cara berikut :
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/id/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
Run command berikut ini untuk menginstall dependencies yang dibutuhkan:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) package dapat menambahkan sebuah Svelte Store(`$walletStore`) yang dapat diakses oleh semua JS, TS dan/atau Svelte files di dalam sebuah project yang telah dikerjakan dengan Svelte Template atau SvelteKit. Menggunakan repo reference [ini](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) anda dapat mengunakan adapter untuk SSR atau SPA. UI package mempunyai sebuah `<WalletMultiButton />` component untuk membantu user untuk memilih wallet yang terkoneksi dengannya.
Expand Down
4 changes: 2 additions & 2 deletions docs/ja/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ footer: MIT Licensed
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
次のコマンドを実行して、必要な依存関係をインストールします:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter)パッケージを使うことにより、Svelte TemplateまたはSvelteKitで作成されたプロジェクト内のすべてのJS、TS、Svelte ファイル間でアクセス可能な Svelteストア(`$walletStore`) を追加できます。[こちら](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/)のリポジトリを参照の上、SSR または SPA 用のアダプターを使用できます。UI パッケージには、ユーザーがウォレットを選択して接続できるようにする `<WalletMultiButton />` コンポーネントが含まれています。
Expand Down
4 changes: 2 additions & 2 deletions docs/kr/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Solana에는 javascript와 typescript로 시작하기 위해 사용할 수 있
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/kr/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
요구되는 의존성들을 설치하기 위해 아래의 명령어를 실행하세요:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) 패키지는 프로젝트 내의 모든 JS, TS 또는/그리고 Svelte 파일들에서 접근할 수 있는 Svelte Store (`$walletStore`)을 추가할 수 있게 해 줍니다.
Expand Down
4 changes: 2 additions & 2 deletions docs/pt/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Você pode instalar esta biblioteca com o seguinte comando:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/pt/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ O plugin de integração [Solana Wallets - Vue](https://github.com/lorisleiva/so
Execute o seguinte comando para instalar as dependências necessárias:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

O pacote [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) permite adicionar uma Loja Svelte (`$walletStore`) acessível em todos os arquivos JS, TS ou Svelte dentro de um projeto feito com Svelte Template ou SvelteKit. Usando a referência do repositório [aqui](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/), você pode usar o adaptador para SSR ou SPA. O pacote da interface do usuário contém um componente `<WalletMultiButton />` para permitir que os usuários selecionem uma carteira para se conectar a ela.
Expand Down
2 changes: 1 addition & 1 deletion docs/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ The [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets-vue) plugi
Run the following command to install the required dependencies:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

The [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) package allows to add a Svelte Store (`$walletStore`) accessible among all the JS, TS or/and Svelte files inside a project done with Svelte Template or SvelteKit. Using the repo reference [here](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) you can be able to use the adapter for SSR or SPA. The UI package contains a `<WalletMultiButton />` component to allow users to select a wallet to connect to it.
Expand Down
4 changes: 2 additions & 2 deletions docs/th/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ footer: MIT Licensed
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/th/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
Run คำสั่งข้างล่างเพื่อติดตั้ง dependencies ที่ต้องใช้:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) package จะทำให้เราสามารถเพิ่ม Svelte Store (`$walletStore`) ที่เข้าถึงได้ทั้ง JS, TS และ/หรือ Svelte files ใน project ที่สร้างด้วย Svelte Template หรือ SvelteKit. โดยใช้ repo [ที่นี่](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) เราสามารถที่จะใช้ adapter สำหรับ SSR หรือ SPA. ส่วน UI package จะมี `<WalletMultiButton />` component เพื่อให้ผู้ใช้สามารถเลือกและเชื่อมต่อ wallet ได้
Expand Down
4 changes: 2 additions & 2 deletions docs/tr/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Aşağıdaki kod satırı ile bu kütüphaneyi kurabilirsiniz:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/tr/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ import { WalletMultiButton } from "solana-wallets-vue";
Gerekli bağımlılıkları yüklemek için aşağıdaki komutu çalıştırın:

```
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) paketi, Svelte Template veya SvelteKit ile yapılan bir proje içindeki tüm JS, TS ve/veya Svelte dosyaları arasında erişilebilir bir Svelte Mağazası (`$walletStore`) eklemeye olanak tanır. [Burada](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/)ki repo referansını kullanarak adaptörü SSR veya SPA için kullanabilirsiniz. Kullanıcı arabirimi paketi, kullanıcıların kendisine bağlanacak bir cüzdan seçmesine olanak tanıyan bir `<WalletMultiButton />` bileşeni içerir.
Expand Down
4 changes: 2 additions & 2 deletions docs/vi/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,15 @@ Bạn có thể cài đặt thông qua các bước sau:
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/vi/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ Plugin [Solana Wallets Vue](https://github.com/lorisleiva/solana-wallets-vue) ch
Chạy đoạn mã sau đây để cài các thư viện cần thiết:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

Gói [Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) cho phép thêm một Svelte Store (`$walletStore`) có khả năng truy xuất từ các tập tin JS, TS or/and Svelte bên trong dự án được tạo từ Svelte Template hoặc SvelteKit. Sử dụng mã nguồn tham khảo [tại đây](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) bạn có thể sử dụng bộ tiếp hợp cho SSR và cả SPA. Gói giao diện người dùng có chứa một thành phần là `<WalletMultiButton />`, nó cho phép người dùng có thể chọn và tạo kết nối đến ví.
Expand Down
4 changes: 2 additions & 2 deletions docs/zh/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ footer: MIT Licensed
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
运行以下命令来安装所需的依赖项:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) 包允许我们在使用Svelte模板或SvelteKit创建的项目中,在所有JS、TS或/和Svelte文件之间添加一个可访问的Svelte Store(`$walletStore`)。使用 [此处](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) 的存储库引用,您可以在SSR或SPA中使用适配器。UI包含一个`<WalletMultiButton />`组件,允许用户选择一个钱包并连接到它。
Expand Down
4 changes: 2 additions & 2 deletions docs/zh_t/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ footer: MIT Licensed
<CodeGroupItem title="YARN" active>

```bash
yarn add @solana/web3.js
yarn add @solana/web3.js@1
```

</CodeGroupItem>

<CodeGroupItem title="NPM">

```bash
npm install --save @solana/web3.js
npm install --save @solana/web3.js@1
```

</CodeGroupItem>
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_t/references/keypairs-and-wallets.md
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ npm install solana-wallets-vue @solana/wallet-adapter-wallets
運行以下命令來安裝所需的依賴項:

```/bin/bash
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js
npm install @svelte-on-solana/wallet-adapter-core @svelte-on-solana/wallet-adapter-ui @solana/wallet-adapter-base @solana/wallet-adapter-wallets @solana/web3.js@1
```

[Svelte Wallet Adapter](https://github.com/svelte-on-solana/wallet-adapter) 包允许我们在使用Svelte模板或SvelteKit创建的项目中,在所有JS、TS或/和Svelte文件之间添加一个可访问的Svelte Store(`$walletStore`)。使用 [此处](https://github.com/svelte-on-solana/wallet-adapter/blob/master/packages/core/README.md/) 的存储库引用,您可以在SSR或SPA中使用适配器。UI包含一个`<WalletMultiButton />`组件,允许用户选择一个钱包并连接到它。
Expand Down

0 comments on commit 3fce501

Please sign in to comment.