Change build setup of JS clients, reintroduce beta publishing after losing it due to unmerged code (#238)

This commit is contained in:
Janos Dobronszki
2021-10-22 09:49:47 +01:00
committed by GitHub
parent 7cc2a86d0f
commit 293d5ecdde
140 changed files with 13946 additions and 643 deletions

View File

@@ -1,8 +1,8 @@
import * as sunnah from "m3o/sunnah";
const { SunnahService } = require("m3o/sunnah");
// Get all the chapters of a given book within a collection.
async function ListTheChaptersInAbook() {
let sunnahService = new sunnah.SunnahService(process.env.MICRO_API_TOKEN);
async function listTheChaptersInAbook() {
let sunnahService = new SunnahService(process.env.MICRO_API_TOKEN);
let rsp = await sunnahService.chapters({
book: 1,
collection: "bukhari",
@@ -10,4 +10,4 @@ async function ListTheChaptersInAbook() {
console.log(rsp);
}
await ListTheChaptersInAbook();
listTheChaptersInAbook();