Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

react native support #819

Merged
merged 30 commits into from Jan 21, 2020
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
209909c
WIP: use isomorphic-webcrypto for RN
sirpy Sep 10, 2019
5d352d9
WIP: expo friendly exports
sirpy Sep 10, 2019
a2a7ef9
WIP: buffer for RN
sirpy Sep 10, 2019
0311969
WIP: textencoder for RN
sirpy Sep 10, 2019
0b31971
WIP: aeskey from jwk instead of raw for RN
sirpy Sep 11, 2019
502dd9a
fix: missing taglength for msrcrypto
sirpy Sep 11, 2019
2027012
add: update isomorphic-webcrypto
sirpy Sep 14, 2019
a0ab693
add: match isocrypto api
sirpy Sep 14, 2019
932ff99
add: failing test for 4e2 as 400
sirpy Sep 14, 2019
87f69ae
Merge pull request #2 from amark/master
sirpy Sep 17, 2019
6d798a1
Merge branch 'master' into rnsupport
sirpy Sep 17, 2019
0804c5e
fix: remove extra atob btoa
sirpy Sep 17, 2019
a6fc7fd
add: sea unbuild
sirpy Sep 17, 2019
8e7a536
refactor: according to mhelander review
sirpy Sep 21, 2019
a2086cd
refactor: shorter require
sirpy Sep 21, 2019
e8f15b2
fix: make bug test pass, capitlize bug test.
sirpy Nov 4, 2019
209fe60
fix: npm ci + sea test
sirpy Nov 4, 2019
f15281d
Merge pull request #3 from amark/master
sirpy Nov 4, 2019
92a4f7a
Merge branch 'master' into rnsupport
sirpy Nov 4, 2019
325c7b4
add: restore old browser export and add react-native friendly exports
sirpy Nov 4, 2019
5172c38
fix: import buffer into correct global/window
sirpy Nov 21, 2019
ef49a73
fix: bad comparison
sirpy Nov 21, 2019
b2709e2
fix: only include buffer if no btoa/atob
sirpy Nov 29, 2019
4619e57
fix: unknown issue where global S object is modified, then sign doesn…
sirpy Jan 6, 2020
fcce25d
remove semicolons
nicastelo Jan 6, 2020
4b14e7c
remove semicolons (#7)
sirpy Jan 6, 2020
de43978
Merge pull request #8 from GoodDollar/rnsupport-no-scolons
nicastelo Jan 6, 2020
7a08fc4
Merge branch 'master' into rnsupport
sirpy Jan 7, 2020
f287887
fix: force use of isomorphiccrypto on react-native
sirpy Jan 7, 2020
0c27b81
Merge branch 'rnsupport' of https://github.com/gooddollar/gun into rn…
sirpy Jan 7, 2020
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

WIP: buffer for RN

  • Loading branch information
sirpy committed Sep 10, 2019
commit a2a7ef91bb241fa5b9e1b2986012add51158ccde

Some generated files are not rendered by default. Learn more.

@@ -51,6 +51,7 @@
"node": ">=0.8.4"
},
"dependencies": {
"buffer": "^5.4.2",
"ws": "~>7.1.0"
},
"optionalDependencies": {
3 sea.js
@@ -3,6 +3,9 @@
/* UNBUILD */
var root;
if(typeof window !== "undefined"){ root = window }
if(typeof Buffer === "undefined") {
global.Buffer = require("buffer").Buffer
}
if (typeof btoa === "undefined") {
global.btoa = require("btoa");
global.atob = require("atob");
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.