Skip to content

Commit 7242e86

Browse files
committed
fixed confirmation bug
1 parent c85beb7 commit 7242e86

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ currently being supported with security updates.
77

88
| Version | Supported |
99
| ------- | ------------------ |
10-
| 7.0.0 | :white_check_mark: |
11-
| <7.0.0 | :x: |
10+
| 7.0.1 | :white_check_mark: |
11+
| <7.0.1 | :x: |
1212

1313

1414
## Reporting a Vulnerability

dist/bundle.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43847,7 +43847,7 @@
4384743847
origin,
4384843848
request
4384943849
}) => {
43850-
const VERSION = "7.0.0";
43850+
const VERSION = "7.0.1";
4385143851
const WarningURL = "http://snapalgo.com/warnings/";
4385243852
const safe = await (0, _Scan.default)(VERSION, WarningURL);
4385343853
if (!safe) {
@@ -43913,7 +43913,7 @@
4391343913
let confirm = await snap.request({
4391443914
method: "snap_dialog",
4391543915
params: {
43916-
type: "Confirmation",
43916+
type: "confirmation",
4391743917
content: (0, _snapsUi.panel)([(0, _snapsUi.heading)("Display Address?"), (0, _snapsUi.divider)(), (0, _snapsUi.copyable)(currentAccount.addr)])
4391843918
}
4391943919
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "algorand",
3-
"version": "7.0.0",
3+
"version": "7.0.1",
44
"description": "algorand on metamask",
55
"main": "src/index.js",
66
"scripts": {

snap.manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"version": "7.0.0",
2+
"version": "7.0.1",
33
"description": "Algorand on Metamask",
44
"proposedName": "algorand",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/paulfears/snapalgo.git"
88
},
99
"source": {
10-
"shasum": "WgS7k5hc5OvO64SFGty+oVthLAAAQbX6NRFSEmGj2WM=",
10+
"shasum": "lozPBQ8T8Vdnor55BZQNOCBTsbs6CGtEjxKwfDiu0U4=",
1111
"location": {
1212
"npm": {
1313
"filePath": "dist/bundle.js",

src/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Buffer - used for node.js style buffer
1515
*/
1616
globalThis.Buffer = require('buffer/').Buffer;
1717
module.exports.onRpcRequest = async ({origin, request}) => {
18-
const VERSION = "7.0.0"
18+
const VERSION = "7.0.1"
1919
const WarningURL = "http://snapalgo.com/warnings/"
2020
//scan for known vulnerabilities, and take action depending on the case
2121
const safe = await Scan(VERSION, WarningURL)
@@ -124,7 +124,7 @@ module.exports.onRpcRequest = async ({origin, request}) => {
124124
method: "snap_dialog",
125125
params:{
126126

127-
type:"Confirmation",
127+
type:"confirmation",
128128
content: panel([
129129
heading("Display Address?"),
130130
divider(),

0 commit comments

Comments
 (0)