Skip to content

Commit

Permalink
Release v0.0.30 (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsonsivar authored Mar 11, 2021
1 parent 757d217 commit 73444f4
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 16 deletions.
8 changes: 8 additions & 0 deletions changelogs/v0.0.30.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CHANGELOG

## v0.0.30

This release contains the move functionality so that multiple files could be moved using the Space SDK

### Features
- Move command
37 changes: 37 additions & 0 deletions etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,42 @@ export interface MakeFilePublicRequest {
path: string;
}

// @public (undocumented)
export type MovePathsEventData = MovePathsStatus | MovePathsResultSummary;

// @public (undocumented)
export type MovePathsEventType = 'data' | 'error' | 'done';

// @public (undocumented)
export type MovePathsListener = (data: MovePathsEventData) => void;

// @public (undocumented)
export interface MovePathsResponse {
// (undocumented)
off: (type: MovePathsEventType, listener: MovePathsListener) => void;
// (undocumented)
on: (type: MovePathsEventType, listener: MovePathsListener) => void;
once: (type: MovePathsEventType, listener: MovePathsListener) => void;
}

// @public (undocumented)
export interface MovePathsResultSummary {
// (undocumented)
count: number;
}

// @public (undocumented)
export interface MovePathsStatus {
// (undocumented)
destPath: string;
// (undocumented)
error?: Error;
// (undocumented)
sourcePath: string;
// (undocumented)
status: 'success' | 'error';
}

// @public (undocumented)
interface Notification_2 {
// (undocumented)
Expand Down Expand Up @@ -596,6 +632,7 @@ export class UserStorage {
initListener(): Promise<void>;
initMailbox(): Promise<void>;
listDirectory(request: ListDirectoryRequest): Promise<ListDirectoryResponse>;
movePaths(bucketName: string, sourcePaths: string[], destPaths: string[]): Promise<MovePathsResponse>;
notificationSubscribe(): Promise<NotificationSubscribeResponse>;
openFile(request: OpenFileRequest): Promise<OpenFileResponse>;
openFileByUuid(request: OpenUuidFileRequest): Promise<OpenUuidFileResponse>;
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.29",
"version": "0.0.30",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
6 changes: 3 additions & 3 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.29",
"version": "0.0.30",
"description": "Space Mailbox implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -36,8 +36,8 @@
},
"dependencies": {
"@improbable-eng/grpc-web": "^0.14.0",
"@spacehq/users": "^0.0.29",
"@spacehq/utils": "^0.0.29",
"@spacehq/users": "^0.0.30",
"@spacehq/utils": "^0.0.30",
"@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.29",
"version": "0.0.30",
"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.29",
"@spacehq/storage": "^0.0.29",
"@spacehq/users": "^0.0.29",
"@spacehq/utils": "^0.0.29"
"@spacehq/mailbox": "^0.0.30",
"@spacehq/storage": "^0.0.30",
"@spacehq/users": "^0.0.30",
"@spacehq/utils": "^0.0.30"
}
}
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.29",
"version": "0.0.30",
"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.29",
"@spacehq/users": "^0.0.29",
"@spacehq/utils": "^0.0.29",
"@spacehq/mailbox": "^0.0.30",
"@spacehq/users": "^0.0.30",
"@spacehq/utils": "^0.0.30",
"@textile/crypto": "^2.0.0",
"@textile/hub": "^6.1.0",
"@textile/threads-id": "^0.4.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/users/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/users",
"version": "0.0.29",
"version": "0.0.30",
"description": "Space users implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -35,7 +35,7 @@
"websocket-polyfill": "^0.0.3"
},
"dependencies": {
"@spacehq/utils": "^0.0.29",
"@spacehq/utils": "^0.0.30",
"@textile/crypto": "^2.0.0",
"@types/lodash": "^4.14.165",
"axios": "^0.21.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@spacehq/utils",
"version": "0.0.29",
"version": "0.0.30",
"description": "Space Common Utils",
"main": "dist/index",
"types": "dist/index",
Expand Down

0 comments on commit 73444f4

Please sign in to comment.