@chargebee/code-sample-generator 1.1.0 → 1.1.1

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.
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import { ChevronLeft, ChevronRight, Check, Copy, Code, SquareArrowOutUpRight, ArrowRight } from "lucide-react";
3
3
  import { useState, useRef, useEffect, useId } from "react";
4
- import { j as fallbackPlainHtml, a as AVAILABLE_LANGUAGE_IDS, A as AVAILABLE_LANGUAGES } from "./generate-from-sample-DPxmR-75.js";
4
+ import { j as fallbackPlainHtml, a as AVAILABLE_LANGUAGE_IDS, A as AVAILABLE_LANGUAGES } from "./generate-from-sample-C3k_DgbX.js";
5
5
  import { snakeCase } from "change-case";
6
6
  function Carousel({
7
7
  items,
@@ -275,7 +275,7 @@ function CodeBlock({
275
275
  const highlight = async () => {
276
276
  setIsLoading(true);
277
277
  try {
278
- const { highlightCode } = await import("./highlight-code-WTmlHcwe.js").then((n) => n.a);
278
+ const { highlightCode } = await import("./highlight-code-CQjob1R6.js").then((n) => n.a);
279
279
  const result = await highlightCode({
280
280
  code,
281
281
  language,
package/dist/browser.js CHANGED
@@ -1,6 +1,6 @@
1
- import { C, a, b, c, G, L, T, u, d } from "./TryInApiExplorer-BVv51ABv.js";
2
- import { v as resolveDescriptor, l as generateFromSample, o as getOperationIds, p as getOperationIdsForVersion } from "./generate-from-sample-DPxmR-75.js";
3
- import { A, a as a2, C as C2, D, b as b2, L as L2, c as c2, O } from "./generate-from-sample-DPxmR-75.js";
1
+ import { C, a, b, c, G, L, T, u, d } from "./TryInApiExplorer-CWy0RGj-.js";
2
+ import { v as resolveDescriptor, l as generateFromSample, o as getOperationIds, p as getOperationIdsForVersion } from "./generate-from-sample-C3k_DgbX.js";
3
+ import { A, a as a2, C as C2, D, b as b2, L as L2, c as c2, O } from "./generate-from-sample-C3k_DgbX.js";
4
4
  function validateOperationId(id, version) {
5
5
  if (version) {
6
6
  const ops = getOperationIdsForVersion(version);
@@ -1,4 +1,4 @@
1
- import { l as generateFromSample, m as getGenerator, c as LanguageNotSupportedError, v as resolveDescriptor, O as OperationNotFoundError, h as expandDescriptor, d as assertValid, e as buildIR, C as CodeGenerationError, s as getSupportedLanguages } from "./generate-from-sample-DPxmR-75.js";
1
+ import { l as generateFromSample, m as getGenerator, c as LanguageNotSupportedError, v as resolveDescriptor, O as OperationNotFoundError, h as expandDescriptor, d as assertValid, e as buildIR, C as CodeGenerationError, s as getSupportedLanguages } from "./generate-from-sample-C3k_DgbX.js";
2
2
  const LANGUAGES = [
3
3
  "curl",
4
4
  "node-v2",