53 Commits

Author SHA1 Message Date
δυς
f2ccc37f6a reenabling EAS & switching node-ts to tsx 🏚️ 2024-08-13 19:04:31 -04:00
δυς
5a700cde42 working on relative paths & saving to Ceramic 🧇 2024-08-13 19:04:31 -04:00
δυς
2118e92bad switching to package.json import munging from TypeScript paths 🥔 2024-08-13 19:04:31 -04:00
dysbulic
b5f28061c9 pushing so I can reinstall my OS 🧙‍♂️ 2024-08-13 19:04:31 -04:00
dysbulic
8b491dff29 almost running; need to check another branch 🎤 2024-08-13 19:04:31 -04:00
dysbulic
42af27143c updating dependencies 🫛 2024-08-13 19:04:31 -04:00
dysbulic
ae24ef4095 in the process of upgrading ethers to v6 2024-08-13 19:04:31 -04:00
dysbulic
0db12a0a60 downgrading to ethers v5 🪕 2024-06-11 05:29:42 -04:00
Sero
1345015cbd Eas - ethers compat issues between dependencies (#1748)
* eh

* dashboard layout

* t

* t

* ethers issues identified

* `/me` is loading & linting without error 🍞

* fixing an `import`s order error 🛼

* Update useEAS.ts

* eas

* attestations working

* get attestations

* attest

* chore: improve design

* chore: size

* change design

* fix: update schema

* chore

* eas

* eas

---------

Co-authored-by: dysbulic <dys@dhappy.org>
Co-authored-by: Udit Takkar <udit222001@gmail.com>
2024-04-29 07:38:35 -04:00
Sero
37c05d7882 remove sourcecred 2024-02-06 10:14:00 -05:00
dysbulic
47e27e5455 working on build task 🥳 2023-08-24 14:13:15 -06:00
dysbulic
eac69b2502 testing lint-staged on root only 🍖 2023-08-24 14:13:15 -06:00
dysbulic
98942767a0 running typecheck on both precommit & prepush 🙊 2023-08-24 14:13:15 -06:00
δυς
4a3e611bf6 Upgrade to TypeScript v5 and fix resultant issues (#1584)
* `yarn typecheck` passing again after hours running in circles post a upgrade to TypeScript v5 🧥

* fixed height calculations & removed unused imports 👳🏿‍♀️
2023-08-24 14:13:15 -06:00
Alec LaLonde
0ca66d1da3 Implemented player hydration from Hasura 2023-08-09 09:44:10 -06:00
Alec LaLonde
08bae099a9 Cache ENS lookup (#1542)
* Added usePlayerName and usePlayerURL

* Removed resize handler as it was always rendering regardless of edit status

* re-work player page to avoid duplicate player lookups

* Lint fixes

* Force 5.x version of ethers
2023-04-12 05:54:59 -04:00
δυς
5f8cae1aea Improving Leaderboard Loading Time
* removing BrightId *(unused)* and DAOHaus memberships *(loaded separately)* from `Player` retreival 🦷

* setting `max-width` on hamburger menu 🧾

* increasing shown DAOs, shunting remote schemas, & handling missing Discord token 🤐

* triggering recalc on element resize 🚲

* adding copy of ETH address on profile image click 🛹

* adding `@emotion/cache` to try and eliminate unstyled content render 

* cleaning up failed emotion cache experiment 🚓

* updating Ceramic & locking versions to beat a dependency conflict 🤲🏿
2023-01-31 16:44:01 -05:00
dan13ram
0da62e9ee9 fixed version of ethers in utils package 2023-01-20 17:05:24 +05:30
δυς
9e37df6207 Update MyMeta to ECMAScript Modules + Switch to DID:PKH (#1429)
* beginning ESM transition: Ceramic libraries, Next.js, & TypeScript configuration 🇭🇰

* updating Chakra, React, & Next image `import`s 👔

* upgrading `@types/react`, import extensions for Node, & b64 SVG to PNG ⛹🏿‍♀️

* fixing relative import names & upddating @types packages 📻

* removoing WYSIWYG editor, draft-js, & updating express ⛹🏿‍♀️

* updating OpenSea 🚲

* ¡@metafam/utils is building! 📰

* ¡Discord bot is building! 👘

* ¡backend is building! 🛩

* fixed everything but Ceramic DID update 🏍

* switching to DID:PKH 📦

* fixing "only one child allowed" error 🙇🏿‍♀️

* importing `React` as required by tsc's `isolatedModules` 🇲🇰

* disabling testing rather than taking the time to fix jest ⚜

* removing set `types` from `tsconfig` to fix compilation error 🥦

* printing tests disabled warning, hopefully 🙀

* setting file to be copied to the new resolver 👁️‍🗨️

* "paths-resolver" not "paths-resolve" 🦴

* switching back to relative paths rather than trying to fix `paths` 

* `yarn backend:dev` not working, testing GitHub build 🎺

* removing design system build & fixing some images ✊🏿

* fixed "expected function got string" error & trying to address undefined HTMLElement 🐡

* fixing @emotion/react tree shaking by making external 🏏

* including eslint config in Dockerfile 🌾

* fixing more images 🎯

* updating DIDs & switching back to an updated DID:3 ❇

* switching to w3s.link gateway & fixing early termination of storage endpoint 🔭

* switching back to ipfs.io gateway b/c w3s.link serves SVGs as application/xml which are CORB blocked 🥾

* fixing node config name in eslint ignore & shortening some paths 🧰

* fixing ts-node not handling project references 🥁
2022-11-14 11:26:41 -05:00
Alec LaLonde
49f1bc9a04 Fixed tests 2022-08-10 09:36:19 -06:00
Alec LaLonde
34dcc87664 Reverted the ceramic dependency bumps 2022-07-11 21:06:45 -06:00
Alec LaLonde
90f48fdb25 Bumped a whole bunch of deps 2022-07-11 21:06:45 -06:00
δυς
8eec746cbe Changing import location of isAddress function (closes #1274) 2022-05-31 07:13:41 -04:00
Arsenije Savic
ea42bea2c0 Dashboard fixes; closes #1209, #1210, #1223, & #1224
* Remove connect to progress if the network is not mainnet

* Move xpHelpers to the utils

* Add tests to the utils package

* Add xpHelpers test

* Add convertToRoman util function

* Display current season label dynamically

* Add onboarding text if player does not have xp

* Remove ConnectToProgress import

* Add connect to progress if the network is not mainnet

* Show edit button if network is not main

* Refactor xp helper season start

* displaying modal when chain change is needed 🛬

* using Unicode Roman numerals Ⅲ

* slight formatting fixes 🗯
2022-05-18 01:48:07 -04:00
dan13ram
ca109f87ab feat: upgraded dependencies 2022-05-03 09:31:01 -06:00
Alec LaLonde
e3dc738288 Regenerated yarn.lock after rebase 2022-04-25 21:14:29 -06:00
Michiel Quellhorst
f1e4902dd3 SC update on discord bot package (#1202)
* SC update on discord bot package

* Fix GithubStorage

* Bumped remaining sourcecred references to 0.10.3, updated typings

* Bumped SC to 0.11

* Fix command in usage hint

Co-authored-by: Alec LaLonde <alec@convergencelabs.com>
2022-03-20 18:09:24 +01:00
vidvidvid
65810855e6 chore: bump ethers 5.4.3 -> 5.5.3 2022-02-01 11:29:22 -07:00
vidvidvid
22ecd3bb18 chore: bump js-base64 3.6.1 -> 3.7.2 2022-02-01 11:29:22 -07:00
δυς
f5295c3242 Reading and Writing Profile Info From Ceramic (#943)
This is being merged for further testing so as to not block the progress of `develop` & not require more rebases.
2022-01-25 16:51:53 -05:00
dan13ram
ea3db28b66 fixed LinkOverlay issues 2021-08-25 08:56:33 -06:00
dependabot[bot]
9cf6d910d5 Bump ethers from 5.3.0 to 5.4.1
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.3.0 to 5.4.1.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.4.1/packages/ethers)

---
updated-dependencies:
- dependency-name: ethers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 07:47:46 +05:30
Hammad Jutt
142aa8a9a3 Allow users to force-update their linked ETH address
Removed sc_identity_id from Player table because it enforces ETH addresses to be used as the single source of truth for users and prevents conflicts when users update their ETH address in the ledger. sc_identity_id is not needing anywhere in our backend / data model.
2021-07-05 21:44:14 -06:00
Hammad Jutt
8a6054f70e Release develop branch to prod (#598)
* Bump next from 10.2.0 to 10.2.2 (#574)

Bumps [next](https://github.com/vercel/next.js) from 10.2.0 to 10.2.2.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.0...v10.2.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @chakra-ui/react from 1.6.1 to 1.6.2 (#580)

Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.1...@chakra-ui/react@1.6.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @types/node from 15.3.0 to 15.3.1 (#577)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.0 to 15.3.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update migrateSourceCredAccounts scripts to use Eth address as source of truth

* Add githubApiToken to backend config

* Bump ethers from 5.1.4 to 5.2.0 (#589)

Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.2.0/packages/ethers)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @typeit/discord from 4.0.9 to 4.0.10 (#585)

Bumps [@typeit/discord](https://github.com/OwenCalvin/discord.ts) from 4.0.9 to 4.0.10.
- [Release notes](https://github.com/OwenCalvin/discord.ts/releases)
- [Changelog](https://github.com/OwenCalvin/discord.ts/blob/master/CHANGELOG.md)
- [Commits](https://github.com/OwenCalvin/discord.ts/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump js-base64 from 3.6.0 to 3.6.1 (#590)

Bumps [js-base64](https://github.com/dankogai/js-base64) from 3.6.0 to 3.6.1.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/3.6.0...3.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @types/node from 15.3.1 to 15.6.1 (#594)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 15.3.1 to 15.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump next-transpile-modules from 7.0.0 to 7.2.0 (#584)

Bumps [next-transpile-modules](https://github.com/martpie/next-transpile-modules) from 7.0.0 to 7.2.0.
- [Release notes](https://github.com/martpie/next-transpile-modules/releases)
- [Commits](https://github.com/martpie/next-transpile-modules/compare/7.0.0...7.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @types/react from 17.0.5 to 17.0.6 (#576)

Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 17.0.5 to 17.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Use staging backend host for staging Hasura instance

* github actions for develop branch

* Add github secret to staging-backend env

* Fix token config in render.yaml

Matches whats configured in Render dashboard

* Bump next from 10.2.2 to 10.2.3 (#612)

Bumps [next](https://github.com/vercel/next.js) from 10.2.2 to 10.2.3.
- [Release notes](https://github.com/vercel/next.js/releases)
- [Changelog](https://github.com/vercel/next.js/blob/canary/release.js)
- [Commits](https://github.com/vercel/next.js/compare/v10.2.2...v10.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump typescript from 4.2.4 to 4.3.2 (#611)

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump ethers from 5.2.0 to 5.3.0 (#616)

Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.3.0/packages/ethers)

---
updated-dependencies:
- dependency-name: ethers
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump @chakra-ui/react from 1.6.2 to 1.6.3 (#621)

Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui) from 1.6.2 to 1.6.3.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/compare/@chakra-ui/react@1.6.2...@chakra-ui/react@1.6.3)

---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump sourcecred from 0.8.7 to 0.9.0 (#623)

Bumps [sourcecred](https://github.com/sourcecred/sourcecred) from 0.8.7 to 0.9.0.
- [Release notes](https://github.com/sourcecred/sourcecred/releases)
- [Commits](https://github.com/sourcecred/sourcecred/compare/sourcecred-v0.8.7...sourcecred-v0.9.0)

---
updated-dependencies:
- dependency-name: sourcecred
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2021-06-02 18:26:14 +05:30
dependabot[bot]
b845e7d162 Bump eslint-plugin-import from 2.22.1 to 2.23.2 (#560)
* Bump eslint-plugin-import from 2.22.1 to 2.23.2

Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.2.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.2)

Signed-off-by: dependabot[bot] <support@github.com>

* fixed eslint-plugin-import update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dan13ram <dan13ram@gmail.com>
2021-05-17 23:12:47 +05:30
Alec LaLonde
5209dc14cf Migrated existing xp command functionality 2021-05-06 13:07:32 -06:00
dan13ram
8517a26048 Upgrade dependencies (#486)
* upgraded storybook dependencies

* upgraded web dependencies

* updated timezone selector

* upgrade chakra in metamaps

* upgraded react-dnd in metamaps

* upgraded framer-motion

* fixed types in metamaps

* upgraded eslint

* upgraded lerna, husky and graphql

* upgraded node version

* removed metamaps package

* fixed all eslint issues

* ran yarn format to prettier format all files

* updated lint-staged & husky scripts

* add executable perms to pre-push scripts

* updated yarn.lock

* fixed eslint and moved chakra icons to ds

* fixed emotion errors

* removed extra useContext

* update yarn.lock

* upgraded more packages

* removed unnecessary .huskyrc.json

* lint fix
2021-05-01 12:46:48 +05:30
Pacien Boisson
a02d864c9e Support connection from smart wallets (#416)
* Support connection from smart wallets

* Fix unreachable code
2021-03-16 17:42:07 +04:00
Pacien Boisson
d094e1c4ba Quest create handlers (#340)
* create quest handler

* Updating action schema and removing backend-only insert permissions

* Better handle auth bearer token

* Basic tests for creating quests

* Check if player has > 100 pSEED to allow creating a quest

* move quests actions into its own router

* create quest completion

* updateCompletion handler

* update types

* Improving handler input types

* Improve types and logic

* Removing types file and using autogenerated ones

* Reject other submissions when accepting a unique quest completion

* Fix linting errors

* Fix CreateQuestCompletionInput maybe

* error messages

* Puttin pSEED contractnaddress in config file

Co-authored-by: Hammad Jutt <jutt@ualberta.ca>
2021-02-22 12:58:31 +04:00
dependabot[bot]
e76a5fd586 Bump uuid from 8.3.1 to 8.3.2 (#334)
Bumps [uuid](https://github.com/uuidjs/uuid) from 8.3.1 to 8.3.2.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.1...v8.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-16 11:17:47 +04:00
Hammad Jutt
51089ae49e Use exact versions in package.json files
Since Dependabot is updating packages for us, we should only use exact version numbers to be explicit
for what version we are on and reduce chances of having incorrect versions installed
2021-01-29 13:04:49 -07:00
Hammad Jutt
91b94c48fe Implement User Auth on Web (#145)
* Create "me" view for logged in user

* Implement user auth on web

* Fix type errors

* Setup static regeneration

* Disable next export

* Address PR feedback
2020-10-11 11:33:16 -06:00
dependabot[bot]
4892fef72f Bump js-base64 from 2.6.4 to 3.5.2 (#116)
Bumps [js-base64](https://github.com/dankogai/js-base64) from 2.6.4 to 3.5.2.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/2.6.4...3.5.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-08 11:23:57 +02:00
Hammad Jutt
6ee27a3695 Fix backend build and add graphql codegen watch to web:dev 2020-08-17 15:05:17 -06:00
Hammad Jutt
a11d4fea21 Use new TS build system for ds and utils 2020-07-29 14:36:41 -06:00
Hammad Jutt
c273196658 Cleanup Monorepo Build and packaging 2020-07-24 10:01:25 -06:00
Hammad Jutt
26c9bfa134 Cleanup / simplify package.json scripts and names 2020-07-13 11:06:24 -06:00
Hammad Jutt
209f5df23d Centralize typescript package to root package.json 2020-07-13 11:06:24 -06:00
Hammad Jutt
c063c3c41a Setup explicit ports to prevent broken deployment on Render
https://github.com/hasura/graphql-engine/issues/3904
2020-07-12 11:41:52 -06:00
Hammad Jutt
5cfd7d88dd Setup multistage build to allow running backend server in dev mode so we dont have to run it outside Docker
This will automatically restart the backend server in docker anytime there are changes to the original
source files instead of copying over when running in dev mode. In production, it will still do the
normal copy/build.
2020-07-06 01:55:44 -06:00