Skip to content

Commit

Permalink
Merge pull request #17 from torusresearch/feat/updates
Browse files Browse the repository at this point in the history
Release v1.3.4
  • Loading branch information
tetratorus authored May 15, 2020
2 parents 241ff9b + 2bc0838 commit 77166e3
Show file tree
Hide file tree
Showing 5 changed files with 278 additions and 283 deletions.
11 changes: 7 additions & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"presets": ["@babel/env"],
"plugins": ["@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-class-properties", "@babel/transform-runtime"]
}

"presets": ["@babel/env"],
"plugins": [
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
["@babel/transform-runtime", { "corejs": { "version": 3 } }]
]
}
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ This repo allows web applications to directly retrieve keys stored on the Torus

### Bundling

This module is distributed in 6 formats
This module is distributed in 3 formats

- `commonjs` build `dist/directWebSdk.cjs.js` in es5 format
- `umd` build `dist/directWebSdk.umd.js` in es5 format without polyfilling corejs
- `umd` build `dist/directWebSdk.umd.min.js` in es5 format without polyfilling corejs minified
- `umd` build `dist/directWebSdk.polyfill.umd.js` in es5 format with polyfilling corejs
- `umd` build `dist/directWebSdk.polyfill.umd.min.js` in es5 format with polyfilling corejs minified

By default, the appropriate format is used for your specified usecase
Expand Down Expand Up @@ -87,5 +85,5 @@ Reach out to [email protected] to get your verifier spun up on the testnet today!


## Requirements
- This package requires a peer dependency of `@babel/runtime` or `@babel/runtime-corejs3`
- This package requires a peer dependency of `@babel/runtime`
- Node 10+
Loading

0 comments on commit 77166e3

Please sign in to comment.