diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 90ff037b..acd5c448 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,11 +20,11 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: npm - name: Install dependencies run: npm install - name: Run build - run: npm run build \ No newline at end of file + run: npm run build diff --git a/.github/workflows/doc.yaml b/.github/workflows/doc.yaml index 2df70d98..a82b92eb 100644 --- a/.github/workflows/doc.yaml +++ b/.github/workflows/doc.yaml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: npm - name: Install dependencies diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 6c3abe8b..a5706f4d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x cache: npm - name: Install dependencies @@ -30,4 +30,4 @@ jobs: run: npm run build - name: Run lint - run: npm run lint \ No newline at end of file + run: npm run lint diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 59452d93..9fa7aa3a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [18, 20] + node-version: [20, 22] steps: - name: Checkout repository diff --git a/README.md b/README.md index e157bbac..6f566560 100644 --- a/README.md +++ b/README.md @@ -12,24 +12,24 @@ Written in Typescript it is meant as a drop in replacement for the [aleph-js lib npm install aleph-sdk-ts ``` -- An API reference [on the repository github pages](https://aleph-im.github.io/aleph-sdk-ts/index.html) -- For guides and use-cases check the [Aleph TS SDK Gitbook](https://aleph-im.gitbook.io/ts-sdk/) -- Some examples are available in the `/examples` directory. +- An API reference [on the repository github pages](https://aleph-im.github.io/aleph-sdk-ts/index.html) +- For guides and use-cases check the [Aleph TS SDK Gitbook](https://aleph-im.gitbook.io/ts-sdk/) +- Some examples are available in the `/examples` directory. ## Supported chains This is the list of currently supported Account types. For each of them you can: -- Retrieve an account from a private key or mnemonic (or generate one on the fly). -- Sign and send messages on the Aleph Network -- Some allow you to retrieve an account from a **browser based** wallet (ex: Metamask), or from a **Ledger** wallet. +- Retrieve an account from a private key or mnemonic (or generate one on the fly). +- Sign and send messages on the Aleph Network +- Some allow you to retrieve an account from a **browser based** wallet (ex: Metamask), or from a **Ledger** wallet. [Previous versions](https://npmjs.com/package/aleph-sdk-ts) of the Typescript SDK allowed you to **encrypt** messages. -This has been | Chain | Encryption | Browser Wallet | Ledger | -|----------------------|------------|--------------------| ------------------ | +| -------------------- | ---------- | ------------------ | ------------------ | | Avalanche | :x: | :heavy_check_mark: | :x: | +| Base | :x: | :heavy_check_mark: | :x: | | Cosmos | :x: | :heavy_check_mark: | :x: | | Ethereum | :x: | :heavy_check_mark: | :heavy_check_mark: | | NULS2 | :x: | :x: | :x: | @@ -64,6 +64,7 @@ This SDK is tested and works, with the following Node.js versions: | v16.x | :heavy_check_mark: **Full working support** | | v18.x | :heavy_multiplication_x: Some feature may not work (see notes) | | v20.x | :heavy_check_mark: **Full working support** | +| v22.x | :heavy_check_mark: **Full working support** | \* Due to changes in OpenSSL in Node v18, some chains helper may not work. If you encounter bugs using Node v18, you might want to consider using the `--openssl-legacy-provider` feature flag while running your project.