@settlemint/sdk-portal 1.1.8 → 1.1.9
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
|
@@ -54,7 +54,7 @@ For detailed information about using the Smart Contract Portal Middleware, check
|
|
|
54
54
|
|
|
55
55
|
> **createPortalClient**\<`Setup`\>(`options`, `clientOptions`?): `object`
|
|
56
56
|
|
|
57
|
-
Defined in: [sdk/portal/src/portal.ts:118](https://github.com/settlemint/sdk/blob/v1.1.
|
|
57
|
+
Defined in: [sdk/portal/src/portal.ts:118](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L118)
|
|
58
58
|
|
|
59
59
|
Creates a Portal GraphQL client with the provided configuration.
|
|
60
60
|
|
|
@@ -79,8 +79,8 @@ An object containing the configured GraphQL client and graphql helper function
|
|
|
79
79
|
|
|
80
80
|
| Name | Type | Defined in |
|
|
81
81
|
| ------ | ------ | ------ |
|
|
82
|
-
| `client` | `GraphQLClient` | [sdk/portal/src/portal.ts:122](https://github.com/settlemint/sdk/blob/v1.1.
|
|
83
|
-
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/portal/src/portal.ts:123](https://github.com/settlemint/sdk/blob/v1.1.
|
|
82
|
+
| `client` | `GraphQLClient` | [sdk/portal/src/portal.ts:122](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L122) |
|
|
83
|
+
| `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/portal/src/portal.ts:123](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L123) |
|
|
84
84
|
|
|
85
85
|
##### Throws
|
|
86
86
|
|
|
@@ -144,7 +144,7 @@ const result = await client.request(query);
|
|
|
144
144
|
|
|
145
145
|
> **ClientOptions**: \{ `accessToken`: `string`; `instance`: `string`; `runtime`: `"server"`; \} \| \{ `runtime`: `"browser"`; \}
|
|
146
146
|
|
|
147
|
-
Defined in: [sdk/portal/src/portal.ts:30](https://github.com/settlemint/sdk/blob/v1.1.
|
|
147
|
+
Defined in: [sdk/portal/src/portal.ts:30](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L30)
|
|
148
148
|
|
|
149
149
|
Type representing the validated client options.
|
|
150
150
|
|
|
@@ -154,7 +154,7 @@ Type representing the validated client options.
|
|
|
154
154
|
|
|
155
155
|
> **RequestConfig**: `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
|
|
156
156
|
|
|
157
|
-
Defined in: [sdk/portal/src/portal.ts:10](https://github.com/settlemint/sdk/blob/v1.1.
|
|
157
|
+
Defined in: [sdk/portal/src/portal.ts:10](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L10)
|
|
158
158
|
|
|
159
159
|
Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
|
|
160
160
|
|
|
@@ -164,7 +164,7 @@ Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
|
|
|
164
164
|
|
|
165
165
|
> `const` **ClientOptionsSchema**: `ZodDiscriminatedUnion`\<[`ClientOptions`](README.md#clientoptions)\>
|
|
166
166
|
|
|
167
|
-
Defined in: [sdk/portal/src/portal.ts:16](https://github.com/settlemint/sdk/blob/v1.1.
|
|
167
|
+
Defined in: [sdk/portal/src/portal.ts:16](https://github.com/settlemint/sdk/blob/v1.1.9/sdk/portal/src/portal.ts#L16)
|
|
168
168
|
|
|
169
169
|
Schema for validating Portal client configuration options.
|
|
170
170
|
Discriminates between server and browser runtime environments.
|
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": "1.1.
|
|
4
|
+
"version": "1.1.9",
|
|
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": "1.1.
|
|
55
|
+
"@settlemint/sdk-utils": "1.1.9",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3"
|
|
58
58
|
},
|