You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR bumps the SDK to version 0.31.0 and adds a ping() helper method to the Client class, along with a ws security override and a refined glob override in package.json. The storage.ts chunk-upload path is unchanged; the sequential while-loop upload loop remains as-is, so the "concurrent chunk uploads" support appears to be a server-side capability that this SDK version enables rather than a client-side concurrency change.
Client.ping() is added with Promise<unknown> as its return type, which correctly reflects that call() may return a parsed JSON object, a { message: string } wrapper for plain-text responses, or throw an AppwriteException — consistent with every other call site in the SDK.
package.json overrides are updated: glob is restructured from a flat version string to a nested object using the valid . self-reference to pin both glob itself and its brace-expansion dependency; ws is added to force a patched version.
Confidence Score: 5/5
Safe to merge — the only behavioral change is a new ping() method and dependency overrides; no existing upload or auth paths are touched.
The diff is small and isolated: a new ping() method that delegates to the existing call() helper with an appropriate Promise<unknown> return type, a version bump, and dependency pin updates. No existing logic was modified, no edge cases were introduced, and the package override changes follow documented npm syntax.
No files require special attention.
Important Files Changed
Filename
Overview
src/client.ts
Version header bumped to 0.31.0; new ping() method added with Promise<unknown> return type, consistent with how call() wraps non-JSON responses as { message: string }
package.json
Version bumped to 0.31.0; glob override restructured to nested format (using valid . self-reference syntax) to also pin brace-expansion; ws security override added
package-lock.json
Lockfile regenerated to reflect updated overrides and minor transitive dependency version bumps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the SDK to support concurrent chunk uploads.