@coinflowlabs/react-native 4.0.6 → 4.2.0

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/README.md +4 -0
  2. package/build/common/CoinflowLibMessageHandlers.d.ts +3 -2
  3. package/build/common/CoinflowLibMessageHandlers.js +4 -1
  4. package/build/common/CoinflowLibMessageHandlers.js.map +1 -1
  5. package/build/common/CoinflowTypes.d.ts +67 -38
  6. package/build/common/CoinflowTypes.js.map +1 -1
  7. package/build/common/CoinflowUtils.d.ts +1 -1
  8. package/build/common/CoinflowUtils.js +4 -2
  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 +173 -0
  20. package/build/common/types/Subtotal.js +145 -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 +1 -1
  35. package/build/common/Subtotal.d.ts +0 -37
  36. package/build/common/Subtotal.js +0 -8
  37. package/build/common/Subtotal.js.map +0 -1
@@ -1,37 +0,0 @@
1
- export declare enum Currency {
2
- USD = "USD",
3
- EUR = "EUR",
4
- GBP = "GBP",
5
- BRL = "BRL"
6
- }
7
- export interface Cents {
8
- /**
9
- * @isInt Cents must be an integer
10
- * @minimum 0 Minimum Cents is 0
11
- */
12
- cents: number;
13
- }
14
- export interface CurrencyCents extends Cents {
15
- currency: Currency;
16
- }
17
- export interface TokenSubtotal {
18
- /**
19
- * The tokens address
20
- *
21
- * Solana - Token Mint Address
22
- * Evm - Token Contract Address
23
- */
24
- address: string;
25
- /**
26
- * Number of tokens
27
- */
28
- amount: number | string;
29
- /**
30
- * Number of decimals for the token
31
- */
32
- decimals?: number;
33
- }
34
- export type Subtotal = CurrencyCents | Cents | TokenSubtotal;
35
- export interface NearDeposit {
36
- yocto: string;
37
- }
@@ -1,8 +0,0 @@
1
- export var Currency;
2
- (function (Currency) {
3
- Currency["USD"] = "USD";
4
- Currency["EUR"] = "EUR";
5
- Currency["GBP"] = "GBP";
6
- Currency["BRL"] = "BRL";
7
- })(Currency || (Currency = {}));
8
- //# 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,QAKX;AALD,WAAY,QAAQ;IAClB,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;IACX,uBAAW,CAAA;AACb,CAAC,EALW,QAAQ,KAAR,QAAQ,QAKnB"}