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

viewar-guide

Package Overview
Dependencies
Maintainers
8
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

viewar-guide - npm Package Compare versions

Comparing version 0.9.2 to 0.9.3

2

package.json
{
"name": "viewar-guide",
"version": "0.9.2",
"version": "0.9.3",
"description": "ViewAR Guide",

@@ -5,0 +5,0 @@ "main": "dist/viewar-guide.js",

@@ -40,29 +40,19 @@

const hide = () => dependencies.queueSceneUpdate(() => instance.setVisible(false))
const showTalkingFace = () => {
return new Promise(resolve => {
dependencies.queueSceneUpdate(async() => {
await setPropertyValues(instance, talking);
if (instance.animations[ 'Talk' ]) {
await instance.animations[ 'Talk' ].start({ time: 0, loop: true }, false)
}
const showTalkingFace = () => dependencies.queueSceneUpdate(async() => {
await setPropertyValues(instance, talking);
if (instance.animations[ 'Talk' ]) {
await instance.animations[ 'Talk' ].start({ time: 0, loop: true }, false)
}
});
resolve();
});
});
};
const showNormalFace = () =>
dependencies.queueSceneUpdate(async() => {
await setPropertyValues(instance, neutral)
const showNormalFace = () => {
return new Promise(resolve => {
dependencies.queueSceneUpdate(async() => {
await setPropertyValues(instance, neutral)
if (instance.animations[ 'Talk' ]) {
await instance.animations[ 'Talk' ].stop();
}
resolve();
});
if (instance.animations[ 'Talk' ]) {
await instance.animations[ 'Talk' ].stop();
}
});
};

@@ -69,0 +59,0 @@ const setPropertyValues = (instance, properties) => {

Sorry, the diff of this file is too big to display

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