Skip to content

Commit 32a404f

Browse files
author
Evgeny Kuzyakov
authored
Merge pull request #145 from NearSocial/release-2.5.1
## 2.5.1 - FIX: Add back `Ethers.send`, that was incorrectly removed as part of the #128 - FIX: Disable `is` attribute to avoid conflicts with React. Reported by @brunomodificato
2 parents 2794f26 + 27e51ed commit 32a404f

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 2.5.1
4+
5+
- FIX: Add back `Ethers.send`, that was incorrectly removed as part of the https://github.com/NearSocial/VM/pull/128
6+
- FIX: Disable `is` attribute to avoid conflicts with React. Reported by @brunomodificato
7+
38
## 2.5.0
49

510
- Fix `default` case for the switch statement in `VM`.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "near-social-vm",
3-
"version": "2.5.0",
3+
"version": "2.5.1",
44
"description": "Near Social VM",
55
"main": "dist/index.js",
66
"files": [

src/lib/vm/vm.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ class VmStack {
590590
}
591591

592592
delete attributes.dangerouslySetInnerHTML;
593+
delete attributes.is;
593594
const basicElement =
594595
(isStyledComponent(customComponent) && customComponent?.target) ||
595596
element;
@@ -1772,6 +1773,7 @@ export default class VM {
17721773
}
17731774
return f(...args);
17741775
},
1776+
send: (...args) => this.cachedEthersCall("send", args),
17751777
};
17761778

17771779
const vmUseMemoOrCallback = (callee, ...args) => {

0 commit comments

Comments
 (0)