From c96f9680319496aa3926c394d06be497aaad24db Mon Sep 17 00:00:00 2001 From: Weiliang Li Date: Fri, 26 Nov 2021 10:20:06 +0900 Subject: [PATCH] bump dependencies (#10) --- .github/workflows/cd.yml | 8 ++++---- .github/workflows/ci.yml | 6 +++--- Cargo.toml | 13 +++++++------ 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index b96d829..2e8ad45 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -1,4 +1,4 @@ -name: Publish wasm +name: CD on: release: @@ -9,12 +9,12 @@ env: jobs: publish: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 registry-url: "https://registry.npmjs.org" - uses: actions-rs/toolchain@v1 with: @@ -39,7 +39,7 @@ jobs: - name: Build run: wasm-pack build - - name: Publish npm package + - name: Publish run: cd pkg && npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c77b39e..b4489f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build wasm +name: CI on: push: @@ -12,12 +12,12 @@ env: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 14 + node-version: 16 - uses: actions-rs/toolchain@v1 with: toolchain: stable diff --git a/Cargo.toml b/Cargo.toml index a2eee84..80aa14f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,10 +1,10 @@ [package] name = "ecies-wasm" -version = "0.1.1" +version = "0.1.2" # docs authors = ["Weiliang Li "] description = "A WASM binding for eciesrs" -edition = "2018" +edition = "2021" keywords = [ "secp256k1", "crypto", @@ -14,20 +14,21 @@ keywords = [ ] license = "MIT" readme = "README.md" + # links documentation = "https://www.npmjs.com/package/ecies-wasm/" homepage = "https://ecies.org/rs-wasm/" repository = "https://github.com/ecies/rs-wasm" [dependencies] -ecies = {version = "0.2.1", default-features = false, features = ["pure"]} +ecies = {version = "0.2.2", default-features = false, features = ["pure"]} # wasm -js-sys = "0.3.50" -wasm-bindgen = "0.2.73" +js-sys = "0.3.55" +wasm-bindgen = "0.2.78" [dev-dependencies] -wasm-bindgen-test = "0.3.23" +wasm-bindgen-test = "0.3.28" [lib] crate-type = ["cdylib", "rlib"]