Endo API documentation
    Preparing search index...

    Variable typedImportBundleConst

    typedImportBundle: (bundle: any, options?: {}, powers?: {}) => Promise<any> = importBundle

    typedImportBundle takes the output of bundleSource or bundleTestExports, and returns a namespace object, with .default, and maybe other properties for named exports.

    This is the intended signature but produces a type that is not suitable in integration with legacy code of Agoric SDK.

    Type declaration

      • (bundle: any, options?: {}, powers?: {}): Promise<any>
      • The bundle importer is designed for (serializable) source modules but can accomodate native module exports (unserializable) too in a 'test' format.

        Parameters

        • bundle: any
        • options: {} = {}
        • powers: {} = {}

        Returns Promise<any>