1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

update orbis version

This commit is contained in:
marcoelissa 2023-01-10 22:25:47 +07:00
parent 06b0244172
commit 8f6ee6e11d
3 changed files with 15 additions and 5 deletions

8
package-lock.json generated
View File

@ -16,7 +16,7 @@
"@oceanprotocol/lib": "^2.5.2",
"@oceanprotocol/typographies": "^0.1.0",
"@oceanprotocol/use-dark-mode": "^2.4.3",
"@orbisclub/orbis-sdk": "^0.4.9",
"@orbisclub/orbis-sdk": "^0.4.11",
"@tippyjs/react": "^4.2.6",
"@urql/exchange-refocus": "^1.0.0",
"@walletconnect/web3-provider": "^1.8.0",
@ -5925,9 +5925,9 @@
}
},
"node_modules/@orbisclub/orbis-sdk": {
"version": "0.4.9",
"resolved": "https://registry.npmjs.org/@orbisclub/orbis-sdk/-/orbis-sdk-0.4.9.tgz",
"integrity": "sha512-iQcF2nCTJ/vfsSPVaXQv7nphAY9YeNXBd8GyWOgDr9Fy23ghJtKmgr2IZ2lWOb8CIXt1EX/lgqSr6M/cylO/YA==",
"version": "0.4.11",
"resolved": "https://registry.npmjs.org/@orbisclub/orbis-sdk/-/orbis-sdk-0.4.11.tgz",
"integrity": "sha512-wq5K2/azg72Vt1qENoJ+5gvzaj9Sa2vNFtgGPii11aOhVEix4bkP7wmJyYBNLhrmefnulPqwa6L/VajIcSqFwA==",
"dependencies": {
"@ceramicnetwork/http-client": "^2.13.0-hotfix.0",
"@ceramicnetwork/stream-tile": "^2.12.0-hotfix.0",

View File

@ -29,7 +29,7 @@
"@oceanprotocol/lib": "^2.5.2",
"@oceanprotocol/typographies": "^0.1.0",
"@oceanprotocol/use-dark-mode": "^2.4.3",
"@orbisclub/orbis-sdk": "^0.4.9",
"@orbisclub/orbis-sdk": "^0.4.11",
"@tippyjs/react": "^4.2.6",
"@urql/exchange-refocus": "^1.0.0",
"@walletconnect/web3-provider": "^1.8.0",

10
src/@types/Orbis.d.ts vendored
View File

@ -203,6 +203,16 @@ declare interface IOrbis {
error: unknown
status: number
}>
getNotificationsCount: (options: {
type: string
context?: string
conversation_id?: string
last_read_timestamp?: number
}) => Promise<{
data: { count_new_notifications: number }
error: unknown
status: number
}>
getPost: (post_id: string) => Promise<{
data: IOrbisPost
error: unknown