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

squid 0.6.1

This commit is contained in:
Jernej Pregelj 2019-06-25 10:17:43 +02:00
parent 59ffac93a6
commit 643d5a3c84
6 changed files with 29 additions and 9 deletions

View File

@ -1296,9 +1296,9 @@
"integrity": "sha512-Nvnk9nNWMmfXz38bHRHHNgc8MGmFPZTkXPBWbEXR9+maJq5/kRFx8OckroKqmYXX4QBEh5frwd77omNOL2MUNw=="
},
"@oceanprotocol/squid": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/@oceanprotocol/squid/-/squid-0.6.0.tgz",
"integrity": "sha512-agTeWx4ownJzGelKLW8qPIrXyoG8JZNR5vGkMppGGLL+vIGYWp9c6FbzznA8A1j2t8g99juGWoxM7v+Jyeq5Ww==",
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/@oceanprotocol/squid/-/squid-0.6.1.tgz",
"integrity": "sha512-GWkB4caaXK3F5iWnxg9XcJDsdNGNDO5+nG3EVqeYjZo8tGJ8+fAd8EbgXM/czRuzFWyd4kjgfXM6z60K50ovEQ==",
"requires": {
"@oceanprotocol/keeper-contracts": "^0.10.3",
"bignumber.js": "^8.1.1",

View File

@ -13,7 +13,7 @@
},
"dependencies": {
"@oceanprotocol/art": "^2.2.0",
"@oceanprotocol/squid": "^0.6.0",
"@oceanprotocol/squid": "^0.6.1",
"@oceanprotocol/typographies": "^0.1.0",
"@sindresorhus/slugify": "^0.9.1",
"axios": "^0.19.0",

View File

@ -6,14 +6,22 @@ context('Consume', () => {
before(() => {
cy.on('window:before:load', win => {
const provider = new HDWalletProvider(
Cypress.env('SEEDPHRASE'),
Cypress.env('SEEDPHRASE')
? Cypress.env('SEEDPHRASE')
: 'taxi music thumb unique chat sand crew more leg another off lamp',
Cypress.env('NODE_URI')
? Cypress.env('NODE_URI')
: 'https://pacific.oceanprotocol.com'
)
win.web3 = new Web3(provider)
win.ethereum = win.web3
})
cy.visit(Cypress.env('CONSUME_ASSET'))
cy.visit(
Cypress.env('CONSUME_ASSET')
? Cypress.env('CONSUME_ASSET')
: 'http://localhost:3000/asset/did:op:66c9d023cd444999916570b5174d0f9037d8f85d24ba4c129e7f127f7c21aafa'
)
// Wait for end of loading
cy.get('button', { timeout: 60000 }).should('have.length', 1)

View File

@ -6,8 +6,12 @@ context('Faucet', () => {
before(() => {
cy.on('window:before:load', win => {
const provider = new HDWalletProvider(
Cypress.env('SEEDPHRASE'),
Cypress.env('SEEDPHRASE')
? Cypress.env('SEEDPHRASE')
: 'taxi music thumb unique chat sand crew more leg another off lamp',
Cypress.env('NODE_URI')
? Cypress.env('NODE_URI')
: 'https://pacific.oceanprotocol.com'
)
win.web3 = new Web3(provider)
win.ethereum = win.web3

View File

@ -6,8 +6,12 @@ context('Publish', () => {
before(() => {
cy.on('window:before:load', win => {
const provider = new HDWalletProvider(
Cypress.env('SEEDPHRASE'),
Cypress.env('SEEDPHRASE')
? Cypress.env('SEEDPHRASE')
: 'taxi music thumb unique chat sand crew more leg another off lamp',
Cypress.env('NODE_URI')
? Cypress.env('NODE_URI')
: 'https://pacific.oceanprotocol.com'
)
win.web3 = new Web3(provider)
win.ethereum = win.web3

View File

@ -6,8 +6,12 @@ context('Search', () => {
before(() => {
cy.on('window:before:load', win => {
const provider = new HDWalletProvider(
Cypress.env('SEEDPHRASE'),
Cypress.env('SEEDPHRASE')
? Cypress.env('SEEDPHRASE')
: 'taxi music thumb unique chat sand crew more leg another off lamp',
Cypress.env('NODE_URI')
? Cypress.env('NODE_URI')
: 'https://pacific.oceanprotocol.com'
)
win.web3 = new Web3(provider)
win.ethereum = win.web3