@heliofi/checkout-react
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,2 +0,2 @@ | ||
import type { ThemeOverride } from '../../infrastructure/theme/types'; | ||
import { ThemeMode } from '../../infrastructure/theme'; | ||
@@ -11,3 +11,3 @@ declare interface CustomTextsInterface { | ||
BUTTON = "BUTTON", | ||
INLINE = "INLINE" | ||
INLINE = "hel-inline" | ||
} | ||
@@ -18,8 +18,6 @@ | ||
declare interface HelioCheckoutReactProps { | ||
config: HelioEmbedConfig; | ||
config: Omit<HelioEmbedConfig, 'source'>; | ||
} | ||
declare type HelioEmbedConfig = HelioEmbedConfig_2; | ||
declare interface HelioEmbedConfig_2 { | ||
declare interface HelioEmbedConfig { | ||
paylinkId: string; | ||
@@ -29,2 +27,3 @@ network?: NetworkType; | ||
customTexts?: CustomTextsInterface; | ||
primaryPaymentMethod?: PrimaryPaymentMethod; | ||
theme?: HelioEmbedTheme; | ||
@@ -54,3 +53,9 @@ paymentType?: 'PAYLINK' | 'PAYSTREAM'; | ||
declare type HelioEmbedTheme = ThemeOverride; | ||
declare interface HelioEmbedTheme { | ||
themeMode: ThemeMode; | ||
colors: { | ||
primaryButtonBackground: string; | ||
primaryButtonText: string; | ||
}; | ||
} | ||
@@ -63,2 +68,4 @@ declare type Json = Json[] | boolean | null | number | string | { | ||
declare type PrimaryPaymentMethod = 'fiat' | 'crypto'; | ||
export { } |
{ | ||
"name": "@heliofi/checkout-react", | ||
"private": false, | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "scripts": { |
# Helio Checkout React | ||
For documentation please visit https://demo.hel.io or https://docs.hel.io | ||
- Documentation please visit https://docs.hel.io/developers/helio-checkout-widget | ||
- Demo: https://demo.hel.io |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
42170
825
5
1