Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e committed Aug 9, 2023
1 parent a00d2e6 commit 4e51d37
Show file tree
Hide file tree
Showing 4 changed files with 8,694 additions and 1,651 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,35 @@
"dependencies": {
"@aws-sdk/client-s3": "^3.75.0",
"@fleekhq/fleek-storage-js": "^1.0.21",
"@pinata/sdk": "^1.1.25",
"@pinata/sdk": "^2.1.0",
"@snapshot-labs/snapshot-sentry": "^1.0.0",
"bluebird": "^3.7.2",
"cors": "^2.8.5",
"cross-fetch": "^3.1.6",
"cross-fetch": "^4.0.0",
"dotenv": "^16.0.1",
"express": "^4.18.2",
"ipfs-http-client": "^56.0.0",
"multer": "^1.4.5-lts.1",
"nodemon": "^2.0.16",
"sharp": "^0.30.6",
"nodemon": "^3.0.1",
"sharp": "^0.32.4",
"ts-node": "^10.9.1",
"typescript": "^4.6.3",
"typescript": "^5.1.6",
"web3.storage": "^4.2.0"
},
"devDependencies": {
"@snapshot-labs/eslint-config": "^0.1.0-beta.9",
"@snapshot-labs/prettier-config": "^0.1.0-beta.7",
"@types/express": "^4.17.17",
"@types/jest": "^28.1.0",
"@types/jest": "^29.5.3",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.35",
"@types/sharp": "^0.30.2",
"@types/node": "^20.4.9",
"@types/sharp": "^0.32.0",
"dotenv-cli": "^7.2.1",
"eslint": "^8.45.0",
"jest": "^28.1.0",
"prettier": "^2.8.8",
"jest": "^29.6.2",
"prettier": "^3.0.1",
"start-server-and-test": "^2.0.0",
"supertest": "^6.3.3",
"ts-jest": "^28.0.4"
"ts-jest": "^29.1.1"
}
}
2 changes: 1 addition & 1 deletion src/providers/pinata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import pinataSDK from '@pinata/sdk';
import { randomUUID } from 'crypto';
import { Readable } from 'stream';
const provider = 'pinata';
const client = pinataSDK(process.env.PINATA_API_KEY || '', process.env.PINATA_API_SECRET || '');
const client = new pinataSDK(process.env.PINATA_API_KEY || '', process.env.PINATA_API_SECRET || '');

export async function set(data: Buffer | object) {
const start = Date.now();
Expand Down
Loading

0 comments on commit 4e51d37

Please sign in to comment.