@primer-io/react-native 2.37.0 → 2.37.1

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.
Files changed (116) hide show
  1. package/ios/Sources/version.swift +1 -1
  2. package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts +11 -0
  3. package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts.map +1 -0
  4. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts +6 -0
  5. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts.map +1 -0
  6. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts +2 -0
  7. package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts.map +1 -0
  8. package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts +18 -0
  9. package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts.map +1 -0
  10. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts +53 -0
  11. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts.map +1 -0
  12. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts +12 -0
  13. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts.map +1 -0
  14. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts +69 -0
  15. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts.map +1 -0
  16. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts +63 -0
  17. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts.map +1 -0
  18. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts +8 -0
  19. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts.map +1 -0
  20. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts +30 -0
  21. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts.map +1 -0
  22. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts +3 -0
  23. package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts.map +1 -0
  24. package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts +13 -0
  25. package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts.map +1 -0
  26. package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts +11 -0
  27. package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts.map +1 -0
  28. package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts +20 -0
  29. package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts.map +1 -0
  30. package/lib/typescript/HeadlessUniversalCheckout/types.d.ts +1 -0
  31. package/lib/typescript/HeadlessUniversalCheckout/types.d.ts.map +1 -0
  32. package/lib/typescript/Primer.d.ts +3 -0
  33. package/lib/typescript/Primer.d.ts.map +1 -0
  34. package/lib/typescript/RNPrimer.d.ts +34 -0
  35. package/lib/typescript/RNPrimer.d.ts.map +1 -0
  36. package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts +2 -0
  37. package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts.map +1 -0
  38. package/lib/typescript/index.d.ts +46 -0
  39. package/lib/typescript/index.d.ts.map +1 -0
  40. package/lib/typescript/models/IssuingBank.d.ts +9 -0
  41. package/lib/typescript/models/IssuingBank.d.ts.map +1 -0
  42. package/lib/typescript/models/NamedComponentStep.d.ts +12 -0
  43. package/lib/typescript/models/NamedComponentStep.d.ts.map +1 -0
  44. package/lib/typescript/models/NamedComponentValidatableData.d.ts +12 -0
  45. package/lib/typescript/models/NamedComponentValidatableData.d.ts.map +1 -0
  46. package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts +39 -0
  47. package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts.map +1 -0
  48. package/lib/typescript/models/PrimerCheckoutData.d.ts +18 -0
  49. package/lib/typescript/models/PrimerCheckoutData.d.ts.map +1 -0
  50. package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts +7 -0
  51. package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts.map +1 -0
  52. package/lib/typescript/models/PrimerClientSession.d.ts +53 -0
  53. package/lib/typescript/models/PrimerClientSession.d.ts.map +1 -0
  54. package/lib/typescript/models/PrimerComponentDataValidation.d.ts +54 -0
  55. package/lib/typescript/models/PrimerComponentDataValidation.d.ts.map +1 -0
  56. package/lib/typescript/models/PrimerCountryCode.d.ts +4 -0
  57. package/lib/typescript/models/PrimerCountryCode.d.ts.map +1 -0
  58. package/lib/typescript/models/PrimerCurrencyCode.d.ts +4 -0
  59. package/lib/typescript/models/PrimerCurrencyCode.d.ts.map +1 -0
  60. package/lib/typescript/models/PrimerError.d.ts +9 -0
  61. package/lib/typescript/models/PrimerError.d.ts.map +1 -0
  62. package/lib/typescript/models/PrimerHandlers.d.ts +22 -0
  63. package/lib/typescript/models/PrimerHandlers.d.ts.map +1 -0
  64. package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts +6 -0
  65. package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts.map +1 -0
  66. package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts +17 -0
  67. package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts.map +1 -0
  68. package/lib/typescript/models/PrimerInitializationData.d.ts +10 -0
  69. package/lib/typescript/models/PrimerInitializationData.d.ts.map +1 -0
  70. package/lib/typescript/models/PrimerInputElementType.d.ts +12 -0
  71. package/lib/typescript/models/PrimerInputElementType.d.ts.map +1 -0
  72. package/lib/typescript/models/PrimerInterfaces.d.ts +10 -0
  73. package/lib/typescript/models/PrimerInterfaces.d.ts.map +1 -0
  74. package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts +6 -0
  75. package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts.map +1 -0
  76. package/lib/typescript/models/PrimerPaymentMethodResource.d.ts +19 -0
  77. package/lib/typescript/models/PrimerPaymentMethodResource.d.ts.map +1 -0
  78. package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts +78 -0
  79. package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts.map +1 -0
  80. package/lib/typescript/models/PrimerRawData.d.ts +20 -0
  81. package/lib/typescript/models/PrimerRawData.d.ts.map +1 -0
  82. package/lib/typescript/models/PrimerSessionIntent.d.ts +5 -0
  83. package/lib/typescript/models/PrimerSessionIntent.d.ts.map +1 -0
  84. package/lib/typescript/models/PrimerSettings.d.ts +173 -0
  85. package/lib/typescript/models/PrimerSettings.d.ts.map +1 -0
  86. package/lib/typescript/models/PrimerTheme.d.ts +24 -0
  87. package/lib/typescript/models/PrimerTheme.d.ts.map +1 -0
  88. package/lib/typescript/models/PrimerValidationError.d.ts +7 -0
  89. package/lib/typescript/models/PrimerValidationError.d.ts.map +1 -0
  90. package/lib/typescript/models/PrimerValidationErrorResult.d.ts +6 -0
  91. package/lib/typescript/models/PrimerValidationErrorResult.d.ts.map +1 -0
  92. package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts +11 -0
  93. package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts.map +1 -0
  94. package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts +5 -0
  95. package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts.map +1 -0
  96. package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts +6 -0
  97. package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts.map +1 -0
  98. package/lib/typescript/models/RetailOutletsRetail.d.ts +9 -0
  99. package/lib/typescript/models/RetailOutletsRetail.d.ts.map +1 -0
  100. package/lib/typescript/models/ach/AchCollectableData.d.ts +25 -0
  101. package/lib/typescript/models/ach/AchCollectableData.d.ts.map +1 -0
  102. package/lib/typescript/models/ach/AchSteps.d.ts +28 -0
  103. package/lib/typescript/models/ach/AchSteps.d.ts.map +1 -0
  104. package/lib/typescript/models/banks/BanksCollectableData.d.ts +23 -0
  105. package/lib/typescript/models/banks/BanksCollectableData.d.ts.map +1 -0
  106. package/lib/typescript/models/banks/BanksSteps.d.ts +20 -0
  107. package/lib/typescript/models/banks/BanksSteps.d.ts.map +1 -0
  108. package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts +24 -0
  109. package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts.map +1 -0
  110. package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts +24 -0
  111. package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts.map +1 -0
  112. package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts +36 -0
  113. package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts.map +1 -0
  114. package/lib/typescript/utils/index.d.ts +4 -0
  115. package/lib/typescript/utils/index.d.ts.map +1 -0
  116. package/package.json +1 -1
@@ -0,0 +1,173 @@
1
+ import type { PrimerCheckoutData } from './PrimerCheckoutData';
2
+ import type { PrimerCheckoutAdditionalInfo } from './PrimerCheckoutAdditionalInfo';
3
+ import type { PrimerCheckoutPaymentMethodData } from './PrimerCheckoutPaymentMethodData';
4
+ import type { PrimerClientSession } from './PrimerClientSession';
5
+ import type { PrimerPaymentMethodTokenData } from './PrimerPaymentMethodTokenData';
6
+ import type { PrimerError } from './PrimerError';
7
+ import type { IPrimerTheme } from './PrimerTheme';
8
+ import type { PrimerPaymentCreationHandler, PrimerTokenizationHandler, PrimerResumeHandler, PrimerErrorHandler, PrimerHeadlessUniversalCheckoutResumeHandler } from './PrimerHandlers';
9
+ export type PrimerSettings = IPrimerSettings;
10
+ interface IPrimerSettings {
11
+ paymentHandling?: 'AUTO' | 'MANUAL';
12
+ localeData?: IPrimerLocaleData;
13
+ paymentMethodOptions?: IPrimerPaymentMethodOptions;
14
+ uiOptions?: IPrimerUIOptions;
15
+ debugOptions?: IPrimerDebugOptions;
16
+ clientSessionCachingEnabled?: boolean;
17
+ apiVersion?: PrimerApiVersion;
18
+ onBeforeClientSessionUpdate?: () => void;
19
+ onClientSessionUpdate?: (clientSession: PrimerClientSession) => void;
20
+ onBeforePaymentCreate?: (checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void;
21
+ onCheckoutComplete?: (checkoutData: PrimerCheckoutData) => void;
22
+ onTokenizeSuccess?: (paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerTokenizationHandler) => void;
23
+ onResumeSuccess?: (resumeToken: string, handler: PrimerResumeHandler) => void;
24
+ onResumePending?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
25
+ onCheckoutReceivedAdditionalInfo?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
26
+ onError?: (error: PrimerError, checkoutData: PrimerCheckoutData | null, handler: PrimerErrorHandler | undefined) => void;
27
+ onDismiss?: () => void;
28
+ headlessUniversalCheckoutCallbacks?: {
29
+ onAvailablePaymentMethodsLoad?: (availablePaymentMethods: any[]) => void;
30
+ onTokenizationStart?: (paymentMethodType: string) => void;
31
+ onTokenizationSuccess?: (paymentMethodTokenData: PrimerPaymentMethodTokenData, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void;
32
+ onCheckoutResume?: (resumeToken: string, handler: PrimerHeadlessUniversalCheckoutResumeHandler) => void;
33
+ onCheckoutPending?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
34
+ onCheckoutAdditionalInfo?: (additionalInfo: PrimerCheckoutAdditionalInfo) => void;
35
+ onError?: (error: PrimerError, checkoutData: PrimerCheckoutData | null) => void;
36
+ onCheckoutComplete?: (checkoutData: PrimerCheckoutData) => void;
37
+ onBeforeClientSessionUpdate?: () => void;
38
+ onClientSessionUpdate?: (clientSession: PrimerClientSession) => void;
39
+ onBeforePaymentCreate?: (checkoutPaymentMethodData: PrimerCheckoutPaymentMethodData, handler: PrimerPaymentCreationHandler) => void;
40
+ onPreparationStart?: (paymentMethodType: string) => void;
41
+ onPaymentMethodShow?: (paymentMethodType: string) => void;
42
+ };
43
+ }
44
+ interface IPrimerLocaleData {
45
+ languageCode?: string;
46
+ localeCode?: string;
47
+ }
48
+ interface IPrimerPaymentMethodOptions {
49
+ iOS?: {
50
+ urlScheme?: string;
51
+ };
52
+ android?: {
53
+ redirectScheme?: string;
54
+ };
55
+ apayaOptions?: IPrimerApayaOptions;
56
+ applePayOptions?: IPrimerApplePayOptions;
57
+ /**
58
+ * @obsoleted The IPrimerCardPaymentOptions is obsoleted on v.2.14.0
59
+ */
60
+ cardPaymentOptions?: IPrimerCardPaymentOptions;
61
+ goCardlessOptions?: IPrimerGoCardlessOptions;
62
+ googlePayOptions?: IPrimerGooglePayOptions;
63
+ klarnaOptions?: IPrimerKlarnaOptions;
64
+ threeDsOptions?: IPrimerThreeDsOptions;
65
+ stripeOptions?: IPrimerStripeOptions;
66
+ }
67
+ interface IPrimerApayaOptions {
68
+ webViewTitle: string;
69
+ }
70
+ interface IPrimerApplePayOptions {
71
+ merchantIdentifier: string;
72
+ /**
73
+ * @deprecated Use Client Session API to provide merchant name value: https://primer.io/docs/payment-methods/apple-pay/direct-integration#prepare-the-client-session
74
+ */
75
+ merchantName?: string;
76
+ /**
77
+ * @deprecated Use BillingOptions to configure required billing fields.
78
+ */
79
+ isCaptureBillingAddressEnabled: boolean;
80
+ /**
81
+ * If you don't want to present the Apple Pay option when the device doesn't support it, set this to `false`.
82
+ * Default value is `true`.
83
+ */
84
+ showApplePayForUnsupportedDevice?: boolean;
85
+ /**
86
+ * Due to reports about the Apple Pay flow not presenting because `canMakePayments(usingNetworks:)` was returning false
87
+ * when there were no cards in the Wallet, we introduced this flag to continue supporting the old behavior.
88
+ * Default value is `true`.
89
+ */
90
+ checkProvidedNetworks?: boolean;
91
+ shippingOptions?: IShippingOptions;
92
+ billingOptions?: IBillingOptions;
93
+ }
94
+ interface IShippingOptions {
95
+ shippingContactFields?: RequiredContactField[];
96
+ requireShippingMethod: boolean;
97
+ }
98
+ interface IBillingOptions {
99
+ requiredBillingContactFields?: RequiredContactField[];
100
+ }
101
+ type RequiredContactField = 'name' | 'emailAddress' | 'phoneNumber' | 'postalAddress';
102
+ interface IPrimerCardPaymentOptions {
103
+ is3DSOnVaultingEnabled: boolean;
104
+ }
105
+ interface IPrimerGoCardlessOptions {
106
+ businessName?: string;
107
+ businessAddress?: string;
108
+ }
109
+ interface IPrimerGooglePayOptions {
110
+ merchantName?: string;
111
+ allowedCardNetworks?: string[];
112
+ isCaptureBillingAddressEnabled?: boolean;
113
+ isExistingPaymentMethodRequired?: boolean;
114
+ shippingAddressParameters?: IPrimerGoogleShippingAddressParameters;
115
+ requireShippingMethod?: boolean;
116
+ emailAddressRequired?: boolean;
117
+ buttonOptions?: IPrimerGooglePayButtonOptions;
118
+ }
119
+ interface IPrimerGooglePayButtonOptions {
120
+ buttonType?: number;
121
+ buttonTheme?: number;
122
+ }
123
+ interface IPrimerGoogleShippingAddressParameters {
124
+ isPhoneNumberRequired?: boolean;
125
+ }
126
+ interface IPrimerKlarnaOptions {
127
+ recurringPaymentDescription?: string;
128
+ webViewTitle?: string;
129
+ }
130
+ export type PrimerAppearanceMode = 'SYSTEM' | 'LIGHT' | 'DARK';
131
+ interface IPrimerUIOptions {
132
+ isInitScreenEnabled?: boolean;
133
+ isSuccessScreenEnabled?: boolean;
134
+ isErrorScreenEnabled?: boolean;
135
+ dismissalMechanism?: DismissalMechanism[];
136
+ appearanceMode?: PrimerAppearanceMode;
137
+ theme?: IPrimerTheme;
138
+ cardFormUIOptions?: IPrimerCardFormUIOptions;
139
+ }
140
+ export type DismissalMechanism = 'gestures' | 'closeButton';
141
+ interface IPrimerDebugOptions {
142
+ is3DSSanityCheckEnabled?: boolean;
143
+ }
144
+ /**
145
+ * Type representing the supported versions of the Primer API.
146
+ */
147
+ export type PrimerApiVersion = '2.4' | 'latest';
148
+ interface IPrimerThreeDsOptions {
149
+ iOS?: {
150
+ threeDsAppRequestorUrl?: string;
151
+ };
152
+ android?: {
153
+ threeDsAppRequestorUrl?: string;
154
+ };
155
+ }
156
+ interface IPrimerStripeOptions {
157
+ publishableKey?: string;
158
+ mandateData?: IPrimerStripeTemplateMandateData | IPrimerFullMandateData;
159
+ }
160
+ interface IPrimerStripeMandateData {
161
+ }
162
+ interface IPrimerStripeTemplateMandateData extends IPrimerStripeMandateData {
163
+ merchantName: string;
164
+ }
165
+ interface IPrimerFullMandateData extends IPrimerStripeMandateData {
166
+ fullMandateText: string;
167
+ fullMandateStringResourceName?: string;
168
+ }
169
+ interface IPrimerCardFormUIOptions {
170
+ payButtonAddNewCard?: boolean;
171
+ }
172
+ export {};
173
+ //# sourceMappingURL=PrimerSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerSettings.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACzF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAA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,CAAC;CACnC;AAID;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,CAAC;AAIhD,UAAU,qBAAqB;IAC7B,GAAG,CAAC,EAAE;QACJ,sBAAsB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC;IACF,OAAO,CAAC,EAAE;QACR,sBAAsB,CAAC,EAAE,MAAM,CAAC;KACjC,CAAC;CACH;AAID,UAAU,oBAAoB;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,gCAAgC,GAAG,sBAAsB,CAAC;CACzE;AAED,UAAU,wBAAwB;CAAG;AAErC,UAAU,gCAAiC,SAAQ,wBAAwB;IACzE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,UAAU,sBAAuB,SAAQ,wBAAwB;IAC/D,eAAe,EAAE,MAAM,CAAC;IACxB,6BAA6B,CAAC,EAAE,MAAM,CAAC;CACxC;AAID,UAAU,wBAAwB;IAChC,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B"}
@@ -0,0 +1,24 @@
1
+ export type PrimerTheme = IPrimerTheme;
2
+ export interface IPrimerTheme {
3
+ colors?: ColorTheme;
4
+ darkModeColors?: ColorTheme;
5
+ }
6
+ interface ColorTheme {
7
+ mainColor?: IRgbaColor;
8
+ contrastingColor?: IRgbaColor;
9
+ background?: IRgbaColor;
10
+ text?: IRgbaColor;
11
+ contrastingText?: IRgbaColor;
12
+ borders?: IRgbaColor;
13
+ disabled?: IRgbaColor;
14
+ error?: IRgbaColor;
15
+ }
16
+ export type RgbaColor = IRgbaColor;
17
+ interface IRgbaColor {
18
+ red: number;
19
+ green: number;
20
+ blue: number;
21
+ alpha: number;
22
+ }
23
+ export {};
24
+ //# sourceMappingURL=PrimerTheme.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerTheme.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerTheme.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC;AACvC,MAAM,WAAW,YAAY;IAC3B,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,cAAc,CAAC,EAAE,UAAU,CAAC;CAC7B;AAED,UAAU,UAAU;IAClB,SAAS,CAAC,EAAE,UAAU,CAAC;IACvB,gBAAgB,CAAC,EAAE,UAAU,CAAC;IAC9B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,eAAe,CAAC,EAAE,UAAU,CAAC;IAC7B,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,QAAQ,CAAC,EAAE,UAAU,CAAC;IACtB,KAAK,CAAC,EAAE,UAAU,CAAC;CAIpB;AAED,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AACnC,UAAU,UAAU;IAClB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -0,0 +1,7 @@
1
+ export type PrimerValidationError = IPrimerValidationError;
2
+ export interface IPrimerValidationError {
3
+ errorId?: string;
4
+ description?: string;
5
+ diagnosticsId?: string;
6
+ }
7
+ //# sourceMappingURL=PrimerValidationError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerValidationError.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerValidationError.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAE3D,MAAM,WAAW,sBAAsB;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
@@ -0,0 +1,6 @@
1
+ import { PrimerValidationError } from './PrimerValidationError';
2
+ export type PrimerValidationErrorResult = IPrimerValidationErrorResult;
3
+ export interface IPrimerValidationErrorResult {
4
+ validationErrors: PrimerValidationError[];
5
+ }
6
+ //# sourceMappingURL=PrimerValidationErrorResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerValidationErrorResult.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerValidationErrorResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,2BAA2B,GAAG,4BAA4B,CAAC;AAEvE,MAAM,WAAW,4BAA4B;IAC3C,gBAAgB,EAAE,qBAAqB,EAAE,CAAC;CAC3C"}
@@ -0,0 +1,11 @@
1
+ import { IPrimerPaymentInstrumentData, IPrimerThreeDSAuthenticationData } from './PrimerPaymentMethodTokenData';
2
+ export type PrimerVaultedPaymentMethod = IPrimerVaultedPaymentMethod;
3
+ export interface IPrimerVaultedPaymentMethod {
4
+ id: string;
5
+ analyticsId: string;
6
+ paymentInstrumentType: string;
7
+ paymentMethodType: string;
8
+ paymentInstrumentData?: IPrimerPaymentInstrumentData;
9
+ threeDSecureAuthentication?: IPrimerThreeDSAuthenticationData;
10
+ }
11
+ //# sourceMappingURL=PrimerVaultedPaymentMethod.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerVaultedPaymentMethod.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAEhH,MAAM,MAAM,0BAA0B,GAAG,2BAA2B,CAAC;AAErE,MAAM,WAAW,2BAA2B;IAC1C,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,qBAAqB,CAAC,EAAE,4BAA4B,CAAC;IACrD,0BAA0B,CAAC,EAAE,gCAAgC,CAAC;CAC/D"}
@@ -0,0 +1,5 @@
1
+ export type PrimerVaultedPaymentMethodAdditionalData = IPrimerVaultedPaymentMethodAdditonalData;
2
+ export interface IPrimerVaultedPaymentMethodAdditonalData {
3
+ cvv: string;
4
+ }
5
+ //# sourceMappingURL=PrimerVaultedPaymentMethodAdditionalData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerVaultedPaymentMethodAdditionalData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethodAdditionalData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,wCAAwC,GAAG,wCAAwC,CAAC;AAEhG,MAAM,WAAW,wCAAwC;IACvD,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -0,0 +1,6 @@
1
+ import { PrimerVaultedPaymentMethod } from './PrimerVaultedPaymentMethod';
2
+ export type PrimerVaultedPaymentMethodResult = IPrimerVaultedPaymentMethodResult;
3
+ export interface IPrimerVaultedPaymentMethodResult {
4
+ paymentMethods: PrimerVaultedPaymentMethod[];
5
+ }
6
+ //# sourceMappingURL=PrimerVaultedPaymentMethodResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PrimerVaultedPaymentMethodResult.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerVaultedPaymentMethodResult.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE1E,MAAM,MAAM,gCAAgC,GAAG,iCAAiC,CAAC;AAEjF,MAAM,WAAW,iCAAiC;IAChD,cAAc,EAAE,0BAA0B,EAAE,CAAC;CAC9C"}
@@ -0,0 +1,9 @@
1
+ export type RetailOutletsRetail = IRetailOutletsRetail;
2
+ interface IRetailOutletsRetail {
3
+ id: string;
4
+ name: string;
5
+ iconUrl: string;
6
+ disabled: boolean;
7
+ }
8
+ export {};
9
+ //# sourceMappingURL=RetailOutletsRetail.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RetailOutletsRetail.d.ts","sourceRoot":"","sources":["../../../src/models/RetailOutletsRetail.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -0,0 +1,25 @@
1
+ import { NamedComponentValidatableData } from '../NamedComponentValidatableData';
2
+ export type AchValidatableData = AchUserDetailsValidatableData;
3
+ export type AchUserDetailsValidatableData = AchFirstName | AchLastName | AchEmailAddress;
4
+ /**
5
+ * A type representing representing the customer's first name.
6
+ */
7
+ export type AchFirstName = {
8
+ validatableDataName: 'firstName';
9
+ value: string;
10
+ } & NamedComponentValidatableData;
11
+ /**
12
+ * A type representing representing the customer's last name.
13
+ */
14
+ export type AchLastName = {
15
+ validatableDataName: 'lastName';
16
+ value: string;
17
+ } & NamedComponentValidatableData;
18
+ /**
19
+ * A type representing representing the customer's email address.
20
+ */
21
+ export type AchEmailAddress = {
22
+ validatableDataName: 'emailAddress';
23
+ value: string;
24
+ } & NamedComponentValidatableData;
25
+ //# sourceMappingURL=AchCollectableData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AchCollectableData.d.ts","sourceRoot":"","sources":["../../../../src/models/ach/AchCollectableData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,MAAM,kBAAkB,GAAG,6BAA6B,CAAC;AAE/D,MAAM,MAAM,6BAA6B,GAAG,YAAY,GAAG,WAAW,GAAG,eAAe,CAAC;AAEzF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,mBAAmB,EAAE,WAAW,CAAC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,mBAAmB,EAAE,UAAU,CAAC;IAChC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B,mBAAmB,EAAE,cAAc,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { NamedComponentStep } from '../NamedComponentStep';
2
+ export type AchStep = AchUserDetailsStep;
3
+ export type AchUserDetailsStep = UserDetailsRetrieved | UserDetailsCollected;
4
+ /**
5
+ * A type representing the retrieved user details.
6
+ */
7
+ export type UserDetailsRetrieved = {
8
+ stepName: 'userDetailsRetrieved';
9
+ /**
10
+ * The first name previously sent on client session creation.
11
+ */
12
+ firstName: string;
13
+ /**
14
+ * The last name previously sent on client session creation.
15
+ */
16
+ lastName: string;
17
+ /**
18
+ * The email address previously sent on client session creation.
19
+ */
20
+ emailAddress: string;
21
+ } & NamedComponentStep;
22
+ /**
23
+ * A type representing the collected user details.
24
+ */
25
+ export type UserDetailsCollected = {
26
+ stepName: 'userDetailsCollected';
27
+ } & NamedComponentStep;
28
+ //# sourceMappingURL=AchSteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AchSteps.d.ts","sourceRoot":"","sources":["../../../../src/models/ach/AchSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG,kBAAkB,CAAC;AAEzC,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG,oBAAoB,CAAC;AAE7E;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,sBAAsB,CAAC;IACjC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAAE,QAAQ,EAAE,sBAAsB,CAAA;CAAE,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { NamedComponentValidatableData } from '../NamedComponentValidatableData';
2
+ export type BanksValidatableData = BankListFilter | BankId;
3
+ /**
4
+ * A type representing the bank list filter.
5
+ */
6
+ export type BankListFilter = {
7
+ validatableDataName: 'bankListFilter';
8
+ /**
9
+ * The text to filter the bank list by.
10
+ */
11
+ text: string;
12
+ } & NamedComponentValidatableData;
13
+ /**
14
+ * A type representing the id of the selected bank.
15
+ */
16
+ export type BankId = {
17
+ validatableDataName: 'bankId';
18
+ /**
19
+ * The id of the selected bank.
20
+ */
21
+ id: string;
22
+ } & NamedComponentValidatableData;
23
+ //# sourceMappingURL=BanksCollectableData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BanksCollectableData.d.ts","sourceRoot":"","sources":["../../../../src/models/banks/BanksCollectableData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,MAAM,MAAM,oBAAoB,GAAG,cAAc,GAAG,MAAM,CAAC;AAE3D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,mBAAmB,EAAE,gBAAgB,CAAC;IACtC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB,mBAAmB,EAAE,QAAQ,CAAC;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { IssuingBank } from '../IssuingBank';
2
+ import { NamedComponentStep } from '../NamedComponentStep';
3
+ export type BanksStep = BanksLoading | BanksRetrieved;
4
+ /**
5
+ * A type representing the loading of the bank list.
6
+ */
7
+ export type BanksLoading = {
8
+ stepName: 'banksLoading';
9
+ } & NamedComponentStep;
10
+ /**
11
+ * A type representing the list of retrieved banks.
12
+ */
13
+ export type BanksRetrieved = {
14
+ stepName: 'banksRetrieved';
15
+ /**
16
+ * The list of retrieved banks.
17
+ */
18
+ banks: IssuingBank[];
19
+ } & NamedComponentStep;
20
+ //# sourceMappingURL=BanksSteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BanksSteps.d.ts","sourceRoot":"","sources":["../../../../src/models/banks/BanksSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAE3D,MAAM,MAAM,SAAS,GAAG,YAAY,GAAG,cAAc,CAAC;AAEtD;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,QAAQ,EAAE,cAAc,CAAC;CAC1B,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,QAAQ,EAAE,gBAAgB,CAAC;IAC3B;;OAEG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;CACtB,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,24 @@
1
+ export type KlarnaPaymentCategory = IKlarnaPaymentCategory;
2
+ /**
3
+ * Interface representing a Klarna payment category.
4
+ */
5
+ interface IKlarnaPaymentCategory {
6
+ /**
7
+ * The identifier of the category.
8
+ */
9
+ identifier: string;
10
+ /**
11
+ * The name of the category.
12
+ */
13
+ name: string;
14
+ /**
15
+ * The descriptive asset url of the category.
16
+ */
17
+ descriptiveAssetUrl: string;
18
+ /**
19
+ * The standard asset url of the category.
20
+ */
21
+ standardAssetUrl: string;
22
+ }
23
+ export {};
24
+ //# sourceMappingURL=KlarnaPaymentCategory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KlarnaPaymentCategory.d.ts","sourceRoot":"","sources":["../../../../src/models/klarna/KlarnaPaymentCategory.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG,sBAAsB,CAAC;AAE3D;;GAEG;AACH,UAAU,sBAAsB;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -0,0 +1,24 @@
1
+ import { NamedComponentValidatableData } from '../NamedComponentValidatableData';
2
+ import { KlarnaPaymentCategory } from './KlarnaPaymentCategory';
3
+ export type KlarnaPaymentValidatableData = KlarnaPaymentOptions | KlarnaPaymentFinalization;
4
+ /**
5
+ * A type representing Klarna payment options required for configuring the {@link KlarnaComponent}.
6
+ */
7
+ export type KlarnaPaymentOptions = {
8
+ validatableDataName: 'klarnaPaymentOptions';
9
+ /**
10
+ * Url used by third-party Android apps to build the intent for returning to the app.
11
+ */
12
+ returnIntentUrl?: string;
13
+ /**
14
+ * Payment category required for session creation.
15
+ */
16
+ paymentCategory: KlarnaPaymentCategory;
17
+ } & NamedComponentValidatableData;
18
+ /**
19
+ * A type representing the finalized Klarna payment session.
20
+ */
21
+ export type KlarnaPaymentFinalization = {
22
+ validatableDataName: 'klarnaPaymentFinalization';
23
+ } & NamedComponentValidatableData;
24
+ //# sourceMappingURL=KlarnaPaymentCollectableData.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KlarnaPaymentCollectableData.d.ts","sourceRoot":"","sources":["../../../../src/models/klarna/KlarnaPaymentCollectableData.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,GAAG,yBAAyB,CAAC;AAE5F;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,mBAAmB,EAAE,sBAAsB,CAAC;IAE5C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,eAAe,EAAE,qBAAqB,CAAC;CACxC,GAAG,6BAA6B,CAAC;AAElC;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC,mBAAmB,EAAE,2BAA2B,CAAC;CAClD,GAAG,6BAA6B,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { NamedComponentStep } from './../NamedComponentStep';
2
+ import { KlarnaPaymentCategory } from './KlarnaPaymentCategory';
3
+ export type KlarnaPaymentStep = PaymentSessionCreated | PaymentViewLoaded | PaymentSessionAuthorized | PaymentSessionFinalized;
4
+ /**
5
+ * A type that indicates that the payment view is loaded and ready to be displayed.
6
+ */
7
+ export type PaymentViewLoaded = {
8
+ stepName: 'paymentViewLoaded';
9
+ } & NamedComponentStep;
10
+ /**
11
+ * A type representing the created payment session.
12
+ */
13
+ export type PaymentSessionCreated = {
14
+ stepName: 'paymentSessionCreated';
15
+ /**
16
+ * The list of available Klarna payment categories.
17
+ */
18
+ paymentCategories: KlarnaPaymentCategory[];
19
+ } & NamedComponentStep;
20
+ /**
21
+ * A type representing the authorized payment session.
22
+ */
23
+ export type PaymentSessionAuthorized = {
24
+ stepName: 'paymentSessionAuthorized';
25
+ /**
26
+ * The state of the finalization.
27
+ */
28
+ isFinalized: boolean;
29
+ } & NamedComponentStep;
30
+ /**
31
+ * A type representing the finalized payment session.
32
+ */
33
+ export type PaymentSessionFinalized = {
34
+ stepName: 'paymentSessionFinalized';
35
+ } & NamedComponentStep;
36
+ //# sourceMappingURL=KlarnaPaymentSteps.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KlarnaPaymentSteps.d.ts","sourceRoot":"","sources":["../../../../src/models/klarna/KlarnaPaymentSteps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,iBAAiB,GACzB,qBAAqB,GACrB,iBAAiB,GACjB,wBAAwB,GACxB,uBAAuB,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAAE,QAAQ,EAAE,mBAAmB,CAAA;CAAE,GAAG,kBAAkB,CAAC;AAEvF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,uBAAuB,CAAC;IAClC;;OAEG;IACH,iBAAiB,EAAE,qBAAqB,EAAE,CAAC;CAC5C,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,EAAE,0BAA0B,CAAC;IACrC;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB,GAAG,kBAAkB,CAAC;AAEvB;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IAAE,QAAQ,EAAE,yBAAyB,CAAA;CAAE,GAAG,kBAAkB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { RgbaColor } from '../models/PrimerTheme';
2
+ export declare function toRgbColor(hex: string): RgbaColor | null;
3
+ export declare function parseCallback<T>(data: any, callback: (val: T) => void): void;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAEvD,wBAAgB,UAAU,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,IAAI,CAwBxD;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,QAOrE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer-io/react-native",
3
- "version": "2.37.0",
3
+ "version": "2.37.1",
4
4
  "description": "Primer SDK for RN",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",