Skip to content

Commit

Permalink
bump dependencies (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
kigawas authored Nov 26, 2021
1 parent b1235a7 commit c96f968
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish wasm
name: CD

on:
release:
Expand All @@ -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:
Expand All @@ -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 }}
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build wasm
name: CI

on:
push:
Expand All @@ -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
Expand Down
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "ecies-wasm"
version = "0.1.1"
version = "0.1.2"
# docs
authors = ["Weiliang Li <to.be.impressive@gmail.com>"]
description = "A WASM binding for eciesrs"
edition = "2018"
edition = "2021"
keywords = [
"secp256k1",
"crypto",
Expand All @@ -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"]
Expand Down

0 comments on commit c96f968

Please sign in to comment.