@coinflowlabs/react-native 4.2.3 → 4.2.5-SNAPSHOT1
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.
- package/build/CoinflowWebView.js +9 -3
- package/build/CoinflowWebView.js.map +1 -1
- package/package.json +1 -1
- package/build/CoinflowPurchase.d.ts +0 -4
- package/build/CoinflowPurchase.js +0 -20
- package/build/CoinflowPurchase.js.map +0 -1
- package/build/CoinflowPurchaseHistory.d.ts +0 -4
- package/build/CoinflowPurchaseHistory.js +0 -16
- package/build/CoinflowPurchaseHistory.js.map +0 -1
- package/build/CoinflowSkeleton.d.ts +0 -6
- package/build/CoinflowSkeleton.js +0 -96
- package/build/CoinflowSkeleton.js.map +0 -1
- package/build/CoinflowWebView.d.ts +0 -17
- package/build/CoinflowWithdraw.d.ts +0 -4
- package/build/CoinflowWithdraw.js +0 -16
- package/build/CoinflowWithdraw.js.map +0 -1
- package/build/CoinflowWithdrawHistory.d.ts +0 -4
- package/build/CoinflowWithdrawHistory.js +0 -16
- package/build/CoinflowWithdrawHistory.js.map +0 -1
- package/build/common/CoinflowLibMessageHandlers.d.ts +0 -35
- package/build/common/CoinflowLibMessageHandlers.js +0 -258
- package/build/common/CoinflowLibMessageHandlers.js.map +0 -1
- package/build/common/CoinflowTypes.d.ts +0 -423
- package/build/common/CoinflowTypes.js +0 -39
- package/build/common/CoinflowTypes.js.map +0 -1
- package/build/common/CoinflowUtils.d.ts +0 -24
- package/build/common/CoinflowUtils.js +0 -244
- package/build/common/CoinflowUtils.js.map +0 -1
- package/build/common/SolanaPeerDeps.d.ts +0 -5
- package/build/common/SolanaPeerDeps.js +0 -17
- package/build/common/SolanaPeerDeps.js.map +0 -1
- package/build/common/card-form/TokenEx.d.ts +0 -171
- package/build/common/card-form/TokenEx.js +0 -12
- package/build/common/card-form/TokenEx.js.map +0 -1
- package/build/common/card-form/tokenexHelpers.d.ts +0 -43
- package/build/common/card-form/tokenexHelpers.js +0 -293
- package/build/common/card-form/tokenexHelpers.js.map +0 -1
- package/build/common/index.d.ts +0 -10
- package/build/common/index.js +0 -11
- package/build/common/index.js.map +0 -1
- package/build/common/types/AnyObject.d.ts +0 -5
- package/build/common/types/AnyObject.js +0 -2
- package/build/common/types/AnyObject.js.map +0 -1
- package/build/common/types/CartitemCommon.d.ts +0 -163
- package/build/common/types/CartitemCommon.js +0 -2
- package/build/common/types/CartitemCommon.js.map +0 -1
- package/build/common/types/Subtotal.d.ts +0 -172
- package/build/common/types/Subtotal.js +0 -276
- package/build/common/types/Subtotal.js.map +0 -1
- package/build/common/types/cryptoCartItem.d.ts +0 -62
- package/build/common/types/cryptoCartItem.js +0 -2
- package/build/common/types/cryptoCartItem.js.map +0 -1
- package/build/common/types/giftCardCartItem.d.ts +0 -58
- package/build/common/types/giftCardCartItem.js +0 -2
- package/build/common/types/giftCardCartItem.js.map +0 -1
- package/build/common/types/moneyTopUpCartItem.d.ts +0 -44
- package/build/common/types/moneyTopUpCartItem.js +0 -2
- package/build/common/types/moneyTopUpCartItem.js.map +0 -1
- package/build/common/types/nftCartItem.d.ts +0 -99
- package/build/common/types/nftCartItem.js +0 -44
- package/build/common/types/nftCartItem.js.map +0 -1
- package/build/index.d.ts +0 -6
- package/build/index.js +0 -7
- package/build/index.js.map +0 -1
|
@@ -1,276 +0,0 @@
|
|
|
1
|
-
var _a, _b;
|
|
2
|
-
export var Currency;
|
|
3
|
-
(function (Currency) {
|
|
4
|
-
Currency["USD"] = "USD";
|
|
5
|
-
Currency["AED"] = "AED";
|
|
6
|
-
Currency["AFN"] = "AFN";
|
|
7
|
-
Currency["ALL"] = "ALL";
|
|
8
|
-
Currency["ANG"] = "ANG";
|
|
9
|
-
Currency["AOA"] = "AOA";
|
|
10
|
-
Currency["AUD"] = "AUD";
|
|
11
|
-
Currency["AWG"] = "AWG";
|
|
12
|
-
Currency["AZN"] = "AZN";
|
|
13
|
-
Currency["BAM"] = "BAM";
|
|
14
|
-
Currency["BBD"] = "BBD";
|
|
15
|
-
Currency["BDT"] = "BDT";
|
|
16
|
-
Currency["BGN"] = "BGN";
|
|
17
|
-
Currency["BHD"] = "BHD";
|
|
18
|
-
Currency["BIF"] = "BIF";
|
|
19
|
-
Currency["BND"] = "BND";
|
|
20
|
-
Currency["BOB"] = "BOB";
|
|
21
|
-
Currency["BRL"] = "BRL";
|
|
22
|
-
Currency["BTN"] = "BTN";
|
|
23
|
-
Currency["BWP"] = "BWP";
|
|
24
|
-
Currency["BZD"] = "BZD";
|
|
25
|
-
Currency["CAD"] = "CAD";
|
|
26
|
-
Currency["CHF"] = "CHF";
|
|
27
|
-
Currency["CLP"] = "CLP";
|
|
28
|
-
Currency["CNY"] = "CNY";
|
|
29
|
-
Currency["COP"] = "COP";
|
|
30
|
-
Currency["CRC"] = "CRC";
|
|
31
|
-
Currency["CVE"] = "CVE";
|
|
32
|
-
Currency["CZK"] = "CZK";
|
|
33
|
-
Currency["DJF"] = "DJF";
|
|
34
|
-
Currency["DKK"] = "DKK";
|
|
35
|
-
Currency["DOP"] = "DOP";
|
|
36
|
-
Currency["DZD"] = "DZD";
|
|
37
|
-
Currency["EGP"] = "EGP";
|
|
38
|
-
Currency["ETB"] = "ETB";
|
|
39
|
-
Currency["EUR"] = "EUR";
|
|
40
|
-
Currency["GBP"] = "GBP";
|
|
41
|
-
Currency["GEL"] = "GEL";
|
|
42
|
-
Currency["GHS"] = "GHS";
|
|
43
|
-
Currency["GMD"] = "GMD";
|
|
44
|
-
Currency["GNF"] = "GNF";
|
|
45
|
-
Currency["GTQ"] = "GTQ";
|
|
46
|
-
Currency["GYD"] = "GYD";
|
|
47
|
-
Currency["HKD"] = "HKD";
|
|
48
|
-
Currency["HNL"] = "HNL";
|
|
49
|
-
Currency["HTG"] = "HTG";
|
|
50
|
-
Currency["HUF"] = "HUF";
|
|
51
|
-
Currency["IDR"] = "IDR";
|
|
52
|
-
Currency["INR"] = "INR";
|
|
53
|
-
Currency["IQD"] = "IQD";
|
|
54
|
-
Currency["IRR"] = "IRR";
|
|
55
|
-
Currency["ISK"] = "ISK";
|
|
56
|
-
Currency["JMD"] = "JMD";
|
|
57
|
-
Currency["JOD"] = "JOD";
|
|
58
|
-
Currency["JPY"] = "JPY";
|
|
59
|
-
Currency["KES"] = "KES";
|
|
60
|
-
Currency["KGS"] = "KGS";
|
|
61
|
-
Currency["KHR"] = "KHR";
|
|
62
|
-
Currency["KMF"] = "KMF";
|
|
63
|
-
Currency["KRW"] = "KRW";
|
|
64
|
-
Currency["KWD"] = "KWD";
|
|
65
|
-
Currency["KYD"] = "KYD";
|
|
66
|
-
Currency["KZT"] = "KZT";
|
|
67
|
-
Currency["LKR"] = "LKR";
|
|
68
|
-
Currency["LRD"] = "LRD";
|
|
69
|
-
Currency["LSL"] = "LSL";
|
|
70
|
-
Currency["LYD"] = "LYD";
|
|
71
|
-
Currency["MAD"] = "MAD";
|
|
72
|
-
Currency["MDL"] = "MDL";
|
|
73
|
-
Currency["MGA"] = "MGA";
|
|
74
|
-
Currency["MKD"] = "MKD";
|
|
75
|
-
Currency["MMK"] = "MMK";
|
|
76
|
-
Currency["MNT"] = "MNT";
|
|
77
|
-
Currency["MOP"] = "MOP";
|
|
78
|
-
Currency["MRU"] = "MRU";
|
|
79
|
-
Currency["MUR"] = "MUR";
|
|
80
|
-
Currency["MVR"] = "MVR";
|
|
81
|
-
Currency["MXN"] = "MXN";
|
|
82
|
-
Currency["MYR"] = "MYR";
|
|
83
|
-
Currency["NAD"] = "NAD";
|
|
84
|
-
Currency["NGN"] = "NGN";
|
|
85
|
-
Currency["NIO"] = "NIO";
|
|
86
|
-
Currency["NOK"] = "NOK";
|
|
87
|
-
Currency["NPR"] = "NPR";
|
|
88
|
-
Currency["NZD"] = "NZD";
|
|
89
|
-
Currency["OMR"] = "OMR";
|
|
90
|
-
Currency["PAB"] = "PAB";
|
|
91
|
-
Currency["PEN"] = "PEN";
|
|
92
|
-
Currency["PHP"] = "PHP";
|
|
93
|
-
Currency["PKR"] = "PKR";
|
|
94
|
-
Currency["PLN"] = "PLN";
|
|
95
|
-
Currency["PYG"] = "PYG";
|
|
96
|
-
Currency["QAR"] = "QAR";
|
|
97
|
-
Currency["RON"] = "RON";
|
|
98
|
-
Currency["RSD"] = "RSD";
|
|
99
|
-
Currency["RWF"] = "RWF";
|
|
100
|
-
Currency["SAR"] = "SAR";
|
|
101
|
-
Currency["SCR"] = "SCR";
|
|
102
|
-
Currency["SDG"] = "SDG";
|
|
103
|
-
Currency["SEK"] = "SEK";
|
|
104
|
-
Currency["SGD"] = "SGD";
|
|
105
|
-
Currency["SLE"] = "SLE";
|
|
106
|
-
Currency["SLL"] = "SLL";
|
|
107
|
-
Currency["SOS"] = "SOS";
|
|
108
|
-
Currency["STN"] = "STN";
|
|
109
|
-
Currency["SVC"] = "SVC";
|
|
110
|
-
Currency["SYP"] = "SYP";
|
|
111
|
-
Currency["SZL"] = "SZL";
|
|
112
|
-
Currency["THB"] = "THB";
|
|
113
|
-
Currency["TJS"] = "TJS";
|
|
114
|
-
Currency["TMT"] = "TMT";
|
|
115
|
-
Currency["TND"] = "TND";
|
|
116
|
-
Currency["TRY"] = "TRY";
|
|
117
|
-
Currency["TTD"] = "TTD";
|
|
118
|
-
Currency["TWD"] = "TWD";
|
|
119
|
-
Currency["TZS"] = "TZS";
|
|
120
|
-
Currency["UAH"] = "UAH";
|
|
121
|
-
Currency["UGX"] = "UGX";
|
|
122
|
-
Currency["UYU"] = "UYU";
|
|
123
|
-
Currency["UZS"] = "UZS";
|
|
124
|
-
Currency["VND"] = "VND";
|
|
125
|
-
Currency["XAF"] = "XAF";
|
|
126
|
-
Currency["XCD"] = "XCD";
|
|
127
|
-
Currency["XOF"] = "XOF";
|
|
128
|
-
Currency["XPF"] = "XPF";
|
|
129
|
-
Currency["YER"] = "YER";
|
|
130
|
-
Currency["ZAR"] = "ZAR";
|
|
131
|
-
Currency["ZMW"] = "ZMW";
|
|
132
|
-
})(Currency || (Currency = {}));
|
|
133
|
-
export var CurrencyToISO4217 = (_a = {},
|
|
134
|
-
_a[Currency.AED] = '784',
|
|
135
|
-
_a[Currency.AFN] = '971',
|
|
136
|
-
_a[Currency.ALL] = '008',
|
|
137
|
-
_a[Currency.ANG] = '532',
|
|
138
|
-
_a[Currency.AOA] = '973',
|
|
139
|
-
_a[Currency.AUD] = '036',
|
|
140
|
-
_a[Currency.AWG] = '533',
|
|
141
|
-
_a[Currency.AZN] = '944',
|
|
142
|
-
_a[Currency.BAM] = '977',
|
|
143
|
-
_a[Currency.BBD] = '052',
|
|
144
|
-
_a[Currency.BDT] = '050',
|
|
145
|
-
_a[Currency.BGN] = '975',
|
|
146
|
-
_a[Currency.BHD] = '048',
|
|
147
|
-
_a[Currency.BIF] = '108',
|
|
148
|
-
_a[Currency.BND] = '096',
|
|
149
|
-
_a[Currency.BOB] = '068',
|
|
150
|
-
_a[Currency.BRL] = '986',
|
|
151
|
-
_a[Currency.BTN] = '064',
|
|
152
|
-
_a[Currency.BWP] = '072',
|
|
153
|
-
_a[Currency.BZD] = '084',
|
|
154
|
-
_a[Currency.CAD] = '124',
|
|
155
|
-
_a[Currency.CHF] = '756',
|
|
156
|
-
_a[Currency.CLP] = '152',
|
|
157
|
-
_a[Currency.CNY] = '156',
|
|
158
|
-
_a[Currency.COP] = '170',
|
|
159
|
-
_a[Currency.CRC] = '188',
|
|
160
|
-
_a[Currency.CVE] = '132',
|
|
161
|
-
_a[Currency.CZK] = '203',
|
|
162
|
-
_a[Currency.DJF] = '262',
|
|
163
|
-
_a[Currency.DKK] = '208',
|
|
164
|
-
_a[Currency.DOP] = '214',
|
|
165
|
-
_a[Currency.DZD] = '012',
|
|
166
|
-
_a[Currency.EGP] = '818',
|
|
167
|
-
_a[Currency.ETB] = '230',
|
|
168
|
-
_a[Currency.EUR] = '978',
|
|
169
|
-
_a[Currency.GBP] = '826',
|
|
170
|
-
_a[Currency.GEL] = '981',
|
|
171
|
-
_a[Currency.GHS] = '936',
|
|
172
|
-
_a[Currency.GMD] = '270',
|
|
173
|
-
_a[Currency.GNF] = '324',
|
|
174
|
-
_a[Currency.GTQ] = '320',
|
|
175
|
-
_a[Currency.GYD] = '328',
|
|
176
|
-
_a[Currency.HKD] = '344',
|
|
177
|
-
_a[Currency.HNL] = '340',
|
|
178
|
-
_a[Currency.HTG] = '332',
|
|
179
|
-
_a[Currency.HUF] = '348',
|
|
180
|
-
_a[Currency.IDR] = '360',
|
|
181
|
-
_a[Currency.INR] = '356',
|
|
182
|
-
_a[Currency.IQD] = '368',
|
|
183
|
-
_a[Currency.IRR] = '364',
|
|
184
|
-
_a[Currency.ISK] = '352',
|
|
185
|
-
_a[Currency.JMD] = '388',
|
|
186
|
-
_a[Currency.JOD] = '400',
|
|
187
|
-
_a[Currency.JPY] = '392',
|
|
188
|
-
_a[Currency.KES] = '404',
|
|
189
|
-
_a[Currency.KGS] = '417',
|
|
190
|
-
_a[Currency.KHR] = '116',
|
|
191
|
-
_a[Currency.KMF] = '174',
|
|
192
|
-
_a[Currency.KRW] = '410',
|
|
193
|
-
_a[Currency.KWD] = '414',
|
|
194
|
-
_a[Currency.KYD] = '136',
|
|
195
|
-
_a[Currency.KZT] = '398',
|
|
196
|
-
_a[Currency.LKR] = '144',
|
|
197
|
-
_a[Currency.LRD] = '430',
|
|
198
|
-
_a[Currency.LSL] = '426',
|
|
199
|
-
_a[Currency.LYD] = '434',
|
|
200
|
-
_a[Currency.MAD] = '504',
|
|
201
|
-
_a[Currency.MDL] = '498',
|
|
202
|
-
_a[Currency.MGA] = '969',
|
|
203
|
-
_a[Currency.MKD] = '807',
|
|
204
|
-
_a[Currency.MMK] = '104',
|
|
205
|
-
_a[Currency.MNT] = '496',
|
|
206
|
-
_a[Currency.MOP] = '446',
|
|
207
|
-
_a[Currency.MRU] = '929',
|
|
208
|
-
_a[Currency.MUR] = '480',
|
|
209
|
-
_a[Currency.MVR] = '462',
|
|
210
|
-
_a[Currency.MXN] = '484',
|
|
211
|
-
_a[Currency.MYR] = '458',
|
|
212
|
-
_a[Currency.NAD] = '516',
|
|
213
|
-
_a[Currency.NGN] = '566',
|
|
214
|
-
_a[Currency.NIO] = '558',
|
|
215
|
-
_a[Currency.NOK] = '578',
|
|
216
|
-
_a[Currency.NPR] = '524',
|
|
217
|
-
_a[Currency.NZD] = '554',
|
|
218
|
-
_a[Currency.OMR] = '512',
|
|
219
|
-
_a[Currency.PAB] = '590',
|
|
220
|
-
_a[Currency.PEN] = '604',
|
|
221
|
-
_a[Currency.PHP] = '608',
|
|
222
|
-
_a[Currency.PKR] = '586',
|
|
223
|
-
_a[Currency.PLN] = '985',
|
|
224
|
-
_a[Currency.PYG] = '600',
|
|
225
|
-
_a[Currency.QAR] = '634',
|
|
226
|
-
_a[Currency.RON] = '946',
|
|
227
|
-
_a[Currency.RSD] = '941',
|
|
228
|
-
_a[Currency.RWF] = '646',
|
|
229
|
-
_a[Currency.SAR] = '682',
|
|
230
|
-
_a[Currency.SCR] = '690',
|
|
231
|
-
_a[Currency.SDG] = '938',
|
|
232
|
-
_a[Currency.SEK] = '752',
|
|
233
|
-
_a[Currency.SGD] = '702',
|
|
234
|
-
_a[Currency.SLE] = '925',
|
|
235
|
-
_a[Currency.SLL] = '694',
|
|
236
|
-
_a[Currency.SOS] = '706',
|
|
237
|
-
_a[Currency.STN] = '930',
|
|
238
|
-
_a[Currency.SVC] = '222',
|
|
239
|
-
_a[Currency.SYP] = '760',
|
|
240
|
-
_a[Currency.SZL] = '748',
|
|
241
|
-
_a[Currency.THB] = '764',
|
|
242
|
-
_a[Currency.TJS] = '972',
|
|
243
|
-
_a[Currency.TMT] = '934',
|
|
244
|
-
_a[Currency.TND] = '788',
|
|
245
|
-
_a[Currency.TRY] = '949',
|
|
246
|
-
_a[Currency.TTD] = '780',
|
|
247
|
-
_a[Currency.TWD] = '901',
|
|
248
|
-
_a[Currency.TZS] = '834',
|
|
249
|
-
_a[Currency.UAH] = '980',
|
|
250
|
-
_a[Currency.UGX] = '800',
|
|
251
|
-
_a[Currency.USD] = '840',
|
|
252
|
-
_a[Currency.UYU] = '858',
|
|
253
|
-
_a[Currency.UZS] = '860',
|
|
254
|
-
_a[Currency.VND] = '704',
|
|
255
|
-
_a[Currency.XAF] = '950',
|
|
256
|
-
_a[Currency.XCD] = '951',
|
|
257
|
-
_a[Currency.XOF] = '952',
|
|
258
|
-
_a[Currency.XPF] = '953',
|
|
259
|
-
_a[Currency.YER] = '886',
|
|
260
|
-
_a[Currency.ZAR] = '710',
|
|
261
|
-
_a[Currency.ZMW] = '967',
|
|
262
|
-
_a);
|
|
263
|
-
export var WithdrawCurrencies = (_b = {},
|
|
264
|
-
_b[Currency.USD] = Currency.USD,
|
|
265
|
-
_b[Currency.EUR] = Currency.EUR,
|
|
266
|
-
_b[Currency.GBP] = Currency.GBP,
|
|
267
|
-
_b[Currency.BRL] = Currency.BRL,
|
|
268
|
-
_b[Currency.CAD] = Currency.CAD,
|
|
269
|
-
_b);
|
|
270
|
-
export function isWithdrawCurrency(currency) {
|
|
271
|
-
return currency in WithdrawCurrencies;
|
|
272
|
-
}
|
|
273
|
-
export function isTypedCurrencyCents(cents, currency) {
|
|
274
|
-
return cents.currency === currency;
|
|
275
|
-
}
|
|
276
|
-
//# sourceMappingURL=Subtotal.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Subtotal.js","sourceRoot":"","sources":["../../../src/common/types/Subtotal.ts"],"names":[],"mappings":";AAAA,MAAM,CAAN,IAAY,QAiIX;AAjID,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,uBAAW,CAAA;IACX,uBAAW,CAAA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GAAG,IAAG,KAAK;IACrB,GAAC,QAAQ,CAAC,GAAG,IAAG,KAAK;IACrB,GAAC,QAAQ,CAAC,GAAG,IAAG,KAAK;IACrB,GAAC,QAAQ,CAAC,GAAG,IAAG,KAAK;IACrB,GAAC,QAAQ,CAAC,GAAG,IAAG,KAAK;IACrB,GAAC,QAAQ,CAAC,GAAG,IAAG,KAAK;OACtB,CAAC;AASF,MAAM,CAAC,IAAM,kBAAkB,GAAG,CAAA;IAChC,GAAC,QAAQ,CAAC,GAAG,IAAG,QAAQ,CAAC,GAAG;IAC5B,GAAC,QAAQ,CAAC,GAAG,IAAG,QAAQ,CAAC,GAAG;IAC5B,GAAC,QAAQ,CAAC,GAAG,IAAG,QAAQ,CAAC,GAAG;IAC5B,GAAC,QAAQ,CAAC,GAAG,IAAG,QAAQ,CAAC,GAAG;IAC5B,GAAC,QAAQ,CAAC,GAAG,IAAG,QAAQ,CAAC,GAAG;MACpB,CAAA,CAAC;AAEX,MAAM,UAAU,kBAAkB,CAChC,QAAkB;IAElB,OAAO,QAAQ,IAAI,kBAAkB,CAAC;AACxC,CAAC;AAkBD,MAAM,UAAU,oBAAoB,CAClC,KAAoB,EACpB,QAAW;IAEX,OAAO,KAAK,CAAC,QAAQ,KAAK,QAAQ,CAAC;AACrC,CAAC"}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { RecipientInfo, SellerInfo } from './CartitemCommon';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a crypto item in a shopping cart
|
|
4
|
-
*/
|
|
5
|
-
export interface CryptoCartItem {
|
|
6
|
-
/**
|
|
7
|
-
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
8
|
-
* Allowed value: crypto
|
|
9
|
-
* Example: crypto
|
|
10
|
-
*/
|
|
11
|
-
itemClass: 'crypto';
|
|
12
|
-
/**
|
|
13
|
-
* The cart items's unique ID
|
|
14
|
-
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
15
|
-
*/
|
|
16
|
-
id?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
19
|
-
* Example: {"any":"data","description":"This is the product description"}
|
|
20
|
-
*/
|
|
21
|
-
rawProductData?: Record<string, any>;
|
|
22
|
-
/**
|
|
23
|
-
* The amount in the crypto currency which is specified in the `cryptoCurrency` property
|
|
24
|
-
* Example: 1.04112
|
|
25
|
-
* Pattern: ^[0-9]+(\.[0-9]+)?$
|
|
26
|
-
*/
|
|
27
|
-
units: string;
|
|
28
|
-
/**
|
|
29
|
-
* The crypto-currency symbol (uppercase)
|
|
30
|
-
* Example: BTC
|
|
31
|
-
* Pattern: ^[A-Z0-9-]+$
|
|
32
|
-
*/
|
|
33
|
-
cryptoCurrency: string;
|
|
34
|
-
/**
|
|
35
|
-
* The price per 1 unit
|
|
36
|
-
*/
|
|
37
|
-
unitPrice: {
|
|
38
|
-
/**
|
|
39
|
-
* The amount in the currency, which is specified in the `currency` property
|
|
40
|
-
* Example: 90
|
|
41
|
-
*/
|
|
42
|
-
valueInCurrency: number;
|
|
43
|
-
/**
|
|
44
|
-
* Currency specified as a three letter code according to ISO 4217
|
|
45
|
-
* Example: USD
|
|
46
|
-
*/
|
|
47
|
-
currency: string;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* The expected delay in delivery, in hours
|
|
51
|
-
* Min value: 0
|
|
52
|
-
*/
|
|
53
|
-
expectedDeliveryDelay?: number;
|
|
54
|
-
/**
|
|
55
|
-
* The user's personal info
|
|
56
|
-
*/
|
|
57
|
-
recipientInfo: RecipientInfo;
|
|
58
|
-
/**
|
|
59
|
-
* Seller info
|
|
60
|
-
*/
|
|
61
|
-
seller?: SellerInfo;
|
|
62
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cryptoCartItem.js","sourceRoot":"","sources":["../../../src/common/types/cryptoCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { RecipientInfo, SellerInfo } from './CartitemCommon';
|
|
2
|
-
export interface GiftCardCartItem {
|
|
3
|
-
itemClass: 'giftCard';
|
|
4
|
-
productType: 'giftCard';
|
|
5
|
-
/**
|
|
6
|
-
* The cart items’s unique ID
|
|
7
|
-
*/
|
|
8
|
-
id: string;
|
|
9
|
-
/**
|
|
10
|
-
* The number of units sold
|
|
11
|
-
*/
|
|
12
|
-
quantity: number;
|
|
13
|
-
/**
|
|
14
|
-
* How the product was fulfilled.
|
|
15
|
-
*/
|
|
16
|
-
itemFulfillment: 'digital' | 'physical';
|
|
17
|
-
sellingPrice: {
|
|
18
|
-
valueInCurrency: number;
|
|
19
|
-
currency: string;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
23
|
-
*/
|
|
24
|
-
rawProductData?: Record<string, any>;
|
|
25
|
-
/**
|
|
26
|
-
* The stock-keeping unit (SKU) number
|
|
27
|
-
*/
|
|
28
|
-
sku?: string;
|
|
29
|
-
/**
|
|
30
|
-
* The name of the brand
|
|
31
|
-
*/
|
|
32
|
-
brand?: string;
|
|
33
|
-
/**
|
|
34
|
-
* The category in the site/app in which the item was classified (e.g., fashion)
|
|
35
|
-
*/
|
|
36
|
-
categories?: string[];
|
|
37
|
-
listPrice?: {
|
|
38
|
-
valueInCurrency: number;
|
|
39
|
-
currency: string;
|
|
40
|
-
};
|
|
41
|
-
isGift?: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* The user's personal info
|
|
44
|
-
*/
|
|
45
|
-
recipientInfo?: RecipientInfo;
|
|
46
|
-
/**
|
|
47
|
-
* The item's selling price
|
|
48
|
-
*/
|
|
49
|
-
seller?: SellerInfo;
|
|
50
|
-
/**
|
|
51
|
-
* The expected delay in delivery, in hours
|
|
52
|
-
*/
|
|
53
|
-
expectedDeliveryDelay?: number;
|
|
54
|
-
/**
|
|
55
|
-
* Represents whether the item amount is taken from a preset list, e.g. 25, 50, 100, etc. or whether it was a different amount, e.g. 27
|
|
56
|
-
*/
|
|
57
|
-
isPresetAmount?: boolean;
|
|
58
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"giftCardCartItem.js","sourceRoot":"","sources":["../../../src/common/types/giftCardCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { CurrencyAmount, RecipientInfo } from './CartitemCommon';
|
|
2
|
-
/**
|
|
3
|
-
* Represents a money top-up item in a shopping cart
|
|
4
|
-
*/
|
|
5
|
-
export interface MoneyTopUpCartItem {
|
|
6
|
-
/**
|
|
7
|
-
* Denotes the cart item class. The item schema is chosen based on this value.
|
|
8
|
-
* Allowed value: moneyTopUp
|
|
9
|
-
* Example: moneyTopUp
|
|
10
|
-
*/
|
|
11
|
-
itemClass: 'moneyTopUp';
|
|
12
|
-
/**
|
|
13
|
-
* The cart items's unique ID
|
|
14
|
-
* Example: 5de33332-546a-4171-8988-2a43d2bfe9c6
|
|
15
|
-
*/
|
|
16
|
-
id?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Any additional product data which can be provided, e.g. description, link to image, etc
|
|
19
|
-
* Example: {"any":"data","description":"This is the product description"}
|
|
20
|
-
*/
|
|
21
|
-
rawProductData?: Record<string, any>;
|
|
22
|
-
/**
|
|
23
|
-
* The item's selling price
|
|
24
|
-
*/
|
|
25
|
-
sellingPrice: CurrencyAmount;
|
|
26
|
-
/**
|
|
27
|
-
* The user's personal info
|
|
28
|
-
*/
|
|
29
|
-
recipientInfo?: RecipientInfo;
|
|
30
|
-
/**
|
|
31
|
-
* The item's topUp amount
|
|
32
|
-
*/
|
|
33
|
-
topUpAmount: CurrencyAmount;
|
|
34
|
-
/**
|
|
35
|
-
* Quantity
|
|
36
|
-
* Example: 2
|
|
37
|
-
*/
|
|
38
|
-
quantity: number;
|
|
39
|
-
/**
|
|
40
|
-
* Represents whether the item amount is taken from a preset list, e.g. 25, 50, 100, etc.
|
|
41
|
-
* or whether it was a different amount, e.g. 27
|
|
42
|
-
*/
|
|
43
|
-
isPresetAmount: boolean;
|
|
44
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"moneyTopUpCartItem.js","sourceRoot":"","sources":["../../../src/common/types/moneyTopUpCartItem.ts"],"names":[],"mappings":""}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { AnyObject } from './AnyObject';
|
|
2
|
-
/**
|
|
3
|
-
* An nft cart item
|
|
4
|
-
*/
|
|
5
|
-
export type nftCartItem = {
|
|
6
|
-
/**
|
|
7
|
-
* Denotes the cart item class. The item schema is chosen based on this value
|
|
8
|
-
*/
|
|
9
|
-
itemClass: 'nft';
|
|
10
|
-
/**
|
|
11
|
-
* The name of the related product
|
|
12
|
-
*
|
|
13
|
-
* @minLength 1
|
|
14
|
-
*/
|
|
15
|
-
productName: string;
|
|
16
|
-
/**
|
|
17
|
-
* The product type. Possible values include: inGameProduct, gameOfSkill, dataStorage, computingResources, sportsTicket, eSportsTicket, musicTicket, conferenceTicket, virtualSportsTicket, virtualESportsTicket, virtualMusicTicket, virtualConferenceTicket, alcohol, DLC, subscription, fundACause, realEstate, computingContract, digitalArt, topUp
|
|
18
|
-
*/
|
|
19
|
-
productType: productType;
|
|
20
|
-
/**
|
|
21
|
-
* The item's list price
|
|
22
|
-
*/
|
|
23
|
-
listPrice?: {
|
|
24
|
-
/**
|
|
25
|
-
* The amount in the currency, which is specified in the `currency` property
|
|
26
|
-
*/
|
|
27
|
-
valueInCurrency?: number;
|
|
28
|
-
/**
|
|
29
|
-
* Currency specified as a three letter code according to ISO 4217
|
|
30
|
-
*/
|
|
31
|
-
currency?: string;
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* The item's list price
|
|
35
|
-
*/
|
|
36
|
-
sellingPrice: {
|
|
37
|
-
/**
|
|
38
|
-
* The amount in the currency, which is specified in the `currency` property
|
|
39
|
-
*/
|
|
40
|
-
valueInCurrency?: number;
|
|
41
|
-
/**
|
|
42
|
-
* Currency specified as a three-letter code according to ISO 4217
|
|
43
|
-
*/
|
|
44
|
-
currency?: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* The number of units sold
|
|
48
|
-
*/
|
|
49
|
-
quantity: number;
|
|
50
|
-
/**
|
|
51
|
-
* Any additional data that the store can provide on the product, e.g. description, link to image, etc.
|
|
52
|
-
*/
|
|
53
|
-
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
|
-
};
|
|
62
|
-
};
|
|
63
|
-
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';
|
|
64
|
-
export declare namespace nftCartItem {
|
|
65
|
-
/**
|
|
66
|
-
* Denotes the cart item class. The item schema is chosen based on this value
|
|
67
|
-
*/
|
|
68
|
-
enum itemClass {
|
|
69
|
-
NFT = "nft"
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* The product type. Possible values include: inGameProduct, gameOfSkill, dataStorage, computingResources, sportsTicket, eSportsTicket, musicTicket, conferenceTicket, virtualSportsTicket, virtualESportsTicket, virtualMusicTicket, virtualConferenceTicket, alcohol, DLC, subscription, fundACause, realEstate, computingContract, digitalArt, topUp
|
|
73
|
-
*/
|
|
74
|
-
enum productType {
|
|
75
|
-
IN_GAME_PRODUCT = "inGameProduct",
|
|
76
|
-
GAME_OF_SKILL = "gameOfSkill",
|
|
77
|
-
DATA_STORAGE = "dataStorage",
|
|
78
|
-
COMPUTING_RESOURCES = "computingResources",
|
|
79
|
-
SPORTS_TICKET = "sportsTicket",
|
|
80
|
-
E_SPORTS_TICKET = "eSportsTicket",
|
|
81
|
-
MUSIC_TICKET = "musicTicket",
|
|
82
|
-
CONFERENCE_TICKET = "conferenceTicket",
|
|
83
|
-
VIRTUAL_SPORTS_TICKET = "virtualSportsTicket",
|
|
84
|
-
VIRTUAL_ESPORTS_TICKET = "virtualESportsTicket",
|
|
85
|
-
VIRTUAL_MUSIC_TICKET = "virtualMusicTicket",
|
|
86
|
-
VIRTUAL_CONFERENCE_TICKET = "virtualConferenceTicket",
|
|
87
|
-
ALCOHOL = "alcohol",
|
|
88
|
-
DLC = "DLC",
|
|
89
|
-
SUBSCRIPTION = "subscription",
|
|
90
|
-
FUND_ACAUSE = "fundACause",
|
|
91
|
-
REAL_ESTATE = "realEstate",
|
|
92
|
-
COMPUTING_CONTRACT = "computingContract",
|
|
93
|
-
DIGITAL_ART = "digitalArt",
|
|
94
|
-
TOP_UP = "topUp",
|
|
95
|
-
OWNERSHIP_CONTRACT = "ownershipContract",
|
|
96
|
-
IN_GAME_CURRENCY = "inGameCurrency",
|
|
97
|
-
MONEY_TOP_UP_CART_ITEM = "moneyTopUpCartItem"
|
|
98
|
-
}
|
|
99
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
export var nftCartItem;
|
|
6
|
-
(function (nftCartItem) {
|
|
7
|
-
/**
|
|
8
|
-
* Denotes the cart item class. The item schema is chosen based on this value
|
|
9
|
-
*/
|
|
10
|
-
var itemClass;
|
|
11
|
-
(function (itemClass) {
|
|
12
|
-
itemClass["NFT"] = "nft";
|
|
13
|
-
})(itemClass = nftCartItem.itemClass || (nftCartItem.itemClass = {}));
|
|
14
|
-
/**
|
|
15
|
-
* The product type. Possible values include: inGameProduct, gameOfSkill, dataStorage, computingResources, sportsTicket, eSportsTicket, musicTicket, conferenceTicket, virtualSportsTicket, virtualESportsTicket, virtualMusicTicket, virtualConferenceTicket, alcohol, DLC, subscription, fundACause, realEstate, computingContract, digitalArt, topUp
|
|
16
|
-
*/
|
|
17
|
-
var productType;
|
|
18
|
-
(function (productType) {
|
|
19
|
-
productType["IN_GAME_PRODUCT"] = "inGameProduct";
|
|
20
|
-
productType["GAME_OF_SKILL"] = "gameOfSkill";
|
|
21
|
-
productType["DATA_STORAGE"] = "dataStorage";
|
|
22
|
-
productType["COMPUTING_RESOURCES"] = "computingResources";
|
|
23
|
-
productType["SPORTS_TICKET"] = "sportsTicket";
|
|
24
|
-
productType["E_SPORTS_TICKET"] = "eSportsTicket";
|
|
25
|
-
productType["MUSIC_TICKET"] = "musicTicket";
|
|
26
|
-
productType["CONFERENCE_TICKET"] = "conferenceTicket";
|
|
27
|
-
productType["VIRTUAL_SPORTS_TICKET"] = "virtualSportsTicket";
|
|
28
|
-
productType["VIRTUAL_ESPORTS_TICKET"] = "virtualESportsTicket";
|
|
29
|
-
productType["VIRTUAL_MUSIC_TICKET"] = "virtualMusicTicket";
|
|
30
|
-
productType["VIRTUAL_CONFERENCE_TICKET"] = "virtualConferenceTicket";
|
|
31
|
-
productType["ALCOHOL"] = "alcohol";
|
|
32
|
-
productType["DLC"] = "DLC";
|
|
33
|
-
productType["SUBSCRIPTION"] = "subscription";
|
|
34
|
-
productType["FUND_ACAUSE"] = "fundACause";
|
|
35
|
-
productType["REAL_ESTATE"] = "realEstate";
|
|
36
|
-
productType["COMPUTING_CONTRACT"] = "computingContract";
|
|
37
|
-
productType["DIGITAL_ART"] = "digitalArt";
|
|
38
|
-
productType["TOP_UP"] = "topUp";
|
|
39
|
-
productType["OWNERSHIP_CONTRACT"] = "ownershipContract";
|
|
40
|
-
productType["IN_GAME_CURRENCY"] = "inGameCurrency";
|
|
41
|
-
productType["MONEY_TOP_UP_CART_ITEM"] = "moneyTopUpCartItem";
|
|
42
|
-
})(productType = nftCartItem.productType || (nftCartItem.productType = {}));
|
|
43
|
-
})(nftCartItem || (nftCartItem = {}));
|
|
44
|
-
//# sourceMappingURL=nftCartItem.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nftCartItem.js","sourceRoot":"","sources":["../../../src/common/types/nftCartItem.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,0BAA0B;AAC1B,oBAAoB;AACpB,oBAAoB;AA0FpB,MAAM,KAAW,WAAW,CAoC3B;AApCD,WAAiB,WAAW;IAC1B;;OAEG;IACH,IAAY,SAEX;IAFD,WAAY,SAAS;QACnB,wBAAW,CAAA;IACb,CAAC,EAFW,SAAS,GAAT,qBAAS,KAAT,qBAAS,QAEpB;IAED;;OAEG;IACH,IAAY,WAwBX;IAxBD,WAAY,WAAW;QACrB,gDAAiC,CAAA;QACjC,4CAA6B,CAAA;QAC7B,2CAA4B,CAAA;QAC5B,yDAA0C,CAAA;QAC1C,6CAA8B,CAAA;QAC9B,gDAAiC,CAAA;QACjC,2CAA4B,CAAA;QAC5B,qDAAsC,CAAA;QACtC,4DAA6C,CAAA;QAC7C,8DAA+C,CAAA;QAC/C,0DAA2C,CAAA;QAC3C,oEAAqD,CAAA;QACrD,kCAAmB,CAAA;QACnB,0BAAW,CAAA;QACX,4CAA6B,CAAA;QAC7B,yCAA0B,CAAA;QAC1B,yCAA0B,CAAA;QAC1B,uDAAwC,CAAA;QACxC,yCAA0B,CAAA;QAC1B,+BAAgB,CAAA;QAChB,uDAAwC,CAAA;QACxC,kDAAmC,CAAA;QACnC,4DAA6C,CAAA;IAC/C,CAAC,EAxBW,WAAW,GAAX,uBAAW,KAAX,uBAAW,QAwBtB;AACH,CAAC,EApCgB,WAAW,KAAX,WAAW,QAoC3B"}
|
package/build/index.d.ts
DELETED
package/build/index.js
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import 'react-native-get-random-values';
|
|
2
|
-
export * from './CoinflowWithdraw';
|
|
3
|
-
export * from './CoinflowPurchase';
|
|
4
|
-
export * from './CoinflowPurchaseHistory';
|
|
5
|
-
export * from './CoinflowWithdrawHistory';
|
|
6
|
-
export * from './common';
|
|
7
|
-
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC;AAExC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,UAAU,CAAC"}
|