Skip to content

Commit

Permalink
mogul-menu use prod api
Browse files Browse the repository at this point in the history
  • Loading branch information
austinhallock committed Jun 28, 2023
1 parent e681ea0 commit 5b4c7ee
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
[@truffle/chat@`1.0.12`](./stream-projects/chat) - Chat client for 3rd party chats
[@truffle/live-embed@`0.5.50`](./stream-projects/live-embed) - Shows a twitch live stream on a creator's youtube channel.
[@truffle/stream-feedback@`0.5.30`](./stream-projects/stream-feedback) - Stream Feedback
[@truffle/mogul-menu-v2@`3.0.202`](./stream-projects/mogul-menu-v2) - Menu for channel points, predictions, and activities
[@truffle/mogul-menu-v2@`4.0.0`](./stream-projects/mogul-menu-v2) - Menu for channel points, predictions, and activities
[@truffle/mogul-menu@`3.0.204`](./stream-projects/mogul-menu) - Menu for channel points, predictions, and activities
[@truffle/creator-insights@`0.5.39`](./stream-projects/creator-insights) - Truffle Creator Insights
[@truffle/raid@`1.0.11`](./stream-projects/raid) - Stream Raids
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { initTruffleApp } from "https://npm.tfl.dev/@trufflehq/sdk@0.3.2";
import { fromSpecObservable } from "../general.ts";

function initApp() {
return initTruffleApp();
return initTruffleApp({
url: "https://mycelium.truffle.vip/graphql",
});
}

export const truffleApp = initApp();
Expand Down
21 changes: 20 additions & 1 deletion stream-projects/mogul-menu-v2/truffle.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,27 @@
export default {
name: "@truffle/mogul-menu-v2",
version: "3.0.202",
version: "4.0.0",
apiUrl: "https://mycelium.truffle.vip/graphql",
description: "Menu for channel points, predictions, and activities",
requestedPermissions: [],
installActionRel: {},
embeds: [
{
"iconUrl": "https://cdn.bio/assets/images/features/channel_points/icon.svg",
"slug": "mogul-menu-youtube-embed",
"contentPageType": "youtubeLive",
"defaultStyles": {
"height": "0",
"width": "0",
},
"insertionMethod": "prepend",
"parentQuerySelector": "#above-the-fold",
"isLoginRequired": true,
"windowProps": {
"title": "Channel points & Predictions",
"initialDimensions": { "x": 640, "y": 600 },
},
"url": "https://mogul-menu.truffle.vip",
},
],
};

0 comments on commit 5b4c7ee

Please sign in to comment.