@settlemint/sdk-portal 2.1.1-pr48657fc9 → 2.1.1-pr8c94cb28

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 +2 -2
package/README.md CHANGED
@@ -128,12 +128,20 @@ const result = await client.request(query);
128
128
 
129
129
  #### ClientOptions
130
130
 
131
- > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
131
+ > **ClientOptions** = `object`
132
132
 
133
133
  Defined in: [sdk/portal/src/portal.ts:24](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/portal/src/portal.ts#L24)
134
134
 
135
135
  Type representing the validated client options.
136
136
 
137
+ ##### Type declaration
138
+
139
+ | Name | Type | Default value | Defined in |
140
+ | ------ | ------ | ------ | ------ |
141
+ | <a id="accesstoken"></a> `accessToken` | `string` | `ApplicationAccessTokenSchema` | [sdk/portal/src/portal.ts:17](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/portal/src/portal.ts#L17) |
142
+ | <a id="cache"></a> `cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | - | [sdk/portal/src/portal.ts:18](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/portal/src/portal.ts#L18) |
143
+ | <a id="instance"></a> `instance` | `string` | `UrlOrPathSchema` | [sdk/portal/src/portal.ts:16](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/portal/src/portal.ts#L16) |
144
+
137
145
  ***
138
146
 
139
147
  #### RequestConfig
@@ -148,7 +156,7 @@ Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
148
156
 
149
157
  #### ClientOptionsSchema
150
158
 
151
- > `const` **ClientOptionsSchema**: `ZodObject`\<\{ `accessToken`: `ZodString`; `cache`: `ZodOptional`\<`ZodEnum`\<\[`"default"`, `"force-cache"`, `"no-cache"`, `"no-store"`, `"only-if-cached"`, `"reload"`\]\>\>; `instance`: `ZodUnion`\<\[`ZodString`, `ZodString`\]\>; \}, `"strip"`, `ZodTypeAny`, \{ `accessToken`: `string`; `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `instance`: `string`; \}, \{ `accessToken`: `string`; `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `instance`: `string`; \}\>
159
+ > `const` **ClientOptionsSchema**: `ZodObject`\<[`ClientOptions`](#clientoptions)\>
152
160
 
153
161
  Defined in: [sdk/portal/src/portal.ts:15](https://github.com/settlemint/sdk/blob/v2.1.1/sdk/portal/src/portal.ts#L15)
154
162
 
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.1.1-pr48657fc9",
4
+ "version": "2.1.1-pr8c94cb28",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -52,7 +52,7 @@
52
52
  "devDependencies": {},
53
53
  "dependencies": {
54
54
  "gql.tada": "^1",
55
- "@settlemint/sdk-utils": "2.1.1-pr48657fc9",
55
+ "@settlemint/sdk-utils": "2.1.1-pr8c94cb28",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },