sunpeak 0.10.4 → 0.10.5

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 (29) hide show
  1. package/dist/chatgpt/index.cjs +1 -1
  2. package/dist/chatgpt/index.js +1 -1
  3. package/dist/index.cjs +3 -3
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +4 -4
  6. package/dist/index.js.map +1 -1
  7. package/dist/mcp/entry.cjs +1 -1
  8. package/dist/mcp/entry.js +1 -1
  9. package/dist/mcp/index.cjs +1 -1
  10. package/dist/mcp/index.js +1 -1
  11. package/dist/{server-CSybLAYo.cjs → server-B-T6Y3-J.cjs} +35 -47
  12. package/dist/{server-CSybLAYo.cjs.map → server-B-T6Y3-J.cjs.map} +1 -1
  13. package/dist/{server-310A1k9o.js → server-CnRhUNGQ.js} +35 -47
  14. package/dist/{server-310A1k9o.js.map → server-CnRhUNGQ.js.map} +1 -1
  15. package/dist/{simulator-url-BZBcq5tc.js → simulator-url-BUKX-wRa.js} +344 -270
  16. package/dist/{simulator-url-BZBcq5tc.js.map → simulator-url-BUKX-wRa.js.map} +1 -1
  17. package/dist/{simulator-url-D4tFBjeu.cjs → simulator-url-pSDp_VWO.cjs} +345 -271
  18. package/dist/{simulator-url-D4tFBjeu.cjs.map → simulator-url-pSDp_VWO.cjs.map} +1 -1
  19. package/package.json +2 -2
  20. package/template/dist/albums/albums.js +7 -47
  21. package/template/dist/albums/albums.json +1 -1
  22. package/template/dist/carousel/carousel.js +7 -47
  23. package/template/dist/carousel/carousel.json +1 -1
  24. package/template/dist/map/map.js +140 -187
  25. package/template/dist/map/map.json +1 -1
  26. package/template/dist/review/review.js +7 -47
  27. package/template/dist/review/review.json +1 -1
  28. package/template/node_modules/.vite/deps/_metadata.json +22 -22
  29. package/template/node_modules/.vite/vitest/da39a3ee5e6b4b0d3255bfef95601890afd80709/results.json +1 -1
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const simulatorUrl = require("../simulator-url-D4tFBjeu.cjs");
3
+ const simulatorUrl = require("../simulator-url-pSDp_VWO.cjs");
4
4
  exports.ChatGPTSimulator = simulatorUrl.ChatGPTSimulator;
5
5
  exports.IframeResource = simulatorUrl.IframeResource;
6
6
  exports.ThemeProvider = simulatorUrl.ThemeProvider;
@@ -1,4 +1,4 @@
1
- import { C, I, T, c, i, u } from "../simulator-url-BZBcq5tc.js";
1
+ import { C, I, T, c, i, u } from "../simulator-url-BUKX-wRa.js";
2
2
  export {
3
3
  C as ChatGPTSimulator,
4
4
  I as IframeResource,
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const simulatorUrl = require("./simulator-url-D4tFBjeu.cjs");
3
+ const simulatorUrl = require("./simulator-url-pSDp_VWO.cjs");
4
4
  const React = require("react");
5
5
  function _interopNamespaceDefault(e) {
6
6
  const n = Object.create(null, { [Symbol.toStringTag]: { value: "Module" } });
@@ -3057,11 +3057,11 @@ function toPascalCase(str) {
3057
3057
  }
3058
3058
  function extractResourceKey(path) {
3059
3059
  const match = path.match(/([^/]+)-resource\.(tsx|json)$/);
3060
- return match == null ? void 0 : match[1];
3060
+ return match?.[1];
3061
3061
  }
3062
3062
  function extractSimulationKey(path) {
3063
3063
  const match = path.match(/([^/]+)-simulation\.json$/);
3064
- return match == null ? void 0 : match[1];
3064
+ return match?.[1];
3065
3065
  }
3066
3066
  function findResourceKey(simulationKey, resourceKeys) {
3067
3067
  const sorted = [...resourceKeys].sort((a, b) => b.length - a.length);