@copart/ops-tool-kit 1.13.0-beta.19 → 1.13.0-beta.20
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.
- package/dist/ops-tool-kit.js +497 -433
- package/dist/ops-tool-kit.js.map +1 -1
- package/iframe-webpack-facade.js +11 -4
- package/package.json +1 -1
package/iframe-webpack-facade.js
CHANGED
|
@@ -10,16 +10,23 @@
|
|
|
10
10
|
* 'ops-tool-kit-real': path.resolve(__dirname, '../node_modules/@copart/ops-tool-kit'),
|
|
11
11
|
* }
|
|
12
12
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
13
|
+
* Do not use `export *` here — it would re-export standalone storage/fetcher/Crumb
|
|
14
|
+
* from the real package and fight the bridge overrides below.
|
|
15
15
|
*/
|
|
16
16
|
import { iframeFacade } from 'ops-tool-kit-real'
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
// Bridge-backed core (override standalone equivalents)
|
|
20
19
|
export const storage = iframeFacade.storage
|
|
21
20
|
export const fetcher = iframeFacade.fetcher
|
|
22
21
|
export const accessHelpers = iframeFacade.accessHelpers
|
|
23
22
|
export const Crumb = iframeFacade.Crumb
|
|
24
23
|
export const CrumbProvider = iframeFacade.CrumbProvider
|
|
25
24
|
export const useCrumbContext = iframeFacade.useCrumbContext
|
|
25
|
+
|
|
26
|
+
// Iframe app public API — used by embedded apps
|
|
27
|
+
export {
|
|
28
|
+
bootstrapIframeApp,
|
|
29
|
+
IframeAppShell,
|
|
30
|
+
normalizeIframePath,
|
|
31
|
+
buildNavCountEntry,
|
|
32
|
+
} from 'ops-tool-kit-real'
|