Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@croquet/worldcore-card

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croquet/worldcore-card - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

8

package.json
{
"name": "@croquet/worldcore-card",
"version": "1.2.0",
"version": "1.3.0",
"description": "Card Component for Croquet Worldcore",

@@ -26,4 +26,4 @@ "keywords": [

"dependencies": {
"@croquet/worldcore-kernel": "^1.2.0",
"@croquet/worldcore-three": "^1.2.0"
"@croquet/worldcore-kernel": "^1.3.0",
"@croquet/worldcore-three": "^1.3.0"
},

@@ -33,3 +33,3 @@ "publishConfig": {

},
"gitHead": "7633b5da452e79cee2be15721d744e4cd9f9924c"
"gitHead": "d5e33664baaaa1a3a153e0aa3721ad3a17c25dc3"
}

@@ -119,13 +119,13 @@ import { Actor, Pawn, GetPawn, mix, RegisterMixin, AM_Predictive, PM_Predictive } from "@croquet/worldcore-kernel";

const hoverEnd = new Set(this.actor.hovered);
hoverEnd.forEach( pointerId => {
const pointerPawn = GetPawn(pointerId);
if (pointerPawn) pointerPawn.hoverPawn = null;
});
// const hoverEnd = new Set(this.actor.hovered);
// hoverEnd.forEach( pointerId => {
// const pointerPawn = GetPawn(pointerId);
// if (pointerPawn) pointerPawn.hoverPawn = null;
// });
const focusEnd = new Set(this.actor.focused);
focusEnd.forEach( pointerId => {
const pointerPawn = GetPawn(pointerId);
if (pointerPawn) pointerPawn.focusPawn = null;
});
// const focusEnd = new Set(this.actor.focused);
// focusEnd.forEach( pointerId => {
// const pointerPawn = GetPawn(pointerId);
// if (pointerPawn) pointerPawn.focusPawn = null;
// });
}

@@ -132,0 +132,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc