Skip to content

Commit

Permalink
fix(deps): pin arweave
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus committed Mar 27, 2024
1 parent e9a8e84 commit d39391c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
},
"dependencies": {
"arbundles": "0.11.0",
"arweave": "^1.14.4",
"arweave": "1.14.4",
"axios": "1.4.0",
"setimmediate": "^1.0.5",
"warp-arbundles": "^1.0.4",
Expand Down
4 changes: 2 additions & 2 deletions tests/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ export const arweave = new Arweave({
protocol: GATEWAY_PROTOCOL,
port: GATEWAY_PORT,
host: GATEWAY_HOST,
}) as any;
});

LoggerFactory.INST.logLevel('fatal');
export const warp = WarpFactory.forMainnet(
defaultCacheOptions,
true,
arweave as any,
arweave,
).use(new DeployPlugin());

export const gatewayAddress = '1H7WZIWhzwTH9FIcnuMqYkTsoyv1OTfGa_amvuYwrgo';
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/warp-contract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('warp-contract client', () => {
const contract: WarpContract<ANTState> = new WarpContract<ANTState>({
cacheUrl: localCacheUrl,
contractTxId,
warp: WarpFactory.forMainnet(defaultCacheOptions, true, arweave as any),
warp: WarpFactory.forMainnet(defaultCacheOptions, true, arweave),
arweave,
});
it('should connect and return a valid instance', async () => {
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2775,7 +2775,7 @@ arweave@1.14.4:
base64-js "^1.5.1"
bignumber.js "^9.0.2"

arweave@^1.10.13, arweave@^1.13.7, arweave@^1.14.4:
arweave@^1.10.13, arweave@^1.13.7:
version "1.15.0"
resolved "https://registry.yarnpkg.com/arweave/-/arweave-1.15.0.tgz#56203c13badf28a0e420ca700d966e89a53c711b"
integrity sha512-sYfq2yJwkJLthRADsfHygNP+L7fTCyprTjOLYnpP8zaqwywddoNO3UpTk6XGjEiyyU3WfxoFLRLpzx+llZx1WA==
Expand Down

0 comments on commit d39391c

Please sign in to comment.