@settlemint/sdk-portal 2.0.0-praa522c54 → 2.0.0-prb5cea05b
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 +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ For detailed information about using the Smart Contract Portal Middleware, check
|
|
|
52
52
|
|
|
53
53
|
#### createPortalClient()
|
|
54
54
|
|
|
55
|
-
> **createPortalClient**\<`Setup`\>(`options`, `clientOptions
|
|
55
|
+
> **createPortalClient**\<`Setup`\>(`options`, `clientOptions?`): `object`
|
|
56
56
|
|
|
57
57
|
Defined in: [sdk/portal/src/portal.ts:61](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L61)
|
|
58
58
|
|
|
@@ -70,9 +70,9 @@ Creates a Portal GraphQL client with the provided configuration.
|
|
|
70
70
|
| ------ | ------ | ------ |
|
|
71
71
|
| `options` | \{ `accessToken`: `string`; `cache`: `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"`; `instance`: `string`; \} | Configuration options for the Portal client |
|
|
72
72
|
| `options.accessToken` | `string` | - |
|
|
73
|
-
| `options.cache
|
|
74
|
-
| `options.instance
|
|
75
|
-
| `clientOptions
|
|
73
|
+
| `options.cache?` | `"default"` \| `"force-cache"` \| `"no-cache"` \| `"no-store"` \| `"only-if-cached"` \| `"reload"` | - |
|
|
74
|
+
| `options.instance?` | `string` | - |
|
|
75
|
+
| `clientOptions?` | `RequestConfig` | Additional GraphQL client configuration options |
|
|
76
76
|
|
|
77
77
|
##### Returns
|
|
78
78
|
|
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.0.0-
|
|
4
|
+
"version": "2.0.0-prb5cea05b",
|
|
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.0.0-
|
|
55
|
+
"@settlemint/sdk-utils": "2.0.0-prb5cea05b",
|
|
56
56
|
"graphql-request": "^7",
|
|
57
57
|
"zod": "^3"
|
|
58
58
|
},
|