@settlemint/sdk-portal 1.2.5-prf062f171 → 2.0.0

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 +6 -6
  2. 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:61](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L61)
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
 
59
59
  Creates a Portal GraphQL client with the provided configuration.
60
60
 
@@ -82,8 +82,8 @@ An object containing the configured GraphQL client and graphql helper function
82
82
 
83
83
  | Name | Type | Defined in |
84
84
  | ------ | ------ | ------ |
85
- | `client` | `GraphQLClient` | [sdk/portal/src/portal.ts:65](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L65) |
86
- | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/portal/src/portal.ts:66](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L66) |
85
+ | `client` | `GraphQLClient` | [sdk/portal/src/portal.ts:65](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L65) |
86
+ | `graphql` | `initGraphQLTada`\<`Setup`\> | [sdk/portal/src/portal.ts:66](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L66) |
87
87
 
88
88
  ##### Throws
89
89
 
@@ -125,7 +125,7 @@ const result = await client.request(query);
125
125
 
126
126
  > **ClientOptions** = `z.infer`\<*typeof* [`ClientOptionsSchema`](#clientoptionsschema)\>
127
127
 
128
- Defined in: [sdk/portal/src/portal.ts:24](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L24)
128
+ Defined in: [sdk/portal/src/portal.ts:24](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L24)
129
129
 
130
130
  Type representing the validated client options.
131
131
 
@@ -135,7 +135,7 @@ Type representing the validated client options.
135
135
 
136
136
  > **RequestConfig** = `ConstructorParameters`\<*typeof* `GraphQLClient`\>\[`1`\]
137
137
 
138
- Defined in: [sdk/portal/src/portal.ts:10](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L10)
138
+ Defined in: [sdk/portal/src/portal.ts:10](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L10)
139
139
 
140
140
  Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
141
141
 
@@ -145,7 +145,7 @@ Configuration options for the GraphQL client, excluding 'url' and 'exchanges'.
145
145
 
146
146
  > `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`; \}\>
147
147
 
148
- Defined in: [sdk/portal/src/portal.ts:15](https://github.com/settlemint/sdk/blob/v1.2.5/sdk/portal/src/portal.ts#L15)
148
+ Defined in: [sdk/portal/src/portal.ts:15](https://github.com/settlemint/sdk/blob/v2.0.0/sdk/portal/src/portal.ts#L15)
149
149
 
150
150
  Schema for validating Portal client configuration options.
151
151
 
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.2.5-prf062f171",
4
+ "version": "2.0.0",
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.2.5-prf062f171",
55
+ "@settlemint/sdk-utils": "2.0.0",
56
56
  "graphql-request": "^7",
57
57
  "zod": "^3"
58
58
  },