issue-sticker 0.5.0 → 0.7.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.
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { memo, useRef, useState, useCallback, useEffect } from "react";
3
- import { c as createLucideIcon, u as ungzip_1, a as cn, R as Replayer } from "./createLucideIcon-BzRMP02h.js";
4
- import { T as TooltipProvider, a as Tooltip, b as TooltipTrigger, c as TooltipContent } from "./tooltip-B6UPO-U8.js";
3
+ import { c as createLucideIcon, u as ungzip_1, a as cn, R as Replayer, M as MousePointer2 } from "./mouse-pointer-2-BR00y3ir.js";
4
+ import { T as TooltipProvider, a as Tooltip, b as TooltipTrigger, c as TooltipContent } from "./tooltip-DH02R32-.js";
5
5
  /**
6
6
  * @license lucide-react v0.468.0 - ISC
7
7
  *
@@ -14,21 +14,6 @@ const Maximize2 = createLucideIcon("Maximize2", [
14
14
  ["line", { x1: "21", x2: "14", y1: "3", y2: "10", key: "ota7mn" }],
15
15
  ["line", { x1: "3", x2: "10", y1: "21", y2: "14", key: "1atl0r" }]
16
16
  ]);
17
- /**
18
- * @license lucide-react v0.468.0 - ISC
19
- *
20
- * This source code is licensed under the ISC license.
21
- * See the LICENSE file in the root directory of this source tree.
22
- */
23
- const MousePointer2 = createLucideIcon("MousePointer2", [
24
- [
25
- "path",
26
- {
27
- d: "M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",
28
- key: "edeuup"
29
- }
30
- ]
31
- ]);
32
17
  /**
33
18
  * @license lucide-react v0.468.0 - ISC
34
19
  *
@@ -1,7 +1,7 @@
1
- import { u as uploadScreenshotDataUrls, a as uploadSignedMediaWithApi, d as directUploadToSignedUrl, p as pristineFetch, n as normalizeExposedJiraFields, b as normalizeJiraFieldId, g as getElementPosition, c as captureWithModernScreenshot, e as buildJiraCreateFields, f as buildNotionCreateFields, h as buildGuestOwnerQuery, i as buildIssueIntegrationsPayload, j as devLogger, C as ConsoleCollector, N as NetworkCollector, s as selectNetworkLogsForSubmit, k as filterExcludeServiceRelatedLogs, l as filterExcludeServiceRelatedConsoleLogs, m as compactNetworkLogsForTransport, o as CONSOLE_LOG_SUBMIT_LIMIT, q as buildExternalUserPayload, r as shrinkNetworkLogsToFit, t as measureJsonBytes, v as sanitizeString, w as getCurrentPageUrl, S as ScreenRecordingController, x as SessionReplayCaptureController, y as preloadModernScreenshot, I as ISSUE_STICKER_INTERNAL_LOG_PREFIX, z as isIssueStickerExtensionRuntimeActive } from "./externalUserPayload-zu5IXBjn.js";
1
+ import { u as uploadScreenshotDataUrls, a as uploadSignedMediaWithApi, d as directUploadToSignedUrl, p as pristineFetch, n as normalizeExposedJiraFields, b as normalizeJiraFieldId, g as getElementPosition, c as captureWithModernScreenshot, e as buildJiraCreateFields, f as buildNotionCreateFields, h as buildGuestOwnerQuery, i as buildIssueIntegrationsPayload, j as devLogger, C as ConsoleCollector, N as NetworkCollector, s as selectNetworkLogsForSubmit, k as filterExcludeServiceRelatedLogs, l as filterExcludeServiceRelatedConsoleLogs, m as compactNetworkLogsForTransport, o as CONSOLE_LOG_SUBMIT_LIMIT, q as buildExternalUserPayload, r as shrinkNetworkLogsToFit, t as measureJsonBytes, v as sanitizeString, w as getCurrentPageUrl, S as ScreenRecordingController, x as SessionReplayCaptureController, y as preloadModernScreenshot, I as ISSUE_STICKER_INTERNAL_LOG_PREFIX } from "./externalUserPayload-B26uCsCP.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
- import "./createLucideIcon-BzRMP02h.js";
4
+ import "./mouse-pointer-2-BR00y3ir.js";
5
5
  const WINDOW_MS = 6e4;
6
6
  const MAX_PER_WINDOW = 5;
7
7
  class AutoIssueRateLimit {
@@ -1131,7 +1131,6 @@ function createSessionReplayMeta(snapshot) {
1131
1131
  }
1132
1132
  function createInitialHeadlessSnapshot() {
1133
1133
  return {
1134
- extensionActive: false,
1135
1134
  phase: "idle",
1136
1135
  auth: {
1137
1136
  mode: "public",
@@ -1704,9 +1703,6 @@ class HeadlessClientImpl {
1704
1703
  return this.skipCreateIssue("브라우저 DOM 에서만 이슈를 만들 수 있습니다.");
1705
1704
  }
1706
1705
  await this.ensureInitialized();
1707
- if (this.snapshot.extensionActive) {
1708
- return this.skipCreateIssue("이슈스티커 익스텐션이 이 페이지를 사용 중입니다.");
1709
- }
1710
1706
  if (!this.autoIssueRateLimit.claim()) {
1711
1707
  return this.skipCreateIssue(
1712
1708
  `${this.autoIssueRateLimit.label}까지 호출할 수 있습니다. 호출 조건을 다시 확인해주세요.`
@@ -1807,10 +1803,6 @@ class HeadlessClientImpl {
1807
1803
  this.state.reset();
1808
1804
  }
1809
1805
  async initializeInternal() {
1810
- if (isIssueStickerExtensionRuntimeActive()) {
1811
- this.state.setSnapshot({ extensionActive: true, phase: "idle", error: null });
1812
- return;
1813
- }
1814
1806
  this.state.setSnapshot({ phase: "initializing", error: null });
1815
1807
  try {
1816
1808
  const result = await this.request("/api/sdk/auth/public-init", {