@settlemint/sdk-ipfs 2.3.8 → 2.3.11-pr97526451
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/README.md +4 -4
- package/dist/browser/ipfs.d.ts +0 -5
- package/dist/ipfs.d.cts +0 -5
- package/dist/ipfs.d.ts +0 -5
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ The SettleMint IPFS SDK provides a simple way to interact with IPFS (InterPlanet
|
|
|
46
46
|
|
|
47
47
|
> **createIpfsClient**(`options`): `object`
|
|
48
48
|
|
|
49
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.3.
|
|
49
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/ipfs/src/ipfs.ts#L31)
|
|
50
50
|
|
|
51
51
|
Creates an IPFS client for client-side use
|
|
52
52
|
|
|
@@ -65,7 +65,7 @@ An object containing the configured IPFS client instance
|
|
|
65
65
|
|
|
66
66
|
| Name | Type | Defined in |
|
|
67
67
|
| ------ | ------ | ------ |
|
|
68
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.3.
|
|
68
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/ipfs/src/ipfs.ts#L31) |
|
|
69
69
|
|
|
70
70
|
##### Throws
|
|
71
71
|
|
|
@@ -92,7 +92,7 @@ console.log(result.cid.toString());
|
|
|
92
92
|
|
|
93
93
|
> **createServerIpfsClient**(`options`): `object`
|
|
94
94
|
|
|
95
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.3.
|
|
95
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/ipfs/src/ipfs.ts#L60)
|
|
96
96
|
|
|
97
97
|
Creates an IPFS client for server-side use with authentication
|
|
98
98
|
|
|
@@ -112,7 +112,7 @@ An object containing the authenticated IPFS client instance
|
|
|
112
112
|
|
|
113
113
|
| Name | Type | Defined in |
|
|
114
114
|
| ------ | ------ | ------ |
|
|
115
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.3.
|
|
115
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.3.11/sdk/ipfs/src/ipfs.ts#L60) |
|
|
116
116
|
|
|
117
117
|
##### Throws
|
|
118
118
|
|
package/dist/browser/ipfs.d.ts
CHANGED
|
@@ -2,9 +2,6 @@ import { KuboRPCClient } from "kubo-rpc-client";
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/client-options.schema.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Schema for validating client options for the IPFS client.
|
|
7
|
-
*/
|
|
8
5
|
/**
|
|
9
6
|
* Schema for validating client options for the IPFS client.
|
|
10
7
|
*/
|
|
@@ -27,7 +24,6 @@ declare const ServerClientOptionsSchema: z.ZodObject<{
|
|
|
27
24
|
* Type definition for server client options derived from the ServerClientOptionsSchema.
|
|
28
25
|
*/
|
|
29
26
|
type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;
|
|
30
|
-
|
|
31
27
|
//#endregion
|
|
32
28
|
//#region src/ipfs.d.ts
|
|
33
29
|
/**
|
|
@@ -75,7 +71,6 @@ declare function createIpfsClient(options: ClientOptions): {
|
|
|
75
71
|
declare function createServerIpfsClient(options: ServerClientOptions): {
|
|
76
72
|
client: KuboRPCClient;
|
|
77
73
|
};
|
|
78
|
-
|
|
79
74
|
//#endregion
|
|
80
75
|
export { createIpfsClient, createServerIpfsClient };
|
|
81
76
|
//# sourceMappingURL=ipfs.d.ts.map
|
package/dist/ipfs.d.cts
CHANGED
|
@@ -2,9 +2,6 @@ import { KuboRPCClient } from "kubo-rpc-client";
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/client-options.schema.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Schema for validating client options for the IPFS client.
|
|
7
|
-
*/
|
|
8
5
|
/**
|
|
9
6
|
* Schema for validating client options for the IPFS client.
|
|
10
7
|
*/
|
|
@@ -27,7 +24,6 @@ declare const ServerClientOptionsSchema: z.ZodObject<{
|
|
|
27
24
|
* Type definition for server client options derived from the ServerClientOptionsSchema.
|
|
28
25
|
*/
|
|
29
26
|
type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;
|
|
30
|
-
|
|
31
27
|
//#endregion
|
|
32
28
|
//#region src/ipfs.d.ts
|
|
33
29
|
/**
|
|
@@ -75,7 +71,6 @@ declare function createIpfsClient(options: ClientOptions): {
|
|
|
75
71
|
declare function createServerIpfsClient(options: ServerClientOptions): {
|
|
76
72
|
client: KuboRPCClient;
|
|
77
73
|
};
|
|
78
|
-
|
|
79
74
|
//#endregion
|
|
80
75
|
export { createIpfsClient, createServerIpfsClient };
|
|
81
76
|
//# sourceMappingURL=ipfs.d.cts.map
|
package/dist/ipfs.d.ts
CHANGED
|
@@ -2,9 +2,6 @@ import { KuboRPCClient } from "kubo-rpc-client";
|
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
|
|
4
4
|
//#region src/helpers/client-options.schema.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Schema for validating client options for the IPFS client.
|
|
7
|
-
*/
|
|
8
5
|
/**
|
|
9
6
|
* Schema for validating client options for the IPFS client.
|
|
10
7
|
*/
|
|
@@ -27,7 +24,6 @@ declare const ServerClientOptionsSchema: z.ZodObject<{
|
|
|
27
24
|
* Type definition for server client options derived from the ServerClientOptionsSchema.
|
|
28
25
|
*/
|
|
29
26
|
type ServerClientOptions = z.infer<typeof ServerClientOptionsSchema>;
|
|
30
|
-
|
|
31
27
|
//#endregion
|
|
32
28
|
//#region src/ipfs.d.ts
|
|
33
29
|
/**
|
|
@@ -75,7 +71,6 @@ declare function createIpfsClient(options: ClientOptions): {
|
|
|
75
71
|
declare function createServerIpfsClient(options: ServerClientOptions): {
|
|
76
72
|
client: KuboRPCClient;
|
|
77
73
|
};
|
|
78
|
-
|
|
79
74
|
//#endregion
|
|
80
75
|
export { createIpfsClient, createServerIpfsClient };
|
|
81
76
|
//# sourceMappingURL=ipfs.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-ipfs",
|
|
3
3
|
"description": "IPFS integration module for SettleMint SDK, enabling decentralized storage and content addressing",
|
|
4
|
-
"version": "2.3.
|
|
4
|
+
"version": "2.3.11-pr97526451",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@settlemint/sdk-utils": "2.3.
|
|
54
|
+
"@settlemint/sdk-utils": "2.3.11-pr97526451",
|
|
55
55
|
"kubo-rpc-client": "^5",
|
|
56
56
|
"zod": "^3.25.0"
|
|
57
57
|
},
|