Skip to content
Snippets Groups Projects
Verified Commit cd98ebbd authored by Mateusz Tyszczak's avatar Mateusz Tyszczak :scroll:
Browse files

Fix WASM bundling

parent ae140db2
No related branches found
No related tags found
No related merge requests found
Pipeline #117410 canceled
......@@ -37,6 +37,7 @@ build:
artifacts:
paths:
- hiveio-metamask-snap-*.tgz
- snapper*.log.json
when: always
expire_in: 1 week
......
{
"name": "@hiveio/metamask-snap",
"version": "1.0.0",
"version": "1.0.1",
"description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet",
"main": "./dist/bundle.js",
"files": [
......
......@@ -12,6 +12,6 @@ pnpm exec snapper -p "${SNAP_PATH}" --output "${LOG_FILE}"
# Display simplified human-readable report and exit with error code if any issues found
if [ -f "${LOG_FILE}" ]; then
jq -r '.ESLinting[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}"
jq -r 'to_entries[] | .value[] | "\(.position.filePath):\(.position.lineNum):\n\(.type): \(.description)\n"' "${LOG_FILE}"
exit 1
fi;
......@@ -7,9 +7,6 @@ const config: SnapConfig = {
server: {
port: 8080
},
experimental: {
wasm: true
},
customizeWebpackConfig: webpackConfig => {
webpackConfig.module = webpackConfig.module ?? {};
webpackConfig.module.rules = webpackConfig.module.rules ?? [];
......
{
"version": "1.0.0",
"version": "1.0.1",
"description": "Hive wallet extension allowing you to sign transactions using keys derived from your Metamask wallet",
"proposedName": "Hive Wallet",
"repository": {
......@@ -7,7 +7,7 @@
"url": "git+https://gitlab.syncad.com/hive/metamask-snap.git"
},
"source": {
"shasum": "cJhQWny3lmSgum2PkEdzz3al8F/+3pZds+IG+feH620=",
"shasum": "FzpJXdDNOVkP9aESauH9YuVQCd0PdhJDR8AXmBblk2E=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment