Skip to content

Commit

Permalink
Merge branch 'develop' into token-approval-promise-refactor-full
Browse files Browse the repository at this point in the history
  • Loading branch information
bergarces committed May 31, 2023
2 parents ca8a9a5 + 49f8052 commit 723a04c
Show file tree
Hide file tree
Showing 19 changed files with 161 additions and 768 deletions.
8 changes: 4 additions & 4 deletions coverage-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
// subset of files to check against these targets.
module.exports = {
global: {
lines: 70.94,
branches: 59.11,
statements: 70.38,
functions: 63.65,
lines: 70.85,
branches: 59.07,
statements: 70.3,
functions: 63.52,
},
transforms: {
branches: 100,
Expand Down
103 changes: 0 additions & 103 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,109 +783,6 @@
"@babel/runtime": true
}
},
"@metamask-institutional/extension": {
"globals": {
"console.log": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-controller": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-controller": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": true,
"@metamask/obs-store": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": {
"globals": {
"console.log": true,
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true,
"@metamask/obs-store": true,
"browserify>crypto-browserify": true,
"browserify>events": true,
"gulp-sass>lodash.clonedeep": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": {
"globals": {
"console.log": true,
"fetch": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk": {
"globals": {
"URLSearchParams": true,
"console.debug": true,
"console.log": true,
"console.warn": true,
"fetch": true
},
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>@metamask-institutional/simplecache": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": true,
"browserify>crypto-browserify": true,
"browserify>events": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"browserify>process": true,
"lodash": true,
"mocha>ms": true,
"semver": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": true,
"browserify>crypto-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": {
"packages": {
"browserify>buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/base-controller": true,
Expand Down
103 changes: 0 additions & 103 deletions lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,109 +783,6 @@
"@babel/runtime": true
}
},
"@metamask-institutional/extension": {
"globals": {
"console.log": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-controller": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-controller": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": true,
"@metamask/obs-store": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": {
"globals": {
"console.log": true,
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true,
"@metamask/obs-store": true,
"browserify>crypto-browserify": true,
"browserify>events": true,
"gulp-sass>lodash.clonedeep": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": {
"globals": {
"console.log": true,
"fetch": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk": {
"globals": {
"URLSearchParams": true,
"console.debug": true,
"console.log": true,
"console.warn": true,
"fetch": true
},
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>@metamask-institutional/simplecache": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": true,
"browserify>crypto-browserify": true,
"browserify>events": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"browserify>process": true,
"lodash": true,
"mocha>ms": true,
"semver": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": true,
"browserify>crypto-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": {
"packages": {
"browserify>buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/base-controller": true,
Expand Down
103 changes: 0 additions & 103 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -783,109 +783,6 @@
"@babel/runtime": true
}
},
"@metamask-institutional/extension": {
"globals": {
"console.log": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-controller": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-controller": {
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": true,
"@metamask/obs-store": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring": {
"globals": {
"console.log": true,
"console.warn": true
},
"packages": {
"@ethereumjs/tx>@ethereumjs/util": true,
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": true,
"@metamask-institutional/extension>@metamask-institutional/sdk": true,
"@metamask-institutional/extension>@metamask-institutional/types": true,
"@metamask/obs-store": true,
"browserify>crypto-browserify": true,
"browserify>events": true,
"gulp-sass>lodash.clonedeep": true
}
},
"@metamask-institutional/extension>@metamask-institutional/custody-keyring>@metamask-institutional/configuration-client": {
"globals": {
"console.log": true,
"fetch": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk": {
"globals": {
"URLSearchParams": true,
"console.debug": true,
"console.log": true,
"console.warn": true,
"fetch": true
},
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>@metamask-institutional/simplecache": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": true,
"browserify>crypto-browserify": true,
"browserify>events": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>bignumber.js": {
"globals": {
"crypto": true,
"define": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": true,
"browserify>buffer": true,
"browserify>crypto-browserify": true,
"browserify>process": true,
"lodash": true,
"mocha>ms": true,
"semver": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": true,
"browserify>buffer": true,
"browserify>process": true,
"browserify>stream-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa": {
"packages": {
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": true,
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": true,
"browserify>crypto-browserify": true,
"browserify>util": true,
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>buffer-equal-constant-time": {
"packages": {
"browserify>buffer": true
}
},
"@metamask-institutional/extension>@metamask-institutional/sdk>jsonwebtoken>jws>jwa>ecdsa-sig-formatter": {
"packages": {
"ethereumjs-wallet>safe-buffer": true
}
},
"@metamask/address-book-controller": {
"packages": {
"@metamask/base-controller": true,
Expand Down
Loading

0 comments on commit 723a04c

Please sign in to comment.