Skip to content
Permalink
Browse files

chore/bump: ⚙️ / ⬆️ adding coverage report & updating dev deps

Signed-off-by: Marco Aurélio da Silva <marcoonroad@gmail.com>
  • Loading branch information...
marcoonroad committed Aug 11, 2019
1 parent 5fa1fe6 commit 1fdc2618b57f27c49b2ddc29ad7b187292b4b729
@@ -6,7 +6,7 @@ node_js:
- node

script:
- yarn test
- yarn run report

cache:
yarn: true
@@ -4,6 +4,7 @@ Verifiable/deterministic fair tickets generation for lotteries, raffles and gamb

[![Build Status](https://dev.azure.com/marcoonroad/marcoonroad/_apis/build/status/marcoonroad.spadille?branchName=master)](https://dev.azure.com/marcoonroad/marcoonroad/_build/latest?definitionId=2&branchName=master)
[![Build Status](https://travis-ci.com/marcoonroad/spadille.svg?branch=master)](https://travis-ci.com/marcoonroad/spadille)
[![Coverage Status](https://coveralls.io/repos/github/marcoonroad/spadille/badge.svg?branch=master)](https://coveralls.io/github/marcoonroad/spadille?branch=master)

### About

Some generated files are not rendered by default. Learn more.

@@ -1,2 +1,8 @@
'use strict';/* eslint-env node *//* eslint
semi: off */function _asyncToGenerator(fn){return function(){var gen=fn.apply(this,arguments);return new Promise(function(resolve,reject){function step(key,arg){try{var info=gen[key](arg);var value=info.value}catch(error){reject(error);return}if(info.done){resolve(value)}else{return Promise.resolve(value).then(function(value){step('next',value)},function(err){step('throw',err)})}}return step('next')})}}var _require=require('../utils/environment');const isNode=_require.isNode,isBrowser=_require.isBrowser;let hmac=null;(function(){if(isBrowser()){hmac=require('./browser').init().hmac}else if(isNode()){hmac=require('./node').init().hmac}else{throw Error('Could not detect execution context!')}})();const sign=hmac;const verify=(()=>{var _ref=_asyncToGenerator(function*(secret,signature,message){const result=yield hmac(secret,message);return signature===result});return function verify(_x,_x2,_x3){return _ref.apply(this,arguments)}})();module.exports.sign=sign;module.exports.verify=verify;
semi: off */var _require=require('../utils/environment');const isNode=_require.isNode,isBrowser=_require.isBrowser;let hmac=null;(function(){/* istanbul ignore next */if(isBrowser()){hmac=require('./browser').init().hmac}else if(isNode()){hmac=require('./node').init().hmac}else{throw Error('Could not detect execution context!')}})();const sign=hmac;/*
const verify = async function (secret, signature, message) {
const result = await hmac(secret, message);
return signature === result;
};
*/module.exports.sign=sign;// module.exports.verify = verify;

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

Some generated files are not rendered by default. Learn more.

0 comments on commit 1fdc261

Please sign in to comment.
You can’t perform that action at this time.