Skip to content

Commit

Permalink
fix: some imports with Framegear and added a dope Favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia committed Feb 24, 2024
1 parent 33db69b commit 719ef73
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 8 deletions.
2 changes: 1 addition & 1 deletion framegear/app/api/postFrame/route.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NextRequest } from 'next/server';
import { getMockFrameRequest } from '@coinbase/onchainkit';
import { getMockFrameRequest } from '@coinbase/onchainkit/frame';

export async function POST(req: NextRequest) {
const data = await req.json();
Expand Down
1 change: 0 additions & 1 deletion framegear/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"next": "14.1.0",
"react": "^18",
"react-dom": "^18",
"viem": "^2.7.13",
"yup": "^1.3.3"
},
"devDependencies": {
Expand Down
13 changes: 7 additions & 6 deletions framegear/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -438,16 +438,17 @@ __metadata:
languageName: node
linkType: hard

"@coinbase/onchainkit@npm:^0.8.0":
version: 0.8.0
resolution: "@coinbase/onchainkit@npm:0.8.0"
"@coinbase/onchainkit@npm:^0.9.4":
version: 0.9.4
resolution: "@coinbase/onchainkit@npm:0.9.4"
peerDependencies:
"@xmtp/frames-validator": ^0.5.0
graphql: ^14
graphql-request: ^6
react: ^18
react-dom: ^18
viem: ^2.7.0
checksum: 89b38b96bea17b2a7abcb878de53a14327db898415a9e4f18881257db95e8f07091b10c16390be4438445f74cedf8a27dbca3bb96dd071c6810cf666fa6bc201
checksum: 0e7ea8c3eda0d46f3eb690dc04f02db13fd0304b89150961f4047b33ef218182a2e04b4306889647becc679bdc681e2bc5cf0f604f968bd5af97328241305398
languageName: node
linkType: hard

Expand Down Expand Up @@ -3192,7 +3193,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "framegear@workspace:."
dependencies:
"@coinbase/onchainkit": "npm:^0.8.0"
"@coinbase/onchainkit": "npm:^0.9.4"
"@radix-ui/react-icons": "npm:^1.3.0"
"@testing-library/jest-dom": "npm:^6.4.2"
"@testing-library/react": "npm:^14.2.1"
Expand Down Expand Up @@ -7140,4 +7141,4 @@ __metadata:
type-fest: "npm:^2.19.0"
checksum: cc00e98af8617b779dd151d6a77779228cfe973a185c743628b2afdecda88c333187d058c1199518d696c15827ba9b757a6c57c1ace6766d970d3cd2368c3264
languageName: node
linkType: hard
linkType: hard
Binary file added site/docs/public/favicon.ico
Binary file not shown.
Binary file added site/docs/public/favicon/16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions site/docs/public/favicon/16x16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/docs/public/favicon/48x48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions site/docs/public/favicon/48x48.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added site/docs/public/favicon/96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions site/docs/public/favicon/96x96.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions site/docs/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "OnchainKit",
"short_name": "OnchainKit",
"icons": [
{
"src": "/favicon/16x16.png",
"sizes": "16x16",
"type": "image/png"
},
{
"src": "/favicon/48x48.png",
"sizes": "48x48",
"type": "image/png"
},
{
"src": "/favicon/96x96.png",
"sizes": "96x96",
"type": "image/png"
}
],
"theme_color": "#000000",
"background_color": "#000000",
"start_url": "/",
"display": "standalone",
"orientation": "portrait"
}

0 comments on commit 719ef73

Please sign in to comment.