This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
forked from lens-protocol/api-examples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 7.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "lens-api-code-examples",
"version": "1.0.0",
"description": "ts examples in how to call the API",
"scripts": {
"generate": "graphql-codegen",
"authentication:login": "env-cmd -f .env ts-node ./src/authentication/login",
"authentication:refresh": "env-cmd -f .env ts-node ./src/authentication/refresh",
"authentication:verify": "env-cmd -f .env ts-node ./src/authentication/verify",
"broadcast:example": "env-cmd -f .env ts-node ./src/broadcast/broadcast-follow-example",
"dispatcher:enable-dispatcher": "env-cmd -f .env ts-node ./src/dispatcher/enable-dispatcher",
"dispatcher:disable-dispatcher": "env-cmd -f .env ts-node ./src/dispatcher/disable-dispatcher",
"explore:explore-profiles": "env-cmd -f .env ts-node ./src/explore/explore-profiles",
"explore:explore-publications": "env-cmd -f .env ts-node ./src/explore/explore-publications",
"follow:does-follow": "env-cmd -f .env ts-node ./src/follow/does-follow",
"follow:follow": "env-cmd -f .env ts-node ./src/follow/follow",
"follow:follower-nft-owned-token-ids": "env-cmd -f .env ts-node ./src/follow/follower-nft-owned-token-ids",
"follow:followers": "env-cmd -f .env ts-node ./src/follow/followers",
"follow:following": "env-cmd -f .env ts-node ./src/follow/following",
"follow:set-follow-module": "env-cmd -f .env ts-node ./src/follow/set-follow-module",
"follow:set-follow-nft": "env-cmd -f .env ts-node ./src/follow/set-follow-nft",
"follow:pending-approval-follows": "env-cmd -f .env ts-node ./src/follow/pending-approval-follows",
"follow:unfollow": "env-cmd -f .env ts-node ./src/follow/unfollow",
"follow:toggle": "env-cmd -f .env ts-node ./src/follow/toggle-follow",
"health:ping": "env-cmd -f .env ts-node ./src/health/ping",
"indexer:has-transaction-been-indexed": "env-cmd -f .env ts-node ./src/indexer/has-transaction-been-indexed",
"module:approve-module": "env-cmd -f .env ts-node ./src/module/approve-module",
"module:approved-allowance-of-modules": "env-cmd -f .env ts-node ./src/module/approved-allowance-of-modules",
"module:collect": "env-cmd -f .env ts-node ./src/module/collect",
"module:enabled-modules-currencies": "env-cmd -f .env ts-node ./src/module/enabled-modules-currencies",
"module:enabled-modules": "env-cmd -f .env ts-node ./src/module/enabled-modules",
"nfts:get-users-nfts": "env-cmd -f .env ts-node ./src/nfts/get-users-nfts",
"notifications:users-notifications": "env-cmd -f .env ts-node ./src/notifications/users-notifications",
"profile:create-profile": "env-cmd -f .env ts-node ./src/profile/create-profile",
"profile:get-default-profile": "env-cmd -f .env ts-node ./src/profile/get-default-profile",
"profile:get-profile": "env-cmd -f .env ts-node ./src/profile/get-profile",
"profile:get-profiles": "env-cmd -f .env ts-node ./src/profile/get-profiles",
"profile:mutual-profile-follows": "env-cmd -f .env ts-node ./src/profile/mutual-profile-follows",
"profile:recommended-profiles": "env-cmd -f .env ts-node ./src/profile/recommended-profiles",
"profile:set-default-profile": "env-cmd -f .env ts-node ./src/profile/set-default-profile",
"profile:set-profile-metadata": "env-cmd -f .env ts-node ./src/profile/set-profile-metadata",
"profile:set-profile-metadata-gasless": "env-cmd -f .env ts-node ./src/profile/set-profile-metadata-gasless",
"profile:set-profile-image-uri": "env-cmd -f .env ts-node ./src/profile/set-profile-image-uri",
"profile:set-profile-image-uri-gasless": "env-cmd -f .env ts-node ./src/profile/set-profile-image-uri-gasless",
"profile:set-profile-image-uri-nft": "env-cmd -f .env ts-node ./src/profile/set-profile-image-uri-nft",
"protocol-stats:global-protocol-stats": "env-cmd -f .env ts-node ./src/protocol-stats/global-protocol-stats",
"proxy-action:proxy-action-free-collect": "env-cmd -f .env ts-node ./src/proxy-action/proxy-action-free-collect",
"proxy-action:proxy-action-free-follow": "env-cmd -f .env ts-node ./src/proxy-action/proxy-action-free-follow",
"publications:comment": "env-cmd -f .env ts-node ./src/publications/comment",
"publications:comment-encrypted": "env-cmd -f .env ts-node ./src/publications/comment-encrypted",
"publications:comment-gasless": "env-cmd -f .env ts-node ./src/publications/comment-gasless",
"publications:mirror": "env-cmd -f .env ts-node ./src/publications/mirror",
"publications:mirror-gasless": "env-cmd -f .env ts-node ./src/publications/mirror-gasless",
"publications:get-publication": "env-cmd -f .env ts-node ./src/publications/get-publication",
"publications:get-publication-encrypted": "env-cmd -f .env ts-node ./src/publications/get-publication-encrypted",
"publications:get-publications": "env-cmd -f .env ts-node ./src/publications/get-publications",
"publications:hide-publication": "env-cmd -f .env ts-node ./src/publications/hide-publication",
"publications:post-gasless": "env-cmd -f .env ts-node ./src/publications/post-gasless",
"publications:post": "env-cmd -f .env ts-node ./src/publications/post",
"publications:post-attach": "env-cmd -f .env ts-node ./src/publications/post-attach",
"publications:post-encrypted": "env-cmd -f .env ts-node ./src/publications/post-encrypted",
"publications:profile-publications-for-sale": "env-cmd -f .env ts-node ./src/publications/profile-publications-for-sale",
"publications:who-collected-publication": "env-cmd -f .env ts-node ./src/publications/who-collected-publication",
"reaction:add": "env-cmd -f .env ts-node ./src/reaction/add-reaction",
"reaction:remove": "env-cmd -f .env ts-node ./src/reaction/remove-reaction",
"reaction:who-reacted-publication": "env-cmd -f .env ts-node ./src/reaction/who-reacted-publication",
"reporting:report-publication": "env-cmd -f .env ts-node ./src/reporting/report-publication",
"revenue:profile-publication-revenue": "env-cmd -f .env ts-node ./src/revenue/profile-publications-revenue",
"revenue:profile-follow-revenue": "env-cmd -f .env ts-node ./src/revenue/profile-follow-revenue",
"revenue:publication-revenue": "env-cmd -f .env ts-node ./src/revenue/publication-revenue",
"search:search-profiles": "env-cmd -f .env ts-node ./src/search/search-profiles",
"search:search-publications": "env-cmd -f .env ts-node ./src/search/search-publications",
"timeline:user-timeline": "env-cmd -f .env ts-node ./src/timeline/user-timeline",
"media:create": "env-cmd -f .env ts-node ./src/media/create-attachment",
"feed:profile-feed": "env-cmd -f .env ts-node ./src/feed/profile-feed"
},
"authors": [
],
"dependencies": {
"@apollo/client": "^3.5.10",
"@ethersproject/abstract-signer": "^5.7.0",
"@graphql-codegen/fragment-matcher": "^3.3.1",
"@lens-protocol/sdk-gated": "^1.1.0",
"axios": "^0.26.1",
"cross-fetch": "^3.1.5",
"ethers": "^5.7.2",
"graphql": "^16.3.0",
"ipfs-http-client": "^56.0.1",
"omit-deep": "^0.3.0",
"typestub-ipfs-only-hash": "^4.0.0",
"uuid": "^8.3.2"
},
"devDependencies": {
"@graphql-codegen/cli": "2.11.3",
"@graphql-codegen/typed-document-node": "2.3.2",
"@graphql-codegen/typescript": "2.7.2",
"@graphql-codegen/typescript-operations": "2.5.2",
"@types/node": "^17.0.21",
"@types/uuid": "^8.3.4",
"env-cmd": "^10.1.0",
"ts-node": "^10.7.0",
"typescript": "^4.8.2"
}
}