@cimplify/sdk 0.84.0 → 0.85.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.
- package/dist/advanced.d.mts +3 -3
- package/dist/advanced.d.ts +3 -3
- package/dist/{chunk-ODEPW244.js → chunk-A6J7W6DH.js} +2 -2
- package/dist/{chunk-I6RE4BKH.mjs → chunk-DU4IX2I2.mjs} +1 -1
- package/dist/{chunk-PLTP6HWW.mjs → chunk-GIFVSWYJ.mjs} +18 -18
- package/dist/{chunk-FKBXZ2A6.js → chunk-NWTCBGJ2.js} +18 -18
- package/dist/{client-BjUJapti.d.mts → client-BEhIE0Dm.d.mts} +2 -2
- package/dist/{client-D8AjO8jb.d.ts → client-BT5gaiGR.d.ts} +2 -2
- package/dist/{client-Ba4Hng9i.d.mts → client-DLtwQ-jI.d.mts} +2 -2
- package/dist/{client-CINi3Dw3.d.ts → client-WKKxIiF1.d.ts} +2 -2
- package/dist/{index-DCPxHjbj.d.ts → index-BrC1x2kK.d.ts} +3 -3
- package/dist/{index-9Bl-zBAI.d.mts → index-DZz6hdrT.d.mts} +3 -3
- package/dist/index.d.mts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/mock/cli.mjs +657 -353
- package/dist/mock/library.js +18 -18
- package/dist/mock/library.mjs +18 -18
- package/dist/mock/msw.js +18 -18
- package/dist/mock/msw.mjs +18 -18
- package/dist/{payment-BVv9leS_.d.ts → payment-D1f3ZQPC.d.ts} +1 -1
- package/dist/{payment-D61iGd0o.d.mts → payment-Dh-6cRcV.d.mts} +1 -1
- package/dist/{price-Cthq6nPb.d.mts → price-4T7dlhxM.d.mts} +3 -1
- package/dist/{price-BYWCHYO5.d.ts → price-CQdOJoX-.d.ts} +3 -1
- package/dist/{product-2MAoE0kZ.d.mts → product-RJMIdCAf.d.mts} +14 -2
- package/dist/{product-2MAoE0kZ.d.ts → product-RJMIdCAf.d.ts} +14 -2
- package/dist/react.d.mts +20 -5
- package/dist/react.d.ts +20 -5
- package/dist/react.js +38 -16
- package/dist/react.mjs +38 -17
- package/dist/{server-BjQ0xWmc.d.mts → server-DjK98UW-.d.mts} +1 -1
- package/dist/{server-DDaQIYLa.d.ts → server-DvThXldo.d.ts} +1 -1
- package/dist/server.d.mts +4 -4
- package/dist/server.d.ts +4 -4
- package/dist/styles.css +1 -1
- package/dist/testing/msw.d.mts +2 -2
- package/dist/testing/msw.d.ts +2 -2
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.d.mts +6 -6
- package/dist/testing/suite.d.ts +6 -6
- package/dist/testing/suite.js +21 -21
- package/dist/testing/suite.mjs +2 -2
- package/dist/testing.d.mts +5 -5
- package/dist/testing.d.ts +5 -5
- package/dist/testing.js +77 -77
- package/dist/testing.mjs +3 -3
- package/dist/utils.d.mts +4 -4
- package/dist/utils.d.ts +4 -4
- package/package.json +21 -21
package/dist/mock/library.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var crypto = require('crypto');
|
|
4
4
|
|
|
5
|
-
// ../node_modules/.bun/hono@4.12.
|
|
5
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/compose.js
|
|
6
6
|
var compose = (middleware, onError, onNotFound) => {
|
|
7
7
|
return (context, next) => {
|
|
8
8
|
let index = -1;
|
|
@@ -46,10 +46,10 @@ var compose = (middleware, onError, onNotFound) => {
|
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
// ../node_modules/.bun/hono@4.12.
|
|
49
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request/constants.js
|
|
50
50
|
var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
|
|
51
51
|
|
|
52
|
-
// ../node_modules/.bun/hono@4.12.
|
|
52
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/body.js
|
|
53
53
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
54
54
|
const { all = false, dot = false } = options;
|
|
55
55
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -120,7 +120,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
120
120
|
});
|
|
121
121
|
};
|
|
122
122
|
|
|
123
|
-
// ../node_modules/.bun/hono@4.12.
|
|
123
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/url.js
|
|
124
124
|
var splitPath = (path) => {
|
|
125
125
|
const paths = path.split("/");
|
|
126
126
|
if (paths[0] === "") {
|
|
@@ -323,7 +323,7 @@ var getQueryParams = (url, key) => {
|
|
|
323
323
|
};
|
|
324
324
|
var decodeURIComponent_ = decodeURIComponent;
|
|
325
325
|
|
|
326
|
-
// ../node_modules/.bun/hono@4.12.
|
|
326
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request.js
|
|
327
327
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
328
328
|
var HonoRequest = class {
|
|
329
329
|
/**
|
|
@@ -606,7 +606,7 @@ var HonoRequest = class {
|
|
|
606
606
|
}
|
|
607
607
|
};
|
|
608
608
|
|
|
609
|
-
// ../node_modules/.bun/hono@4.12.
|
|
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.
|
|
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 {
|
|
@@ -1044,7 +1044,7 @@ var Context = class {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
};
|
|
1046
1046
|
|
|
1047
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1047
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router.js
|
|
1048
1048
|
var METHOD_NAME_ALL = "ALL";
|
|
1049
1049
|
var METHOD_NAME_ALL_LOWERCASE = "all";
|
|
1050
1050
|
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -1052,10 +1052,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
|
|
|
1052
1052
|
var UnsupportedPathError = class extends Error {
|
|
1053
1053
|
};
|
|
1054
1054
|
|
|
1055
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1055
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/constants.js
|
|
1056
1056
|
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
|
|
1057
1057
|
|
|
1058
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1058
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono-base.js
|
|
1059
1059
|
var notFoundHandler = (c) => {
|
|
1060
1060
|
return c.text("404 Not Found", 404);
|
|
1061
1061
|
};
|
|
@@ -1431,7 +1431,7 @@ var Hono = class _Hono {
|
|
|
1431
1431
|
};
|
|
1432
1432
|
};
|
|
1433
1433
|
|
|
1434
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1434
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
|
|
1435
1435
|
var emptyParam = [];
|
|
1436
1436
|
function match(method, path) {
|
|
1437
1437
|
const matchers = this.buildAllMatchers();
|
|
@@ -1452,7 +1452,7 @@ function match(method, path) {
|
|
|
1452
1452
|
return match2(method, path);
|
|
1453
1453
|
}
|
|
1454
1454
|
|
|
1455
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1455
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1456
1456
|
var LABEL_REG_EXP_STR = "[^/]+";
|
|
1457
1457
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
1458
1458
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -1560,7 +1560,7 @@ var Node = class _Node {
|
|
|
1560
1560
|
}
|
|
1561
1561
|
};
|
|
1562
1562
|
|
|
1563
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1563
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1564
1564
|
var Trie = class {
|
|
1565
1565
|
#context = { varIndex: 0 };
|
|
1566
1566
|
#root = new Node();
|
|
@@ -1616,7 +1616,7 @@ var Trie = class {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
};
|
|
1618
1618
|
|
|
1619
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1619
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
1620
1620
|
var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
|
|
1621
1621
|
var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
|
|
1622
1622
|
function buildWildcardRegExp(path) {
|
|
@@ -1794,7 +1794,7 @@ var RegExpRouter = class {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
};
|
|
1796
1796
|
|
|
1797
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1797
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
|
|
1798
1798
|
var SmartRouter = class {
|
|
1799
1799
|
name = "SmartRouter";
|
|
1800
1800
|
#routers = [];
|
|
@@ -1849,7 +1849,7 @@ var SmartRouter = class {
|
|
|
1849
1849
|
}
|
|
1850
1850
|
};
|
|
1851
1851
|
|
|
1852
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1852
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
|
|
1853
1853
|
var emptyParams = /* @__PURE__ */ Object.create(null);
|
|
1854
1854
|
var hasChildren = (children) => {
|
|
1855
1855
|
for (const _ in children) {
|
|
@@ -2024,7 +2024,7 @@ var Node2 = class _Node2 {
|
|
|
2024
2024
|
}
|
|
2025
2025
|
};
|
|
2026
2026
|
|
|
2027
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2027
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
|
|
2028
2028
|
var TrieRouter = class {
|
|
2029
2029
|
name = "TrieRouter";
|
|
2030
2030
|
#node;
|
|
@@ -2046,7 +2046,7 @@ var TrieRouter = class {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
};
|
|
2048
2048
|
|
|
2049
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2049
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono.js
|
|
2050
2050
|
var Hono2 = class extends Hono {
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Creates an instance of the Hono class.
|
package/dist/mock/library.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createHmac } from 'crypto';
|
|
2
2
|
|
|
3
|
-
// ../node_modules/.bun/hono@4.12.
|
|
3
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/compose.js
|
|
4
4
|
var compose = (middleware, onError, onNotFound) => {
|
|
5
5
|
return (context, next) => {
|
|
6
6
|
let index = -1;
|
|
@@ -44,10 +44,10 @@ var compose = (middleware, onError, onNotFound) => {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
// ../node_modules/.bun/hono@4.12.
|
|
47
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request/constants.js
|
|
48
48
|
var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
|
|
49
49
|
|
|
50
|
-
// ../node_modules/.bun/hono@4.12.
|
|
50
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/body.js
|
|
51
51
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
52
52
|
const { all = false, dot = false } = options;
|
|
53
53
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -118,7 +118,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
// ../node_modules/.bun/hono@4.12.
|
|
121
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/url.js
|
|
122
122
|
var splitPath = (path) => {
|
|
123
123
|
const paths = path.split("/");
|
|
124
124
|
if (paths[0] === "") {
|
|
@@ -321,7 +321,7 @@ var getQueryParams = (url, key) => {
|
|
|
321
321
|
};
|
|
322
322
|
var decodeURIComponent_ = decodeURIComponent;
|
|
323
323
|
|
|
324
|
-
// ../node_modules/.bun/hono@4.12.
|
|
324
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request.js
|
|
325
325
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
326
326
|
var HonoRequest = class {
|
|
327
327
|
/**
|
|
@@ -604,7 +604,7 @@ var HonoRequest = class {
|
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
|
|
607
|
-
// ../node_modules/.bun/hono@4.12.
|
|
607
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/html.js
|
|
608
608
|
var HtmlEscapedCallbackPhase = {
|
|
609
609
|
Stringify: 1};
|
|
610
610
|
var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
|
|
@@ -635,7 +635,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
|
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
|
|
638
|
-
// ../node_modules/.bun/hono@4.12.
|
|
638
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/context.js
|
|
639
639
|
var TEXT_PLAIN = "text/plain; charset=UTF-8";
|
|
640
640
|
var setDefaultContentType = (contentType, headers) => {
|
|
641
641
|
return {
|
|
@@ -1042,7 +1042,7 @@ var Context = class {
|
|
|
1042
1042
|
};
|
|
1043
1043
|
};
|
|
1044
1044
|
|
|
1045
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1045
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router.js
|
|
1046
1046
|
var METHOD_NAME_ALL = "ALL";
|
|
1047
1047
|
var METHOD_NAME_ALL_LOWERCASE = "all";
|
|
1048
1048
|
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -1050,10 +1050,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
|
|
|
1050
1050
|
var UnsupportedPathError = class extends Error {
|
|
1051
1051
|
};
|
|
1052
1052
|
|
|
1053
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1053
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/constants.js
|
|
1054
1054
|
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
|
|
1055
1055
|
|
|
1056
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1056
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono-base.js
|
|
1057
1057
|
var notFoundHandler = (c) => {
|
|
1058
1058
|
return c.text("404 Not Found", 404);
|
|
1059
1059
|
};
|
|
@@ -1429,7 +1429,7 @@ var Hono = class _Hono {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1432
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
|
|
1433
1433
|
var emptyParam = [];
|
|
1434
1434
|
function match(method, path) {
|
|
1435
1435
|
const matchers = this.buildAllMatchers();
|
|
@@ -1450,7 +1450,7 @@ function match(method, path) {
|
|
|
1450
1450
|
return match2(method, path);
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1453
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1454
1454
|
var LABEL_REG_EXP_STR = "[^/]+";
|
|
1455
1455
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
1456
1456
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -1558,7 +1558,7 @@ var Node = class _Node {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
};
|
|
1560
1560
|
|
|
1561
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1561
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1562
1562
|
var Trie = class {
|
|
1563
1563
|
#context = { varIndex: 0 };
|
|
1564
1564
|
#root = new Node();
|
|
@@ -1614,7 +1614,7 @@ var Trie = class {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
|
|
1617
|
-
// ../node_modules/.bun/hono@4.12.
|
|
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) {
|
|
@@ -1792,7 +1792,7 @@ var RegExpRouter = class {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
};
|
|
1794
1794
|
|
|
1795
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1795
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
|
|
1796
1796
|
var SmartRouter = class {
|
|
1797
1797
|
name = "SmartRouter";
|
|
1798
1798
|
#routers = [];
|
|
@@ -1847,7 +1847,7 @@ var SmartRouter = class {
|
|
|
1847
1847
|
}
|
|
1848
1848
|
};
|
|
1849
1849
|
|
|
1850
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1850
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
|
|
1851
1851
|
var emptyParams = /* @__PURE__ */ Object.create(null);
|
|
1852
1852
|
var hasChildren = (children) => {
|
|
1853
1853
|
for (const _ in children) {
|
|
@@ -2022,7 +2022,7 @@ var Node2 = class _Node2 {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
|
|
2025
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2025
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
|
|
2026
2026
|
var TrieRouter = class {
|
|
2027
2027
|
name = "TrieRouter";
|
|
2028
2028
|
#node;
|
|
@@ -2044,7 +2044,7 @@ var TrieRouter = class {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
};
|
|
2046
2046
|
|
|
2047
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2047
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono.js
|
|
2048
2048
|
var Hono2 = class extends Hono {
|
|
2049
2049
|
/**
|
|
2050
2050
|
* Creates an instance of the Hono class.
|
package/dist/mock/msw.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
// ../node_modules/.bun/hono@4.12.
|
|
3
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/compose.js
|
|
4
4
|
var compose = (middleware, onError, onNotFound) => {
|
|
5
5
|
return (context, next) => {
|
|
6
6
|
let index = -1;
|
|
@@ -44,10 +44,10 @@ var compose = (middleware, onError, onNotFound) => {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
// ../node_modules/.bun/hono@4.12.
|
|
47
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request/constants.js
|
|
48
48
|
var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
|
|
49
49
|
|
|
50
|
-
// ../node_modules/.bun/hono@4.12.
|
|
50
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/body.js
|
|
51
51
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
52
52
|
const { all = false, dot = false } = options;
|
|
53
53
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -118,7 +118,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
120
|
|
|
121
|
-
// ../node_modules/.bun/hono@4.12.
|
|
121
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/url.js
|
|
122
122
|
var splitPath = (path) => {
|
|
123
123
|
const paths = path.split("/");
|
|
124
124
|
if (paths[0] === "") {
|
|
@@ -321,7 +321,7 @@ var getQueryParams = (url, key) => {
|
|
|
321
321
|
};
|
|
322
322
|
var decodeURIComponent_ = decodeURIComponent;
|
|
323
323
|
|
|
324
|
-
// ../node_modules/.bun/hono@4.12.
|
|
324
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request.js
|
|
325
325
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
326
326
|
var HonoRequest = class {
|
|
327
327
|
/**
|
|
@@ -604,7 +604,7 @@ var HonoRequest = class {
|
|
|
604
604
|
}
|
|
605
605
|
};
|
|
606
606
|
|
|
607
|
-
// ../node_modules/.bun/hono@4.12.
|
|
607
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/html.js
|
|
608
608
|
var HtmlEscapedCallbackPhase = {
|
|
609
609
|
Stringify: 1};
|
|
610
610
|
var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
|
|
@@ -635,7 +635,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
|
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
|
|
638
|
-
// ../node_modules/.bun/hono@4.12.
|
|
638
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/context.js
|
|
639
639
|
var TEXT_PLAIN = "text/plain; charset=UTF-8";
|
|
640
640
|
var setDefaultContentType = (contentType, headers) => {
|
|
641
641
|
return {
|
|
@@ -1042,7 +1042,7 @@ var Context = class {
|
|
|
1042
1042
|
};
|
|
1043
1043
|
};
|
|
1044
1044
|
|
|
1045
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1045
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router.js
|
|
1046
1046
|
var METHOD_NAME_ALL = "ALL";
|
|
1047
1047
|
var METHOD_NAME_ALL_LOWERCASE = "all";
|
|
1048
1048
|
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -1050,10 +1050,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
|
|
|
1050
1050
|
var UnsupportedPathError = class extends Error {
|
|
1051
1051
|
};
|
|
1052
1052
|
|
|
1053
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1053
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/constants.js
|
|
1054
1054
|
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
|
|
1055
1055
|
|
|
1056
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1056
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono-base.js
|
|
1057
1057
|
var notFoundHandler = (c) => {
|
|
1058
1058
|
return c.text("404 Not Found", 404);
|
|
1059
1059
|
};
|
|
@@ -1429,7 +1429,7 @@ var Hono = class _Hono {
|
|
|
1429
1429
|
};
|
|
1430
1430
|
};
|
|
1431
1431
|
|
|
1432
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1432
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
|
|
1433
1433
|
var emptyParam = [];
|
|
1434
1434
|
function match(method, path) {
|
|
1435
1435
|
const matchers = this.buildAllMatchers();
|
|
@@ -1450,7 +1450,7 @@ function match(method, path) {
|
|
|
1450
1450
|
return match2(method, path);
|
|
1451
1451
|
}
|
|
1452
1452
|
|
|
1453
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1453
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1454
1454
|
var LABEL_REG_EXP_STR = "[^/]+";
|
|
1455
1455
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
1456
1456
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -1558,7 +1558,7 @@ var Node = class _Node {
|
|
|
1558
1558
|
}
|
|
1559
1559
|
};
|
|
1560
1560
|
|
|
1561
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1561
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1562
1562
|
var Trie = class {
|
|
1563
1563
|
#context = { varIndex: 0 };
|
|
1564
1564
|
#root = new Node();
|
|
@@ -1614,7 +1614,7 @@ var Trie = class {
|
|
|
1614
1614
|
}
|
|
1615
1615
|
};
|
|
1616
1616
|
|
|
1617
|
-
// ../node_modules/.bun/hono@4.12.
|
|
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) {
|
|
@@ -1792,7 +1792,7 @@ var RegExpRouter = class {
|
|
|
1792
1792
|
}
|
|
1793
1793
|
};
|
|
1794
1794
|
|
|
1795
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1795
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
|
|
1796
1796
|
var SmartRouter = class {
|
|
1797
1797
|
name = "SmartRouter";
|
|
1798
1798
|
#routers = [];
|
|
@@ -1847,7 +1847,7 @@ var SmartRouter = class {
|
|
|
1847
1847
|
}
|
|
1848
1848
|
};
|
|
1849
1849
|
|
|
1850
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1850
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
|
|
1851
1851
|
var emptyParams = /* @__PURE__ */ Object.create(null);
|
|
1852
1852
|
var hasChildren = (children) => {
|
|
1853
1853
|
for (const _ in children) {
|
|
@@ -2022,7 +2022,7 @@ var Node2 = class _Node2 {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
|
|
2025
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2025
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
|
|
2026
2026
|
var TrieRouter = class {
|
|
2027
2027
|
name = "TrieRouter";
|
|
2028
2028
|
#node;
|
|
@@ -2044,7 +2044,7 @@ var TrieRouter = class {
|
|
|
2044
2044
|
}
|
|
2045
2045
|
};
|
|
2046
2046
|
|
|
2047
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2047
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono.js
|
|
2048
2048
|
var Hono2 = class extends Hono {
|
|
2049
2049
|
/**
|
|
2050
2050
|
* Creates an instance of the Hono class.
|
package/dist/mock/msw.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/compose.js
|
|
2
2
|
var compose = (middleware, onError, onNotFound) => {
|
|
3
3
|
return (context, next) => {
|
|
4
4
|
let index = -1;
|
|
@@ -42,10 +42,10 @@ var compose = (middleware, onError, onNotFound) => {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
// ../node_modules/.bun/hono@4.12.
|
|
45
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request/constants.js
|
|
46
46
|
var GET_MATCH_RESULT = /* @__PURE__ */ Symbol();
|
|
47
47
|
|
|
48
|
-
// ../node_modules/.bun/hono@4.12.
|
|
48
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/body.js
|
|
49
49
|
var parseBody = async (request, options = /* @__PURE__ */ Object.create(null)) => {
|
|
50
50
|
const { all = false, dot = false } = options;
|
|
51
51
|
const headers = request instanceof HonoRequest ? request.raw.headers : request.headers;
|
|
@@ -116,7 +116,7 @@ var handleParsingNestedValues = (form, key, value) => {
|
|
|
116
116
|
});
|
|
117
117
|
};
|
|
118
118
|
|
|
119
|
-
// ../node_modules/.bun/hono@4.12.
|
|
119
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/url.js
|
|
120
120
|
var splitPath = (path) => {
|
|
121
121
|
const paths = path.split("/");
|
|
122
122
|
if (paths[0] === "") {
|
|
@@ -319,7 +319,7 @@ var getQueryParams = (url, key) => {
|
|
|
319
319
|
};
|
|
320
320
|
var decodeURIComponent_ = decodeURIComponent;
|
|
321
321
|
|
|
322
|
-
// ../node_modules/.bun/hono@4.12.
|
|
322
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/request.js
|
|
323
323
|
var tryDecodeURIComponent = (str) => tryDecode(str, decodeURIComponent_);
|
|
324
324
|
var HonoRequest = class {
|
|
325
325
|
/**
|
|
@@ -602,7 +602,7 @@ var HonoRequest = class {
|
|
|
602
602
|
}
|
|
603
603
|
};
|
|
604
604
|
|
|
605
|
-
// ../node_modules/.bun/hono@4.12.
|
|
605
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/html.js
|
|
606
606
|
var HtmlEscapedCallbackPhase = {
|
|
607
607
|
Stringify: 1};
|
|
608
608
|
var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) => {
|
|
@@ -633,7 +633,7 @@ var resolveCallback = async (str, phase, preserveCallbacks, context, buffer) =>
|
|
|
633
633
|
}
|
|
634
634
|
};
|
|
635
635
|
|
|
636
|
-
// ../node_modules/.bun/hono@4.12.
|
|
636
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/context.js
|
|
637
637
|
var TEXT_PLAIN = "text/plain; charset=UTF-8";
|
|
638
638
|
var setDefaultContentType = (contentType, headers) => {
|
|
639
639
|
return {
|
|
@@ -1040,7 +1040,7 @@ var Context = class {
|
|
|
1040
1040
|
};
|
|
1041
1041
|
};
|
|
1042
1042
|
|
|
1043
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1043
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router.js
|
|
1044
1044
|
var METHOD_NAME_ALL = "ALL";
|
|
1045
1045
|
var METHOD_NAME_ALL_LOWERCASE = "all";
|
|
1046
1046
|
var METHODS = ["get", "post", "put", "delete", "options", "patch"];
|
|
@@ -1048,10 +1048,10 @@ var MESSAGE_MATCHER_IS_ALREADY_BUILT = "Can not add a route since the matcher is
|
|
|
1048
1048
|
var UnsupportedPathError = class extends Error {
|
|
1049
1049
|
};
|
|
1050
1050
|
|
|
1051
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1051
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/utils/constants.js
|
|
1052
1052
|
var COMPOSED_HANDLER = "__COMPOSED_HANDLER";
|
|
1053
1053
|
|
|
1054
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1054
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono-base.js
|
|
1055
1055
|
var notFoundHandler = (c) => {
|
|
1056
1056
|
return c.text("404 Not Found", 404);
|
|
1057
1057
|
};
|
|
@@ -1427,7 +1427,7 @@ var Hono = class _Hono {
|
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
1429
|
|
|
1430
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1430
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/matcher.js
|
|
1431
1431
|
var emptyParam = [];
|
|
1432
1432
|
function match(method, path) {
|
|
1433
1433
|
const matchers = this.buildAllMatchers();
|
|
@@ -1448,7 +1448,7 @@ function match(method, path) {
|
|
|
1448
1448
|
return match2(method, path);
|
|
1449
1449
|
}
|
|
1450
1450
|
|
|
1451
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1451
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/node.js
|
|
1452
1452
|
var LABEL_REG_EXP_STR = "[^/]+";
|
|
1453
1453
|
var ONLY_WILDCARD_REG_EXP_STR = ".*";
|
|
1454
1454
|
var TAIL_WILDCARD_REG_EXP_STR = "(?:|/.*)";
|
|
@@ -1556,7 +1556,7 @@ var Node = class _Node {
|
|
|
1556
1556
|
}
|
|
1557
1557
|
};
|
|
1558
1558
|
|
|
1559
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1559
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/trie.js
|
|
1560
1560
|
var Trie = class {
|
|
1561
1561
|
#context = { varIndex: 0 };
|
|
1562
1562
|
#root = new Node();
|
|
@@ -1612,7 +1612,7 @@ var Trie = class {
|
|
|
1612
1612
|
}
|
|
1613
1613
|
};
|
|
1614
1614
|
|
|
1615
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1615
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/reg-exp-router/router.js
|
|
1616
1616
|
var nullMatcher = [/^$/, [], /* @__PURE__ */ Object.create(null)];
|
|
1617
1617
|
var wildcardRegExpCache = /* @__PURE__ */ Object.create(null);
|
|
1618
1618
|
function buildWildcardRegExp(path) {
|
|
@@ -1790,7 +1790,7 @@ var RegExpRouter = class {
|
|
|
1790
1790
|
}
|
|
1791
1791
|
};
|
|
1792
1792
|
|
|
1793
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1793
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/smart-router/router.js
|
|
1794
1794
|
var SmartRouter = class {
|
|
1795
1795
|
name = "SmartRouter";
|
|
1796
1796
|
#routers = [];
|
|
@@ -1845,7 +1845,7 @@ var SmartRouter = class {
|
|
|
1845
1845
|
}
|
|
1846
1846
|
};
|
|
1847
1847
|
|
|
1848
|
-
// ../node_modules/.bun/hono@4.12.
|
|
1848
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/node.js
|
|
1849
1849
|
var emptyParams = /* @__PURE__ */ Object.create(null);
|
|
1850
1850
|
var hasChildren = (children) => {
|
|
1851
1851
|
for (const _ in children) {
|
|
@@ -2020,7 +2020,7 @@ var Node2 = class _Node2 {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
|
|
2023
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2023
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/router/trie-router/router.js
|
|
2024
2024
|
var TrieRouter = class {
|
|
2025
2025
|
name = "TrieRouter";
|
|
2026
2026
|
#node;
|
|
@@ -2042,7 +2042,7 @@ var TrieRouter = class {
|
|
|
2042
2042
|
}
|
|
2043
2043
|
};
|
|
2044
2044
|
|
|
2045
|
-
// ../node_modules/.bun/hono@4.12.
|
|
2045
|
+
// ../node_modules/.bun/hono@4.12.25/node_modules/hono/dist/hono.js
|
|
2046
2046
|
var Hono2 = class extends Hono {
|
|
2047
2047
|
/**
|
|
2048
2048
|
* Creates an instance of the Hono class.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aM as Money, ab as CurrencyCode } from './product-
|
|
1
|
+
import { aM as Money, ab as CurrencyCode } from './product-RJMIdCAf.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
4
|
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtnmomo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aM as Money, ab as CurrencyCode } from './product-
|
|
1
|
+
import { aM as Money, ab as CurrencyCode } from './product-RJMIdCAf.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
4
|
type PaymentProvider = "stripe" | "paystack" | "cellulant" | "mtnmomo" | "offline" | "mtn" | "vodafone" | "airtel" | "cash" | "manual";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo } from './product-
|
|
1
|
+
import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo, bB as UpcomingSale } from './product-RJMIdCAf.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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo } from './product-
|
|
1
|
+
import { ab as CurrencyCode, S as ChosenPrice, bg as SaleInfo, bB as UpcomingSale } from './product-RJMIdCAf.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;
|