@settlemint/sdk-ipfs 1.1.16 → 1.2.0-prc0f72fef
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 +6 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<div align="center">
|
|
19
|
-
<a href="https://console.settlemint.com/documentation
|
|
19
|
+
<a href="https://console.settlemint.com/documentation">Documentation</a>
|
|
20
20
|
<span> • </span>
|
|
21
21
|
<a href="https://www.npmjs.com/package/@settlemint/sdk-ipfs">NPM</a>
|
|
22
22
|
<span> • </span>
|
|
@@ -38,7 +38,7 @@
|
|
|
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
|
|
41
|
+
For detailed information about using IPFS with the SettleMint platform, check out our [official documentation](https://console.settlemint.com/documentation).
|
|
42
42
|
|
|
43
43
|
## API Reference
|
|
44
44
|
|
|
@@ -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/v1.
|
|
51
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v1.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/v1.
|
|
70
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v1.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/v1.
|
|
97
|
+
Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v1.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/v1.
|
|
117
|
+
| `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v1.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": "1.
|
|
4
|
+
"version": "1.2.0-prc0f72fef",
|
|
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": "1.
|
|
54
|
+
"@settlemint/sdk-utils": "1.2.0-prc0f72fef",
|
|
55
55
|
"kubo-rpc-client": "^5",
|
|
56
56
|
"zod": "^3"
|
|
57
57
|
},
|