@settlemint/sdk-portal 2.4.0-prec526eee → 2.4.0-prf3423261

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.
Files changed (2) hide show
  1. package/README.md +10 -2
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -926,12 +926,20 @@ Options for the GraphQL WebSocket client
926
926
 
927
927
  #### ClientOptions
928
928
 
929
- > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
929
+ > **ClientOptions** = `object`
930
930
 
931
931
  Defined in: [sdk/portal/src/portal.ts:25](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/portal/src/portal.ts#L25)
932
932
 
933
933
  Type representing the validated client options.
934
934
 
935
+ ##### Type declaration
936
+
937
+ | Name | Type | Default value | Defined in |
938
+ | ------ | ------ | ------ | ------ |
939
+ | <a id="accesstoken-2"></a> `accessToken?` | `string` | - | [sdk/portal/src/portal.ts:18](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/portal/src/portal.ts#L18) |
940
+ | <a id="cache"></a> `cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | - | [sdk/portal/src/portal.ts:19](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/portal/src/portal.ts#L19) |
941
+ | <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/portal/src/portal.ts:17](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/portal/src/portal.ts#L17) |
942
+
935
943
  ***
936
944
 
937
945
  #### RequestConfig
@@ -946,7 +954,7 @@ Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
946
954
 
947
955
  #### ClientOptionsSchema
948
956
 
949
- > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodOptional`\<`ZodString`\>; `cache`: `ZodOptional`\<`ZodEnum`\<\{ `default`: `"default"`; `force-cache`: `"force-cache"`; `no-cache`: `"no-cache"`; `no-store`: `"no-store"`; `only-if-cached`: `"only-if-cached"`; `reload`: `"reload"`; \}\>\>; `instance`: `ZodUnion`\<readonly \[`ZodString`, `ZodString`\]\>; \}, `$strip`\>
957
+ > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
950
958
 
951
959
  Defined in: [sdk/portal/src/portal.ts:16](https://github.com/settlemint/sdk/blob/v2.4.0/sdk/portal/src/portal.ts#L16)
952
960
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@settlemint/sdk-portal",
3
3
  "description": "Portal API client module for SettleMint SDK, providing access to smart contract portal services and APIs",
4
- "version": "2.4.0-prec526eee",
4
+ "version": "2.4.0-prf3423261",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -20,7 +20,9 @@
20
20
  "url": "https://github.com/settlemint/sdk/issues",
21
21
  "email": "support@settlemint.com"
22
22
  },
23
- "files": ["dist"],
23
+ "files": [
24
+ "dist"
25
+ ],
24
26
  "main": "./dist/portal.cjs",
25
27
  "module": "./dist/portal.js",
26
28
  "types": "./dist/portal.d.ts",
@@ -56,7 +58,7 @@
56
58
  "dependencies": {
57
59
  "gql.tada": "^1",
58
60
  "graphql-ws": "^6",
59
- "@settlemint/sdk-utils": "2.4.0-prec526eee",
61
+ "@settlemint/sdk-utils": "2.4.0-prf3423261",
60
62
  "graphql-request": "^7",
61
63
  "zod": "^3.25.0"
62
64
  },