@settlemint/sdk-ipfs 2.2.0 → 2.2.1
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 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,8 +38,6 @@
|
|
|
38
38
|
|
|
39
39
|
The SettleMint IPFS SDK provides a simple way to interact with IPFS (InterPlanetary File System) through the SettleMint platform. It enables you to easily store and retrieve files using IPFS in a decentralized manner.
|
|
40
40
|
|
|
41
|
-
For detailed information about using IPFS with the SettleMint platform, check out our [official documentation](https://console.settlemint.com/documentation).
|
|
42
|
-
|
|
43
41
|
## API Reference
|
|
44
42
|
|
|
45
43
|
### Functions
|
|
@@ -48,7 +46,7 @@ For detailed information about using IPFS with the SettleMint platform, check ou
|
|
|
48
46
|
|
|
49
47
|
> **createIpfsClient**(`options`): `object`
|
|
50
48
|
|
|
51
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.
|
|
49
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/ipfs/src/ipfs.ts#L31)
|
|
52
50
|
|
|
53
51
|
Creates an IPFS client for client-side use
|
|
54
52
|
|
|
@@ -67,7 +65,7 @@ An object containing the configured IPFS client instance
|
|
|
67
65
|
|
|
68
66
|
| Name | Type | Defined in |
|
|
69
67
|
| ------ | ------ | ------ |
|
|
70
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.
|
|
68
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/ipfs/src/ipfs.ts#L31) |
|
|
71
69
|
|
|
72
70
|
##### Throws
|
|
73
71
|
|
|
@@ -94,7 +92,7 @@ console.log(result.cid.toString());
|
|
|
94
92
|
|
|
95
93
|
> **createServerIpfsClient**(`options`): `object`
|
|
96
94
|
|
|
97
|
-
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.
|
|
95
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/ipfs/src/ipfs.ts#L60)
|
|
98
96
|
|
|
99
97
|
Creates an IPFS client for server-side use with authentication
|
|
100
98
|
|
|
@@ -114,7 +112,7 @@ An object containing the authenticated IPFS client instance
|
|
|
114
112
|
|
|
115
113
|
| Name | Type | Defined in |
|
|
116
114
|
| ------ | ------ | ------ |
|
|
117
|
-
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.
|
|
115
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.2.1/sdk/ipfs/src/ipfs.ts#L60) |
|
|
118
116
|
|
|
119
117
|
##### Throws
|
|
120
118
|
|
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.2.
|
|
4
|
+
"version": "2.2.1",
|
|
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.2.
|
|
54
|
+
"@settlemint/sdk-utils": "2.2.1",
|
|
55
55
|
"kubo-rpc-client": "^5",
|
|
56
56
|
"zod": "^3"
|
|
57
57
|
},
|