@lystech/core 3.0.71 → 3.0.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +6 -1
- package/dist/lystech-core-provider.es.js +6579 -6249
- package/dist/lystech-core-provider.umd.js +167 -155
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -496,7 +496,7 @@ export declare function LoadingCircle(): JSX.Element;
|
|
|
496
496
|
|
|
497
497
|
export declare const LYSTECH_CORE_VERSION: any;
|
|
498
498
|
|
|
499
|
-
declare function LystechCoreProvider({ children, organization, shouldRedirectAfterLogin, loginRedirectRoute, queryClient, usePushNotifications, useProgressiveWebAppFeatures, useThemeProvider, quickGoogleLoginButtonStyle, enableGoogleQuickLoginButton, showGoogleQuickLoginButton, useGoogleAutoSelect, debugMode, showAskPermissionsButtons, onPackageUpdated, triggerOnFirstInstallPackageCallback, packageVersionStorageKey, }: Props): JSX.Element;
|
|
499
|
+
declare function LystechCoreProvider({ children, organization, shouldRedirectAfterLogin, loginRedirectRoute, queryClient, usePushNotifications, useProgressiveWebAppFeatures, useThemeProvider, quickGoogleLoginButtonStyle, enableGoogleQuickLoginButton, showGoogleQuickLoginButton, useGoogleAutoSelect, debugMode, showAskPermissionsButtons, hideSupportButton, onPackageUpdated, triggerOnFirstInstallPackageCallback, packageVersionStorageKey, }: Props): JSX.Element;
|
|
500
500
|
export default LystechCoreProvider;
|
|
501
501
|
|
|
502
502
|
declare type MessageParams = {
|
|
@@ -602,6 +602,7 @@ export declare type OrganizationType = {
|
|
|
602
602
|
paypalClientIdSandbox: string;
|
|
603
603
|
paypalAppSecretSandbox: string;
|
|
604
604
|
paypalEnabled: boolean;
|
|
605
|
+
supportEnabled?: boolean;
|
|
605
606
|
useAdvancedFields: boolean;
|
|
606
607
|
isSandbox: number;
|
|
607
608
|
sellerType: "boutique" | "distributor";
|
|
@@ -629,6 +630,7 @@ export declare type OrganizationType = {
|
|
|
629
630
|
paypalClientIdSandbox: "";
|
|
630
631
|
paypalAppSecretSandbox: "";
|
|
631
632
|
paypalEnabled: 0;
|
|
633
|
+
supportEnabled?: boolean;
|
|
632
634
|
useAdvancedFields: boolean;
|
|
633
635
|
isSandbox: number;
|
|
634
636
|
sellerType: "boutique" | "distributor";
|
|
@@ -776,6 +778,7 @@ declare type Props = {
|
|
|
776
778
|
installApp?: boolean;
|
|
777
779
|
pushNotifications?: boolean;
|
|
778
780
|
};
|
|
781
|
+
hideSupportButton?: boolean;
|
|
779
782
|
onPackageUpdated?: (event: PackageUpdateEvent) => void;
|
|
780
783
|
triggerOnFirstInstallPackageCallback?: boolean;
|
|
781
784
|
packageVersionStorageKey?: string;
|
|
@@ -1148,6 +1151,8 @@ export declare type SubscriptionSubscriber = {
|
|
|
1148
1151
|
isGifted: boolean;
|
|
1149
1152
|
};
|
|
1150
1153
|
|
|
1154
|
+
export declare function SupportButton(): JSX.Element | null;
|
|
1155
|
+
|
|
1151
1156
|
declare interface ThemeContextType {
|
|
1152
1157
|
theme: "light" | "dark" | null;
|
|
1153
1158
|
toggleTheme: () => void;
|