Skip to content

Commit

Permalink
Release: v0.0.29
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectmak committed Mar 1, 2021
1 parent 840fb5f commit 29f3285
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 18 deletions.
8 changes: 8 additions & 0 deletions changelogs/v0.0.29.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# CHANGELOG

## v0.0.29

This is release contains an internal breaking change to how files are being stored.

### Fixes
- Internal fixes to how files are being encrypted.
9 changes: 6 additions & 3 deletions etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ export interface AcceptInvitationResponse {
files: SharedWithMeFiles[];
}

// @public (undocumented)
export type AddItemDataType = ReadableStream<Uint8Array> | ArrayBuffer | string | Blob;

// @public (undocumented)
export interface AddItemFile {
// (undocumented)
data: ReadableStream<Uint8Array> | ArrayBuffer | string | Blob;
data: AddItemDataType;
mimeType: string;
path: string;
progress?: (bytesRead?: number) => void;
Expand Down Expand Up @@ -88,7 +91,6 @@ export class BrowserStorage {
export interface BucketMetadata {
bucketKey: string;
dbId: string;
encryptionKey: Uint8Array;
slug: string;
}

Expand Down Expand Up @@ -159,6 +161,7 @@ export interface FileMetadata {
bucketSlug: string;
// (undocumented)
dbId: string;
encryptionKey: string;
// (undocumented)
mimeType?: string;
// (undocumented)
Expand Down Expand Up @@ -284,7 +287,7 @@ export interface Invitation {
// (undocumented)
itemPaths: FullPath[];
// (undocumented)
keys: Uint8Array[];
keys: string[];
// (undocumented)
status: InvitationStatus;
}
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.28",
"version": "0.0.29",
"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.28",
"version": "0.0.29",
"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.28",
"@spacehq/utils": "^0.0.29",
"@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.28",
"version": "0.0.29",
"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.28",
"@spacehq/storage": "^0.0.28",
"@spacehq/users": "^0.0.28",
"@spacehq/utils": "^0.0.28"
"@spacehq/mailbox": "^0.0.29",
"@spacehq/storage": "^0.0.29",
"@spacehq/users": "^0.0.29",
"@spacehq/utils": "^0.0.29"
}
}
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.28",
"version": "0.0.29",
"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.28",
"@spacehq/users": "^0.0.28",
"@spacehq/utils": "^0.0.28",
"@spacehq/mailbox": "^0.0.29",
"@spacehq/users": "^0.0.29",
"@spacehq/utils": "^0.0.29",
"@textile/crypto": "^2.0.0",
"@textile/hub": "^4.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.28",
"version": "0.0.29",
"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.28",
"@spacehq/utils": "^0.0.29",
"@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.28",
"version": "0.0.29",
"description": "Space Common Utils",
"main": "dist/index",
"types": "dist/index",
Expand Down

0 comments on commit 29f3285

Please sign in to comment.