Skip to content

Commit

Permalink
Merge branch 'release/1.11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahul Neel Upadhyaya committed Mar 10, 2024
2 parents 2daa663 + 02169a2 commit 0a6b1aa
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .esm.source-map.edn

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .npm.source-map.edn

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.11.1
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@totalperspective/pondermatic",
"version": "1.11.0",
"version": "1.11.1",
"description": "Functional effect system driven rules engine",
"engines": {
"node": ">=16"
Expand Down
8 changes: 4 additions & 4 deletions src/pondermatic/index.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@
(defn console-tap
([x]
(if (and (map? x) (:level x))
(let [{:keys [level]} x
(let [{:keys [level result]} x
level (condp = level
:trace :debug
:fatal :error
Expand All @@ -303,7 +303,7 @@
(name level)))]
(if (fn? log)
(log x)
(js/console.log x)))
(js/console.log (dissoc x :result) result)))
(js/console.log x))))

(defn eval-string
Expand Down Expand Up @@ -359,12 +359,12 @@
#_{:clj-kondo/ignore [:clojure-lsp/unused-public-var]}
(defn exports []
(cond
(and js/globalThis.pondermatic js/globalThis.pondermatic.api)
(and (.-pondermatic js/globalThis) (.-api js/globalThis.pondermatic))
(do
(js/console.log "Pondematic - Browser version detected")
js/globalThis.pondermatic.api)

js/globalThis.pondermatic
(.-pondermatic js/globalThis)
(do
(js/console.log "Pondematic - Initialising Browser version")
(set! js/globalThis.pondermatic.api api)
Expand Down

0 comments on commit 0a6b1aa

Please sign in to comment.