Skip to content

Commit

Permalink
Release v0.0.23 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonsivar authored Feb 25, 2021
1 parent 5d7b5db commit 69c53fe
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 15 deletions.
9 changes: 9 additions & 0 deletions changelogs/v0.0.23.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# CHANGELOG

## v0.0.23

Releases a new feature:

### Features
- Implements `setNotificationsLastSeenAt` so that it gets returned with `getNotifications` and can be used to diff new messages.

5 changes: 5 additions & 0 deletions etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,11 +240,13 @@ export class GundbMetadataStore implements UserMetadataStore {
findSharedFilesByInvitation(invitationId: string): Promise<SharedFileMetadata | undefined>;
// Warning: (ae-forgotten-export) The symbol "GunInit" needs to be exported by the entry point index.d.ts
static fromIdentity(username: string, userpass: string, gunOrServer?: GunInit | string | string[], logger?: Pino.Logger | boolean): Promise<GundbMetadataStore>;
getNotificationsLastSeenAt(): Promise<number>;
listBuckets(): Promise<BucketMetadata[]>;
listSharedByMeFiles(): Promise<SharedFileMetadata[]>;
listSharedWithMeFiles(): Promise<SharedFileMetadata[]>;
listUsersRecentlySharedWith(): Promise<ShareUserMetadata[]>;
setFilePublic(metadata: FileMetadata): Promise<void>;
setNotificationsLastSeenAt(timestamp: number): Promise<void>;
upsertFileMetadata(metadata: FileMetadata): Promise<FileMetadata>;
upsertSharedByMeFile(fileData: SharedFileMetadata): Promise<SharedFileMetadata>;
upsertSharedWithMeFile(fileData: SharedFileMetadata): Promise<SharedFileMetadata>;
Expand Down Expand Up @@ -560,11 +562,13 @@ export interface UserMetadataStore {
findFileMetadata: (bucketSlug: string, dbId: string, path: string) => Promise<FileMetadata | undefined>;
findFileMetadataByUuid: (uuid: string) => Promise<FileMetadata | undefined>;
findSharedFilesByInvitation: (invitationId: string) => Promise<SharedFileMetadata | undefined>;
getNotificationsLastSeenAt(): Promise<number>;
listBuckets: () => Promise<BucketMetadata[]>;
listSharedByMeFiles(): Promise<SharedFileMetadata[]>;
listSharedWithMeFiles: () => Promise<SharedFileMetadata[]>;
listUsersRecentlySharedWith(): Promise<ShareUserMetadata[]>;
setFilePublic: (metadata: FileMetadata) => Promise<void>;
setNotificationsLastSeenAt(timestamp: number): Promise<void>;
upsertFileMetadata: (data: FileMetadata) => Promise<FileMetadata>;
upsertSharedByMeFile: (data: SharedFileMetadata) => Promise<SharedFileMetadata>;
upsertSharedWithMeFile: (data: SharedFileMetadata) => Promise<SharedFileMetadata>;
Expand Down Expand Up @@ -611,6 +615,7 @@ export class UserStorage {
openFile(request: OpenFileRequest): Promise<OpenFileResponse>;
openFileByUuid(request: OpenUuidFileRequest): Promise<OpenUuidFileResponse>;
setFilePublicAccess(request: MakeFilePublicRequest): Promise<void>;
setNotificationsLastSeenAt(timestamp: number): 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.22",
"version": "0.0.23",
"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.22",
"version": "0.0.23",
"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.22",
"@spacehq/utils": "^0.0.23",
"@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.22",
"version": "0.0.23",
"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.22",
"@spacehq/storage": "^0.0.22",
"@spacehq/users": "^0.0.22",
"@spacehq/utils": "^0.0.22"
"@spacehq/mailbox": "^0.0.23",
"@spacehq/storage": "^0.0.23",
"@spacehq/users": "^0.0.23",
"@spacehq/utils": "^0.0.23"
}
}
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.22",
"version": "0.0.23",
"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.22",
"@spacehq/users": "^0.0.22",
"@spacehq/utils": "^0.0.22",
"@spacehq/mailbox": "^0.0.23",
"@spacehq/users": "^0.0.23",
"@spacehq/utils": "^0.0.23",
"@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.22",
"version": "0.0.23",
"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.22",
"version": "0.0.23",
"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.22",
"@spacehq/users": "^0.0.23",
"@textile/crypto": "^2.0.0",
"@types/lodash": "^4.14.165",
"axios": "^0.21.1",
Expand Down

0 comments on commit 69c53fe

Please sign in to comment.