unetjs 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/unet.cjs +2 -1
- package/dist/esm/unet.js +2 -1
- package/dist/unetjs.js +1 -0
- package/dist/unetjs.js.map +1 -1
- package/dist/unetjs.min.js +1 -1
- package/dist/unetjs.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/unet.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* unet.js v2.0.
|
|
1
|
+
/* unet.js v2.0.2 2022-06-10T03:18:03.319Z */
|
|
2
2
|
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
@@ -1661,6 +1661,7 @@ class CachingGateway extends Gateway{
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
async agentForService(service, caching=true, greedy=true) {
|
|
1663
1663
|
const aid = await super.agentForService(service);
|
|
1664
|
+
if (!aid) return aid;
|
|
1664
1665
|
return caching ? new CachingAgentID(aid, null, null, greedy) : aid;
|
|
1665
1666
|
}
|
|
1666
1667
|
|
package/dist/esm/unet.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* unet.js v2.0.
|
|
1
|
+
/* unet.js v2.0.2 2022-06-10T03:18:03.319Z */
|
|
2
2
|
|
|
3
3
|
/* fjage.js v1.9.1-rc6 */
|
|
4
4
|
|
|
@@ -1639,6 +1639,7 @@ class CachingGateway extends Gateway{
|
|
|
1639
1639
|
*/
|
|
1640
1640
|
async agentForService(service, caching=true, greedy=true) {
|
|
1641
1641
|
const aid = await super.agentForService(service);
|
|
1642
|
+
if (!aid) return aid;
|
|
1642
1643
|
return caching ? new CachingAgentID(aid, null, null, greedy) : aid;
|
|
1643
1644
|
}
|
|
1644
1645
|
|
package/dist/unetjs.js
CHANGED