Skip to content
This repository has been archived by the owner on Apr 29, 2023. It is now read-only.

Commit

Permalink
Make cljs oauth encoding/decoding fns public
Browse files Browse the repository at this point in the history
  • Loading branch information
cjsauer committed Sep 3, 2019
1 parent 93b3885 commit eb9923e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion project.clj
@@ -1,4 +1,4 @@
(defproject open-company/lib "0.17.16-alpha2"
(defproject open-company/lib "0.17.16-alpha3"
:description "OpenCompany Common Library"
:url "https://github.com/open-company/open-company-lib"
:license {
Expand Down
4 changes: 2 additions & 2 deletions src/oc/lib/oauth.cljc
Expand Up @@ -24,15 +24,15 @@


#?(:cljs
(defn- encode-state-string
(defn encode-state-string
[data]
(-> data
pr-str
js/btoa))
)

#?(:cljs
(defn- decode-state-string
(defn decode-state-string
[s]
(-> s
js/atob
Expand Down

0 comments on commit eb9923e

Please sign in to comment.