Skip to content

Commit

Permalink
Release: v0.0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectmak committed Feb 22, 2021
1 parent 595b1d3 commit b6204e6
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 16 deletions.
15 changes: 15 additions & 0 deletions changelogs/v0.0.21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# CHANGELOG

## v0.0.21

Release some new features and fixes around storage

### Features
- Exposes a `UserStorage.handleFileInvitation()` method and remove the previous `UserStorage.acceptInvitation()` method.
- Implements `UserStorage.notificationSubscribe()` that returns an emitter to subscribe to live notification for the
current user.
- Adds a stub implementation of `UserStorage.syncFromTempKey()` to initialize the users storage notification from the
temp key

### Fixes
- Fixes `UserStorage.`
2 changes: 1 addition & 1 deletion etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ export class GundbMetadataStore implements UserMetadataStore {
listSharedWithMeFiles(): Promise<SharedFileMetadata[]>;
listUsersRecentlySharedWith(): Promise<ShareUserMetadata[]>;
setFilePublic(metadata: FileMetadata): Promise<void>;
static syncFromTempKey(key: string): Promise<void>;
upsertFileMetadata(metadata: FileMetadata): Promise<FileMetadata>;
upsertSharedByMeFile(fileData: SharedFileMetadata): Promise<SharedFileMetadata>;
upsertSharedWithMeFile(fileData: SharedFileMetadata): Promise<SharedFileMetadata>;
Expand Down Expand Up @@ -613,6 +612,7 @@ export class UserStorage {
openFileByUuid(request: OpenUuidFileRequest): Promise<OpenUuidFileResponse>;
setFilePublicAccess(request: MakeFilePublicRequest): Promise<void>;
shareViaPublicKey(request: ShareViaPublicKeyRequest): Promise<ShareViaPublicKeyResponse>;
static syncFromTempKey(key: string): Promise<void>;
txlSubscribe(): Promise<TxlSubscribeResponse>;
}

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.20",
"version": "0.0.21",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
4 changes: 2 additions & 2 deletions packages/mailbox/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/mailbox",
"version": "0.0.20",
"version": "0.0.21",
"description": "Space Mailbox implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -37,7 +37,7 @@
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@spacehq/users": "^0.0.13",
"@spacehq/utils": "^0.0.20",
"@spacehq/utils": "^0.0.21",
"@textile/crypto": "^2.0.0",
"@types/lodash": "^4.14.165",
"axios": "^0.21.1",
Expand Down
10 changes: 5 additions & 5 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.20",
"version": "0.0.21",
"description": "Space SDK Library",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -33,9 +33,9 @@
"typescript": "^3.9.3"
},
"dependencies": {
"@spacehq/mailbox": "^0.0.20",
"@spacehq/storage": "^0.0.20",
"@spacehq/users": "^0.0.20",
"@spacehq/utils": "^0.0.20"
"@spacehq/mailbox": "^0.0.21",
"@spacehq/storage": "^0.0.21",
"@spacehq/users": "^0.0.21",
"@spacehq/utils": "^0.0.21"
}
}
8 changes: 4 additions & 4 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.20",
"version": "0.0.21",
"description": "Space storage implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -42,9 +42,9 @@
},
"dependencies": {
"@improbable-eng/grpc-web": "^0.13.0",
"@spacehq/mailbox": "^0.0.20",
"@spacehq/users": "^0.0.20",
"@spacehq/utils": "^0.0.20",
"@spacehq/mailbox": "^0.0.21",
"@spacehq/users": "^0.0.21",
"@spacehq/utils": "^0.0.21",
"@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.20",
"version": "0.0.21",
"description": "Space users implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down
4 changes: 2 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/utils",
"version": "0.0.20",
"version": "0.0.21",
"description": "Space Common Utils",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@spacehq/users": "^0.0.20",
"@spacehq/users": "^0.0.21",
"@textile/crypto": "^2.0.0",
"@types/lodash": "^4.14.165",
"axios": "^0.21.1",
Expand Down

0 comments on commit b6204e6

Please sign in to comment.