@plasmicapp/loader-core
Advanced tools
Comparing version 1.0.119 to 1.0.120
@@ -1,6 +0,112 @@ | ||
export type { AssetModule, CodeModule, ComponentMeta, ExperimentSlice, FontMeta, GlobalGroupMeta, LoaderBundleCache, LoaderBundleOutput, LoaderHtmlOutput, PageMeta, PageMetadata, ProjectMeta, SegmentSlice, Split, } from "@plasmicapp/loader-fetcher"; | ||
export { Api, PlasmicModulesFetcher } from "@plasmicapp/loader-fetcher"; | ||
export { getBundleSubset } from "./bundles"; | ||
export { Registry } from "./registry"; | ||
export { PlasmicTracker } from "./tracker"; | ||
export type { TrackRenderOptions } from "./tracker"; | ||
import { Api } from '@plasmicapp/loader-fetcher'; | ||
import { AssetModule } from '@plasmicapp/loader-fetcher'; | ||
import { CodeModule } from '@plasmicapp/loader-fetcher'; | ||
import { ComponentMeta } from '@plasmicapp/loader-fetcher'; | ||
import { ExperimentSlice } from '@plasmicapp/loader-fetcher'; | ||
import { FontMeta } from '@plasmicapp/loader-fetcher'; | ||
import { GlobalGroupMeta } from '@plasmicapp/loader-fetcher'; | ||
import { LoaderBundleCache } from '@plasmicapp/loader-fetcher'; | ||
import { LoaderBundleOutput } from '@plasmicapp/loader-fetcher'; | ||
import { LoaderHtmlOutput } from '@plasmicapp/loader-fetcher'; | ||
import { PageMeta } from '@plasmicapp/loader-fetcher'; | ||
import { PageMetadata } from '@plasmicapp/loader-fetcher'; | ||
import { PlasmicModulesFetcher } from '@plasmicapp/loader-fetcher'; | ||
import { ProjectMeta } from '@plasmicapp/loader-fetcher'; | ||
import { SegmentSlice } from '@plasmicapp/loader-fetcher'; | ||
import { Split } from '@plasmicapp/loader-fetcher'; | ||
export { Api } | ||
export { AssetModule } | ||
export { CodeModule } | ||
export { ComponentMeta } | ||
export { ExperimentSlice } | ||
export { FontMeta } | ||
/** | ||
* Get sub-bundle including only modules that are reachable from `names`. | ||
* @param opts.target by default, will target the browser modules. Can request | ||
* the server modules instead. | ||
*/ | ||
export declare function getBundleSubset(bundle: LoaderBundleOutput, names: string[], opts?: { | ||
target?: 'browser' | 'server'; | ||
}): LoaderBundleOutput; | ||
export { GlobalGroupMeta } | ||
export { LoaderBundleCache } | ||
export { LoaderBundleOutput } | ||
export { LoaderHtmlOutput } | ||
export { PageMeta } | ||
export { PageMetadata } | ||
export { PlasmicModulesFetcher } | ||
export declare class PlasmicTracker { | ||
private opts; | ||
private eventQueue; | ||
private fetch; | ||
constructor(opts: TrackerOptions); | ||
trackRender(opts?: TrackRenderOptions): void; | ||
trackFetch(): void; | ||
trackConversion(value?: number): void; | ||
private getProperties; | ||
private enqueue; | ||
private getContextMeta; | ||
private sendEvents; | ||
} | ||
export { ProjectMeta } | ||
export declare class Registry { | ||
private loadedModules; | ||
private registeredModules; | ||
private modules; | ||
constructor(); | ||
register(name: string, module: any): void; | ||
isEmpty(): boolean; | ||
clear(): void; | ||
getRegisteredModule(name: string): any; | ||
hasModule(name: string, opts?: { | ||
forceOriginal?: boolean; | ||
}): boolean; | ||
load(name: string, opts?: { | ||
forceOriginal?: boolean; | ||
}): any; | ||
updateModules(bundle: LoaderBundleOutput): void; | ||
} | ||
export { SegmentSlice } | ||
export { Split } | ||
declare interface TrackerOptions { | ||
projectIds: string[]; | ||
host?: string; | ||
platform?: string; | ||
preview?: boolean; | ||
nativeFetch?: boolean; | ||
} | ||
declare interface TrackerRenderProperties { | ||
rootProjectId?: string; | ||
rootComponentId?: string; | ||
rootComponentName?: string; | ||
teamIds: string[]; | ||
projectIds: string[]; | ||
} | ||
export declare interface TrackRenderOptions { | ||
renderCtx?: TrackerRenderProperties; | ||
variation?: Record<string, string>; | ||
} | ||
export { } |
{ | ||
"version": "1.0.119", | ||
"version": "1.0.120", | ||
"license": "MIT", | ||
@@ -44,5 +44,5 @@ "types": "./dist/index.d.ts", | ||
"@plasmicapp/isomorphic-unfetch": "1.0.3", | ||
"@plasmicapp/loader-fetcher": "1.0.41" | ||
"@plasmicapp/loader-fetcher": "1.0.42" | ||
}, | ||
"gitHead": "6f034859cd2316dfed75d01006abbc002149374c" | ||
"gitHead": "48a2877c3dc093d101508fcdde2fd213055fdab9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
102883
9
+ Added@plasmicapp/loader-fetcher@1.0.42(transitive)
- Removed@plasmicapp/loader-fetcher@1.0.41(transitive)