🚨 Latest Research:Tanstack npm Packages Compromised in Ongoing Mini Shai-Hulud Supply-Chain Attack.Learn More
Socket
Book a DemoSign in
Socket

@pinwheel/react-modal

Package Overview
Dependencies
Maintainers
16
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinwheel/react-modal - npm Package Compare versions

Package version was removed
This package version has been unpublished, mostly likely due to security reasons
Comparing version
3.5.1
to
4.0.0
+10
-5
dist/index.js

@@ -40,3 +40,3 @@ 'use strict';

***************************************************************************** */
/* global Reflect, Promise */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */

@@ -67,6 +67,11 @@

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
var name = "@pinwheel/react-modal";
var version = "3.5.1";
var version = "4.0.0";
var description = "React package for Pinwheel modal";
var author = "roscioli";
var author = "@pinwheel";
var license = "MIT";

@@ -111,3 +116,3 @@ var repository = "underdog-tech/react-modal";

jest: "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-environment-jsdom": "^30.2.0",
prettier: "^2.0.4",

@@ -123,3 +128,3 @@ react: "^17.0.2",

"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
"webpack-dev-server": "^5.2.3"
};

@@ -126,0 +131,0 @@ var files = [

@@ -17,3 +17,3 @@ import * as React from 'react';

***************************************************************************** */
/* global Reflect, Promise */
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */

@@ -44,6 +44,11 @@

typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
var e = new Error(message);
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
};
var name = "@pinwheel/react-modal";
var version = "3.5.1";
var version = "4.0.0";
var description = "React package for Pinwheel modal";
var author = "roscioli";
var author = "@pinwheel";
var license = "MIT";

@@ -88,3 +93,3 @@ var repository = "underdog-tech/react-modal";

jest: "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-environment-jsdom": "^30.2.0",
prettier: "^2.0.4",

@@ -100,3 +105,3 @@ react: "^17.0.2",

"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
"webpack-dev-server": "^5.2.3"
};

@@ -103,0 +108,0 @@ var files = [

@@ -5,2 +5,6 @@ import type { AdditionsType, ModificationsType, RemovalsType } from '../utils';

export type OpenEventPayload = {};
export type CustomerTermsAcceptedEventPayload = {};
export type UserActivatedEventPayload = {
solutionName: string;
};
export type SelectEmployerEventPayload = {

@@ -44,6 +48,2 @@ selectedEmployerId: string;

} | InputAllocationRemainder | InputAllocationAmount | InputAllocationPercentage;
/**
* @deprecated - Use `InputAllocationEventPayload` instead.
*/
export type InputAllocation = InputAllocationEventPayload;
export type CardSwitchBeginEventPayload = {};

@@ -68,6 +68,5 @@ export type DocUploadsBeginEventPayload = {

};
export type BillSwitchPayload = {
type BillMetadata = {
platformId: string;
platformName: string;
isIntegratedSwitch: boolean;
frequency: string;

@@ -77,10 +76,21 @@ nextPaymentDate: string;

};
export type ExternalAccountConnectedPayload = {
type BillActionBase = {
isIntegratedSwitch: boolean;
accountId?: string;
};
export type BillSwitchEventPayload = BillActionBase & BillMetadata;
export type RecurringChargeEventPayload = BillMetadata;
export type ExternalAccountConnectedEventPayload = {
institutionName: string;
accountName: string;
};
/**
* @deprecated - Use `ScreenTransitionEventPayload` instead.
*/
export type ScreenTransition = ScreenTransitionEventPayload;
export type BillSwitchPlatformsAddedEventPayload = {
platforms: {
id: string;
name: string;
}[];
};
export type CalendarSyncEventPayload = {
calendarType: 'google' | 'outlook';
};
export type ExitEventPayload = Record<string, never>;

@@ -127,6 +137,18 @@ export type SuccessEventPayload = {

error: ErrorEventPayload;
bill_switch_success: BillSwitchPayload;
bill_removed: BillSwitchPayload;
external_account_connected: ExternalAccountConnectedPayload;
bill_switch_success: BillSwitchEventPayload;
bill_switch_failure: BillSwitchEventPayload;
bill_removed: BillSwitchEventPayload;
external_account_connected: ExternalAccountConnectedEventPayload;
merchant_login_success: LoginEventPayload;
bill_switch_platforms_added: BillSwitchPlatformsAddedEventPayload;
bill_switch_platforms_removed: BillSwitchPlatformsAddedEventPayload;
bill_cancel_success: BillSwitchEventPayload;
bill_cancel_failure: BillSwitchEventPayload;
calendar_sync: CalendarSyncEventPayload;
recurring_charge_removed: RecurringChargeEventPayload;
recurring_charge_marked_inactive: RecurringChargeEventPayload;
recurring_charge_edited: RecurringChargeEventPayload;
recurring_charge_added: RecurringChargeEventPayload;
customer_terms_accepted: CustomerTermsAcceptedEventPayload;
user_activated: UserActivatedEventPayload;
};

@@ -133,0 +155,0 @@ type EventPayloadModifications = {};

@@ -15,6 +15,2 @@ import type { AdditionsType, ModificationsType, RemovalsType } from '../utils';

} | InputAllocationEventPayload2_3;
/**
* @deprecated - Use `InputAllocationEventPayload` instead.
*/
export type InputAllocation = InputAllocationEventPayload;
type EventPayloadAdditions = {};

@@ -21,0 +17,0 @@ type EventPayloadModifications = {

{
"name": "@pinwheel/react-modal",
"version": "3.5.1",
"version": "4.0.0",
"description": "React package for Pinwheel modal",
"author": "roscioli",
"author": "@pinwheel",
"license": "MIT",

@@ -45,3 +45,3 @@ "repository": "underdog-tech/react-modal",

"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"jest-environment-jsdom": "^30.2.0",
"prettier": "^2.0.4",

@@ -57,3 +57,3 @@ "react": "^17.0.2",

"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
"webpack-dev-server": "^5.2.3"
},

@@ -60,0 +60,0 @@ "files": [