2408 Commits

Author SHA1 Message Date
Bradley Matusiak
87652467b5
chain fork (#1247)
* chain fork

* removed test

* removed unbuild

* moved chain fork to libs folder
2022-06-06 15:02:36 -07:00
Bradley Matusiak
de46cccc1e
Unbuild update (#1248)
* unbuild gun

* unbuild sea
2022-06-03 12:27:38 -07:00
abenezermario
fa1e1578f7
fixed s3 (#1245) 2022-05-30 20:06:43 -07:00
Bradley Matusiak
42720c57ea
unbuild is no longer silent (#1239)
* prepare to sync gun lib unbuild on npm install

* Update unbuild.js

* Update package.json

* Update package.json
2022-05-30 20:02:25 -07:00
Daniel Raeder
8facbcc095
Adds Heroku deploy unit testing thanks to @bmatusiak (#1244)
* Add Heroku deploy unit testing thanks to @bmatusiak

1243.js is a reference to PR #1243

* Update 1243.js

Corrected some indentation, removed unnecessary require
2022-05-30 20:00:14 -07:00
Daniel Raeder
a634b37b1a
Heroku fixes (#1243)
* Update app.json

Removed 'stack' parameter to enable using the latest Heroku stack

* Update package.json

Remove prepare parameter to fix Heroku deploys
2022-05-29 20:00:52 -07:00
Shaun Hamilton
39337338bd
fix(npm): change glob preventing GunDataNode.d.ts (#1241) 2022-05-25 10:25:33 -07:00
Bradley Matusiak
c85cb4365d
webpack example (#1240) 2022-05-24 14:08:18 -07:00
Bradley Matusiak
210a5834c6
prepare to sync gun lib unbuild on npm install (#1237) 2022-05-23 17:14:25 -07:00
Mark Nadal
55682b6f4b bump (ok ack + webrtc) @Draeder yay thanks! 2022-05-18 18:36:35 -07:00
Mark Nadal
7335f8c866 Merge branch 'master' of http://github.com/amark/gun 2022-05-18 18:10:39 -07:00
Mark Nadal
904b2f8e7f ok ack + webrtc 2022-05-18 18:10:36 -07:00
Bradley Matusiak
ced9cde41b
websocket ../index to ./index (#1235)
* Update sea.js

* Update auth.js

* Update sea.js

* Update auth.js

* Update rs3.js

* added test for login via {pub}

* gh page build

* fix index path in websocket plugin
2022-05-15 18:07:35 -07:00
Mark Nadal
94ab05b032 Merge branch 'master' of http://github.com/amark/gun 2022-05-08 20:34:16 -07:00
Mark Nadal
589a7784dc PANIC tests + AXE get dedup + fix DAM add by id 2022-05-08 20:34:06 -07:00
George Shammas
440bbffb73
lib/ison: Use setTimeout instead of setImmediate. Allows the use of indexDB in browsers (#1226) 2022-05-05 13:13:18 -07:00
Bradley Matusiak
e3eaf5e268
Allow {pair.pub} to login with pass (#1233)
* Update sea.js

* Update auth.js

* Update sea.js

* Update auth.js

* Update rs3.js

* added test for login via {pub}

* gh page build
2022-04-29 16:26:26 -07:00
Mark Nadal
a092f5a725 @rococtz fix + @draeder AXE tests. Force. 2022-04-26 23:20:34 -07:00
Mark Nadal
8f79ff7bb0 Merge branch 'master' of http://github.com/amark/gun 2022-04-26 23:18:54 -07:00
Mark Nadal
ebe6f0cf3b @rococtz fix + @dreader AXE tests 2022-04-26 23:12:52 -07:00
George Shammas
9d94b433d0
export SEA type information (#1224) 2022-04-02 16:26:08 -07:00
Mark Nadal
ff3c4f6e69
Thank you @JacobMillner for donating!!! 2022-04-02 10:07:23 -07:00
Mark Nadal
f062fc330b
Thanks Hunter Owens @howens for backing! 2022-03-23 00:28:37 -07:00
Mark Nadal
4f19440262 axe tweaks 2022-03-23 00:10:57 -07:00
Mark Nadal
e4bb977d5d
Thanks @wayjake for https://wallie.io/ supporting GUN! 2022-03-17 21:49:30 -07:00
Thorsten Zoerner
0e8b4549df
Update axe.js (#1222)
Should solve uncaught exception:
```
error] TypeError: Cannot read properties of undefined (reading 'lack')
    at Function.GET.turn (/root/.node-red/node_modules/gun/lib/axe.js:42:20)
    at Timeout._onTimeout (/root/.node-red/node_modules/gun/lib/axe.js:57:42)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7)
```

That happens in some node environments from time to time.
2022-03-17 19:00:10 -07:00
Mark Nadal
f6b65c8e7e Merge branch 'master' of http://github.com/amark/gun 2022-03-16 17:04:21 -07:00
Mark Nadal
5ea98f48e3 fix open, warn if too fast 2022-03-16 17:02:38 -07:00
Mark Nadal
41c2f64ef2
github debug stats 2022-03-13 13:39:13 -07:00
Mark Nadal
2ff35aa316 Merge branch 'master' of http://github.com/amark/gun 2022-03-11 05:17:06 -08:00
Mark Nadal
c4a613a971 json is lame 2022-03-11 05:17:01 -08:00
Mark Nadal
2bbbe36e13 prep for stash 2022-03-06 04:53:15 -08:00
Malted
532b59b098
Remove erroneous apostrophe (#1213) 2022-02-27 04:16:37 -08:00
Orimay
d53d157f19
New GUN typings (#1205)
* New GUN typings

* Fixing comments

* Gun schema is now supported

Co-authored-by: dbaranov <dbaranov@bellintegrator.com>
2022-02-18 23:17:41 -08:00
Anton W
1051e477ba
Fix offer payload (#1210) 2022-02-18 23:03:44 -08:00
bbayazit16
2c3e7d55fd
Remove val from comment (#1207)
Line 78 uses ".once", but "val" is used in comment at line 79.
2022-02-18 22:59:38 -08:00
Orimay
ba7c3e8bda
NaN -> false (#1200) 2022-02-04 03:00:10 -08:00
Orimay
ddaf523a98
NaN -> false (#1202) 2022-02-04 02:59:53 -08:00
Orimay
666569f1d7
NaN -> false (#1201) 2022-02-04 02:58:40 -08:00
Orimay
05f497778a
@Orimay put validation: adding '-Infinity' as an invalid case; speeding validation up (#1189)
* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Adding '-Infinity' as an invalid case

Adding '-Infinity' as an invalid case, not handled before
Skipping extra checks until needed (like NaN, Infinity)
Checking for 'null' first as for more common case than invalid 'undefined'

* Fixing tests to handle -Infinity

* Removing useless shim import

* Removing useless shim import

* Removing redundant undefined check

* Removing redundant undefined check

* Removing redundant undefined check

* ES5 compatibility

Co-authored-by: dbaranov <dbaranov@bellintegrator.com>
Co-authored-by: Mark Nadal <mark@gun.eco>
2022-02-04 02:41:22 -08:00
Promaethius
f85f55c5a1
test escaped backslash (#1156) 2022-02-02 22:45:55 -08:00
david smooke
ce20e0787d
Update README.md (#1181) 2022-01-15 21:22:57 -08:00
Mark Nadal
852b77f49a Merge branch 'master' of http://github.com/amark/gun 2021-12-16 01:21:04 -08:00
Mark Nadal
6780cb4334 better error + fix nested .once hanging on non-existent node when link does exist 2021-12-16 00:05:43 -08:00
Emad Kheir
77162fcb68
YSON Fixes (#1170)
* Rewrite YSON, fixes #1155

* Modify test file so it now includes a backslash to test YSON's escaping functionality

* Moved new yson implementation to ison.js

* Update YSON imports to ison.js on radisk, server and stats

* Update test to use ison.js and added emojis to test strings with unicode characters
2021-12-07 22:47:48 -08:00
tedd pasta
d1f13c86c6
make change to lib/unset.js (#1167)
* change stats.radata

* remove stats.radata file creation since fs.writeFil will do it any way

* require path and use last directory of opt file path or use radata

* make unset change
2021-12-02 18:39:37 -08:00
Natnael Teferi
9413142c80
ReactNative/Expo fix for SEA (#1169) 2021-11-28 20:05:15 -08:00
Mark Nadal
6d3ea2ecc5
Thanks to @DimensionDev https://mask.io/ for supporting! 2021-11-24 17:36:53 -08:00
Jairus Joer
3c5de47c42
Change Dockerfile python package to python3 (#1166)
As of version 3.12, the python package will no longer be supported in favor of explicitly chosen packages python2 or python3.
2021-11-23 13:52:01 -08:00
tedd pasta
396b367e4e
change stats.radata file (#1161)
* change stats.radata

* remove stats.radata file creation since fs.writeFil will do it any way

* require path and use last directory of opt file path or use radata
2021-11-23 13:51:25 -08:00