Skip to content

Commit

Permalink
fix: build issues and make plan gate disableable
Browse files Browse the repository at this point in the history
  • Loading branch information
travis committed Nov 6, 2023
1 parent 662140a commit f3210d8
Show file tree
Hide file tree
Showing 7 changed files with 75 additions and 551 deletions.
10 changes: 7 additions & 3 deletions .env.tpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1NzhdvF6A5ufQX5vKNZuRhie
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC

# set these to your upload API service URL and the DID your service is using as its service DID
NEXT_PUBLIC_W3UP_SERVICE_URL=https://up.web3.storage
NEXT_PUBLIC_W3UP_SERVICE_DID=did:web:web3.storage

# set these to values from Stripe settings
NEXT_PUBLIC_STRIPE_PRICING_TABLE_ID=prctbl_1NzhdvF6A5ufQX5vKNZuRhie
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_51LO87hF6A5ufQX5viNsPTbuErzfavdrEFoBuaJJPfoIhzQXdOUdefwL70YewaXA32ZrSRbK4U4fqebC7SVtyeNcz00qmgNgueC

# set this to skip forcing users to pick a Stripe plan
NEXT_PUBLIC_DISABLE_PLAN_GATE=false
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@
"@ucanto/core": "^9.0.0",
"@ucanto/interface": "^9.0.0",
"@ucanto/transport": "^9.0.0",
"@w3ui/react-keyring": "^6.1.0",
"@w3ui/react-uploader": "^5.1.0",
"@w3ui/react-uploads-list": "^4.1.0",
"@web3-storage/access": "^16.3.0",
"@w3ui/react-keyring": "^6.2.0",
"@w3ui/react-uploader": "^5.2.0",
"@w3ui/react-uploads-list": "^4.2.0",
"@web3-storage/access": "^16.4.0",
"@web3-storage/upload-client": "^11.1.0",
"blueimp-md5": "^2.19.0",
"next": "^13.5.4",
"react": "latest",
Expand Down
Loading

0 comments on commit f3210d8

Please sign in to comment.