diff --git a/changelogs/v0.0.26.md b/changelogs/v0.0.26.md new file mode 100644 index 0000000..7bdeb94 --- /dev/null +++ b/changelogs/v0.0.26.md @@ -0,0 +1,6 @@ +# CHANGELOG + +## v0.0.26 + +### Fixes +- Resharing of already shared files via public key. diff --git a/lerna.json b/lerna.json index 897e920..e0e8eb1 100644 --- a/lerna.json +++ b/lerna.json @@ -2,7 +2,7 @@ "packages": [ "packages/*" ], - "version": "0.0.25", + "version": "0.0.26", "npmClient": "yarn", "useWorkspaces": true, "command": { diff --git a/packages/mailbox/package.json b/packages/mailbox/package.json index 718f9d1..d8a2437 100644 --- a/packages/mailbox/package.json +++ b/packages/mailbox/package.json @@ -1,6 +1,6 @@ { "name": "@spacehq/mailbox", - "version": "0.0.25", + "version": "0.0.26", "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.25", + "@spacehq/utils": "^0.0.26", "@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 518a80a..8f1024a 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@spacehq/sdk", - "version": "0.0.25", + "version": "0.0.26", "description": "Space SDK Library", "main": "dist/index", "types": "dist/index", @@ -33,9 +33,9 @@ "typescript": "^3.9.3" }, "dependencies": { - "@spacehq/mailbox": "^0.0.25", - "@spacehq/storage": "^0.0.25", - "@spacehq/users": "^0.0.25", - "@spacehq/utils": "^0.0.25" + "@spacehq/mailbox": "^0.0.26", + "@spacehq/storage": "^0.0.26", + "@spacehq/users": "^0.0.26", + "@spacehq/utils": "^0.0.26" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index 44315c6..c068a01 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -1,6 +1,6 @@ { "name": "@spacehq/storage", - "version": "0.0.25", + "version": "0.0.26", "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.25", - "@spacehq/users": "^0.0.25", - "@spacehq/utils": "^0.0.25", + "@spacehq/mailbox": "^0.0.26", + "@spacehq/users": "^0.0.26", + "@spacehq/utils": "^0.0.26", "@textile/crypto": "^2.0.0", "@textile/hub": "^4.1.0", "@textile/threads-id": "^0.4.0", diff --git a/packages/storage/src/userStorage.ts b/packages/storage/src/userStorage.ts index d344705..ad924c5 100644 --- a/packages/storage/src/userStorage.ts +++ b/packages/storage/src/userStorage.ts @@ -1137,6 +1137,7 @@ export class UserStorage { .filter((key) => !!key) as string[]; const store = await this.getMetadataStore(); + this.logger.info('Creating share files invitations'); const invitations = await createFileInvitations( idString, paths.map((path) => path.fullPath), @@ -1237,6 +1238,7 @@ export class UserStorage { client: Buckets, fullPaths: FullPath[], ): Promise<{ key: string; fullPath: FullPath; }[]> { + this.logger.info({ fullPaths }, 'Normalizing full path'); const bucketCache = new Map(); const store = await this.getMetadataStore(); return Promise.all(fullPaths.map(async (fullPath) => { diff --git a/packages/users/package.json b/packages/users/package.json index a8c89c6..72dc0eb 100644 --- a/packages/users/package.json +++ b/packages/users/package.json @@ -1,6 +1,6 @@ { "name": "@spacehq/users", - "version": "0.0.25", + "version": "0.0.26", "description": "Space users implementation", "main": "dist/index", "types": "dist/index", @@ -35,7 +35,7 @@ "websocket-polyfill": "^0.0.3" }, "dependencies": { - "@spacehq/utils": "^0.0.25", + "@spacehq/utils": "^0.0.26", "@textile/crypto": "^2.0.0", "@types/lodash": "^4.14.165", "axios": "^0.21.1", diff --git a/packages/utils/package.json b/packages/utils/package.json index 66eaf67..26850d2 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@spacehq/utils", - "version": "0.0.25", + "version": "0.0.26", "description": "Space Common Utils", "main": "dist/index", "types": "dist/index",