piral-core
Advanced tools
Comparing version 1.5.0-beta.6586 to 1.5.0-beta.6588
import { installPiralDebug } from 'piral-debug-utils'; | ||
export function integrateDebugger(context, options, debug = {}) { | ||
installPiralDebug({ | ||
...debug, | ||
customSettings: debug.customSettings, | ||
defaultSettings: debug.defaultSettings, | ||
addPilet: context.addPilet, | ||
@@ -6,0 +7,0 @@ removePilet: context.removePilet, |
import { LoadPiletsOptions } from 'piral-base'; | ||
import { DebuggerExtensionOptions } from 'piral-debug-utils'; | ||
import { GlobalStateContext } from '../types'; | ||
export declare function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions): void; | ||
export declare function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions, debug?: DebuggerExtensionOptions): void; |
import { installPiletEmulator } from 'piral-debug-utils'; | ||
export function integrateEmulator(context, options) { | ||
export function integrateEmulator(context, options, debug = {}) { | ||
installPiletEmulator(options.fetchPilets, { | ||
defaultFeedUrl: debug.defaultFeedUrl, | ||
addPilet: context.addPilet, | ||
@@ -5,0 +6,0 @@ removePilet: context.removePilet, |
@@ -7,3 +7,4 @@ "use strict"; | ||
(0, piral_debug_utils_1.installPiralDebug)({ | ||
...debug, | ||
customSettings: debug.customSettings, | ||
defaultSettings: debug.defaultSettings, | ||
addPilet: context.addPilet, | ||
@@ -10,0 +11,0 @@ removePilet: context.removePilet, |
import { LoadPiletsOptions } from 'piral-base'; | ||
import { DebuggerExtensionOptions } from 'piral-debug-utils'; | ||
import { GlobalStateContext } from '../types'; | ||
export declare function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions): void; | ||
export declare function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions, debug?: DebuggerExtensionOptions): void; |
@@ -5,4 +5,5 @@ "use strict"; | ||
const piral_debug_utils_1 = require("piral-debug-utils"); | ||
function integrateEmulator(context, options) { | ||
function integrateEmulator(context, options, debug = {}) { | ||
(0, piral_debug_utils_1.installPiletEmulator)(options.fetchPilets, { | ||
defaultFeedUrl: debug.defaultFeedUrl, | ||
addPilet: context.addPilet, | ||
@@ -9,0 +10,0 @@ removePilet: context.removePilet, |
{ | ||
"name": "piral-core", | ||
"version": "1.5.0-beta.6586", | ||
"version": "1.5.0-beta.6588", | ||
"description": "The core library for creating a Piral instance.", | ||
@@ -76,4 +76,4 @@ "keywords": [ | ||
"path-to-regexp": "^1.8.0", | ||
"piral-base": "1.5.0-beta.6586", | ||
"piral-debug-utils": "1.5.0-beta.6586", | ||
"piral-base": "1.5.0-beta.6588", | ||
"piral-debug-utils": "1.5.0-beta.6588", | ||
"zustand": "^3.0.0" | ||
@@ -98,3 +98,3 @@ }, | ||
], | ||
"gitHead": "9d1404036e6650d7e1c5e69d939f80aba54a3347" | ||
"gitHead": "fe8b5768f292996d27789f9a19284960b757d601" | ||
} |
@@ -11,3 +11,4 @@ import { LoadPiletsOptions } from 'piral-base'; | ||
installPiralDebug({ | ||
...debug, | ||
customSettings: debug.customSettings, | ||
defaultSettings: debug.defaultSettings, | ||
addPilet: context.addPilet, | ||
@@ -14,0 +15,0 @@ removePilet: context.removePilet, |
import { LoadPiletsOptions } from 'piral-base'; | ||
import { installPiletEmulator } from 'piral-debug-utils'; | ||
import { DebuggerExtensionOptions, installPiletEmulator } from 'piral-debug-utils'; | ||
import { GlobalStateContext } from '../types'; | ||
export function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions) { | ||
export function integrateEmulator(context: GlobalStateContext, options: LoadPiletsOptions, debug: DebuggerExtensionOptions = {}) { | ||
installPiletEmulator(options.fetchPilets, { | ||
defaultFeedUrl: debug.defaultFeedUrl, | ||
addPilet: context.addPilet, | ||
@@ -8,0 +9,0 @@ removePilet: context.removePilet, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
943995
22285
130
+ Addedpiral-base@1.5.0-beta.6588(transitive)
+ Addedpiral-debug-utils@1.5.0-beta.6588(transitive)
- Removedpiral-base@1.5.0-beta.6586(transitive)
- Removedpiral-debug-utils@1.5.0-beta.6586(transitive)
Updatedpiral-base@1.5.0-beta.6588