create-treble-app
Advanced tools
Comparing version 0.0.14 to 0.0.15
{ | ||
"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, | ||
}; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 7 instances in 1 package
37
761
2
41558