@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/index.cjs +87 -87
- package/index.js +148 -148
- package/package.json +1 -1
- package/pubky.d.ts +3 -3
- package/pubky_bg.wasm +0 -0
package/package.json
CHANGED
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():
|
|
124
|
+
capabilities(): string[];
|
|
125
125
|
}
|
package/pubky_bg.wasm
CHANGED
|
Binary file
|