@settlemint/sdk-ipfs 2.1.5 → 2.2.0
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/package.json +2 -2
package/README.md
CHANGED
|
@@ -48,7 +48,7 @@ For detailed information about using IPFS with the SettleMint platform, check ou
|
|
|
48
48
|
|
|
49
49
|
> **createIpfsClient**(`options`): `object`
|
|
50
50
|
|
|
51
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.
|
|
51
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/ipfs/src/ipfs.ts#L31)
|
|
52
52
|
|
|
53
53
|
Creates an IPFS client for client-side use
|
|
54
54
|
|
|
@@ -67,7 +67,7 @@ An object containing the configured IPFS client instance
|
|
|
67
67
|
|
|
68
68
|
| Name | Type | Defined in |
|
|
69
69
|
| ------ | ------ | ------ |
|
|
70
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.
|
|
70
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/ipfs/src/ipfs.ts#L31) |
|
|
71
71
|
|
|
72
72
|
##### Throws
|
|
73
73
|
|
|
@@ -94,7 +94,7 @@ console.log(result.cid.toString());
|
|
|
94
94
|
|
|
95
95
|
> **createServerIpfsClient**(`options`): `object`
|
|
96
96
|
|
|
97
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.
|
|
97
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/ipfs/src/ipfs.ts#L60)
|
|
98
98
|
|
|
99
99
|
Creates an IPFS client for server-side use with authentication
|
|
100
100
|
|
|
@@ -114,7 +114,7 @@ An object containing the authenticated IPFS client instance
|
|
|
114
114
|
|
|
115
115
|
| Name | Type | Defined in |
|
|
116
116
|
| ------ | ------ | ------ |
|
|
117
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.
|
|
117
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.0/sdk/ipfs/src/ipfs.ts#L60) |
|
|
118
118
|
|
|
119
119
|
##### Throws
|
|
120
120
|
|
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.
|
|
4
|
+
"version": "2.2.0",
|
|
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.
|
|
54
|
+
"@settlemint/sdk-utils": "2.2.0",
|
|
55
55
|
"kubo-rpc-client": "^5",
|
|
56
56
|
"zod": "^3"
|
|
57
57
|
},
|