@filefreak.io/sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -53,6 +53,11 @@ export declare class FileFreak {
53
53
  };
54
54
  readonly uploads: Api["uploads"];
55
55
  readonly usage: Api["usage"];
56
+ readonly me: Api["me"];
57
+ /** Share links, which only a device signed in with filefreak login may make, list or remove. */
58
+ readonly shares: Api["shares"];
59
+ /** Static sites, which only a device signed in with filefreak login may deploy. */
60
+ readonly sites: Api["sites"];
56
61
  readonly tokens: Api["tokens"];
57
62
  constructor(options: ClientOptions);
58
63
  /** Any endpoint, by its operation name. The functions above are this, typed. */
package/dist/client.js CHANGED
@@ -48,6 +48,11 @@ export class FileFreak {
48
48
  changes;
49
49
  uploads;
50
50
  usage;
51
+ me;
52
+ /** Share links, which only a device signed in with filefreak login may make, list or remove. */
53
+ shares;
54
+ /** Static sites, which only a device signed in with filefreak login may deploy. */
55
+ sites;
51
56
  tokens;
52
57
  constructor(options) {
53
58
  this.transport = new Transport(options);
@@ -58,6 +63,9 @@ export class FileFreak {
58
63
  this.changes = { ...api.changes, follow: (cursor, followOptions = {}) => follow(api.changes.list, cursor ?? null, followOptions) };
59
64
  this.uploads = api.uploads;
60
65
  this.usage = api.usage;
66
+ this.me = api.me;
67
+ this.shares = api.shares;
68
+ this.sites = api.sites;
61
69
  this.tokens = api.tokens;
62
70
  }
63
71
  /** Any endpoint, by its operation name. The functions above are this, typed. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@filefreak.io/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "FileFreak's developer API for Node and the browser: every endpoint, uploads straight to storage in parts, downloads in ranges, and the changes to follow.",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://filefreak.io/developers/reference",