@cimplify/sdk 0.84.0 → 0.86.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 (70) hide show
  1. package/dist/advanced.d.mts +3 -3
  2. package/dist/advanced.d.ts +3 -3
  3. package/dist/advanced.js +22 -22
  4. package/dist/advanced.mjs +3 -3
  5. package/dist/{chunk-I6RE4BKH.mjs → chunk-A2GXDCSI.mjs} +2 -2
  6. package/dist/{chunk-XA3ZNR75.js → chunk-AETVRBKI.js} +1 -1
  7. package/dist/{chunk-PLTP6HWW.mjs → chunk-D6JWYYTG.mjs} +20 -20
  8. package/dist/{chunk-ODEPW244.js → chunk-ESGKWRQS.js} +4 -4
  9. package/dist/{chunk-GFM5JW45.js → chunk-HJEKXCG2.js} +62 -62
  10. package/dist/{chunk-AMZXALF6.mjs → chunk-K5EN2W2Q.mjs} +1 -1
  11. package/dist/{chunk-TD3AY34U.mjs → chunk-KFLGQGMC.mjs} +3 -3
  12. package/dist/{chunk-NWUEWUX2.mjs → chunk-MRL53WP6.mjs} +2 -2
  13. package/dist/{chunk-7BM56JET.mjs → chunk-NN3WC7XZ.mjs} +3 -3
  14. package/dist/{chunk-7Y2O3E4D.js → chunk-PTPOQVXS.js} +5 -5
  15. package/dist/{chunk-HPN5R3K2.js → chunk-VUG4HTUM.js} +23 -23
  16. package/dist/{chunk-FKBXZ2A6.js → chunk-X4UNISYG.js} +22 -22
  17. package/dist/{client-CINi3Dw3.d.ts → client-BQSRj4iK.d.mts} +528 -539
  18. package/dist/{client-Ba4Hng9i.d.mts → client-BdI24jUT.d.ts} +528 -539
  19. package/dist/{client-D8AjO8jb.d.ts → client-CMJO_8zo.d.ts} +2 -2
  20. package/dist/{client-BjUJapti.d.mts → client-DowGNrTh.d.mts} +2 -2
  21. package/dist/{index-DCPxHjbj.d.ts → index-BRwHpMY-.d.ts} +3 -3
  22. package/dist/{index-9Bl-zBAI.d.mts → index-DLb_Ldl6.d.mts} +3 -3
  23. package/dist/index.d.mts +6 -6
  24. package/dist/index.d.ts +6 -6
  25. package/dist/index.js +117 -117
  26. package/dist/index.mjs +5 -5
  27. package/dist/mock/cli.mjs +659 -355
  28. package/dist/mock/library.js +20 -20
  29. package/dist/mock/library.mjs +20 -20
  30. package/dist/mock/msw.js +20 -20
  31. package/dist/mock/msw.mjs +20 -20
  32. package/dist/{payment-BVv9leS_.d.ts → payment-BA7KNBxg.d.ts} +3 -3
  33. package/dist/{payment-D61iGd0o.d.mts → payment-CFev-fOE.d.mts} +3 -3
  34. package/dist/{price-BYWCHYO5.d.ts → price-BNhGVB5q.d.ts} +3 -1
  35. package/dist/{price-Cthq6nPb.d.mts → price-nRxqVNGq.d.mts} +3 -1
  36. package/dist/product-BGxIfTqJ.d.mts +5400 -0
  37. package/dist/product-BGxIfTqJ.d.ts +5400 -0
  38. package/dist/react.d.mts +22 -7
  39. package/dist/react.d.ts +22 -7
  40. package/dist/react.js +177 -155
  41. package/dist/react.mjs +57 -36
  42. package/dist/{server-BjQ0xWmc.d.mts → server-9u0LiG5U.d.mts} +1 -1
  43. package/dist/{server-DDaQIYLa.d.ts → server-BH7DTaaz.d.ts} +1 -1
  44. package/dist/server.d.mts +4 -4
  45. package/dist/server.d.ts +4 -4
  46. package/dist/server.js +10 -10
  47. package/dist/server.mjs +4 -4
  48. package/dist/styles.css +1 -1
  49. package/dist/testing/msw.d.mts +2 -2
  50. package/dist/testing/msw.d.ts +2 -2
  51. package/dist/testing/msw.js +3 -3
  52. package/dist/testing/msw.mjs +2 -2
  53. package/dist/testing/suite.d.mts +6 -6
  54. package/dist/testing/suite.d.ts +6 -6
  55. package/dist/testing/suite.js +25 -25
  56. package/dist/testing/suite.mjs +6 -6
  57. package/dist/testing.d.mts +5 -5
  58. package/dist/testing.d.ts +5 -5
  59. package/dist/testing.js +81 -81
  60. package/dist/testing.mjs +7 -7
  61. package/dist/utils.d.mts +4 -4
  62. package/dist/utils.d.ts +4 -4
  63. package/dist/utils.js +29 -29
  64. package/dist/utils.mjs +2 -2
  65. package/package.json +25 -22
  66. package/registry/currency-selector.json +1 -1
  67. package/registry/digital-product-card.json +1 -1
  68. package/registry/digital-product-layout.json +1 -1
  69. package/dist/product-2MAoE0kZ.d.mts +0 -1570
  70. package/dist/product-2MAoE0kZ.d.ts +0 -1570
@@ -1,7 +1,7 @@
1
- import { aM as Money, ab as CurrencyCode } from './product-2MAoE0kZ.js';
1
+ import { aM as Money, ab as CurrencyCode } from './product-BGxIfTqJ.js';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
- type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtnmomo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
4
+ type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
5
5
  type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
6
6
  mobile_money: {
7
7
  provider: string;
@@ -39,7 +39,7 @@ interface AddressAuthorizationData {
39
39
  state: string;
40
40
  zip_code: string;
41
41
  }
42
- type AuthorizationType = "otp" | "pin" | "phone" | "birthday" | "address" | {
42
+ type AuthorizationType = "otp" | "pin" | "phone" | "birthday" | {
43
43
  address: AddressAuthorizationData;
44
44
  };
45
45
  type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
@@ -1,7 +1,7 @@
1
- import { aM as Money, ab as CurrencyCode } from './product-2MAoE0kZ.mjs';
1
+ import { aM as Money, ab as CurrencyCode } from './product-BGxIfTqJ.mjs';
2
2
 
3
3
  type PaymentStatus = "initialized" | "pending" | "processing" | "authorized" | "captured" | "failed" | "cancelled" | "refunded" | "unknown" | "voided" | "requires_action" | "abandoned" | "reversed" | "disputed" | "refund_pending";
4
- type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtnmomo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
4
+ type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtn_momo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
5
5
  type PaymentMethodType = "card" | "bank_transfer" | "cash" | {
6
6
  mobile_money: {
7
7
  provider: string;
@@ -39,7 +39,7 @@ interface AddressAuthorizationData {
39
39
  state: string;
40
40
  zip_code: string;
41
41
  }
42
- type AuthorizationType = "otp" | "pin" | "phone" | "birthday" | "address" | {
42
+ type AuthorizationType = "otp" | "pin" | "phone" | "birthday" | {
43
43
  address: AddressAuthorizationData;
44
44
  };
45
45
  type PaymentProcessingState = "initial" | "preparing" | "processing" | "verifying" | "awaiting_authorization" | "success" | "error" | "timeout";
@@ -1,4 +1,4 @@
1
- import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo } from './product-2MAoE0kZ.js';
1
+ import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo, bB as UpcomingSale } from './product-BGxIfTqJ.js';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -8,6 +8,8 @@ interface ProductWithPrice {
8
8
  currency?: CurrencyCode | null;
9
9
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
10
10
  sale?: SaleInfo | null;
11
+ /** A recurring sale that returns soon — present only when there's no live `sale`. */
12
+ upcoming_sale?: UpcomingSale | null;
11
13
  }
12
14
  interface FormatPriceOptions {
13
15
  currency?: CurrencyCode;
@@ -1,4 +1,4 @@
1
- import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo } from './product-2MAoE0kZ.mjs';
1
+ import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo, bB as UpcomingSale } from './product-BGxIfTqJ.mjs';
2
2
 
3
3
  interface ProductWithPrice {
4
4
  price_info?: ChosenPrice;
@@ -8,6 +8,8 @@ interface ProductWithPrice {
8
8
  currency?: CurrencyCode | null;
9
9
  /** Sales-engine overlay from the pricing API, when the product is on sale. */
10
10
  sale?: SaleInfo | null;
11
+ /** A recurring sale that returns soon — present only when there's no live `sale`. */
12
+ upcoming_sale?: UpcomingSale | null;
11
13
  }
12
14
  interface FormatPriceOptions {
13
15
  currency?: CurrencyCode;