mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-16 04:54:42 +00:00
Change build setup of JS clients, reintroduce beta publishing after losing it due to unmerged code (#238)
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import * as emoji from "m3o/emoji";
|
||||
const { EmojiService } = require("m3o/emoji");
|
||||
|
||||
// Print text and renders the emojis with aliases e.g
|
||||
// let's grab a :beer: becomes let's grab a 🍺
|
||||
async function PrintTextIncludingEmoji() {
|
||||
let emojiService = new emoji.EmojiService(process.env.MICRO_API_TOKEN);
|
||||
async function printTextIncludingEmoji() {
|
||||
let emojiService = new EmojiService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await emojiService.print({
|
||||
text: "let's grab a :beer:",
|
||||
});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await PrintTextIncludingEmoji();
|
||||
printTextIncludingEmoji();
|
||||
|
||||
Reference in New Issue
Block a user