diff --git a/package-lock.json b/package-lock.json index e70ca34..af79e7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,7 +15,7 @@ "axios": "^1.6.0", "buffer": "^6.0.3", "uuid": "^9.0.1", - "warp-contracts": "1.4.25", + "warp-contracts": "1.4.30", "warp-contracts-plugin-deploy": "1.0.12" }, "devDependencies": { @@ -2710,10 +2710,9 @@ "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==" }, "node_modules/apollo-server-core": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-3.12.1.tgz", - "integrity": "sha512-9SF5WAkkV0FZQ2HVUWI9Jada1U0jg7e8NCN9EklbtvaCeUlOLyXyM+KCWuZ7+dqHxjshbtcwylPHutt3uzoNkw==", - "deprecated": "The `apollo-server-core` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/apollo-server-core/-/apollo-server-core-3.13.0.tgz", + "integrity": "sha512-v/g6DR6KuHn9DYSdtQijz8dLOkP78I5JSVJzPkARhDbhpH74QNwrQ2PP2URAPPEDJ2EeZNQDX8PvbYkAKqg+kg==", "dependencies": { "@apollo/utils.keyvaluecache": "^1.0.1", "@apollo/utils.logger": "^1.0.0", @@ -2771,10 +2770,9 @@ } }, "node_modules/apollo-server-koa": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/apollo-server-koa/-/apollo-server-koa-3.12.1.tgz", - "integrity": "sha512-YCsWeJNu0eCUknGqGkL8BVbAn77FftbDyVVqYhH6iueOh+B19p3mvXJCSfQkemEHWqJTdGeaA6SdBoCW8JiPTw==", - "deprecated": "The `apollo-server-koa` package is part of Apollo Server v2 and v3, which are now deprecated (end-of-life October 22nd 2023 and October 22nd 2024, respectively). This package's functionality is now found in the `@apollo/server` package. See https://www.apollographql.com/docs/apollo-server/previous-versions/ for more details.", + "version": "3.13.0", + "resolved": "https://registry.npmjs.org/apollo-server-koa/-/apollo-server-koa-3.13.0.tgz", + "integrity": "sha512-CM6ZDQX84X3Iwj82x2eqvIWvym97H+SYL9rzdSHCMXvCmJUxrhfeQP0ApvU4UFTA6ccjNT0N+MQkLbf+H1imrA==", "dependencies": { "@koa/cors": "^3.1.0", "@types/accepts": "^1.3.5", @@ -2783,7 +2781,7 @@ "@types/koa-bodyparser": "^4.3.0", "@types/koa-compose": "^3.2.5", "accepts": "^1.3.7", - "apollo-server-core": "^3.12.1", + "apollo-server-core": "^3.13.0", "apollo-server-types": "^3.8.0", "koa-bodyparser": "^4.3.0", "koa-compose": "^4.1.0" @@ -2995,9 +2993,9 @@ "dev": true }, "node_modules/arlocal": { - "version": "1.1.62", - "resolved": "https://registry.npmjs.org/arlocal/-/arlocal-1.1.62.tgz", - "integrity": "sha512-BnpolFe3obbQBGKvvkvrAZ4oleLHox7Xcly2l896cHzysPqvo8C9lYofUiQKYcprHIhHH1F7AFLrxAvZq5yQLQ==", + "version": "1.1.64", + "resolved": "https://registry.npmjs.org/arlocal/-/arlocal-1.1.64.tgz", + "integrity": "sha512-623LT99n+TVYYO7USXaETN+uTOcZOWxMbMtdnlQ6uGWiroGJzu13jSsB0w3Q0JHsaiOwIHG5tZFNVUpNCplrNQ==", "dependencies": { "@koa/cors": "^3.1.0", "apollo-server-koa": "^3.6.2", @@ -10350,9 +10348,9 @@ } }, "node_modules/warp-contracts": { - "version": "1.4.25", - "resolved": "https://registry.npmjs.org/warp-contracts/-/warp-contracts-1.4.25.tgz", - "integrity": "sha512-hJ05UbQxD3fW4ZI/6qztXW509tIyT/oRE8y4r7WzKfVu19u0dDjcPEsJC2U2yflke8P1+oi+BrSulT+o7yoPKA==", + "version": "1.4.30", + "resolved": "https://registry.npmjs.org/warp-contracts/-/warp-contracts-1.4.30.tgz", + "integrity": "sha512-96CWT2TUl8sJJcJQ7rInNSXac8GTBXG9PjKDkQpsZCCKS/vFmvBqtx8PGZtS4+HivyESQwwGyWvoduT6UhB4wQ==", "dependencies": { "archiver": "^5.3.0", "arweave": "1.13.7", diff --git a/package.json b/package.json index 01d0b60..094c240 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "axios": "^1.6.0", "buffer": "^6.0.3", "uuid": "^9.0.1", - "warp-contracts": "1.4.25", + "warp-contracts": "1.4.30", "warp-contracts-plugin-deploy": "1.0.12" } } diff --git a/src/common/transactions.ts b/src/common/transactions.ts index 0588a5b..5c76f9f 100644 --- a/src/common/transactions.ts +++ b/src/common/transactions.ts @@ -8,7 +8,7 @@ import { InjectedArweaveSigner } from 'warp-contracts-plugin-deploy' import { MemoryCache } from '../cache' -const irysNode2 = `https://node2.irys.xyz` +const bundlerNode = `https://up.arweave.net` export default class TransactionsModule { protected readonly ardb!: ArDB @@ -57,9 +57,9 @@ export default class TransactionsModule { await this.arweave.transactions.post(tx) } else { - // NB: Dispatch with irys when using mainnet + // NB: Dispatch with bundler node when using mainnet const { status, statusText } = await axios.post( - `${irysNode2}/tx`, + `${bundlerNode}/tx`, item.getRaw(), { headers: { 'Content-Type': 'application/octet-stream' }} ) diff --git a/test/e2e/following.e2e.ts b/test/e2e/following.e2e.ts index 6d3a347..f5c1e06 100644 --- a/test/e2e/following.e2e.ts +++ b/test/e2e/following.e2e.ts @@ -52,7 +52,7 @@ describe('Following Module', () => { expect(followingId).to.be.a('string') }) - it.only('gets or creates following contract for signer', async function () { + it('gets or creates following contract for signer', async function () { this.timeout(0) const jwk = await Arweave.crypto.generateJWK() const address = await getAddressFromSigner(jwk) diff --git a/test/e2e/publications.e2e.ts b/test/e2e/publications.e2e.ts index 664bd98..c92c369 100644 --- a/test/e2e/publications.e2e.ts +++ b/test/e2e/publications.e2e.ts @@ -79,7 +79,7 @@ describe('Publications Module', () => { }) context('Authenticated', () => { - it.only('publishes images', async function () { + it('publishes images', async function () { this.timeout(0) const abc = new ArtByCity(arweave, config) const opts: ImagePublicationOptions = {