Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

piral-core

Package Overview
Dependencies
Maintainers
1
Versions
1027
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-core - npm Package Compare versions

Comparing version 1.5.0-beta.6586 to 1.5.0-beta.6588

3

esm/tools/debugger.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc