Skip to content

Commit

Permalink
:plus: add deps and patch web3.storage
Browse files Browse the repository at this point in the history
  • Loading branch information
arihantbansal committed Aug 16, 2022
1 parent cf48e49 commit 52baf54
Show file tree
Hide file tree
Showing 4 changed files with 3,188 additions and 64 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,3 @@
# Deep linking API demo application
This repo contains a demo application written with React Native that showcases Phantom's deep linking API.
# NiftyClick - Click. Edit. Mint.

[API Documentation](https://docs.phantom.app/integrating/deeplinks)

## Getting started
```sh
# install dependencies
$ yarn
# start metro bundler
$ yarn start
```
Built at Solana Summer Camp '22. By @ritvij14, @priyansh71 & @arihantbansal.
11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,29 @@
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web",
"eject": "expo eject"
"eject": "expo eject",
"postinstall": "patch-package"
},
"dependencies": {
"@metaplex-foundation/js": "^0.14.1",
"@solana/web3.js": "~1.35.0",
"buffer": "^6.0.3",
"expo": "~44.0.0",
"expo-camera": "~12.1.2",
"expo-linking": "~3.0.0",
"expo-media-library": "~14.0.0",
"expo-status-bar": "~1.2.0",
"expo-updates": "~0.11.6",
"expo-updates": "~0.11.7",
"patch-package": "^6.4.7",
"postinstall-postinstall": "^2.1.0",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.3",
"react-native-get-random-values": "^1.7.2",
"react-native-url-polyfill": "^1.3.0",
"react-native-web": "0.17.1",
"tweetnacl": "^1.0.3"
"tweetnacl": "^1.0.3",
"web3.storage": "^4.3.0"
},
"devDependencies": {
"@babel/core": "^7.12.9",
Expand Down
26 changes: 26 additions & 0 deletions patches/web3.storage+4.3.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/node_modules/web3.storage/dist/src/lib/interface.d.ts b/node_modules/web3.storage/dist/src/lib/interface.d.ts
index 5907830..e1237e1 100644
--- a/node_modules/web3.storage/dist/src/lib/interface.d.ts
+++ b/node_modules/web3.storage/dist/src/lib/interface.d.ts
@@ -11,7 +11,7 @@ export declare type Tagged<T, Tag> = T & {
tag?: Tag;
};
export interface Service {
- endpoint: URL;
+ endpoint?: URL;
token: string;
rateLimiter?: RateLimiter;
fetch?: typeof _fetch;
diff --git a/node_modules/web3.storage/src/lib/interface.ts b/node_modules/web3.storage/src/lib/interface.ts
index fa7c090..54ba44b 100644
--- a/node_modules/web3.storage/src/lib/interface.ts
+++ b/node_modules/web3.storage/src/lib/interface.ts
@@ -13,7 +13,7 @@ import {
export type Tagged<T, Tag> = T & { tag?: Tag }

export interface Service {
- endpoint: URL
+ endpoint?: URL
token: string
rateLimiter?: RateLimiter
fetch?: typeof _fetch
Loading

0 comments on commit 52baf54

Please sign in to comment.