@heliofi/checkout-react 1.0.5 → 1.0.7

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.
@@ -2,22 +2,11 @@ declare interface CustomTextsInterface {
2
2
  mainButtonTitle?: string;
3
3
  }
4
4
 
5
- declare type DisplayType = keyof typeof DisplayTypeEnum;
5
+ declare type DisplayType = 'button' | 'inline';
6
6
 
7
- declare enum DisplayTypeEnum {
8
- BUTTON = "BUTTON",
9
- INLINE = "hel-inline"
10
- }
11
-
12
- declare enum EmbedPaymentType {
13
- PAYLINK = "paylink",
14
- PAYSTREAM = "paystream"
15
- }
7
+ declare type EmbedPaymentType = 'paylink' | 'paystream';
16
8
 
17
- declare enum EmbedThemeMode {
18
- LIGHT = "light",
19
- DARK = "dark"
20
- }
9
+ declare type EmbedThemeMode = 'light' | 'dark';
21
10
 
22
11
  export declare const HelioCheckout: (props: HelioCheckoutReactProps) => JSX.Element;
23
12
 
@@ -41,6 +30,7 @@ declare interface HelioEmbedConfig {
41
30
  transaction: string;
42
31
  paymentPK?: string;
43
32
  swapTransactionSignature?: string;
33
+ blockchainSymbol?: string;
44
34
  }) => void;
45
35
  onError?: (event: {
46
36
  transaction?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@heliofi/checkout-react",
3
3
  "private": false,
4
- "version": "1.0.5",
4
+ "version": "1.0.7",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",