@oneii3/react-4iv
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@oneii3/react-4iv", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "public/index.js", |
@@ -311,3 +311,4 @@ import React from 'react'; | ||
React.useEffect(function () { | ||
value.current(setValue); | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(setValue); | ||
return function () { | ||
@@ -357,3 +358,3 @@ var _a; | ||
React.useEffect(function () { | ||
value.current(setValue); | ||
value.current.then(setValue); | ||
return function () { | ||
@@ -371,3 +372,4 @@ var _a; | ||
React.useEffect(function () { | ||
value.current(function () { return setValue(value.current.valueOf()); }); | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(function () { return setValue(value.current.valueOf()); }); | ||
return function () { | ||
@@ -386,3 +388,3 @@ var _a; | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.call(value, setValue); | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(setValue); | ||
return function () { | ||
@@ -389,0 +391,0 @@ var _a; |
@@ -317,3 +317,4 @@ 'use strict'; | ||
React.useEffect(function () { | ||
value.current(setValue); | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(setValue); | ||
return function () { | ||
@@ -363,3 +364,3 @@ var _a; | ||
React.useEffect(function () { | ||
value.current(setValue); | ||
value.current.then(setValue); | ||
return function () { | ||
@@ -377,3 +378,4 @@ var _a; | ||
React.useEffect(function () { | ||
value.current(function () { return setValue(value.current.valueOf()); }); | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(function () { return setValue(value.current.valueOf()); }); | ||
return function () { | ||
@@ -392,3 +394,3 @@ var _a; | ||
var _a; | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.call(value, setValue); | ||
(_a = value.current) === null || _a === void 0 ? void 0 : _a.then(setValue); | ||
return function () { | ||
@@ -395,0 +397,0 @@ var _a; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
65897
838
2