All notable changes to this project will be documented in this file.
- Updated filename parameter for creating signed upload urls
- Updated resumable uploads to accept presigned urls
- Version bump
- Added presigned upload urls
- Updated resumable uploads to accept presigned urls
- Version bump
- Fixed build
- Added vectors to upload.file
- Added vectors to all upload methods
- Added vectorizeFile
- Added vector query
- Added file vector methods to sdk class
- Added delete file vectors
- Updated resumable file upload to use jwt var instead of secret
- Removed old comments
- Refactored source header in vectorizeFile
- Updated response after vectorization
- Renamed queryVector to queryVectors
- Refactored vectors to use uploadUrl and include returnFile for queries
- Version bump
- Added resumable uploads back in
- Added
Analytics
class
- Small refactor and naming
- Updated structure and approach for analytics
- Removed line of code that was wiping headers after settingthem
- Sliced charset from content type header
- Removed logs
- Added methods for adding and removing files to/from groups
- Added file chunking
- Renamed add to addFiles, remove to removeFiles
- Added keyvalues to uploads
- Started initial work on resumable uploads
- Updated metadata type to only include Record<string | string>
- Fixed keyvalue references
- Updated keyvalue reference in file.ts
- Added missing body and logging
- Updated unit tests for uploads
- Updated keyvalue case
- Added option for no group in listing files
- Refactored headers
- Added metadata key/values to files.list and files.update
- Added new setNewJwt method to SDK class
- Refactor unit tests
- Update package-lock.json
- Updated next version
- Version bump
- Add custom header options to gateway methods
- Updated delete file source header
- Added optional param of gateway to createSignedURL
- Added hot swap methods to Files class
- Added new query methods to listing files
- Added image opts to gateways.get()
- Implemented optimizeImage method to get and createdSignedURL
- Add name query to list groups
- Updated unit tests
- Update unit tests
- Add pageToken method
- Added page token to groups
- Refactor upload response based on new API response
- Updated types for upload response and group_idf
- Updated postinstall script, bumped version
- Added config endpoint url that was missing before
- Updated postinstall script
- Added custom uploadurl endpoint option
- Update package.json
- Package.json
- Added new files API to uploads
- Updated delete method and added files class
- Added list to files class
- Added update to files class
- Added Groups to new API
- Added new API to gateways class and added new createSignedURL method
- Added update and delete group methods
- Added postinstall script
- Fixed formatting
- Fixed more formatting
- Updated readme
- Cleaned up shelved methods
- Updated base64 method
- Removed unnecessary includesCount query
- Updated file naming method for uploads
- Updated syntax and return types
- Refactor UpdateGroupOptions
- Refactor update file
- Cleaned up some code types and methods
- Refactored Next template
- Refactored keys
- Refactored Next.js template
- Updated image in README
- Updated endpoints to prod
- Small changes to example
- Update readme
- Refactored all unit tests
- Added optional prefix to convertToDesiredGateway
- Added
containsCID
method to Gateways class - Add optmizeImage method to gateways.get
- Updated the response of
groups.list
fromany
toGroupResponseItem[]
- Updated convertIPFSUrl unit test to reflect updated IPFS Gateway tools
- Refactored error handling
- Updated unit tests
- Updated all files to allow undefined jwt and adjusted unit tests
- Removed Source header to fix CORS error
- Build issue
- Added examples repo with Next.js setup
- Added ability to pass in custom endpoint
- Added Top Gateway Usage, started Date Interval Usage
- Finished adding date interval method for gateway analytics
- Added small changes to syntax, unit tests, and jsdocs
- Issue with file.name being undefined
- Removed some unused code and updated name for source header
- Updated source header in unit test
- Changed how custom headers are handled, added new
setNewHeaders
method to change the instance