@neurodyn/react-model-viewer 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +0 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -6863,9 +6863,7 @@ function ModelViewerProvider({ children, tinuuid, apiKey, appClipBundleId, arExp
6863
6863
  const accessError = getModelViewerApiError(error);
6864
6864
  if (accessError) return accessError;
6865
6865
  const instantArExperience = 'ar-view' === mode || 'qr-code' === mode && 'standard' === arExperience;
6866
- const advancedArExperience = 'advanced-ar-view' === mode || 'qr-code' === mode && 'advanced' === arExperience;
6867
6866
  if (instantArExperience && object?.policy?.instantArView === false) return 'forbidden';
6868
- if ((advancedArExperience || 'ar-viewer' === mode) && object?.policy?.appClip === false) return 'forbidden';
6869
6867
  if (null != error || !object || !material || !glbUrl) return 'not-found';
6870
6868
  return 'ready';
6871
6869
  }, [
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@neurodyn/react-model-viewer",
3
3
  "type": "module",
4
- "version": "0.0.6",
4
+ "version": "0.0.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },