@coinlist-co/react 0.2.0 → 0.3.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 (47) hide show
  1. package/dist/RequirementItem-BpkJQep8.d.ts +37 -0
  2. package/dist/RequirementItem-BvwsFu9e.d.cts +37 -0
  3. package/dist/{chunk-G3B4RLXP.js → chunk-IADBIDY6.js} +3 -3
  4. package/dist/chunk-IDCROXPS.js +412 -0
  5. package/dist/chunk-IDCROXPS.js.map +1 -0
  6. package/dist/{chunk-Z5RFQOMS.js → chunk-P4DTIPEX.js} +71 -8
  7. package/dist/chunk-P4DTIPEX.js.map +1 -0
  8. package/dist/{chunk-32GOUV3L.js → chunk-V5M7SA3C.js} +47 -4
  9. package/dist/chunk-V5M7SA3C.js.map +1 -0
  10. package/dist/client/components/index.cjs +467 -5
  11. package/dist/client/components/index.cjs.map +1 -1
  12. package/dist/client/components/index.d.cts +61 -11
  13. package/dist/client/components/index.d.ts +61 -11
  14. package/dist/client/components/index.js +268 -240
  15. package/dist/client/components/index.js.map +1 -1
  16. package/dist/client/core/index.cjs +68 -7
  17. package/dist/client/core/index.cjs.map +1 -1
  18. package/dist/client/core/index.d.cts +2 -2
  19. package/dist/client/core/index.d.ts +2 -2
  20. package/dist/client/core/index.js +3 -1
  21. package/dist/client/hooks/index.cjs +49 -6
  22. package/dist/client/hooks/index.cjs.map +1 -1
  23. package/dist/client/hooks/index.d.cts +6 -5
  24. package/dist/client/hooks/index.d.ts +6 -5
  25. package/dist/client/hooks/index.js +5 -3
  26. package/dist/client/index.cjs +166 -13
  27. package/dist/client/index.cjs.map +1 -1
  28. package/dist/client/index.d.cts +6 -4
  29. package/dist/client/index.d.ts +6 -4
  30. package/dist/client/index.js +20 -2
  31. package/dist/client/styles.css +1 -1
  32. package/dist/{coinlist-client-20v7fJSW.d.ts → coinlist-client-B_dJkbwB.d.ts} +33 -144
  33. package/dist/{coinlist-client-Ds86ycAg.d.cts → coinlist-client-DBKa6j3f.d.cts} +33 -144
  34. package/dist/requirement-CxbdY8l4.d.cts +202 -0
  35. package/dist/requirement-fJsQ3f9_.d.ts +202 -0
  36. package/dist/{useCoinListOffers-DIdOb5hB.d.ts → useCoinListOffers-C5lBlzcC.d.ts} +1 -1
  37. package/dist/{useCoinListOffers-DvJxu6qj.d.cts → useCoinListOffers-CguwXaCX.d.cts} +1 -1
  38. package/dist/useCoinListRequirements-BECx1cIw.d.ts +31 -0
  39. package/dist/useCoinListRequirements-CX2gV9gJ.d.cts +31 -0
  40. package/dist/{useCompleteCoinListOAuth-C359mp_k.d.cts → useCompleteCoinListOAuth-BRhAqD4_.d.cts} +1 -1
  41. package/dist/{useCompleteCoinListOAuth-wZX3o8r2.d.ts → useCompleteCoinListOAuth-DEZpHjd6.d.ts} +1 -1
  42. package/package.json +4 -4
  43. package/dist/chunk-32GOUV3L.js.map +0 -1
  44. package/dist/chunk-Z5RFQOMS.js.map +0 -1
  45. package/dist/offer-D6p_Ijme.d.cts +0 -30
  46. package/dist/offer-DnFEFJw9.d.ts +0 -30
  47. /package/dist/{chunk-G3B4RLXP.js.map → chunk-IADBIDY6.js.map} +0 -0
@@ -1,30 +0,0 @@
1
- import { N as Newtype } from './newtype-yKTvFdg_.cjs';
2
-
3
- type OfferDto = {
4
- id: string;
5
- slug: string;
6
- tagline: string | null | undefined;
7
- banner_url: string | null | undefined;
8
- logo_url: string | null | undefined;
9
- starts_at: string;
10
- ends_at: string;
11
- };
12
-
13
- type OfferId = Newtype<string, 'OfferId'>;
14
- declare const OfferId: (value: string) => OfferId;
15
- type OfferSlug = Newtype<string, 'OfferSlug'>;
16
- declare const OfferSlug: (value: string) => OfferSlug;
17
- type Offer = {
18
- id: OfferId;
19
- slug: OfferSlug;
20
- tagline: string | null;
21
- bannerUrl: string | null;
22
- logoUrl: string | null;
23
- startsAt: Date;
24
- endsAt: Date;
25
- };
26
- declare const Offer: {
27
- fromDto: (dto: OfferDto) => Offer;
28
- };
29
-
30
- export { Offer as O, OfferId as a, OfferSlug as b };
@@ -1,30 +0,0 @@
1
- import { N as Newtype } from './newtype-yKTvFdg_.js';
2
-
3
- type OfferDto = {
4
- id: string;
5
- slug: string;
6
- tagline: string | null | undefined;
7
- banner_url: string | null | undefined;
8
- logo_url: string | null | undefined;
9
- starts_at: string;
10
- ends_at: string;
11
- };
12
-
13
- type OfferId = Newtype<string, 'OfferId'>;
14
- declare const OfferId: (value: string) => OfferId;
15
- type OfferSlug = Newtype<string, 'OfferSlug'>;
16
- declare const OfferSlug: (value: string) => OfferSlug;
17
- type Offer = {
18
- id: OfferId;
19
- slug: OfferSlug;
20
- tagline: string | null;
21
- bannerUrl: string | null;
22
- logoUrl: string | null;
23
- startsAt: Date;
24
- endsAt: Date;
25
- };
26
- declare const Offer: {
27
- fromDto: (dto: OfferDto) => Offer;
28
- };
29
-
30
- export { Offer as O, OfferId as a, OfferSlug as b };