imagine-curator-sdk 0.1.2 → 0.1.4

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/package.json +134 -48
  2. package/src/helpers/idb.js +9 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "imagine-curator-sdk",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Imagine Curator SDK - React components for 3D visualization and rendering",
5
5
  "type": "module",
6
6
  "main": "src/lib.js",
@@ -18,55 +18,141 @@
18
18
  "react-dom": "^18.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@dnd-kit/core": "^6.0.8",
22
- "@dnd-kit/sortable": "^7.0.2",
23
- "@dnd-kit/utilities": "^3.2.1",
24
- "@hello-pangea/dnd": "^16.6.0",
25
- "@hookform/resolvers": "^3.3.4",
26
- "@lottiefiles/react-lottie-player": "^3.5.3",
27
- "@popperjs/core": "^2.11.8",
28
- "@react-spring/web": "^9.7.3",
29
- "@reduxjs/toolkit": "^2.2.1",
30
- "@sentry/react": "^8.0.0",
31
- "@types/uuid": "^9.0.8",
32
- "axios": "^1.6.7",
33
- "bootstrap": "^5.3.3",
34
- "classnames": "^2.5.1",
35
- "colord": "^2.9.3",
36
- "copy-to-clipboard": "^3.3.3",
37
- "crypto-js": "^4.2.0",
38
- "dexie": "^3.2.5",
39
- "formik": "^2.4.5",
40
- "fuse.js": "^7.0.0",
41
- "idb": "^8.0.0",
42
- "javascript-time-ago": "^2.5.10",
43
- "js-cookie": "^3.0.5",
21
+ "@djthoms/pretty-checkbox": "^3.1.0",
22
+ "@egjs/view360": "3.6.2",
23
+ "@hookform/resolvers": "^2.8.8",
24
+ "@lottiefiles/dotlottie-react": "^0.12.0",
25
+ "@pathofdev/react-tag-input": "^1.0.7",
26
+ "@react-oauth/google": "^0.7.0",
27
+ "@react-pdf/renderer": "^4.3.0",
28
+ "@reduxjs/toolkit": "^1.7.2",
29
+ "@sentry/react": "^8.52.0",
30
+ "@stripe/react-stripe-js": "^1.7.0",
31
+ "@stripe/stripe-js": "^1.25.0",
32
+ "@techstark/opencv-js": "^4.8.0-release.4",
33
+ "assert": "^2.0.0",
34
+ "autoprefixer": "10.4.5",
35
+ "axios": "^0.25.0",
36
+ "bootstrap": "^5.1.3",
37
+ "browser-image-compression": "^2.0.0",
38
+ "country-state-city": "^3.0.1",
39
+ "date-fns": "^2.28.0",
40
+ "detect-browser": "^5.3.0",
41
+ "device-detector-js": "^3.0.3",
42
+ "dom-to-image-more": "^3.3.0",
43
+ "downloadjs": "^1.4.7",
44
+ "draft-js": "^0.11.7",
45
+ "draft-js-export-html": "^1.4.1",
46
+ "draft-js-plugins-editor": "^3.0.0",
47
+ "exiftool.js": "^0.3.0",
48
+ "fflate": "^0.8.2",
49
+ "file-saver": "^2.0.5",
50
+ "filesize": "^9.0.11",
51
+ "formik": "^2.2.9",
52
+ "gapi-script": "^1.2.0",
53
+ "gltf-validator": "^2.0.0-dev.3.9",
54
+ "history": "^5.3.0",
55
+ "hotkeys-js": "^3.9.2",
56
+ "idb": "^7.0.1",
57
+ "immutable": "^4.1.0",
58
+ "is-hotkey": "^0.2.0",
59
+ "javascript-time-ago": "^2.3.13",
60
+ "jszip": "^3.10.0",
61
+ "jszip-utils": "^0.1.0",
62
+ "jwt-decode": "^3.1.2",
44
63
  "lodash": "^4.17.21",
45
- "lottie-react": "^2.4.0",
46
- "moment": "^2.30.1",
47
- "pako": "^2.1.0",
48
- "papaparse": "^5.4.1",
49
- "react-bootstrap": "^2.10.2",
50
- "react-colorful": "^5.6.1",
51
- "react-datepicker": "^6.2.0",
52
- "react-dom": "^18.2.0",
53
- "react-hook-form": "^7.51.0",
64
+ "memoizee": "^0.4.15",
65
+ "memory-stats": "^1.0.2",
66
+ "mixpanel-browser": "^2.47.0",
67
+ "moment": "^2.29.1",
68
+ "moment-timezone": "^0.5.43",
69
+ "multiselect-react-dropdown": "^2.0.17",
70
+ "mz-react-round-slider": "^1.0.3",
71
+ "online-3d-viewer": "^0.14.0",
72
+ "piexifjs": "^1.0.6",
73
+ "pluralize": "^8.0.0",
74
+ "posthog-js": "^1.260.3",
75
+ "pretty-checkbox-react": "^3.2.0",
76
+ "pubsub-js": "^1.9.4",
77
+ "pure-color": "^1.3.0",
78
+ "rc-progress": "^3.3.3",
79
+ "rc-slider": "^11.1.7",
80
+ "react-360-view": "^0.1.3",
81
+ "react-alice-carousel": "^2.6.1",
82
+ "react-aria": "^3.36.0",
83
+ "react-beautiful-dnd": "^13.1.0",
84
+ "react-beforeunload": "^2.5.3",
85
+ "react-bootstrap": "^2.2.2",
86
+ "react-bootstrap-toggle": "^2.3.2",
87
+ "react-bootstrap-typeahead": "^6.0.0-alpha.11",
88
+ "react-code-input": "^3.10.1",
89
+ "react-color": "^2.19.3",
90
+ "react-compare-slider": "^3.1.0",
91
+ "react-confirm-alert": "^2.8.0",
92
+ "react-contenteditable": "^3.3.6",
93
+ "react-datepicker": "^4.7.0",
94
+ "react-device-detect": "^2.2.3",
95
+ "react-draggable": "^4.4.5",
96
+ "react-dropzone": "^12.0.5",
97
+ "react-easy-crop": "^5.0.2",
98
+ "react-full-screen": "^1.1.0",
99
+ "react-google-drive-picker": "^1.2.0",
100
+ "react-google-recaptcha": "^3.1.0",
101
+ "react-gtm-module": "^2.0.11",
102
+ "react-helmet": "^6.1.0",
103
+ "react-hook-form": "^7.29.0",
104
+ "react-hubspot-form": "^1.3.7",
105
+ "react-icons": "^4.3.1",
106
+ "react-image-crop": "^10.1.8",
107
+ "react-image-file-resizer": "^0.4.8",
108
+ "react-image-lightbox": "^5.1.4",
54
109
  "react-infinite-scroll-component": "^6.1.0",
55
- "react-range": "^1.8.14",
56
- "react-redux": "^9.1.0",
57
- "react-router-dom": "^6.22.2",
58
- "react-select": "^5.8.0",
59
- "react-time-ago": "^7.3.1",
60
- "react-toastify": "^10.0.4",
61
- "react-tooltip": "^5.26.3",
62
- "react-unity-webgl": "^9.5.2",
63
- "react-zoom-pan-pinch": "^3.4.4",
64
- "redux": "^5.0.1",
65
- "reselect": "^5.1.0",
66
- "sass": "^1.71.1",
67
- "swiper": "^11.0.7",
68
- "uuid": "^9.0.1",
69
- "yup": "^1.4.0"
110
+ "react-infinite-scroll-hook": "^4.0.3",
111
+ "react-infinite-scroller": "^1.2.6",
112
+ "react-js-pagination": "^3.0.3",
113
+ "react-loading": "^2.0.3",
114
+ "react-loading-skeleton": "^3.1.0",
115
+ "react-magnifier": "^3.0.4",
116
+ "react-multi-carousel": "^2.8.4",
117
+ "react-number-format": "^4.9.4",
118
+ "react-overlays": "^5.1.1",
119
+ "react-paginate": "^8.1.3",
120
+ "react-phone-input-2": "^2.14.0",
121
+ "react-qr-code": "^2.0.11",
122
+ "react-redux": "^7.2.6",
123
+ "react-responsive-carousel": "^3.2.23",
124
+ "react-router-dom": "^6.2.1",
125
+ "react-scroll": "^1.8.7",
126
+ "react-select": "^5.2.2",
127
+ "react-select-async-paginate": "^0.6.1",
128
+ "react-slick": "^0.28.1",
129
+ "react-sortablejs": "^6.0.0",
130
+ "react-tagsinput": "^3.19.0",
131
+ "react-time-ago": "^7.1.9",
132
+ "react-toastify": "^8.1.1",
133
+ "react-unity-webgl": "^8.7.4",
134
+ "react-use": "^17.3.2",
135
+ "react-video-thumbnail": "^0.1.3",
136
+ "react-youtube": "^10.1.0",
137
+ "react-zoom-pan-pinch": "^2.1.3",
138
+ "reselect": "^4.1.8",
139
+ "rgb-hex": "^4.0.0",
140
+ "sass": "^1.49.7",
141
+ "shaka-player-react": "^1.1.5",
142
+ "slick-carousel": "^1.8.1",
143
+ "sortablejs": "^1.14.0",
144
+ "spritespin": "^5.0.0-beta.1",
145
+ "swiper": "^8.1.3",
146
+ "three": "^0.132.2",
147
+ "three-usdz-loader": "^1.0.9",
148
+ "unzipit": "^1.4.0",
149
+ "use-dropbox-chooser": "^0.0.5",
150
+ "userpilot": "^1.3.5",
151
+ "utif": "^3.1.0",
152
+ "uuid": "^8.3.2",
153
+ "validator": "^13.11.0",
154
+ "xlsx": "^0.18.5",
155
+ "yup": "^0.32.11"
70
156
  },
71
157
  "keywords": [
72
158
  "react",
@@ -659,8 +659,12 @@ export const clearAllUploadedFilesIDB = async () => {
659
659
  }
660
660
  // endregion
661
661
 
662
- window.LFApp.idb = {
663
- getAsset,
664
- STORE,
665
- getAllFiles,
666
- };
662
+ // Ensure window.LFApp exists before setting idb
663
+ if (typeof window !== 'undefined') {
664
+ window.LFApp = window.LFApp || {};
665
+ window.LFApp.idb = {
666
+ getAsset,
667
+ STORE,
668
+ getAllFiles,
669
+ };
670
+ }