Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add data signing #152

Merged
merged 15 commits into from
Jun 26, 2024
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"sort-imports": ["warn", { "ignoreDeclarationSort": true, "ignoreCase": true }],
"import/order": "warn",
"import/default": "off",
"import/no-named-as-default-member": "off"
"import/no-named-as-default-member": "off",
"import/no-unresolved": "off"
}
}
31 changes: 19 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nautilus-wallet",
"version": "0.10.4",
"version": "0.11.0",
"private": true,
"type": "module",
"engines": {
Expand All @@ -20,22 +20,22 @@
"dependencies": {
"@download/blockies": "^1.0.3",
"@emurgo/cip4-js": "^1.0.7",
"@fleet-sdk/babel-fees-plugin": "^0.1.12",
"@fleet-sdk/babel-fees-plugin": "^0.1.13",
"@fleet-sdk/common": "^0.4.1",
"@fleet-sdk/core": "^0.4.1",
"@fleet-sdk/crypto": "^0.4.1",
"@fleet-sdk/serializer": "^0.4.1",
"@fleet-sdk/wallet": "^0.4.1",
"@fleet-sdk/core": "^0.5.0",
"@fleet-sdk/crypto": "^0.5.0",
"@fleet-sdk/serializer": "^0.5.0",
"@fleet-sdk/wallet": "^0.5.0",
"@ledgerhq/hw-transport-webusb": "^6.28.6",
"@mdi/js": "^7.4.47",
"@oruga-ui/oruga-next": "0.6.0",
"@scure/bip39": "1.3.0",
"@urql/core": "^5.0.4",
"@urql/exchange-retry": "^1.3.0",
"@vuelidate/core": "^2.0.3",
"@vuelidate/validators": "^2.0.4",
"@vueuse/core": "^10.11.0",
"axios": "^1.7.2",
"axios-retry": "^4.4.0",
"axios-retry": "^4.4.1",
"bignumber.js": "^9.1.2",
"cleave.js": "^1.6.0",
"crypto-js": "^4.2.0",
Expand All @@ -48,10 +48,10 @@
"lodash-es": "^4.17.21",
"mdi-vue": "^3.0.13",
"qrcode": "^1.5.3",
"vue": "^3.4.29",
"vue": "^3.4.30",
"vue-feather": "^2.0.0",
"vue-json-pretty": "2.1.1",
"vue-router": "^4.3.3",
"vue-json-pretty": "2.4.0",
"vue-router": "^4.4.0",
"vuex": "^4.1.0",
"webext-bridge": "^6.0.1",
"yaml": "^2.4.5"
Expand All @@ -60,6 +60,7 @@
"@crxjs/vite-plugin": "^2.0.0-beta.23",
"@ergo-graphql/types": "^0.5.1",
"@nautilus-js/eip12-types": "^0.1.9",
"@tsconfig/node20": "^20.1.4",
"@types/chrome": "^0.0.268",
"@types/cleave.js": "^1.4.12",
"@types/crypto-js": "^4.2.2",
Expand All @@ -70,13 +71,14 @@
"@vitejs/plugin-vue": "^5.0.5",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/tsconfig": "^0.5.1",
"eslint": "^8.57.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-vue": "^9.26.0",
"prettier": "^3.3.2",
"typescript": "5.4.5",
"typescript": "5.5.2",
"vite": "^5.3.1",
"vite-plugin-node-polyfills": "^0.22.0",
"vite-plugin-top-level-await": "^1.4.1",
Expand All @@ -85,5 +87,10 @@
"vite-svg-loader": "^5.1.0",
"vitest": "^1.6.0",
"vue-eslint-parser": "^9.4.3"
},
"pnpm": {
"patchedDependencies": {
"ergo-lib-wasm-browser@0.26.0": "patches/ergo-lib-wasm-browser@0.26.0.patch"
}
}
}
17 changes: 17 additions & 0 deletions patches/ergo-lib-wasm-browser@0.26.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
diff --git a/package.json b/package.json
index 4b86185ba3c48c807c586c8a860e01f9c667eaf1..d61b6c7c4706bd2eb85090cad0ed56f69611fcbe 100644
--- a/package.json
+++ b/package.json
@@ -22,7 +22,10 @@
"./snippets/*"
],
"type": "module",
- "exports": {
- ".": "./ergo_lib_wasm"
+ "main": "./ergo_lib_wasm.js",
+ ".": {
+ "types": "./ergo_lib_wasm.d.ts",
+ "import": "./ergo_lib_wasm.js",
+ "require": "./ergo_lib_wasm.js"
}
}
Loading