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

@frontegg/react-hooks

Package Overview
Dependencies
Maintainers
1
Versions
1083
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@frontegg/react-hooks - npm Package Compare versions

Comparing version 2.8.12-alpha.1023100770 to 2.8.12-alpha.1023306250

hooks-c82a2568.js

9

index.cjs.js

@@ -239,2 +239,9 @@ 'use strict';

var usePaymentProvider = function () {
return useSelector(function (state) { return state[subscriptions.subscriptionsStoreName]['config']; }, reactRedux.shallowEqual);
};
var usePaymentProviderActions = function () {
var dispatch = useDispatch();
return React.useMemo(function () { return toolkit.bindActionCreators(subscriptions.subscriptionActions.config, dispatch); }, [subscriptions.subscriptionActions.config]);
};
var usePlans = function () {

@@ -400,2 +407,4 @@ return useSelector(function (state) { return state[subscriptions.subscriptionsStoreName]['plans']; }, reactRedux.shallowEqual);

exports.useOnRedirectTo = useOnRedirectTo;
exports.usePaymentProvider = usePaymentProvider;
exports.usePaymentProviderActions = usePaymentProviderActions;
exports.usePlans = usePlans;

@@ -402,0 +411,0 @@ exports.usePlansActions = usePlansActions;

2

index.js

@@ -18,3 +18,3 @@ import './tslib.es6-e3c82a74.js';

import '@frontegg/redux-store/subscriptions';
export { d as useBillingInformation, e as useBillingInformationActions, b as useCheckout, c as useCheckoutActions, u as usePlans, a as usePlansActions } from './hooks-585c70a1.js';
export { f as useBillingInformation, g as useBillingInformationActions, d as useCheckout, e as useCheckoutActions, u as usePaymentProvider, a as usePaymentProviderActions, b as usePlans, c as usePlansActions } from './hooks-c82a2568.js';

@@ -21,0 +21,0 @@ var setLoading = function (loading) {

{
"name": "@frontegg/react-hooks",
"libName": "FronteggReactHooks",
"version": "2.8.12-alpha.1023100770",
"version": "2.8.12-alpha.1023306250",
"author": "Frontegg LTD",

@@ -15,3 +15,3 @@ "main": "index.cjs.js",

"dependencies": {
"@frontegg/redux-store": "2.8.12-alpha.1023100770",
"@frontegg/redux-store": "2.8.12-alpha.1023306250",
"react-redux": "^7.x"

@@ -18,0 +18,0 @@ },

@@ -1,2 +0,4 @@

import { CheckoutActions, CheckoutState, PlansActions, PlansState } from '@frontegg/redux-store/subscriptions';
import { CheckoutActions, CheckoutState, PaymentProviderConfigActions, PaymentProviderConfigState, PlansActions, PlansState } from '@frontegg/redux-store/subscriptions';
export declare const usePaymentProvider: () => PaymentProviderConfigState;
export declare const usePaymentProviderActions: () => PaymentProviderConfigActions;
export declare const usePlans: () => PlansState;

@@ -3,0 +5,0 @@ export declare const usePlansActions: () => PlansActions;

@@ -6,3 +6,3 @@ import 'react';

import '@frontegg/redux-store/subscriptions';
export { d as useBillingInformation, e as useBillingInformationActions, b as useCheckout, c as useCheckoutActions, u as usePlans, a as usePlansActions } from '../hooks-585c70a1.js';
export { f as useBillingInformation, g as useBillingInformationActions, d as useCheckout, e as useCheckoutActions, u as usePaymentProvider, a as usePaymentProviderActions, b as usePlans, c as usePlansActions } from '../hooks-c82a2568.js';
//# sourceMappingURL=index.js.map

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