Commit Graph
19 Commits
Author SHA1 Message Date
Nacho Iacovino fe53dfa054 Update dependencies and clean unused (#2328)
* Remove kyb/kyc, update stripe

* Knip cleanup, improve stripe init

* Update dependencies

* Remove unused campaign

* eslint

* unused

* Update dependencies

* Missing a focuslock here

* Add a spinner to wait for the page to reload

* Update stripe again

* format

* Update dependencies again

* update

* Update lock

* Nightly

* Recover file

* format

* update

* Run install
2024-03-15 19:17:28 +00:00
Joaquim VergesandNacho Iacovino 79ab480696 Show Update NFT Metadata button for 1155 NFTs (#2280)
* Show Update NFT Metadata button for 1155 NFTs

* A lotta changes

* Take into account erc

* Working

* Better

* Remove log

* Format

* Remove devdependencies

* Only import types when necessary

* Wallets on nightly

* whoops

* Fix build?

* Expect error for now

* Don't update tw package for now

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2024-03-05 16:47:21 +00:00
Jonas DanielsandJoaquim Verges 0c0cfdad84 Jd/cleanup (#2258)
* remove unused gql queries

* remove generated file

* init knip

* run knip and remove unused

* lock

---------

Co-authored-by: Joaquim Verges <[email protected]>
2024-02-28 17:58:56 +00:00
Jonas Daniels 121226ed91 feat: Add invariant check for input chain (#2246) 2024-02-23 18:24:58 +00:00
Nacho Iacovino 061b8c0469 Dashboard product simplification (#2228)
* Wallets -> Connect

* Changes and renamings

* Remove eslint ignores

* Fix application error

* Move back to top-level

* New onboarding

* Missing space

* Update dashboard landing

* Update
2024-02-20 22:08:40 +00:00
Gerry Saporito 4bd61e176f chore: added USDC to avalanche fuji (#2132)
* Added USDC to avalanche fuji

* added to symbol to chain name

* lint
2024-01-22 00:46:08 +00:00
Gerry Saporito 937191dfb4 chore: update payments to include rarichain testnet, frame testnet, xai, and xai testnet (#2103)
* chore: update payments to include rarichain testnet and frame testnet

* merge

* bumped chains version

* updated chain

* added xai

* updated chains

* build

* updated yarn.lock

* bump chains

* removed comments

* added supported currencies
2024-01-17 18:59:02 +00:00
Isaac Dubuque 109743c767 remove lowercasing contracts for payments register (#2112) 2024-01-11 02:02:16 +00:00
Nacho Iacovino 15c2411a18 Update naming record (#2102) 2024-01-09 20:07:09 +00:00
Nacho Iacovino 73738cee9c Fix bearer null on payments (#2089)
* Fix bearer null on payments

* Refetch when token changes
2024-01-03 21:42:44 +00:00
Isaac Dubuque 6c9c553cd3 Payments Bug Fix: showing deleted checkouts (#2071)
query only valid checkouts
2023-12-15 19:31:43 +00:00
Edward Sun bb71bb5425 Use paymentsSellerId for payments-related actions (#2066)
* Use paymentsSellerId for payments-related actions

* Remove use of account.id in payments related flows

* One more place

* Fix null check
2023-12-15 03:49:03 +00:00
Isaac Dubuque a096e20fb8 Payments Bug Fix: Register Wrong Contract Type (#2060)
* fix incorrect payment contract type

* register payments contract with name
2023-12-13 22:02:51 +00:00
Winston Yeo 9b3e8234c1 Winston/custom auth dashboard update (#2051)
* chore: sort imports

* feat: add custom auth settings to dashboard

* feat: add detail display for custom auth detail

* chore: sort imports and remove console log

* feat: add custom authentication endpoint config to the embedded wallet tabs as well

* fix: dashboard form not updating
2023-12-13 16:57:08 +00:00
Isaac Dubuque 36d03c256c Isaac/payments_test_webhooks (#2038)
* add test webhook to payments

* beautify fixes

* fix loading
2023-12-08 18:19:58 +00:00
Isaac DubuqueandNacho Iacovino f2e9bf1014 Add modal create/edit for payments webhooks (#2029)
* fixing the modal stuff

* Small stuff

* Skeleton

* Small improvements

---------

Co-authored-by: Nacho Iacovino <[email protected]>
2023-12-01 18:13:22 +00:00
Isaac Dubuque 2e7d3397ae Isaac/payment webhooks (#2022)
* merge

* testing table

* crud webhooks works

* add confirm delete modal

* add secret key

* add alerts

* need to change this to fix webhook issues

* new webhook table

* updating with nachos comments

* cleaning up

* adding api key

* prettier

* minor changes

* update type

* cleanup

* cleanup
2023-11-30 23:06:11 +00:00
Nacho Iacovino 7655cde2d9 Enable custom contracts for checkouts (#2008)
* Inputs wip

* Its working bbbyyy

* Both ways

* This should work but it's ugly

* Welp, a lot of stuff happened here

* Make it possible to enable custom contracts

* Fix copy

* Better wording
2023-11-23 03:56:31 +00:00
04ad22c250 Migrate checkouts v0 (#1986)
* feature(payments): initialize GQL and page structure

* initialize apollo provider

* port over .graphql files and fix up generation

* fix codegen

* .ts files are fine for hooks

* feat: add credentials option to ApolloClient

* .env.example update

* Get payments seller id from api server in fetchAuthToken (#1839)

Get paymentsSellerId from api server in fetchAuthToken

* Push up example with `paymentsSellerId`

* Remove console.logs

* Move to component to compile

* Render all contracts table (filtered)

* Enable payments button

* Abstract a bit

* Add graphql query to usePayments

* Get analytics

* Add parsedOverview

* Fix prettier

* Create checkout logic

* Create checkout form shenanigans

* Some UI massaging

* A bit more

* Enable payments redirect

* Work for erc1155, disable cache

* yes

* Some progress with cache? :D

* loglog

* Fix tracking

* Abstract remove button

* We're doing it backwards

* Cast to number

* whoops

* Edit checkout logic plz

* Empty state

* plz

* Fix for real

* Default

* Filter contracts, some more empty states

* Moar empty states

* Error flow

* More empty states, less foot shooting

* Get contract name for payment-enabled contracts

* Filter default checkout, show contractId

* Fix url redirect

* whoops

* Fix logic

* feature: added checkout seller account settings to dashboard (#1931)

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>

* invalidateQueries onSuccess

* Revert prior change and add apollo refetch()

* Try network-only

* Add for contracts as well

* wip

* API Keys capabilities yay

* Remove network-only policy

* Use lazy queries

* Fix api keys

* isLoading states

* All the cache

* now

* Rename

* Big wip

* Fix date picker

* chore: added thirdweb_client_id to checkout fragment (#1957)

* stuff

* Ensure accountId

* Copy

* Fix mutation

* Fix loading states

* wip

* Kyb shenanigans

* Kyc shenanigans :D

* More kyc shenanigans

* Fix file uploader?

* Annoying response

* RPC url pls

* Remove unused imports

* Nope

* Lots of checks

* Fix kyb check

* Kyc improvements

* Moar

* hid hid

* Move around

* Nope

* Cache?

* Lowercase

* Webhooks file

* Add more supported chains

* Full

* Fix RPC url

* Update contractArgs

* Much better

* Error state

* Validation for URL

* Allow empty string

* Improve KYB experience

* Add compliance email

* Fix upload to cloudflare

* Add preview button

* Improve preview

* Okay

* Fix font weight

* Just because

* Use the Preview environment for workflows

* Pass environment var name context through

* syntax update

* Test - show public env var

* syntax

* See if public variable makes it through

* Add public api

* Use secrets instead of vars

* Remove test

---------

Signed-off-by: Jonas Daniels <[email protected]>
Signed-off-by: Edward Sun <[email protected]>
Signed-off-by: Juan Leal <[email protected]>
Co-authored-by: Jonas Daniels <[email protected]>
Co-authored-by: Edward Sun <[email protected]>
Co-authored-by: gerrysaporito <[email protected]>
Co-authored-by: Juan Leal <[email protected]>
Co-authored-by: easyrun42 <[email protected]>
2023-11-22 23:21:53 +00:00