mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-14 03:54:47 +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,10 +1,10 @@
|
||||
import * as id from "m3o/id";
|
||||
const { IdService } = require("m3o/id");
|
||||
|
||||
// List the types of IDs available. No query params needed.
|
||||
async function ListTheTypesOfIdsAvailable() {
|
||||
let idService = new id.IdService(process.env.MICRO_API_TOKEN);
|
||||
async function listTheTypesOfIdsAvailable() {
|
||||
let idService = new IdService(process.env.MICRO_API_TOKEN);
|
||||
let rsp = await idService.types({});
|
||||
console.log(rsp);
|
||||
}
|
||||
|
||||
await ListTheTypesOfIdsAvailable();
|
||||
listTheTypesOfIdsAvailable();
|
||||
|
||||
Reference in New Issue
Block a user