Skip to content

Commit

Permalink
Merge pull request #21 from FleekHQ/release/v0.0.5
Browse files Browse the repository at this point in the history
Release: v0.0.5
  • Loading branch information
perfectmak authored Jan 13, 2021
2 parents 57d53af + 2789fe0 commit 9f86aa7
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 9 deletions.
15 changes: 15 additions & 0 deletions changelogs/v0.0.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# CHANGELOG

## v0.0.5

This release contains some fixes to logic of existing functionality.

### New Features

- Manage Users Bucket Metadata with GunDB
- Track files mimetype. `UserStorage.addItems` request now requires specifying the files `mimeType`
and `UserStorage.openFile` returns the files `mimeType` in its response object.

### New Fixes

- Fix `UserStorage.listDirectory`'s response to have compatible `date` and `address` fields.
7 changes: 5 additions & 2 deletions etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export interface DirectoryEntry {
// (undocumented)
backupCount: number;
// (undocumented)
created: Date;
created: string;
// (undocumented)
fileExtension: string;
// (undocumented)
Expand All @@ -113,7 +113,7 @@ export interface DirectoryEntry {
// (undocumented)
sizeInBytes: number;
// (undocumented)
updated: Date;
updated: string;
}

// @public (undocumented)
Expand Down Expand Up @@ -146,6 +146,9 @@ export class FileStorage {
remove(key: string): Promise<void>;
}

// @public (undocumented)
export const GetAddressFromPublicKey: (pubkey: string) => string;

// @public
export class GunsdbMetadataStore implements UserMetadataStore {
createBucket(bucketSlug: string, dbId: string): Promise<BucketMetadata>;
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages": [
"packages/*"
],
"version": "0.0.4",
"version": "0.0.5",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
6 changes: 3 additions & 3 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/sdk",
"version": "0.0.4",
"version": "0.0.5",
"description": "Space SDK Library",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -33,7 +33,7 @@
"typescript": "^3.9.3"
},
"dependencies": {
"@spacehq/storage": "^0.0.4",
"@spacehq/users": "^0.0.4"
"@spacehq/storage": "^0.0.5",
"@spacehq/users": "^0.0.5"
}
}
4 changes: 2 additions & 2 deletions packages/storage/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/storage",
"version": "0.0.4",
"version": "0.0.5",
"description": "Space storage implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -40,7 +40,7 @@
"typescript": "^3.9.3"
},
"dependencies": {
"@spacehq/users": "^0.0.4",
"@spacehq/users": "^0.0.5",
"@textile/crypto": "^2.0.0",
"@textile/hub": "^4.1.0",
"@textile/threads-id": "^0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/users/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/users",
"version": "0.0.4",
"version": "0.0.5",
"description": "Space users implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down

0 comments on commit 9f86aa7

Please sign in to comment.