Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 2.6.2

- #135 Fix async behavior of VM.require incorrectly showing warnings by solidifying an expectation of a returned JSX element while async components are loading from cache.


## 2.6.1

- Add option to bypass the commit modal and skip transaction confirmation modal for all widgets (`features.commitModalBypass.bypassAll` and `features.bypassTransactionConfirmation`). This is intended to use by the gateways that expects external wallet to confirm all transactions.
Expand Down
2 changes: 1 addition & 1 deletion config/webpack.development.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const path = require("path");
const { HotModuleReplacementPlugin } = require("webpack");

module.exports = () => ({
devtool: false,
devtool: "inline-source-map",
module: {
rules: [
{
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "near-social-vm",
"version": "2.6.1",
"version": "2.6.2",
"description": "Near Social VM",
"main": "dist/index.js",
"files": [
Expand Down Expand Up @@ -105,6 +105,7 @@
},
"scripts": {
"webpack": "webpack",
"dev": "webpack --env mode=development --watch",
"prod": "npm run webpack -- --env mode=production",
"build": "npm run prod"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/vm/vm.js
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class VmStack {

if (withChildren === undefined && !RadixComp) {
if (customComponent === undefined) {
throw new Error("Unknown element: " + element);
return <></>;
}
if (
!isStyledComponent(customComponent) &&
Expand Down