diff --git a/package.json b/package.json index 97d23362..3b050352 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "warp-contracts", - "version": "1.4.22-beta.1", + "version": "1.4.22-beta.2", "description": "An implementation of the SmartWeave smart contract protocol.", "types": "./lib/types/index.d.ts", "main": "./lib/cjs/index.js", diff --git a/src/__tests__/integration/basic/pst.test.ts b/src/__tests__/integration/basic/pst.test.ts index 0ec2767b..2121be0e 100644 --- a/src/__tests__/integration/basic/pst.test.ts +++ b/src/__tests__/integration/basic/pst.test.ts @@ -210,7 +210,7 @@ describe('Testing the Profit Sharing Token', () => { }); }); - describe("when loading data from Arweave", () => { + describe('when loading data from Arweave', () => { it('should allow to safe fetch from external api', async () => { const blockData = await arweave.blocks.getCurrent(); diff --git a/src/legacy/smartweave-global.ts b/src/legacy/smartweave-global.ts index 69f382ca..364c89a2 100644 --- a/src/legacy/smartweave-global.ts +++ b/src/legacy/smartweave-global.ts @@ -83,7 +83,7 @@ export class SmartWeaveGlobal { crypto: arweave.crypto }; this.baseArweaveUrl = `${arweave.api.config.protocol}://${arweave.api.config.host}:${arweave.api.config.port}`; - this.safeArweaveGet = async function(query: string) { + this.safeArweaveGet = async function (query: string) { return safeGet(`${this.baseArweaveUrl}${query}`); };