@cimplify/sdk 0.85.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 (69) 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-DU4IX2I2.mjs → chunk-A2GXDCSI.mjs} +2 -2
  6. package/dist/{chunk-XA3ZNR75.js → chunk-AETVRBKI.js} +1 -1
  7. package/dist/{chunk-GIFVSWYJ.mjs → chunk-D6JWYYTG.mjs} +2 -2
  8. package/dist/{chunk-A6J7W6DH.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-NWTCBGJ2.js → chunk-X4UNISYG.js} +4 -4
  17. package/dist/{client-WKKxIiF1.d.ts → client-BQSRj4iK.d.mts} +528 -539
  18. package/dist/{client-DLtwQ-jI.d.mts → client-BdI24jUT.d.ts} +528 -539
  19. package/dist/{client-BT5gaiGR.d.ts → client-CMJO_8zo.d.ts} +2 -2
  20. package/dist/{client-BEhIE0Dm.d.mts → client-DowGNrTh.d.mts} +2 -2
  21. package/dist/{index-BrC1x2kK.d.ts → index-BRwHpMY-.d.ts} +3 -3
  22. package/dist/{index-DZz6hdrT.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 +2 -2
  28. package/dist/mock/library.js +2 -2
  29. package/dist/mock/library.mjs +2 -2
  30. package/dist/mock/msw.js +2 -2
  31. package/dist/mock/msw.mjs +2 -2
  32. package/dist/{payment-D1f3ZQPC.d.ts → payment-BA7KNBxg.d.ts} +3 -3
  33. package/dist/{payment-Dh-6cRcV.d.mts → payment-CFev-fOE.d.mts} +3 -3
  34. package/dist/{price-CQdOJoX-.d.ts → price-BNhGVB5q.d.ts} +1 -1
  35. package/dist/{price-4T7dlhxM.d.mts → price-nRxqVNGq.d.mts} +1 -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 +6 -6
  39. package/dist/react.d.ts +6 -6
  40. package/dist/react.js +139 -139
  41. package/dist/react.mjs +19 -19
  42. package/dist/{server-DjK98UW-.d.mts → server-9u0LiG5U.d.mts} +1 -1
  43. package/dist/{server-DvThXldo.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/testing/msw.d.mts +2 -2
  49. package/dist/testing/msw.d.ts +2 -2
  50. package/dist/testing/msw.js +3 -3
  51. package/dist/testing/msw.mjs +2 -2
  52. package/dist/testing/suite.d.mts +6 -6
  53. package/dist/testing/suite.d.ts +6 -6
  54. package/dist/testing/suite.js +25 -25
  55. package/dist/testing/suite.mjs +6 -6
  56. package/dist/testing.d.mts +5 -5
  57. package/dist/testing.d.ts +5 -5
  58. package/dist/testing.js +81 -81
  59. package/dist/testing.mjs +7 -7
  60. package/dist/utils.d.mts +4 -4
  61. package/dist/utils.d.ts +4 -4
  62. package/dist/utils.js +29 -29
  63. package/dist/utils.mjs +2 -2
  64. package/package.json +5 -2
  65. package/registry/currency-selector.json +1 -1
  66. package/registry/digital-product-card.json +1 -1
  67. package/registry/digital-product-layout.json +1 -1
  68. package/dist/product-RJMIdCAf.d.mts +0 -1582
  69. package/dist/product-RJMIdCAf.d.ts +0 -1582
@@ -2107,7 +2107,7 @@ var ERROR_SUGGESTIONS = {
2107
2107
  INSUFFICIENT_QUANTITY: "Requested quantity exceeds available inventory. Reduce quantity and retry.",
2108
2108
  BUSINESS_ID_REQUIRED: "Business context could not be resolved. Verify the public key and business bootstrap call.",
2109
2109
  INVALID_CART: "Cart is invalid for checkout. Sync cart state, ensure items exist, then retry.",
2110
- ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine_in before checkout.",
2110
+ ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine-in before checkout.",
2111
2111
  NO_PAYMENT_ELEMENT: "PaymentElement is required for processCheckout(). Mount it before triggering checkout.",
2112
2112
  PAYMENT_NOT_MOUNTED: "PaymentElement iframe is not mounted. Mount it in the DOM before processCheckout().",
2113
2113
  AUTH_INCOMPLETE: "AuthElement has not completed authentication. Wait for AUTHENTICATED before checkout.",
@@ -2893,7 +2893,7 @@ var ELEMENT_HANDLER_JS = `/* eslint-disable */
2893
2893
  '<select id="order-type">' +
2894
2894
  ' <option value="delivery">Delivery</option>' +
2895
2895
  ' <option value="pickup">Pickup</option>' +
2896
- ' <option value="dine_in">Dine-in</option>' +
2896
+ ' <option value="dine-in">Dine-in</option>' +
2897
2897
  '</select>' +
2898
2898
  '<label>Customer name</label>' +
2899
2899
  '<input id="cust-name" value="' + (qs.get("name") || "Test Customer") + '">' +
package/dist/mock/msw.js CHANGED
@@ -2107,7 +2107,7 @@ var ERROR_SUGGESTIONS = {
2107
2107
  INSUFFICIENT_QUANTITY: "Requested quantity exceeds available inventory. Reduce quantity and retry.",
2108
2108
  BUSINESS_ID_REQUIRED: "Business context could not be resolved. Verify the public key and business bootstrap call.",
2109
2109
  INVALID_CART: "Cart is invalid for checkout. Sync cart state, ensure items exist, then retry.",
2110
- ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine_in before checkout.",
2110
+ ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine-in before checkout.",
2111
2111
  NO_PAYMENT_ELEMENT: "PaymentElement is required for processCheckout(). Mount it before triggering checkout.",
2112
2112
  PAYMENT_NOT_MOUNTED: "PaymentElement iframe is not mounted. Mount it in the DOM before processCheckout().",
2113
2113
  AUTH_INCOMPLETE: "AuthElement has not completed authentication. Wait for AUTHENTICATED before checkout.",
@@ -2893,7 +2893,7 @@ var ELEMENT_HANDLER_JS = `/* eslint-disable */
2893
2893
  '<select id="order-type">' +
2894
2894
  ' <option value="delivery">Delivery</option>' +
2895
2895
  ' <option value="pickup">Pickup</option>' +
2896
- ' <option value="dine_in">Dine-in</option>' +
2896
+ ' <option value="dine-in">Dine-in</option>' +
2897
2897
  '</select>' +
2898
2898
  '<label>Customer name</label>' +
2899
2899
  '<input id="cust-name" value="' + (qs.get("name") || "Test Customer") + '">' +
package/dist/mock/msw.mjs CHANGED
@@ -2105,7 +2105,7 @@ var ERROR_SUGGESTIONS = {
2105
2105
  INSUFFICIENT_QUANTITY: "Requested quantity exceeds available inventory. Reduce quantity and retry.",
2106
2106
  BUSINESS_ID_REQUIRED: "Business context could not be resolved. Verify the public key and business bootstrap call.",
2107
2107
  INVALID_CART: "Cart is invalid for checkout. Sync cart state, ensure items exist, then retry.",
2108
- ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine_in before checkout.",
2108
+ ORDER_TYPE_REQUIRED: "Order type is required. Provide one of delivery, pickup, or dine-in before checkout.",
2109
2109
  NO_PAYMENT_ELEMENT: "PaymentElement is required for processCheckout(). Mount it before triggering checkout.",
2110
2110
  PAYMENT_NOT_MOUNTED: "PaymentElement iframe is not mounted. Mount it in the DOM before processCheckout().",
2111
2111
  AUTH_INCOMPLETE: "AuthElement has not completed authentication. Wait for AUTHENTICATED before checkout.",
@@ -2891,7 +2891,7 @@ var ELEMENT_HANDLER_JS = `/* eslint-disable */
2891
2891
  '<select id="order-type">' +
2892
2892
  ' <option value="delivery">Delivery</option>' +
2893
2893
  ' <option value="pickup">Pickup</option>' +
2894
- ' <option value="dine_in">Dine-in</option>' +
2894
+ ' <option value="dine-in">Dine-in</option>' +
2895
2895
  '</select>' +
2896
2896
  '<label>Customer name</label>' +
2897
2897
  '<input id="cust-name" value="' + (qs.get("name") || "Test Customer") + '">' +
@@ -1,7 +1,7 @@
1
- import { aM as Money, ab as CurrencyCode } from './product-RJMIdCAf.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-RJMIdCAf.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, bB as UpcomingSale } from './product-RJMIdCAf.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;
@@ -1,4 +1,4 @@
1
- import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo, bB as UpcomingSale } from './product-RJMIdCAf.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;