mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-consumer.git
synced 2026-09-21 16:52:03 -07:00
fix(JSON-LD): Adding JSON-LD using Schema.org
This commit is contained in:
Vendored
+18
-1
@@ -18,5 +18,22 @@ module.exports = {
|
|||||||
emailPassword: process.env.EMAILPASS ? process.env.EMAILPASS : 'emailpassword',
|
emailPassword: process.env.EMAILPASS ? process.env.EMAILPASS : 'emailpassword',
|
||||||
|
|
||||||
// IPFS settings.
|
// IPFS settings.
|
||||||
isCircuitRelay: process.env.ENABLE_CIRCUIT_RELAY ? true : false
|
isCircuitRelay: process.env.ENABLE_CIRCUIT_RELAY ? true : false,
|
||||||
|
|
||||||
|
// Information passed to other IPFS peers about this node.
|
||||||
|
apiInfo: 'https://ipfs-service-provider.fullstack.cash/',
|
||||||
|
|
||||||
|
// JSON-LD and Schema.org schema with info about this app.
|
||||||
|
announceJsonLd: {
|
||||||
|
'@context': 'https://schema.org/',
|
||||||
|
'@type': 'WebAPI',
|
||||||
|
name: 'ipfs-service-provider',
|
||||||
|
description: 'This is a generic IPFS Serivice Provider that uses JSON RPC over IPFS to communicate with it. This instance has not been customized. Source code: https://github.com/Permissionless-Software-Foundation/ipfs-service-provider',
|
||||||
|
documentation: 'https://ipfs-service-provider.fullstack.cash/',
|
||||||
|
provider: {
|
||||||
|
'@type': 'Organization',
|
||||||
|
name: 'Permissionless Software Foundation',
|
||||||
|
url: 'https://PSFoundation.cash'
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+5
-7
@@ -6587,8 +6587,7 @@
|
|||||||
},
|
},
|
||||||
"ini": {
|
"ini": {
|
||||||
"version": "1.3.5",
|
"version": "1.3.5",
|
||||||
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.5.tgz",
|
"resolved": "",
|
||||||
"integrity": "sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==",
|
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
"is-fullwidth-code-point": {
|
"is-fullwidth-code-point": {
|
||||||
@@ -6791,8 +6790,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"minimist": {
|
"minimist": {
|
||||||
"version": "1.2.0",
|
"version": "1.2.0",
|
||||||
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz",
|
"resolved": "",
|
||||||
"integrity": "sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=",
|
|
||||||
"optional": true
|
"optional": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8679,9 +8677,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ipfs-coord": {
|
"ipfs-coord": {
|
||||||
"version": "3.0.6",
|
"version": "3.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-3.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/ipfs-coord/-/ipfs-coord-3.0.9.tgz",
|
||||||
"integrity": "sha512-EmlLcYptpOztZ9aLB6DHL8vy0gsnRzvRMzBOno1jW7Ht/SP7KhhYGpXvG/8+BYRFgFhAHPHiC2CJMn9N9La4fw==",
|
"integrity": "sha512-EP1wo8vskjcXoDAr+YQuXT8ZYmw85UF91/bHL6mbu+sIvwmIrP/7ie6WmWD+XxX9FL19h6udevOvW/TCFyIx+w==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"bch-encrypt-lib": "^2.0.0",
|
"bch-encrypt-lib": "^2.0.0",
|
||||||
"orbit-db": "^0.26.1"
|
"orbit-db": "^0.26.1"
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@
|
|||||||
"bcryptjs": "^2.4.3",
|
"bcryptjs": "^2.4.3",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
"ipfs": "^0.54.4",
|
"ipfs": "^0.54.4",
|
||||||
"ipfs-coord": "^3.0.6",
|
"ipfs-coord": "^3.0.9",
|
||||||
"jsonrpc-lite": "^2.2.0",
|
"jsonrpc-lite": "^2.2.0",
|
||||||
"jsonwebtoken": "^8.5.1",
|
"jsonwebtoken": "^8.5.1",
|
||||||
"kcors": "^2.2.2",
|
"kcors": "^2.2.2",
|
||||||
|
|||||||
+2
-1
@@ -86,7 +86,8 @@ class IPFSLib {
|
|||||||
bchjs: this.bchjs,
|
bchjs: this.bchjs,
|
||||||
privateLog: this.rpc.router,
|
privateLog: this.rpc.router,
|
||||||
isCircuitRelay: this.config.isCircuitRelay,
|
isCircuitRelay: this.config.isCircuitRelay,
|
||||||
apiInfo: 'https://ipfs-service-provider.fullstack.cash/'
|
apiInfo: this.config.apiInfo,
|
||||||
|
announceJsonLd: this.config.announceJsonLd
|
||||||
})
|
})
|
||||||
|
|
||||||
await this.ipfsCoord.isReady()
|
await this.ipfsCoord.isReady()
|
||||||
|
|||||||
Reference in New Issue
Block a user