Skip to content

Commit 7fc9512

Browse files
committed
dont require crypto since not used (blows up browser bundle)
1 parent 22a4638 commit 7fc9512

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

javascript/dist/pdsdk.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

javascript/src/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
const crypto = require("crypto") // TODO browser...
1+
// TODO currently not used... this adds a lot to browser bundle
2+
// const crypto = require("crypto")
23

34
const axios = require("axios")
45

0 commit comments

Comments
 (0)