Comparing version 0.5.12 to 0.5.13
@@ -81,3 +81,3 @@ "use strict"; | ||
function ready(init, to) { | ||
let resolved = false; | ||
let resolved = 0; | ||
let resolve; | ||
@@ -87,3 +87,3 @@ const [get, set] = reactive_box_1.box([init]); | ||
if (!resolved) { | ||
resolved = true; | ||
resolved = 1; | ||
if (to) | ||
@@ -90,0 +90,0 @@ data = to; |
{ | ||
"name": "realar", | ||
"version": "0.5.12", | ||
"version": "0.5.13", | ||
"description": "React state manager", | ||
@@ -88,3 +88,3 @@ "repository": { | ||
}, | ||
"gitHead": "315b346dcdb3868e0de928713d2a78781174002e" | ||
"gitHead": "2abd0834743f277ab66100609057f0bc86f388d6" | ||
} |
@@ -153,3 +153,3 @@ import React, { Context, FC } from 'react'; | ||
function ready(init?: any, to?: any) { | ||
let resolved = false; | ||
let resolved = 0; | ||
let resolve: any; | ||
@@ -160,3 +160,3 @@ const [get, set] = box([init]); | ||
if (!resolved) { | ||
resolved = true; | ||
resolved = 1; | ||
if (to) data = to; | ||
@@ -163,0 +163,0 @@ set([data]); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
65456