1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-11-22 01:37:03 +01:00

update lib

Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
mihaisc 2021-04-16 14:45:43 +03:00
parent 55c363fb52
commit f3d858c53b
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29
3 changed files with 406 additions and 18 deletions

411
package-lock.json generated
View File

@ -2587,14 +2587,14 @@
}
},
"@oceanprotocol/contracts": {
"version": "0.5.13",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.13.tgz",
"integrity": "sha512-0dasqU7PL8xZOxvn6ID2IJ6TgQZbkcwtZqiMiYvtsv9+fQr/n13qXYXwkmNEjQb3YL4IeSVUnHehk5KpGRPFWA=="
"version": "0.5.14",
"resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.14.tgz",
"integrity": "sha512-wGid/5/Ea+OLcgGa86LDLrIoyHtn2015m59LLHYpSXGD/vZTgqwkQO0Qx7LYzDRsKgAHaMVXwpACwjTDw1ratA=="
},
"@oceanprotocol/lib": {
"version": "0.12.2",
"resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.12.2.tgz",
"integrity": "sha512-eGX6Ha6n8EGYQBtQIho0PazcHzN3ATpL2wGWETfSt5AcyfxtaTMBKVa6AXluAkNgZISyO00n8NdiG2zXJwtDNA==",
"version": "0.14.3",
"resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.14.3.tgz",
"integrity": "sha512-RN/NmYNiBQXtqs41iiUgcKKfXHwsewahr35LvnFzLx462MiuZwo42C8JotMy+sbK93KkHiHOiws0Yj39dpCF9w==",
"requires": {
"@ethereum-navigator/navigator": "^0.5.2",
"@oceanprotocol/contracts": "^0.5.10",
@ -2607,8 +2607,397 @@
"node-abort-controller": "^1.2.0",
"save-file": "^2.3.1",
"uuid": "^8.3.2",
"web3": "^1.3.4",
"web3-eth-contract": "^1.3.4"
"web3": "^1.3.5",
"web3-eth-contract": "^1.3.5"
},
"dependencies": {
"@sindresorhus/is": {
"version": "0.14.0",
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-0.14.0.tgz",
"integrity": "sha512-9NET910DNaIPngYnLLPeg+Ogzqsi9uM4mSboU5y6p8S5DzMTVEsJZrawi+BoDNUVBa2DhJqQYUFvMDfgU062LQ=="
},
"@szmarczak/http-timer": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-1.1.2.tgz",
"integrity": "sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==",
"requires": {
"defer-to-connect": "^1.0.1"
}
},
"cacheable-request": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-6.1.0.tgz",
"integrity": "sha512-Oj3cAGPCqOZX7Rz64Uny2GYAZNliQSqfbePrgAQ1wKAihYmCUnraBtJtKcGR4xz7wF+LoJC+ssFZvv5BgF9Igg==",
"requires": {
"clone-response": "^1.0.2",
"get-stream": "^5.1.0",
"http-cache-semantics": "^4.0.0",
"keyv": "^3.0.0",
"lowercase-keys": "^2.0.0",
"normalize-url": "^4.1.0",
"responselike": "^1.0.2"
},
"dependencies": {
"get-stream": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz",
"integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==",
"requires": {
"pump": "^3.0.0"
}
},
"lowercase-keys": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz",
"integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA=="
}
}
},
"defer-to-connect": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-1.1.3.tgz",
"integrity": "sha512-0ISdNousHvZT2EiFlZeZAHBUvSxmKswVCEf8hW7KWgG4a8MVEu/3Vb6uWYozkjylyCxe0JBIiRB1jV45S70WVQ=="
},
"eth-lib": {
"version": "0.2.8",
"resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz",
"integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==",
"requires": {
"bn.js": "^4.11.6",
"elliptic": "^6.4.0",
"xhr-request-promise": "^0.1.2"
}
},
"get-stream": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz",
"integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==",
"requires": {
"pump": "^3.0.0"
}
},
"got": {
"version": "9.6.0",
"resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz",
"integrity": "sha512-R7eWptXuGYxwijs0eV+v3o6+XH1IqVK8dJOEecQfTmkncw9AV4dcw/Dhxi8MdlqPthxxpZyizMzyg8RTmEsG+Q==",
"requires": {
"@sindresorhus/is": "^0.14.0",
"@szmarczak/http-timer": "^1.1.2",
"cacheable-request": "^6.0.0",
"decompress-response": "^3.3.0",
"duplexer3": "^0.1.4",
"get-stream": "^4.1.0",
"lowercase-keys": "^1.0.1",
"mimic-response": "^1.0.1",
"p-cancelable": "^1.0.0",
"to-readable-stream": "^1.0.0",
"url-parse-lax": "^3.0.0"
}
},
"json-buffer": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
"integrity": "sha1-Wx85evx11ne96Lz8Dkfh+aPZqJg="
},
"keyv": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-3.1.0.tgz",
"integrity": "sha512-9ykJ/46SN/9KPM/sichzQ7OvXyGDYKGTaDlKMGCAlg2UK8KRy4jb0d8sFc+0Tt0YYnThq8X2RZgCg74RPxgcVA==",
"requires": {
"json-buffer": "3.0.0"
}
},
"lowercase-keys": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-1.0.1.tgz",
"integrity": "sha512-G2Lj61tXDnVFFOi8VZds+SoQjtQC3dgokKdDG2mTm1tx4m50NUHBOZSBwQQHyy0V12A0JTG4icfZQH+xPyh8VA=="
},
"normalize-url": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-4.5.0.tgz",
"integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
},
"p-cancelable": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-1.1.0.tgz",
"integrity": "sha512-s73XxOZ4zpt1edZYZzvhqFa6uvQc1vwUa0K0BdtIZgQMAJj9IbebH+JkgKZc9h+B05PKHLOTl4ajG1BmNrVZlw=="
},
"responselike": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/responselike/-/responselike-1.0.2.tgz",
"integrity": "sha1-kYcg7ztjHFZCvgaPFa3lpG9Loec=",
"requires": {
"lowercase-keys": "^1.0.0"
}
},
"web3": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3/-/web3-1.3.5.tgz",
"integrity": "sha512-UyQW/MT5EIGBrXPCh/FDIaD7RtJTn5/rJUNw2FOglp0qoXnCQHNKvntiR1ylztk05fYxIF6UgsC76IrazlKJjw==",
"requires": {
"web3-bzz": "1.3.5",
"web3-core": "1.3.5",
"web3-eth": "1.3.5",
"web3-eth-personal": "1.3.5",
"web3-net": "1.3.5",
"web3-shh": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-bzz": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-bzz/-/web3-bzz-1.3.5.tgz",
"integrity": "sha512-XiEUAbB1uKm/agqfwBsCW8fbw+sma85TfwuDpdcy591vinVk0S9TfWgLxro6v1KJ6nSELySIbKGbAJbh2GSyxw==",
"requires": {
"@types/node": "^12.12.6",
"got": "9.6.0",
"swarm-js": "^0.1.40",
"underscore": "1.9.1"
}
},
"web3-core": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.3.5.tgz",
"integrity": "sha512-VQjTvnGTqJwDwjKEHSApea3RmgtFGLDSJ6bqrOyHROYNyTyKYjFQ/drG9zs3rjDkND9mgh8foI1ty37Qua3QCQ==",
"requires": {
"@types/bn.js": "^4.11.5",
"@types/node": "^12.12.6",
"bignumber.js": "^9.0.0",
"web3-core-helpers": "1.3.5",
"web3-core-method": "1.3.5",
"web3-core-requestmanager": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-core-helpers": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.3.5.tgz",
"integrity": "sha512-HYh3ix5FjysgT0jyzD8s/X5ym0b4BGU7I2QtuBiydMnE0mQEWy7GcT9XKpTySA8FTOHHIAQYvQS07DN/ky3UzA==",
"requires": {
"underscore": "1.9.1",
"web3-eth-iban": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-core-method": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.3.5.tgz",
"integrity": "sha512-hCbmgQ+At6OTuaNGAdjXMsCr4eUCmp9yGKSuaB5HdkNVDpqFso4HHjVxcjNrTyJp3OZnyjKBzQzK1ZWLpLl84Q==",
"requires": {
"@ethersproject/transactions": "^5.0.0-beta.135",
"underscore": "1.9.1",
"web3-core-helpers": "1.3.5",
"web3-core-promievent": "1.3.5",
"web3-core-subscriptions": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-core-promievent": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.3.5.tgz",
"integrity": "sha512-K0j8x3ZJr0eAyNvyUCxOUsSTd4hco0/9nxxlyOuijcsa6YV8l9NL6eqhniWbSyxCJT8ka5Mb7yAiUZe69EDLBQ==",
"requires": {
"eventemitter3": "4.0.4"
}
},
"web3-core-requestmanager": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.3.5.tgz",
"integrity": "sha512-9l294U3Ga8qmvv8E37BqjQREfMs+kFnkU3PY28g9DZGYzKvl3V1dgDYqxyrOBdCFhc7rNSpHdgC4PrVHjouspg==",
"requires": {
"underscore": "1.9.1",
"util": "^0.12.0",
"web3-core-helpers": "1.3.5",
"web3-providers-http": "1.3.5",
"web3-providers-ipc": "1.3.5",
"web3-providers-ws": "1.3.5"
}
},
"web3-core-subscriptions": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.3.5.tgz",
"integrity": "sha512-6mtXdaEB1V1zKLqYBq7RF2W75AK5ZJNGpW6QYC7Zvbku7zq1ZlgaUkJo88JKMWJ7etfaHaYqQ/7VveHk5sQynA==",
"requires": {
"eventemitter3": "4.0.4",
"underscore": "1.9.1",
"web3-core-helpers": "1.3.5"
}
},
"web3-eth": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.3.5.tgz",
"integrity": "sha512-5qqDPMMD+D0xRqOV2ePU2G7/uQmhn0FgCEhFzKDMHrssDQJyQLW/VgfA0NLn64lWnuUrGnQStGvNxrWf7MgsfA==",
"requires": {
"underscore": "1.9.1",
"web3-core": "1.3.5",
"web3-core-helpers": "1.3.5",
"web3-core-method": "1.3.5",
"web3-core-subscriptions": "1.3.5",
"web3-eth-abi": "1.3.5",
"web3-eth-accounts": "1.3.5",
"web3-eth-contract": "1.3.5",
"web3-eth-ens": "1.3.5",
"web3-eth-iban": "1.3.5",
"web3-eth-personal": "1.3.5",
"web3-net": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-eth-abi": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.3.5.tgz",
"integrity": "sha512-bkbG2v/mOW5DH6rF/SEgqunusjYoEi2IBw+fkmD3rzWDaEY7+/i1xY94AeO257d06QMgld75GtV/N+aEs7A6vQ==",
"requires": {
"@ethersproject/abi": "5.0.7",
"underscore": "1.9.1",
"web3-utils": "1.3.5"
}
},
"web3-eth-accounts": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.3.5.tgz",
"integrity": "sha512-r3WOR21rgm6Cd6OFnifr3Tizdm5K+g2TsSOPySwX4FrgLrYDL6ck4zr5VXUPz+llpSExb/JztpE8pqEHr3U2NA==",
"requires": {
"crypto-browserify": "3.12.0",
"eth-lib": "0.2.8",
"ethereumjs-common": "^1.3.2",
"ethereumjs-tx": "^2.1.1",
"scrypt-js": "^3.0.1",
"underscore": "1.9.1",
"uuid": "3.3.2",
"web3-core": "1.3.5",
"web3-core-helpers": "1.3.5",
"web3-core-method": "1.3.5",
"web3-utils": "1.3.5"
},
"dependencies": {
"uuid": {
"version": "3.3.2",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz",
"integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
}
}
},
"web3-eth-contract": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.3.5.tgz",
"integrity": "sha512-WfGVeQquN3D7Qm+KEIN9EI7yrm/fL2V9Y4+YhDWiKA/ns1pX1LYcEWojTOnBXCnPF3tcvoKKL+KBxXg1iKm38A==",
"requires": {
"@types/bn.js": "^4.11.5",
"underscore": "1.9.1",
"web3-core": "1.3.5",
"web3-core-helpers": "1.3.5",
"web3-core-method": "1.3.5",
"web3-core-promievent": "1.3.5",
"web3-core-subscriptions": "1.3.5",
"web3-eth-abi": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-eth-ens": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.3.5.tgz",
"integrity": "sha512-5bkpFTXV18CvaVP8kCbLZZm2r1TWUv9AsXH+80yz8bTZulUGvXsBMRfK6e5nfEr2Yv59xlIXCFoalmmySI9EJw==",
"requires": {
"content-hash": "^2.5.2",
"eth-ens-namehash": "2.0.8",
"underscore": "1.9.1",
"web3-core": "1.3.5",
"web3-core-helpers": "1.3.5",
"web3-core-promievent": "1.3.5",
"web3-eth-abi": "1.3.5",
"web3-eth-contract": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-eth-iban": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.3.5.tgz",
"integrity": "sha512-x+BI/d2Vt0J1cKK8eFd4W0f1TDjgEOYCwiViTb28lLE+tqrgyPqWDA+l6UlKYLF/yMFX3Dym4ofcCOtgcn4q4g==",
"requires": {
"bn.js": "^4.11.9",
"web3-utils": "1.3.5"
}
},
"web3-eth-personal": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.3.5.tgz",
"integrity": "sha512-xELQHNZ8p3VoO1582ghCaq+Bx7pSkOOalc6/ACOCGtHDMelqgVejrmSIZGScYl+k0HzngmQAzURZWQocaoGM1g==",
"requires": {
"@types/node": "^12.12.6",
"web3-core": "1.3.5",
"web3-core-helpers": "1.3.5",
"web3-core-method": "1.3.5",
"web3-net": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-net": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.3.5.tgz",
"integrity": "sha512-usbFbuUpKK8s7jPLGoUzi/WpNnefGFPTj948aJv8BZ04UQA4L/XS5NNkkhk358zNMmhGfEFW8wrWy+0Oy0njtA==",
"requires": {
"web3-core": "1.3.5",
"web3-core-method": "1.3.5",
"web3-utils": "1.3.5"
}
},
"web3-providers-http": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.3.5.tgz",
"integrity": "sha512-ZQOmceFjcajEZdiuqciXjijwIYWNmEJ1oxMtbrwB2eGxHRCMXEH2xGRUZuhOFNF88yQC/VXVi14yvYg5ZlFJlA==",
"requires": {
"web3-core-helpers": "1.3.5",
"xhr2-cookies": "1.1.0"
}
},
"web3-providers-ipc": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.3.5.tgz",
"integrity": "sha512-cbZOeb/sALiHjzMolJjIyHla/J5wdL2JKUtRO66Nh/uLALBCpU8JUgzNvpAdJ1ae3+A33+EdFStdzuDYHKtQew==",
"requires": {
"oboe": "2.1.5",
"underscore": "1.9.1",
"web3-core-helpers": "1.3.5"
}
},
"web3-providers-ws": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.3.5.tgz",
"integrity": "sha512-zeZ4LMvKhYaJBDCqA//Bzgp4r/T0tNq5U/xvN0axA4YflzF7yqlsbzGwCkcZYDbrUaK3Ltl2uOmvwjbWALOZ1A==",
"requires": {
"eventemitter3": "4.0.4",
"underscore": "1.9.1",
"web3-core-helpers": "1.3.5",
"websocket": "^1.0.32"
}
},
"web3-shh": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.3.5.tgz",
"integrity": "sha512-aRwzCduXvuGVslLL/Y15VcOHa70Qr2kxZI7UwOzQVhaaOdxuRRvo3AK/cmyln1Tsd54/n93Yk8I3qg5I2+6alw==",
"requires": {
"web3-core": "1.3.5",
"web3-core-method": "1.3.5",
"web3-core-subscriptions": "1.3.5",
"web3-net": "1.3.5"
}
},
"web3-utils": {
"version": "1.3.5",
"resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.5.tgz",
"integrity": "sha512-5apMRm8ElYjI/92GHqijmaLC+s+d5lgjpjHft+rJSs/dsnX8I8tQreqev0dmU+wzU+2EEe4Sx9a/OwGWHhQv3A==",
"requires": {
"bn.js": "^4.11.9",
"eth-lib": "0.2.8",
"ethereum-bloom-filters": "^1.0.6",
"ethjs-unit": "0.1.6",
"number-to-bn": "1.7.0",
"randombytes": "^2.1.0",
"underscore": "1.9.1",
"utf8": "3.0.0"
}
}
}
},
"@octokit/auth-token": {
@ -8743,9 +9132,9 @@
"dev": true
},
"node-abort-controller": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-1.2.0.tgz",
"integrity": "sha512-x6Pv6ACfOUmYGDW/SRjSKBJs7waJRxRPQ9FeXFqfBtEtvJQBfuPl5P74p0Ow+vl0w6WURvXwn+xq/3S95Z7e5Q=="
"version": "1.2.1",
"resolved": "https://registry.npmjs.org/node-abort-controller/-/node-abort-controller-1.2.1.tgz",
"integrity": "sha512-79PYeJuj6S9+yOHirR0JBLFOgjB6sQCir10uN6xRx25iD+ZD4ULqgRn3MwWBRaQGB0vEgReJzWwJo42T1R6YbQ=="
},
"node-addon-api": {
"version": "2.0.2",

View File

@ -25,7 +25,7 @@
"dist/"
],
"dependencies": {
"@oceanprotocol/lib": "^0.12.2",
"@oceanprotocol/lib": "^0.14.3",
"axios": "^0.21.1",
"decimal.js": "^10.2.1",
"web3": "1.3.4",

View File

@ -3,7 +3,7 @@ import { useOcean } from 'providers'
import { ComputeValue } from './ComputeOptions'
import { Logger, ServiceCompute } from '@oceanprotocol/lib'
import { MetadataAlgorithm } from '@oceanprotocol/lib/dist/node/ddo/interfaces/MetadataAlgorithm'
import { ComputeJob } from '@oceanprotocol/lib/dist/node/ocean/interfaces/ComputeJob'
import { ComputeJob } from '@oceanprotocol/lib/dist/node/ocean/interfaces/Compute'
import { computeFeedback } from 'utils'
interface UseCompute {
@ -88,9 +88,9 @@ function useCompute(): UseCompute {
accountId,
did,
computeService.index,
undefined,
rawAlgorithmMeta,
marketFeeAddress
{ meta: rawAlgorithmMeta },
marketFeeAddress,
undefined
)
setStep(1)
}
@ -102,8 +102,7 @@ function useCompute(): UseCompute {
orderId,
dataTokenAddress,
account,
undefined,
rawAlgorithmMeta,
{ meta: rawAlgorithmMeta },
output,
`${computeService.index}`,
computeService.type