1
0
mirror of https://github.com/oceanprotocol/commons.git synced 2023-03-15 18:03:00 +01:00

lint fixes

This commit is contained in:
Jernej Pregelj 2019-03-21 12:24:51 +01:00
parent 4890d2f27b
commit b823078bab
2 changed files with 99 additions and 95 deletions

188
client/package-lock.json generated
View File

@ -296,9 +296,9 @@
}
},
"@babel/helpers": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.0.tgz",
"integrity": "sha512-2Lfcn74A2WSFUbYJ76ilYE1GnegCKUHTfXxp25EL2zPZHjV7OcDncqNjl295mUH0VnB65mNriXW4J5ROvxsgGg==",
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.4.2.tgz",
"integrity": "sha512-gQR1eQeroDzFBikhrCccm5Gs2xBjZ57DNjGbqTaHo911IpmSxflOQWMAHPw/TXk8L3isv7s9lYzUkexOeTQUYg==",
"dev": true,
"requires": {
"@babel/template": "^7.4.0",
@ -318,9 +318,9 @@
}
},
"@babel/parser": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.0.tgz",
"integrity": "sha512-ZmMhJfU/+SXXvy9ALjDZopa3T3EixQtQai89JRC48eM9OUwrxJjYjuM/0wmdl2AekytlzMVhPY8cYdLb13kpKQ==",
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.4.2.tgz",
"integrity": "sha512-9fJTDipQFvlfSVdD/JBtkiY0br9BtfvW2R8wo6CX/Ej2eMuV0gWPk1M67Mt3eggQvBqYW1FCEk8BN7WvGm/g5g==",
"dev": true
},
"@babel/plugin-proposal-async-generator-functions": {
@ -660,9 +660,9 @@
}
},
"@babel/plugin-transform-named-capturing-groups-regex": {
"version": "7.3.0",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.3.0.tgz",
"integrity": "sha512-NxIoNVhk9ZxS+9lSoAQ/LM0V2UEvARLttEHUrRDGKFaAxOYQcrkN/nLRE+BbbicCAvZPl7wMP0X60HsHE5DtQw==",
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz",
"integrity": "sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ==",
"dev": true,
"requires": {
"regexp-tree": "^0.1.0"
@ -846,9 +846,9 @@
}
},
"@babel/preset-env": {
"version": "7.4.1",
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.1.tgz",
"integrity": "sha512-uC2DeVb6ljdjBGhJCyHxNZfSJEVgPdUm2R5cX85GCl1Qreo5sMM5g85ntqtzRF7XRYGgnRmV5we9cdlvo1wJvg==",
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.4.2.tgz",
"integrity": "sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA==",
"dev": true,
"requires": {
"@babel/helper-module-imports": "^7.0.0",
@ -879,7 +879,7 @@
"@babel/plugin-transform-modules-commonjs": "^7.4.0",
"@babel/plugin-transform-modules-systemjs": "^7.4.0",
"@babel/plugin-transform-modules-umd": "^7.2.0",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.3.0",
"@babel/plugin-transform-named-capturing-groups-regex": "^7.4.2",
"@babel/plugin-transform-new-target": "^7.4.0",
"@babel/plugin-transform-object-super": "^7.2.0",
"@babel/plugin-transform-parameters": "^7.4.0",
@ -899,12 +899,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -935,9 +935,9 @@
}
},
"@babel/runtime": {
"version": "7.4.0",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.0.tgz",
"integrity": "sha512-/eftZ45kD0OfOFHAmN02WP6N1NVphY+lBf8c2Q/P9VW3tj+N5NlBBAWfqOLOl96YDGMqpIBO5O/hQNx4A/lAng==",
"version": "7.4.2",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.4.2.tgz",
"integrity": "sha512-7Bl2rALb7HpvXFL7TETNzKSAeBVCPHELzc0C//9FCxN8nsiueWSJBqaF+2oIJScyILStASR/Cx5WMkXGYTiJFA==",
"requires": {
"regenerator-runtime": "^0.13.2"
}
@ -1397,9 +1397,9 @@
"integrity": "sha512-02tIL+QIi/RW4E5xILdoAMjeJ9kYq5t5S2vciUdFPXv/ikFTb0zK8q9vXkg4+WAJuYXGiVT1H28AkD2C+IkXVw=="
},
"@types/node-fetch": {
"version": "2.1.6",
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.1.6.tgz",
"integrity": "sha512-Hv1jgh3pfpUEl2F2mqUd1AfLSk1YbUCeBJFaP36t7esAO617dErqdxWb5cdG2NfJGOofkmBW36fdx0dVewxDRg==",
"version": "2.1.7",
"resolved": "https://registry.npmjs.org/@types/node-fetch/-/node-fetch-2.1.7.tgz",
"integrity": "sha512-TZozHCDVrs0Aj1B9ZR5F4Q9MknDNcVd+hO5lxXOCzz07ELBey6s1gMUSZHUYHlPfRFKJFXiTnNuD7ePiI6S4/g==",
"requires": {
"@types/node": "*"
}
@ -1436,9 +1436,9 @@
}
},
"@types/react-dom": {
"version": "16.8.2",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.8.2.tgz",
"integrity": "sha512-MX7n1wq3G/De15RGAAqnmidzhr2Y9O/ClxPxyqaNg96pGyeXUYPSvujgzEVpLo9oIP4Wn1UETl+rxTN02KEpBw==",
"version": "16.8.3",
"resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-16.8.3.tgz",
"integrity": "sha512-HF5hD5YR3z9Mn6kXcW1VKe4AQ04ZlZj1EdLBae61hzQ3eEWWxMgNLUbIxeZp40BnSxqY1eAYLsH9QopQcxzScA==",
"dev": true,
"requires": {
"@types/react": "*"
@ -1533,32 +1533,32 @@
}
},
"@typescript-eslint/eslint-plugin": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.4.2.tgz",
"integrity": "sha512-6WInypy/cK4rM1dirKbD5p7iFW28DbSRKT/+PGn+DYzBWEvHq5KnZAqQ5cX25JBc0qMkFxJNxNfBbFXJyyzVcw==",
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.5.0.tgz",
"integrity": "sha512-TZ5HRDFz6CswqBUviPX8EfS+iOoGbclYroZKT3GWGYiGScX0qo6QjHc5uuM7JN920voP2zgCkHgF5SDEVlCtjQ==",
"dev": true,
"requires": {
"@typescript-eslint/parser": "1.4.2",
"@typescript-eslint/typescript-estree": "1.4.2",
"@typescript-eslint/parser": "1.5.0",
"@typescript-eslint/typescript-estree": "1.5.0",
"requireindex": "^1.2.0",
"tsutils": "^3.7.0"
}
},
"@typescript-eslint/parser": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-1.4.2.tgz",
"integrity": "sha512-OqLkY9295DXXaWToItUv3olO2//rmzh6Th6Sc7YjFFEpEuennsm5zhygLLvHZjPxPlzrQgE8UDaOPurDylaUuw==",
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-1.5.0.tgz",
"integrity": "sha512-pRWTnJrnxuT0ragdY26hZL+bxqDd4liMlftpH2CBlMPryOIOb1J+MdZuw6R4tIu6bWVdwbHKPTs+Q34LuGvfGw==",
"dev": true,
"requires": {
"@typescript-eslint/typescript-estree": "1.4.2",
"@typescript-eslint/typescript-estree": "1.5.0",
"eslint-scope": "^4.0.0",
"eslint-visitor-keys": "^1.0.0"
}
},
"@typescript-eslint/typescript-estree": {
"version": "1.4.2",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-1.4.2.tgz",
"integrity": "sha512-wKgi/w6k1v3R4b6oDc20cRWro2gBzp0wn6CAeYC8ExJMfvXMfiaXzw2tT9ilxdONaVWMCk7B9fMdjos7bF/CWw==",
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-1.5.0.tgz",
"integrity": "sha512-XqR14d4BcYgxcrpxIwcee7UEjncl9emKc/MgkeUfIk2u85KlsGYyaxC7Zxjmb17JtWERk/NaO+KnBsqgpIXzwA==",
"dev": true,
"requires": {
"lodash.unescape": "4.0.1",
@ -2902,12 +2902,12 @@
}
},
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -3656,12 +3656,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -4886,12 +4886,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -6193,9 +6193,9 @@
"integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0="
},
"electron-to-chromium": {
"version": "1.3.116",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.116.tgz",
"integrity": "sha512-NKwKAXzur5vFCZYBHpdWjTMO8QptNLNP80nItkSIgUOapPAo9Uia+RvkCaZJtO7fhQaVElSvBPWEc2ku6cKsPA==",
"version": "1.3.118",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.118.tgz",
"integrity": "sha512-/1FpHvmKmKo2Z6CCza2HfkrKvKhU7Rq4nvyX1FOherdTrdTufhVrJbCrcrIqgqUCI+BG6JC2rlY4z5QA1G0NOw==",
"dev": true
},
"elliptic": {
@ -11362,9 +11362,9 @@
"integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ=="
},
"js-yaml": {
"version": "3.12.2",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.12.2.tgz",
"integrity": "sha512-QHn/Lh/7HhZ/Twc7vJYQTkjuCa0kaCcDcjK5Zlk2rvnUpy7DxMJ23+Jc2dcyvltwQVg1nygAVlB2oRDFHoRS5Q==",
"version": "3.13.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.0.tgz",
"integrity": "sha512-pZZoSxcCYco+DIKBTimr67J6Hy+EYGZDY/HCWC+iAEA9h1ByhMXAIVUXMcMFpOCxQ/xjXmPI2MkDL5HRm5eFrQ==",
"dev": true,
"requires": {
"argparse": "^1.0.7",
@ -13832,12 +13832,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -15028,12 +15028,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -15159,12 +15159,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -15559,12 +15559,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -15886,12 +15886,12 @@
}
},
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -15992,12 +15992,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -16851,9 +16851,9 @@
"dev": true
},
"querystringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.0.tgz",
"integrity": "sha512-sluvZZ1YiTLD5jsqZcDmFyV2EwToyXZBfpoVOmktMmW+VEnhgakFHnasVph65fOjGPTWN0Nw3+XQaSeMayr0kg=="
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.1.1.tgz",
"integrity": "sha512-w7fLxIRCRT7U8Qu53jQnJyPkYZIaR4n5151KMfcJlO/A9397Wxb1amJvROTK6TOnp7PfoAmg/qXiNHI+08jRfA=="
},
"quick-lru": {
"version": "1.1.0",
@ -17860,9 +17860,9 @@
}
},
"registry-auth-token": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.3.2.tgz",
"integrity": "sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ==",
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/registry-auth-token/-/registry-auth-token-3.4.0.tgz",
"integrity": "sha512-4LM6Fw8eBQdwMYcES4yTnn2TqIasbXuwDx3um+QRs7S55aMKCBKBxvPXl2RiUjHwuJLTyYfxSpmfSAjQpcuP+A==",
"dev": true,
"requires": {
"rc": "^1.1.6",
@ -19725,12 +19725,12 @@
},
"dependencies": {
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}
@ -19880,12 +19880,12 @@
}
},
"browserslist": {
"version": "4.5.1",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.1.tgz",
"integrity": "sha512-/pPw5IAUyqaQXGuD5vS8tcbudyPZ241jk1W5pQBsGDfcjNQt7p8qxZhgMNuygDShte1PibLFexecWUPgmVLfrg==",
"version": "4.5.2",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.5.2.tgz",
"integrity": "sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==",
"dev": true,
"requires": {
"caniuse-lite": "^1.0.30000949",
"caniuse-lite": "^1.0.30000951",
"electron-to-chromium": "^1.3.116",
"node-releases": "^1.1.11"
}

View File

@ -32,7 +32,11 @@ export default class Details extends Component<DetailsProps, DetailsState> {
try {
const account = await this.context.ocean.getAccounts()
const accessService = ddo.findServiceByType('Access')
const agreementId = await this.context.ocean.assets.order(ddo.id, accessService.serviceDefinitionId, account[0])
const agreementId = await this.context.ocean.assets.order(
ddo.id,
accessService.serviceDefinitionId,
account[0]
)
Logger.log('agreementId', agreementId)
} catch (e) {
Logger.log('error', e)