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

create-treble-app

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-treble-app - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

templates/basic/.treble/player.config.js

2

package.json
{
"name": "create-treble-app",
"version": "0.0.14",
"version": "0.0.15",
"main": "index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -8,7 +8,6 @@ import {

} from '@threekit-tools/treble';
import threekitConfig from '../threekit.config.js';
const App = () => {
return (
<ThreekitProvider {...threekitConfig}>
<ThreekitProvider>
<div className="tk-treble-player">

@@ -15,0 +14,0 @@ <Player>

@@ -1,37 +0,23 @@

const credentials = {
preview: {
assetId: process.env.THREEKIT_PREVIEW_ASSET_ID,
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID,
orgId: process.env.THREEKIT_PREVIEW_ORG_ID,
publicToken: process.env.THREEKIT_PREVIEW_PUBLIC_TOKEN,
export default {
credentials: {
preview: {
orgId: process.env.THREEKIT_PREVIEW_ORG_ID,
publicToken: process.env.THREEKIT_PREVIEW_PUBLIC_TOKEN,
},
'admin-fts': {
orgId: process.env.THREEKIT_ADMIN_FTS_ORG_ID,
publicToken: process.env.THREEKIT_ADMIN_FTS_PUBLIC_TOKEN,
},
},
'admin-fts': {
assetId: process.env.THREEKIT_ADMIN_FTS_ASSET_ID,
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID,
orgId: process.env.THREEKIT_ADMIN_FTS_ORG_ID,
publicToken: process.env.THREEKIT_ADMIN_FTS_PUBLIC_TOKEN,
products: {
preview: {
assetId: process.env.THREEKIT_PREVIEW_ASSET_ID,
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID,
},
'admin-fts': {
assetId: process.env.THREEKIT_ADMIN_FTS_ASSET_ID,
stageId: process.env.THREEKIT_PREVIEW_STAGE_ID,
},
},
};
const playerConfig = {
showConfigurator: false,
initialConfiguration: undefined,
showLoadingThumbnail: false,
showLoadingProgress: true,
// onLoadingProgress: undefined,
showAR: false,
showShare: false,
// locale: undefined,
allowMobileVerticalOrbit: false,
// publishStage: undefined,
};
const products = {
ctx: require.context('./src/products', false, /.product.(jsx)$/),
};
export default {
credentials,
playerConfig,
products,
};
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