@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,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkXA3ZNR75_js = require('./chunk-XA3ZNR75.js');
3
+ var chunkAETVRBKI_js = require('./chunk-AETVRBKI.js');
4
4
  var chunkOWW5GUSB_js = require('./chunk-OWW5GUSB.js');
5
5
 
6
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/compose.js
6
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/compose.js
7
7
  var compose = (middleware, onError, onNotFound) => {
8
8
  return (context, next) => {
9
9
  let index = -1;
@@ -47,10 +47,10 @@ var compose = (middleware, onError, onNotFound) => {
47
47
  };
48
48
  };
49
49
 
50
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/request/constants.js
50
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request/constants.js
51
51
  var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
52
52
 
53
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/utils/body.js
53
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/body.js
54
54
  var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
55
55
  const { all = false, dot = false } = options;
56
56
  const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
@@ -121,7 +121,7 @@ var handleParsingNestedValues = (form, key, value) => {
121
121
  });
122
122
  };
123
123
 
124
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/utils/url.js
124
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/url.js
125
125
  var splitPath = (path) => {
126
126
  const paths = path.split("/");
127
127
  if (paths[0] === "") {
@@ -324,7 +324,7 @@ var getQueryParams = (url, key) => {
324
324
  };
325
325
  var decodeURIComponent_ = decodeURIComponent;
326
326
 
327
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/request.js
327
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request.js
328
328
  var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
329
329
  var _validatedData, _matchResult, _HonoRequest_instances, getDecodedParam_fn, getAllDecodedParams_fn, getParamValue_fn, _cachedBody, _a;
330
330
  var HonoRequest = (_a = class {
@@ -606,7 +606,7 @@ var HonoRequest = (_a = class {
606
606
  return chunkOWW5GUSB_js.__privateGet(this, _matchResult)[1] ? chunkOWW5GUSB_js.__privateGet(this, _matchResult)[1][paramKey] : paramKey;
607
607
  }, _cachedBody = new WeakMap(), _a);
608
608
 
609
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/utils/html.js
609
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/html.js
610
610
  var HtmlEscapedCallbackPhase = {
611
611
  Stringify: 1};
612
612
  var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
@@ -637,7 +637,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
637
637
  }
638
638
  };
639
639
 
640
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/context.js
640
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/context.js
641
641
  var TEXT_PLAIN = "text/plain; charset=UTF-8";
642
642
  var setDefaultContentType = (contentType, headers) => {
643
643
  return {
@@ -1037,7 +1037,7 @@ var Context = (_a2 = class {
1037
1037
  return createResponseInstance(data, { status, headers: responseHeaders });
1038
1038
  }, _a2);
1039
1039
 
1040
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router.js
1040
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router.js
1041
1041
  var METHOD_NAME_ALL = "ALL";
1042
1042
  var METHOD_NAME_ALL_LOWERCASE = "all";
1043
1043
  var METHODS = ["get", "post", "put", "delete", "options", "patch"];
@@ -1045,10 +1045,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
1045
1045
  var UnsupportedPathError = class extends Error {
1046
1046
  };
1047
1047
 
1048
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/utils/constants.js
1048
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/constants.js
1049
1049
  var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
1050
1050
 
1051
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/hono-base.js
1051
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono-base.js
1052
1052
  var notFoundHandler = (c) => {
1053
1053
  return c.text("404 Not Found", 404);
1054
1054
  };
@@ -1423,7 +1423,7 @@ var Hono = (_a3 = class {
1423
1423
  })();
1424
1424
  }, _a3);
1425
1425
 
1426
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/reg-exp-router/matcher.js
1426
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
1427
1427
  var emptyParam = [];
1428
1428
  function match(method, path) {
1429
1429
  const matchers = this.buildAllMatchers();
@@ -1444,7 +1444,7 @@ function match(method, path) {
1444
1444
  return match2(method, path);
1445
1445
  }
1446
1446
 
1447
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/reg-exp-router/node.js
1447
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
1448
1448
  var LABEL_REG_EXP_STR = "[^/]+";
1449
1449
  var ONLY_WILDCARD_REG_EXP_STR = ".*";
1450
1450
  var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
@@ -1555,7 +1555,7 @@ var Node = (_a4 = class {
1555
1555
  }
1556
1556
  }, _index = new WeakMap(), _varIndex = new WeakMap(), _children = new WeakMap(), _a4);
1557
1557
 
1558
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/reg-exp-router/trie.js
1558
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
1559
1559
  var _context, _root, _a5;
1560
1560
  var Trie = (_a5 = class {
1561
1561
  constructor() {
@@ -1614,7 +1614,7 @@ var Trie = (_a5 = class {
1614
1614
  }
1615
1615
  }, _context = new WeakMap(), _root = new WeakMap(), _a5);
1616
1616
 
1617
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/reg-exp-router/router.js
1617
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/router.js
1618
1618
  var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
1619
1619
  var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
1620
1620
  function buildWildcardRegExp(path) {
@@ -1796,7 +1796,7 @@ var RegExpRouter = (_a6 = class {
1796
1796
  }
1797
1797
  }, _a6);
1798
1798
 
1799
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/smart-router/router.js
1799
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
1800
1800
  var _routers, _routes2, _a7;
1801
1801
  var SmartRouter = (_a7 = class {
1802
1802
  constructor(init) {
@@ -1852,7 +1852,7 @@ var SmartRouter = (_a7 = class {
1852
1852
  }
1853
1853
  }, _routers = new WeakMap(), _routes2 = new WeakMap(), _a7);
1854
1854
 
1855
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/trie-router/node.js
1855
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
1856
1856
  var emptyParams = /* @__PURE__ */ Object.create(null);
1857
1857
  var hasChildren = (children) => {
1858
1858
  for (const _ in children) {
@@ -2022,7 +2022,7 @@ var Node2 = (_a8 = class {
2022
2022
  }
2023
2023
  }, _a8);
2024
2024
 
2025
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/router/trie-router/router.js
2025
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
2026
2026
  var _node, _a9;
2027
2027
  var TrieRouter = (_a9 = class {
2028
2028
  constructor() {
@@ -2045,7 +2045,7 @@ var TrieRouter = (_a9 = class {
2045
2045
  }
2046
2046
  }, _node = new WeakMap(), _a9);
2047
2047
 
2048
- // ../node_modules/.bun/hono@4.12.22/node_modules/hono/dist/hono.js
2048
+ // ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono.js
2049
2049
  var Hono2 = class extends Hono {
2050
2050
  /**
2051
2051
  * Creates an instance of the Hono class.
@@ -2076,8 +2076,8 @@ var MockError = class extends Error {
2076
2076
  };
2077
2077
  }
2078
2078
  };
2079
- var notFound = (msg) => new MockError(chunkXA3ZNR75_js.ErrorCode.NOT_FOUND, msg, 404);
2080
- var validation = (msg, ctx) => new MockError(chunkXA3ZNR75_js.ErrorCode.VALIDATION_ERROR, msg, 400, ctx);
2079
+ var notFound = (msg) => new MockError(chunkAETVRBKI_js.ErrorCode.NOT_FOUND, msg, 404);
2080
+ var validation = (msg, ctx) => new MockError(chunkAETVRBKI_js.ErrorCode.VALIDATION_ERROR, msg, 400, ctx);
2081
2081
 
2082
2082
  // src/mock/routes/_helpers.ts
2083
2083
  function authMiddleware(deps) {
@@ -2824,7 +2824,7 @@ var ELEMENT_HANDLER_JS = `/* eslint-disable */
2824
2824
  '<select id="order-type">' +
2825
2825
  ' <option value="delivery">Delivery</option>' +
2826
2826
  ' <option value="pickup">Pickup</option>' +
2827
- ' <option value="dine_in">Dine-in</option>' +
2827
+ ' <option value="dine-in">Dine-in</option>' +
2828
2828
  '</select>' +
2829
2829
  '<label>Customer name</label>' +
2830
2830
  '<input id="cust-name" value="' + (qs.get("name") || "Test Customer") + '">' +