@industry-theme/github-panels 0.1.50 → 0.1.51

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 +1 @@
1
- {"version":3,"file":"GitHubIssuesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssuesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAc5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AA6nBpD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAE3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
1
+ {"version":3,"file":"GitHubIssuesPanel.d.ts","sourceRoot":"","sources":["../../src/panels/GitHubIssuesPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAc5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AA0nBpD;;;;;;;;GAQG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAE3D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB;;;;;;;;CAQrC,CAAC"}
@@ -2658,16 +2658,11 @@ const GitHubIssuesPanelContent = ({
2658
2658
  }
2659
2659
  });
2660
2660
  };
2661
- const handleRefresh = () => {
2662
- events.emit({
2663
- type: "github-issues:refresh",
2664
- source: "github-issues-panel",
2665
- timestamp: Date.now(),
2666
- payload: {}
2667
- });
2661
+ const handleRefresh = async () => {
2662
+ await context.refresh("repository", "github-issues");
2668
2663
  };
2669
- const handleIssueCreated = () => {
2670
- handleRefresh();
2664
+ const handleIssueCreated = async () => {
2665
+ await handleRefresh();
2671
2666
  };
2672
2667
  const handleLogin = () => {
2673
2668
  events.emit({