@coinflowlabs/vue 1.4.1 → 1.4.2
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.
|
@@ -55,6 +55,7 @@ interface BaseCustomerInfo {
|
|
|
55
55
|
* Date of birth in YYYY-MM-DD format
|
|
56
56
|
*/
|
|
57
57
|
dob?: string;
|
|
58
|
+
email?: string;
|
|
58
59
|
}
|
|
59
60
|
export interface NameCustomerInfo extends BaseCustomerInfo {
|
|
60
61
|
/**
|
|
@@ -186,6 +187,7 @@ export declare enum PaymentMethods {
|
|
|
186
187
|
crypto = "crypto",
|
|
187
188
|
instantBankTransfer = "instantBankTransfer"
|
|
188
189
|
}
|
|
190
|
+
export declare const paymentMethodLabels: Record<PaymentMethods, string>;
|
|
189
191
|
export interface CoinflowCommonPurchaseProps extends CoinflowTypes {
|
|
190
192
|
subtotal?: Subtotal;
|
|
191
193
|
presentment?: Currency;
|
|
@@ -527,9 +529,10 @@ export interface RecipientAftInfo {
|
|
|
527
529
|
*/
|
|
528
530
|
countryCode: string;
|
|
529
531
|
/**
|
|
532
|
+
* Recipients Date Of Birth in YYYMMDD format.
|
|
530
533
|
* @pattern ^\d{8}$
|
|
531
534
|
*/
|
|
532
|
-
dateOfBirth
|
|
535
|
+
dateOfBirth?: string;
|
|
533
536
|
/**
|
|
534
537
|
* @pattern ^\d+$
|
|
535
538
|
*/
|
|
@@ -154,6 +154,7 @@ export declare const WithdrawCurrencies: {
|
|
|
154
154
|
readonly BRL: Currency.BRL;
|
|
155
155
|
readonly CAD: Currency.CAD;
|
|
156
156
|
};
|
|
157
|
+
export declare function getCurrencyDecimals(currency: Currency): number;
|
|
157
158
|
export declare function isWithdrawCurrency(currency: Currency): currency is WithdrawCurrency;
|
|
158
159
|
export interface Cents {
|
|
159
160
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AnyObject } from './AnyObject';
|
|
2
|
+
import { SellerInfo } from './CartitemCommon';
|
|
2
3
|
/**
|
|
3
4
|
* An nft cart item
|
|
4
5
|
*/
|
|
@@ -51,14 +52,7 @@ export type nftCartItem = {
|
|
|
51
52
|
* Any additional data that the store can provide on the product, e.g. description, link to image, etc.
|
|
52
53
|
*/
|
|
53
54
|
rawProductData?: AnyObject;
|
|
54
|
-
seller?:
|
|
55
|
-
id: string;
|
|
56
|
-
email: string;
|
|
57
|
-
firstName: string;
|
|
58
|
-
lastName: string;
|
|
59
|
-
dob: string;
|
|
60
|
-
rawSellerData: Record<string, any>;
|
|
61
|
-
};
|
|
55
|
+
seller?: SellerInfo;
|
|
62
56
|
};
|
|
63
57
|
export type productType = 'inGameProduct' | 'gameOfSkill' | 'dataStorage' | 'computingResources' | 'sportsTicket' | 'eSportsTicket' | 'musicTicket' | 'conferenceTicket' | 'virtualSportsTicket' | 'virtualESportsTicket' | 'virtualMusicTicket' | 'virtualConferenceTicket' | 'alcohol' | 'DLC' | 'subscription' | 'fundACause' | 'realEstate' | 'computingContract' | 'digitalArt' | 'topUp' | 'ownershipContract' | 'inGameCurrency' | 'digitalCollectibles' | 'digitalCollectiblesMarketplace' | 'digitalGiftingMarketplace' | 'sweepstakes' | 'virtualSportsEvents' | 'contractInvoicing' | 'onlineCasino' | 'cryptoOnramp' | 'gaming' | 'travelDocuments' | 'musicStreaming' | 'digitalContent' | 'eBooks' | 'digitalSubscriptionContent';
|
|
64
58
|
export declare namespace nftCartItem {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinflowlabs/vue",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.2",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"vite-plugin-dts": "^4.5.4",
|
|
47
47
|
"vitepress": "^1.6.4",
|
|
48
48
|
"vue": "^3.5.21",
|
|
49
|
-
"vue-tsc": "^3.0.
|
|
49
|
+
"vue-tsc": "^3.0.7"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"lz-string": "^1.5.0"
|