mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-09-19 09:43:29 +00:00
ipfs
This commit is contained in:
parent
42050fc128
commit
3c2ec6d1c5
@ -45,7 +45,7 @@
|
||||
"dependencies": {
|
||||
"@zxing/library": "^0.18.6",
|
||||
"autolinker": "^3.14.3",
|
||||
"gun": "^0.2020.1232",
|
||||
"gun": "mmalmi/gun#old",
|
||||
"htm": "^3.1.0",
|
||||
"iris-lib": "^0.0.158",
|
||||
"jquery": "^3.6.0",
|
||||
|
119
src/assets/js/ipfs.js
Normal file
119
src/assets/js/ipfs.js
Normal file
File diff suppressed because one or more lines are too long
@ -12,8 +12,11 @@ import PeerManager from './PeerManager.js';
|
||||
import iris from 'iris-lib';
|
||||
import Helpers from './Helpers.js';
|
||||
|
||||
const Ipfs = require('../assets/js/ipfs.js');
|
||||
|
||||
const State = {
|
||||
init(publicOpts) {
|
||||
console.log(Ipfs);
|
||||
Gun.log.off = true;
|
||||
const o = Object.assign({ peers: PeerManager.getRandomPeers(), localStorage: false, retry:Infinity }, publicOpts);
|
||||
this.public = Gun(o);
|
||||
|
@ -5409,10 +5409,9 @@ growly@^1.3.0:
|
||||
resolved "https://registry.yarnpkg.com/growly/-/growly-1.3.0.tgz#f10748cbe76af964b7c96c93c6bcc28af120c081"
|
||||
integrity sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=
|
||||
|
||||
gun@^0.2020.1232:
|
||||
gun@mmalmi/gun#old:
|
||||
version "0.2020.1232"
|
||||
resolved "https://registry.yarnpkg.com/gun/-/gun-0.2020.1232.tgz#3a75eba0c5f1ea3bd2e49ee5d8f02381e310c9d2"
|
||||
integrity sha512-/LAooFgiIwbHt6geaY76uqgrsAS0LmSVvynw7gsaJL/Irn8pZh/Irxoq0iUTcrUR2TzAK81LKLgeM/5pLQZ8Wg==
|
||||
resolved "https://codeload.github.com/mmalmi/gun/tar.gz/b354f3d4c40e28e7b1c764280368f23c3c8e3c70"
|
||||
dependencies:
|
||||
ws "^7.2.1"
|
||||
optionalDependencies:
|
||||
|
Loading…
Reference in New Issue
Block a user