Skip to content

Commit

Permalink
feat: upgrade to support lens v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Kris Urbas committed Nov 1, 2023
1 parent f86cc40 commit ed09cc2
Show file tree
Hide file tree
Showing 11 changed files with 2,367 additions and 1,080 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ engine-strict=true
auto-install-peers=false
strict-peer-dependencies=false
link-workspace-packages=false
node-linker=hoisted # required to fix zod version incompatibility
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ https://share.lens.xyz/u/<handle>[?by=<appId>]

Where:

- `<handle>` is the profile handle inclusive of the `.lens` suffix but without the `@` prefix (e.g. `alice.lens`, `bob.lens`, etc.).
- `<handle>` is the profile v2 full handle including the namespace (e.g. `lens/alice`, `lens/bob`, etc.).
- `<handle>` is the profile v1 handle inclusive of the `.lens` suffix but without the `@` prefix (e.g. `alice.lens`, `bob.lens`, etc.).
- `<appId>` is an optional parameter that reflect the Lens App ID of the app used to generate the Lens Share Link. This is used to give priority to the app that generated the Lens Share Link when the user opens the Lens Share Link.

Some examples:
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint": "next lint && pnpm run tsc",
"test:dev": "playwright test --ui",
"test": "playwright test"
"test": "playwright test",
"tsc": "tsc --noEmit"
},
"dependencies": {
"@heroicons/react": "^2.0.18",
"@lens-protocol/client": "1.2.0-next.1",
"@lens-protocol/shared-kernel": "^0.8.0",
"@thirdweb-dev/storage": "^1.1.4",
"@lens-protocol/client": "2.0.0-alpha.18",
"@lens-protocol/shared-kernel": "0.11.0-alpha.6",
"@thirdweb-dev/storage": "^1.2.11",
"autoprefixer": "10.4.14",
"clsx": "^1.2.1",
"eslint-config-next": "13.4.5",
Expand All @@ -26,24 +27,24 @@
"react-dom": "18.2.0",
"tailwindcss": "3.3.2",
"typescript": "5.1.3",
"zod": "^3.21.4",
"zod-to-json-schema": "^3.21.1"
"zod": "3.21.4",
"zod-to-json-schema": "3.21.4"
},
"license": "MIT",
"devDependencies": {
"@playwright/test": "^1.35.0",
"@testing-library/jest-dom": "^5.16.5",
"@playwright/test": "^1.39.0",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^14.0.0",
"@types/node": "20.3.0",
"@types/node": "^18.18.8",
"@types/react": "18.2.11",
"@types/react-dom": "18.2.4",
"dotenv": "^16.3.1",
"eslint": "8.42.0",
"eslint-plugin-import": "^2.27.5"
"eslint-plugin-import": "^2.29.0"
},
"engines": {
"node": "^18.15.0",
"pnpm": "^8.0.0"
},
"packageManager": "pnpm@8.2.0"
"packageManager": "pnpm@8.9.2"
}
Loading

0 comments on commit ed09cc2

Please sign in to comment.