@coinflowlabs/react-native 4.1.0 → 4.2.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 (37) hide show
  1. package/build/CoinflowSkeleton.d.ts +6 -0
  2. package/build/CoinflowSkeleton.js +96 -0
  3. package/build/CoinflowSkeleton.js.map +1 -0
  4. package/build/CoinflowWebView.js +29 -11
  5. package/build/CoinflowWebView.js.map +1 -1
  6. package/build/common/CoinflowTypes.d.ts +65 -37
  7. package/build/common/CoinflowTypes.js.map +1 -1
  8. package/build/common/CoinflowUtils.js +1 -1
  9. package/build/common/CoinflowUtils.js.map +1 -1
  10. package/build/common/index.d.ts +5 -1
  11. package/build/common/index.js +5 -1
  12. package/build/common/index.js.map +1 -1
  13. package/build/common/types/AnyObject.d.ts +5 -0
  14. package/build/common/types/AnyObject.js +2 -0
  15. package/build/common/types/AnyObject.js.map +1 -0
  16. package/build/common/types/CartitemCommon.d.ts +163 -0
  17. package/build/common/types/CartitemCommon.js +2 -0
  18. package/build/common/types/CartitemCommon.js.map +1 -0
  19. package/build/common/types/Subtotal.d.ts +174 -0
  20. package/build/common/types/Subtotal.js +146 -0
  21. package/build/common/types/Subtotal.js.map +1 -0
  22. package/build/common/types/cryptoCartItem.d.ts +62 -0
  23. package/build/common/types/cryptoCartItem.js +2 -0
  24. package/build/common/types/cryptoCartItem.js.map +1 -0
  25. package/build/common/types/giftCardCartItem.d.ts +58 -0
  26. package/build/common/types/giftCardCartItem.js +2 -0
  27. package/build/common/types/giftCardCartItem.js.map +1 -0
  28. package/build/common/types/moneyTopUpCartItem.d.ts +44 -0
  29. package/build/common/types/moneyTopUpCartItem.js +2 -0
  30. package/build/common/types/moneyTopUpCartItem.js.map +1 -0
  31. package/build/common/types/nftCartItem.d.ts +99 -0
  32. package/build/common/types/nftCartItem.js +44 -0
  33. package/build/common/types/nftCartItem.js.map +1 -0
  34. package/package.json +2 -2
  35. package/build/common/Subtotal.d.ts +0 -86
  36. package/build/common/Subtotal.js +0 -59
  37. package/build/common/Subtotal.js.map +0 -1
@@ -1,86 +0,0 @@
1
- export declare enum Currency {
2
- USD = "USD",// Dollar - USA
3
- EUR = "EUR",// Euro - European Union
4
- GBP = "GBP",// Pound - United Kingdom
5
- BRL = "BRL",// Real - Brazil
6
- ARS = "ARS",// Peso - Argentina
7
- BHD = "BHD",// Dinar - Bahrain
8
- BWP = "BWP",// Pula - Botswana
9
- BND = "BND",// Dollar - Brunei
10
- BGN = "BGN",// Lev - Bulgaria
11
- CLP = "CLP",// Peso - Chile
12
- HRK = "HRK",// Kuna - Croatia
13
- DJF = "DJF",// Djibouti Franc - Djibouti
14
- DOP = "DOP",// Peso - Dominican Republic
15
- EGP = "EGP",// Pounds - Egypt
16
- GEL = "GEL",// Lari - Georgia
17
- HUF = "HUF",// Forint - Hungary
18
- ISK = "ISK",// Krona - Iceland
19
- INR = "INR",// Rupees - India
20
- ILS = "ILS",// New Shekel - Israel
21
- JMD = "JMD",// Dollar - Jamaica
22
- JOD = "JOD",// Dinar - Jordan
23
- KZT = "KZT",// Tenge - Kazakhstan
24
- KWD = "KWD",// Dinar - Kuwait
25
- KGS = "KGS",// Som - Kyrgyzstan
26
- LVL = "LVL",// Lat - Latvia
27
- LTL = "LTL",// Litai - Lithuania
28
- MWK = "MWK",// Kwacha - Malawi
29
- MYR = "MYR",// Ringgit - Malaysia
30
- MUR = "MUR",// Rupee - Mauritius
31
- MXN = "MXN",// Peso - Mexico
32
- MAD = "MAD",// Dirham - Morocco
33
- NAD = "NAD",// Dollar - Namibia
34
- NZD = "NZD",// Dollars - New Zealand
35
- PEN = "PEN",// Nuevo Sol - Peru
36
- PHP = "PHP",// Peso - Philippines
37
- PLN = "PLN",// Zloty - Poland
38
- RON = "RON",// Leu - Romania
39
- SAR = "SAR",// Riyal - Saudi Arabia
40
- SGD = "SGD",// Dollar - Singapore
41
- LKR = "LKR",// Rupee - Sri Lanka
42
- TWD = "TWD",// New Dollar - Taiwan
43
- TZS = "TZS",// Shilling - Tanzania
44
- THB = "THB",// Baht - Thailand
45
- TRY = "TRY",// New Lira - Turkey
46
- UAH = "UAH"
47
- }
48
- export type WithdrawCurrency = Currency.USD | Currency.EUR | Currency.GBP | Currency.BRL;
49
- export declare const WithdrawCurrencies: {
50
- readonly USD: Currency.USD;
51
- readonly EUR: Currency.EUR;
52
- readonly GBP: Currency.GBP;
53
- readonly BRL: Currency.BRL;
54
- };
55
- export declare function isWithdrawCurrency(currency: Currency): currency is WithdrawCurrency;
56
- export interface Cents {
57
- /**
58
- * @isInt Cents must be an integer
59
- * @minimum 0 Minimum Cents is 0
60
- */
61
- cents: number;
62
- }
63
- export interface CurrencyCents extends Cents {
64
- currency: Currency;
65
- }
66
- export interface TokenSubtotal {
67
- /**
68
- * The tokens address
69
- *
70
- * Solana - Token Mint Address
71
- * Evm - Token Contract Address
72
- */
73
- address: string;
74
- /**
75
- * Number of tokens
76
- */
77
- amount: number | string;
78
- /**
79
- * Number of decimals for the token
80
- */
81
- decimals?: number;
82
- }
83
- export type Subtotal = CurrencyCents | Cents | TokenSubtotal;
84
- export interface NearDeposit {
85
- yocto: string;
86
- }
@@ -1,59 +0,0 @@
1
- var _a;
2
- export var Currency;
3
- (function (Currency) {
4
- Currency["USD"] = "USD";
5
- Currency["EUR"] = "EUR";
6
- Currency["GBP"] = "GBP";
7
- Currency["BRL"] = "BRL";
8
- Currency["ARS"] = "ARS";
9
- Currency["BHD"] = "BHD";
10
- Currency["BWP"] = "BWP";
11
- Currency["BND"] = "BND";
12
- Currency["BGN"] = "BGN";
13
- Currency["CLP"] = "CLP";
14
- Currency["HRK"] = "HRK";
15
- Currency["DJF"] = "DJF";
16
- Currency["DOP"] = "DOP";
17
- Currency["EGP"] = "EGP";
18
- Currency["GEL"] = "GEL";
19
- Currency["HUF"] = "HUF";
20
- Currency["ISK"] = "ISK";
21
- Currency["INR"] = "INR";
22
- Currency["ILS"] = "ILS";
23
- Currency["JMD"] = "JMD";
24
- Currency["JOD"] = "JOD";
25
- Currency["KZT"] = "KZT";
26
- Currency["KWD"] = "KWD";
27
- Currency["KGS"] = "KGS";
28
- Currency["LVL"] = "LVL";
29
- Currency["LTL"] = "LTL";
30
- Currency["MWK"] = "MWK";
31
- Currency["MYR"] = "MYR";
32
- Currency["MUR"] = "MUR";
33
- Currency["MXN"] = "MXN";
34
- Currency["MAD"] = "MAD";
35
- Currency["NAD"] = "NAD";
36
- Currency["NZD"] = "NZD";
37
- Currency["PEN"] = "PEN";
38
- Currency["PHP"] = "PHP";
39
- Currency["PLN"] = "PLN";
40
- Currency["RON"] = "RON";
41
- Currency["SAR"] = "SAR";
42
- Currency["SGD"] = "SGD";
43
- Currency["LKR"] = "LKR";
44
- Currency["TWD"] = "TWD";
45
- Currency["TZS"] = "TZS";
46
- Currency["THB"] = "THB";
47
- Currency["TRY"] = "TRY";
48
- Currency["UAH"] = "UAH";
49
- })(Currency || (Currency = {}));
50
- export var WithdrawCurrencies = (_a = {},
51
- _a[Currency.USD] = Currency.USD,
52
- _a[Currency.EUR] = Currency.EUR,
53
- _a[Currency.GBP] = Currency.GBP,
54
- _a[Currency.BRL] = Currency.BRL,
55
- _a);
56
- export function isWithdrawCurrency(currency) {
57
- return currency in WithdrawCurrencies;
58
- }
59
- //# sourceMappingURL=Subtotal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Subtotal.js","sourceRoot":"","sources":["../../src/common/Subtotal.ts"],"names":[],"mappings":";AAAA,MAAM,CAAN,IAAY,QA8CX;AA9CD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,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