Skip to content

Commit

Permalink
Release: v0.0.11 (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
perfectmak authored Feb 3, 2021
1 parent c8ba4c8 commit 4dd739d
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 8 deletions.
14 changes: 14 additions & 0 deletions changelogs/v0.0.11.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# CHANGELOG

## v0.0.11

This release contains a fix with breaking changes.

### New Features

- Added a `debugMode` to `UserStorage` class. `new UserStorage(user, { debugMode: true });`.
This will activate logging of internal operations for further debugging by the user.

### New Fixes

- Fixes to ensure users file and bucket information are fully loaded before results are returned.
4 changes: 3 additions & 1 deletion etc/sdk.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import { Buckets } from '@textile/hub';
import { Client } from '@textile/hub';
import { IGunChainReference } from 'gun/types/chain';
import Pino from 'pino';
import { UserAuth } from '@textile/hub';

// @public (undocumented)
Expand Down Expand Up @@ -179,7 +180,7 @@ export class GundbMetadataStore implements UserMetadataStore {
findFileMetadataByUuid(uuid: string): Promise<FileMetadata | undefined>;
// Warning: (ae-forgotten-export) The symbol "GunChainReference" needs to be exported by the entry point index.d.ts
// Warning: (ae-forgotten-export) The symbol "GunDataState" needs to be exported by the entry point index.d.ts
static fromIdentity(username: string, userpass: string, gunOrServer?: GunChainReference<GunDataState> | string): Promise<GundbMetadataStore>;
static fromIdentity(username: string, userpass: string, gunOrServer?: GunChainReference<GunDataState> | string, logger?: Pino.Logger | boolean): Promise<GundbMetadataStore>;
listBuckets(): Promise<BucketMetadata[]>;
upsertFileMetadata(metadata: FileMetadata): Promise<FileMetadata>;
}
Expand Down Expand Up @@ -376,6 +377,7 @@ export class UserStorage {
// @public (undocumented)
export interface UserStorageConfig {
bucketsInit?: (auth: UserAuth) => Buckets;
debugMode?: boolean;
// (undocumented)
metadataStoreInit?: (identity: Identity) => Promise<UserMetadataStore>;
// (undocumented)
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.10",
"version": "0.0.11",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
Expand Down
6 changes: 3 additions & 3 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.10",
"version": "0.0.11",
"description": "Space SDK Library",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -33,7 +33,7 @@
"typescript": "^3.9.3"
},
"dependencies": {
"@spacehq/storage": "^0.0.10",
"@spacehq/users": "^0.0.10"
"@spacehq/storage": "^0.0.11",
"@spacehq/users": "^0.0.11"
}
}
4 changes: 2 additions & 2 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.10",
"version": "0.0.11",
"description": "Space storage implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down Expand Up @@ -42,7 +42,7 @@
},
"dependencies": {
"@improbable-eng/grpc-web": "^0.13.0",
"@spacehq/users": "^0.0.10",
"@spacehq/users": "^0.0.11",
"@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.10",
"version": "0.0.11",
"description": "Space users implementation",
"main": "dist/index",
"types": "dist/index",
Expand Down

0 comments on commit 4dd739d

Please sign in to comment.