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

@wonder-partners/ar-button

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wonder-partners/ar-button - npm Package Compare versions

Comparing version 0.3.1 to 0.4.0

6

CHANGELOG.md

@@ -7,2 +7,8 @@ # Changelog

## [0.4.0] 2022-08-05
### Added
- `occlusion` attribute for android. If omitted, disables object blending mode.
## [0.3.1] 2022-07-13

@@ -9,0 +15,0 @@

@@ -81,5 +81,10 @@ // @ts-check

const title = button.getAttribute('title');
const occlusion = button.getAttribute('occlusion');
href = `intent://arvr.google.com/scene-viewer/1.0?file=${src}&mode=ar_only`;
if (!occlusion) {
href += '&disable_occlusion=true';
}
if (title) {

@@ -86,0 +91,0 @@ href += `&title=${encodeURIComponent(title)}`;

2

package.json
{
"name": "@wonder-partners/ar-button",
"version": "0.3.1",
"version": "0.4.0",
"description": "A web component to easily display 3D models in native AR across browsers and mobile devices",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -35,2 +35,6 @@ # AR Button

**`occlusion` → *boolean* (Android)**
If present, turns on Object blending mode.
**`link` → *uri* (Android, iOS)**

@@ -37,0 +41,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