diff --git a/changelogs/v0.0.21.md b/changelogs/v0.0.21.md new file mode 100644 index 0000000..76a7766 --- /dev/null +++ b/changelogs/v0.0.21.md @@ -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.` diff --git a/etc/sdk.api.md b/etc/sdk.api.md index 9f9285d..3d9ed29 100644 --- a/etc/sdk.api.md +++ b/etc/sdk.api.md @@ -245,7 +245,6 @@ export class GundbMetadataStore implements UserMetadataStore { listSharedWithMeFiles(): Promise; listUsersRecentlySharedWith(): Promise; setFilePublic(metadata: FileMetadata): Promise; - static syncFromTempKey(key: string): Promise; upsertFileMetadata(metadata: FileMetadata): Promise; upsertSharedByMeFile(fileData: SharedFileMetadata): Promise; upsertSharedWithMeFile(fileData: SharedFileMetadata): Promise; @@ -613,6 +612,7 @@ export class UserStorage { openFileByUuid(request: OpenUuidFileRequest): Promise; setFilePublicAccess(request: MakeFilePublicRequest): Promise; shareViaPublicKey(request: ShareViaPublicKeyRequest): Promise; + static syncFromTempKey(key: string): Promise; txlSubscribe(): Promise; } diff --git a/lerna.json b/lerna.json index ece6118..7efc4e6 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.0.20", + "version": "0.0.21", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/mailbox/package.json b/packages/mailbox/package.json index 52f9d36..58d2e8c 100644 --- a/packages/mailbox/package.json +++ b/packages/mailbox/package.json @@ -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", @@ -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", diff --git a/packages/sdk/package.json b/packages/sdk/package.json index afb8f4b..1ed007e 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -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", @@ -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" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index e3beee6..2a2d2d0 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -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", @@ -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", diff --git a/packages/users/package.json b/packages/users/package.json index 862b098..f55a400 100644 --- a/packages/users/package.json +++ b/packages/users/package.json @@ -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", diff --git a/packages/utils/package.json b/packages/utils/package.json index 67a787e..5381c8b 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -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", @@ -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",