WARNING From CLJS you should ONLY set the temp-token, setting another type of token would expose a permanent credential to client side attackers. If a temp-token is supplied in the credentials var it ...
Works with JS promises. Returns [err res] where err - a caught exception (reject) and res - the result of the promise work (resolve). (ns my-ns (:require [cljs-await.core :refer [await]] ...