@synonymdev/pubky 0.4.0-rc2 → 0.4.0-rc3

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@synonymdev/pubky",
3
3
  "type": "module",
4
4
  "description": "Pubky client",
5
- "version": "0.4.0-rc2",
5
+ "version": "0.4.0-rc3",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
package/pubky.d.ts CHANGED
@@ -72,8 +72,8 @@ export class Client {
72
72
  * - `limit` Limit the number of urls in the response
73
73
  * - `shallow`: List directories and files, instead of flat list of files.
74
74
  */
75
- list(url: string, cursor?: string, reverse?: boolean, limit?: number, shallow?: boolean): Promise<Array<any>>;
76
- fetch(url: string, request_init?: any): Promise<Promise<any>>;
75
+ list(url: string, cursor?: string | null, reverse?: boolean | null, limit?: number | null, shallow?: boolean | null): Promise<Array<any>>;
76
+ fetch(url: string, request_init?: any | null): Promise<Promise<any>>;
77
77
  }
78
78
  export class Keypair {
79
79
  private constructor();
@@ -121,5 +121,5 @@ export class Session {
121
121
  /**
122
122
  * Return the capabilities that this session has.
123
123
  */
124
- capabilities(): (string)[];
124
+ capabilities(): string[];
125
125
  }
package/pubky_bg.wasm CHANGED
Binary file