@settlemint/sdk-ipfs 2.1.4 → 2.1.5-pr0a4990f2

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 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.1.4/sdk/ipfs/src/ipfs.ts#L31)
51
+ Defined in: [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.1.5/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.1.4/sdk/ipfs/src/ipfs.ts#L31) |
70
+ | `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:31](https://github.com/settlemint/sdk/blob/v2.1.5/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.1.4/sdk/ipfs/src/ipfs.ts#L60)
97
+ Defined in: [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.1.5/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.1.4/sdk/ipfs/src/ipfs.ts#L60) |
117
+ | `client` | `KuboRPCClient` | [sdk/ipfs/src/ipfs.ts:60](https://github.com/settlemint/sdk/blob/v2.1.5/sdk/ipfs/src/ipfs.ts#L60) |
118
118
 
119
119
  ##### Throws
120
120
 
package/dist/ipfs.d.cts CHANGED
@@ -20,13 +20,13 @@ type ClientOptions = z.infer<typeof ClientOptionsSchema>;
20
20
  * Schema for validating server client options for the Portal client.
21
21
  * Extends the ClientOptionsSchema with additional server-specific fields.
22
22
  */
23
- declare const ServerClientOptionsSchema: z.ZodObject<z.objectUtil.extendShape<{
23
+ declare const ServerClientOptionsSchema: z.ZodObject<{
24
24
  /** The URL of the IPFS instance to connect to */
25
25
  instance: z.ZodString;
26
- }, {
26
+ } & {
27
27
  /** The access token used to authenticate with the SettleMint platform */
28
28
  accessToken: z.ZodString;
29
- }>, "strip", z.ZodTypeAny, {
29
+ }, "strip", z.ZodTypeAny, {
30
30
  instance: string;
31
31
  accessToken: string;
32
32
  }, {
package/dist/ipfs.d.ts CHANGED
@@ -20,13 +20,13 @@ type ClientOptions = z.infer<typeof ClientOptionsSchema>;
20
20
  * Schema for validating server client options for the Portal client.
21
21
  * Extends the ClientOptionsSchema with additional server-specific fields.
22
22
  */
23
- declare const ServerClientOptionsSchema: z.ZodObject<z.objectUtil.extendShape<{
23
+ declare const ServerClientOptionsSchema: z.ZodObject<{
24
24
  /** The URL of the IPFS instance to connect to */
25
25
  instance: z.ZodString;
26
- }, {
26
+ } & {
27
27
  /** The access token used to authenticate with the SettleMint platform */
28
28
  accessToken: z.ZodString;
29
- }>, "strip", z.ZodTypeAny, {
29
+ }, "strip", z.ZodTypeAny, {
30
30
  instance: string;
31
31
  accessToken: string;
32
32
  }, {
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.1.4",
4
+ "version": "2.1.5-pr0a4990f2",
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.1.4",
54
+ "@settlemint/sdk-utils": "2.1.5-pr0a4990f2",
55
55
  "kubo-rpc-client": "^5",
56
56
  "zod": "^3"
57
57
  },