Bradley Matusiak
Bradley Matusiak
your above code in the last comment has a problem ``` const group_pair = crypto.randomUUID(); console.log(typeof group_pair.pub) ```
so.. im not 100% sure, but i think Map/Set are BEST used together and put/on(ce) are BEST used together.. map() use to list out keys ... to map out more...
ok cool... there is like small handful of places where this problem could be. because SEA adds in stuff to check/validate user profiles and hashed content. and that code starts...
can you try this? `npm install github:bmatusiak/gun-rebuild github:bmatusiak/gun-rebuild-sea` ``` import Gun from "gun" import "gun/sea" export const db = Gun({ peers: [] }) ``` *dont use `axe`. you will run...
now add `import "gun/lib/mobile"` and do `npm install text-encoding buffer` ``` import "gun/lib/mobile" import Gun from "gun" import "gun/sea" export const db = Gun({ peers: [] }) ``` if it...
ok so, i ran `npx create-next-app@latest` i did `npm install github:amark/gun github:bmatusiak/gun-rebuild github:bmatusiak/gun-rebuild-sea text-encoding buffer` this is my `src\pages\index.js` file ```js // import Image from 'next/image' import { Inter }...
@amark when i did `import 'gun/lib/mobile';` i got ``` ⨯ .\node_modules\gun\lib\mobile.js:1 import Buffer from "buffer"; ^^^^^^ SyntaxError: Cannot use import statement outside a module ``` it also does not respect...
i dont have this issue.. however, i do get the TypeError for sw.js but that has no effect of the usage of the side for me
try this ``` everyauth.facebook .appId('bla') .appSecret('bla') .handleAuthCallbackError(function(req, res) { //The code... }) .findOrCreateUser(function(session, accessToken, accessTokExtra, fbUserMetadata) { //The code... this.redirectPath('/'); }) ``` this should allow you to change redirect path...
This would be something you will need to manage. you can check if `req.session.auth.userId` and `auth.loggedIn` is true and add a agro to Auth Modules