@tap-payments/os-micro-frontend-shared 0.0.246-test.2-test.3-test.4 → 0.0.246-test.2-test.3-test.4-test.5

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.
@@ -1,5 +1,5 @@
1
1
  import { StatusChipProps } from '../../StatusChip';
2
- export type AuthenticationChipType = 'issuer' | 'scheme' | 'device' | 'app' | 'wallet' | 'biometric';
2
+ export type AuthenticationChipType = 'issuer' | 'scheme' | 'device' | 'app' | 'wallet' | '3DS' | 'Device Biometric' | 'Non-3DS';
3
3
  interface AuthenticationChipProps extends Omit<StatusChipProps, 'children'> {
4
4
  authenticationType?: AuthenticationChipType;
5
5
  }
@@ -18,7 +18,9 @@ const authenticationTypeMap = {
18
18
  device: 'Device',
19
19
  app: 'App',
20
20
  wallet: 'Wallet',
21
- biometric: 'Biometric',
21
+ 'Device Biometric': 'Biometric',
22
+ '3DS': '3DS',
23
+ 'Non-3DS': 'Non-3DS',
22
24
  };
23
25
  const AuthenticationChip = (_a) => {
24
26
  var { authenticationType, unknownText = 'noAuth' } = _a, props = __rest(_a, ["authenticationType", "unknownText"]);
@@ -21,8 +21,10 @@ export declare const authenticationColors: {
21
21
  textColor: string;
22
22
  };
23
23
  device: {};
24
- biometric: {
24
+ 'Device Biometric': {
25
25
  bgColor: string;
26
26
  textColor: string;
27
27
  };
28
+ '3DS': {};
29
+ 'Non-3DS': {};
28
30
  };
@@ -16,8 +16,10 @@ export const authenticationColors = {
16
16
  textColor: '#18AA33',
17
17
  },
18
18
  device: {},
19
- biometric: {
19
+ 'Device Biometric': {
20
20
  bgColor: '#F0820033',
21
21
  textColor: '#F08200',
22
22
  },
23
+ '3DS': {},
24
+ 'Non-3DS': {},
23
25
  };
@@ -1,5 +1,5 @@
1
1
  import { StatusChipProps } from '../../StatusChip';
2
- export type PaymentAgreementType = 'ORDER' | 'SAVED_CARD';
2
+ export type PaymentAgreementType = 'ORDER' | 'SAVED_CARD' | 'SUBSCRIPTION' | 'INSTALLMENT' | undefined;
3
3
  interface PaymentAgreementChipProps extends Omit<StatusChipProps, 'children'> {
4
4
  agreementType?: PaymentAgreementType;
5
5
  }
@@ -1,4 +1,3 @@
1
- import { PaymentAgreementType } from './PaymentAgreementChip';
2
1
  export interface PaymentAgreementColors {
3
2
  bgColor: string;
4
3
  borderColor?: string;
@@ -14,4 +13,9 @@ export declare const paymentAgreementColors: {
14
13
  textColor: string;
15
14
  };
16
15
  };
17
- export declare const agreementTypeMap: Record<PaymentAgreementType, string>;
16
+ export declare const agreementTypeMap: {
17
+ ORDER: string;
18
+ SAVED_CARD: string;
19
+ SUBSCRIPTION: string;
20
+ INSTALLMENT: string;
21
+ };
@@ -11,4 +11,6 @@ export const paymentAgreementColors = {
11
11
  export const agreementTypeMap = {
12
12
  ORDER: 'Order',
13
13
  SAVED_CARD: 'Saved card',
14
+ SUBSCRIPTION: 'Subscription',
15
+ INSTALLMENT: 'Installment',
14
16
  };
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.246-test.2-test.3-test.4",
5
- "testVersion": 4,
4
+ "version": "0.0.246-test.2-test.3-test.4-test.5",
5
+ "testVersion": 5,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",