@settlemint/sdk-js 2.5.3-prfa3ab2c1 → 2.5.4-main7b80592a

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 CHANGED
@@ -62,7 +62,7 @@ The SettleMint JavaScript SDK provides a type-safe wrapper around the SettleMint
62
62
 
63
63
  > **createSettleMintClient**(`options`): [`SettlemintClient`](#settlemintclient)
64
64
 
65
- Defined in: [sdk/js/src/settlemint.ts:275](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/settlemint.ts#L275)
65
+ Defined in: [sdk/js/src/settlemint.ts:275](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/settlemint.ts#L275)
66
66
 
67
67
  Creates a SettleMint client with the provided options. The client provides methods to interact with
68
68
  various SettleMint resources like workspaces, applications, blockchain networks, blockchain nodes, middleware,
@@ -109,7 +109,7 @@ const workspace = await client.workspace.read('workspace-unique-name');
109
109
 
110
110
  #### SettlemintClient
111
111
 
112
- Defined in: [sdk/js/src/settlemint.ts:145](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/settlemint.ts#L145)
112
+ Defined in: [sdk/js/src/settlemint.ts:145](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/settlemint.ts#L145)
113
113
 
114
114
  Client interface for interacting with the SettleMint platform.
115
115
 
@@ -117,7 +117,7 @@ Client interface for interacting with the SettleMint platform.
117
117
 
118
118
  #### SettlemintClientOptions
119
119
 
120
- Defined in: [sdk/js/src/settlemint.ts:135](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/settlemint.ts#L135)
120
+ Defined in: [sdk/js/src/settlemint.ts:135](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/settlemint.ts#L135)
121
121
 
122
122
  Options for the Settlemint client.
123
123
 
@@ -129,9 +129,9 @@ Options for the Settlemint client.
129
129
 
130
130
  | Property | Type | Default value | Description | Inherited from | Defined in |
131
131
  | ------ | ------ | ------ | ------ | ------ | ------ |
132
- | <a id="accesstoken"></a> `accessToken?` | `string` | `undefined` | The access token used to authenticate with the SettleMint platform | - | [sdk/js/src/settlemint.ts:137](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/settlemint.ts#L137) |
133
- | <a id="anonymous"></a> `anonymous?` | `boolean` | `undefined` | Whether to allow anonymous access (no access token required) | - | [sdk/js/src/settlemint.ts:139](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/settlemint.ts#L139) |
134
- | <a id="instance"></a> `instance` | `string` | `UrlSchema` | The URL of the SettleMint instance to connect to | `Omit.instance` | [sdk/js/src/helpers/client-options.schema.ts:11](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/helpers/client-options.schema.ts#L11) |
132
+ | <a id="accesstoken"></a> `accessToken?` | `string` | `undefined` | The access token used to authenticate with the SettleMint platform | - | [sdk/js/src/settlemint.ts:137](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/settlemint.ts#L137) |
133
+ | <a id="anonymous"></a> `anonymous?` | `boolean` | `undefined` | Whether to allow anonymous access (no access token required) | - | [sdk/js/src/settlemint.ts:139](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/settlemint.ts#L139) |
134
+ | <a id="instance"></a> `instance` | `string` | `UrlSchema` | The URL of the SettleMint instance to connect to | `Omit.instance` | [sdk/js/src/helpers/client-options.schema.ts:11](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/helpers/client-options.schema.ts#L11) |
135
135
 
136
136
  ### Type Aliases
137
137
 
@@ -139,7 +139,7 @@ Options for the Settlemint client.
139
139
 
140
140
  > **Application** = `ResultOf`\<*typeof* `ApplicationFragment`\>
141
141
 
142
- Defined in: [sdk/js/src/graphql/application.ts:24](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/application.ts#L24)
142
+ Defined in: [sdk/js/src/graphql/application.ts:24](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/application.ts#L24)
143
143
 
144
144
  Type representing an application entity.
145
145
 
@@ -149,7 +149,7 @@ Type representing an application entity.
149
149
 
150
150
  > **BlockchainNetwork** = `ResultOf`\<*typeof* `BlockchainNetworkFragment`\>
151
151
 
152
- Defined in: [sdk/js/src/graphql/blockchain-network.ts:82](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/blockchain-network.ts#L82)
152
+ Defined in: [sdk/js/src/graphql/blockchain-network.ts:82](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/blockchain-network.ts#L82)
153
153
 
154
154
  Type representing a blockchain network entity.
155
155
 
@@ -159,7 +159,7 @@ Type representing a blockchain network entity.
159
159
 
160
160
  > **BlockchainNode** = `ResultOf`\<*typeof* `BlockchainNodeFragment`\>
161
161
 
162
- Defined in: [sdk/js/src/graphql/blockchain-node.ts:96](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/blockchain-node.ts#L96)
162
+ Defined in: [sdk/js/src/graphql/blockchain-node.ts:96](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/blockchain-node.ts#L96)
163
163
 
164
164
  Type representing a blockchain node entity.
165
165
 
@@ -169,7 +169,7 @@ Type representing a blockchain node entity.
169
169
 
170
170
  > **CustomDeployment** = `ResultOf`\<*typeof* `CustomDeploymentFragment`\>
171
171
 
172
- Defined in: [sdk/js/src/graphql/custom-deployment.ts:33](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/custom-deployment.ts#L33)
172
+ Defined in: [sdk/js/src/graphql/custom-deployment.ts:33](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/custom-deployment.ts#L33)
173
173
 
174
174
  Type representing a custom deployment entity.
175
175
 
@@ -179,7 +179,7 @@ Type representing a custom deployment entity.
179
179
 
180
180
  > **Insights** = `ResultOf`\<*typeof* `InsightsFragment`\>
181
181
 
182
- Defined in: [sdk/js/src/graphql/insights.ts:37](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/insights.ts#L37)
182
+ Defined in: [sdk/js/src/graphql/insights.ts:37](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/insights.ts#L37)
183
183
 
184
184
  Type representing an insights entity.
185
185
 
@@ -189,7 +189,7 @@ Type representing an insights entity.
189
189
 
190
190
  > **IntegrationTool** = `ResultOf`\<*typeof* `IntegrationFragment`\>
191
191
 
192
- Defined in: [sdk/js/src/graphql/integration-tool.ts:35](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/integration-tool.ts#L35)
192
+ Defined in: [sdk/js/src/graphql/integration-tool.ts:35](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/integration-tool.ts#L35)
193
193
 
194
194
  Type representing an integration tool entity.
195
195
 
@@ -199,7 +199,7 @@ Type representing an integration tool entity.
199
199
 
200
200
  > **LoadBalancer** = `ResultOf`\<*typeof* `LoadBalancerFragment`\>
201
201
 
202
- Defined in: [sdk/js/src/graphql/load-balancer.ts:31](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/load-balancer.ts#L31)
202
+ Defined in: [sdk/js/src/graphql/load-balancer.ts:31](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/load-balancer.ts#L31)
203
203
 
204
204
  Type representing a load balancer entity.
205
205
 
@@ -209,7 +209,7 @@ Type representing a load balancer entity.
209
209
 
210
210
  > **Middleware** = `ResultOf`\<*typeof* `MiddlewareFragment`\>
211
211
 
212
- Defined in: [sdk/js/src/graphql/middleware.ts:56](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/middleware.ts#L56)
212
+ Defined in: [sdk/js/src/graphql/middleware.ts:56](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/middleware.ts#L56)
213
213
 
214
214
  Type representing a middleware entity.
215
215
 
@@ -219,7 +219,7 @@ Type representing a middleware entity.
219
219
 
220
220
  > **MiddlewareWithSubgraphs** = `ResultOf`\<*typeof* `getGraphMiddlewareSubgraphs`\>\[`"middlewareByUniqueName"`\]
221
221
 
222
- Defined in: [sdk/js/src/graphql/middleware.ts:115](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/middleware.ts#L115)
222
+ Defined in: [sdk/js/src/graphql/middleware.ts:115](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/middleware.ts#L115)
223
223
 
224
224
  Type representing a middleware entity with subgraphs.
225
225
 
@@ -229,7 +229,7 @@ Type representing a middleware entity with subgraphs.
229
229
 
230
230
  > **PlatformConfig** = `ResultOf`\<*typeof* `getPlatformConfigQuery`\>\[`"config"`\]
231
231
 
232
- Defined in: [sdk/js/src/graphql/platform.ts:56](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/platform.ts#L56)
232
+ Defined in: [sdk/js/src/graphql/platform.ts:56](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/platform.ts#L56)
233
233
 
234
234
  Type representing the platform configuration.
235
235
 
@@ -239,7 +239,7 @@ Type representing the platform configuration.
239
239
 
240
240
  > **PrivateKey** = `ResultOf`\<*typeof* `PrivateKeyFragment`\>
241
241
 
242
- Defined in: [sdk/js/src/graphql/private-key.ts:44](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/private-key.ts#L44)
242
+ Defined in: [sdk/js/src/graphql/private-key.ts:44](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/private-key.ts#L44)
243
243
 
244
244
  Type representing a private key entity.
245
245
 
@@ -249,7 +249,7 @@ Type representing a private key entity.
249
249
 
250
250
  > **Storage** = `ResultOf`\<*typeof* `StorageFragment`\>
251
251
 
252
- Defined in: [sdk/js/src/graphql/storage.ts:35](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/storage.ts#L35)
252
+ Defined in: [sdk/js/src/graphql/storage.ts:35](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/storage.ts#L35)
253
253
 
254
254
  Type representing a storage entity.
255
255
 
@@ -259,7 +259,7 @@ Type representing a storage entity.
259
259
 
260
260
  > **Workspace** = `ResultOf`\<*typeof* `WorkspaceFragment`\>
261
261
 
262
- Defined in: [sdk/js/src/graphql/workspace.ts:26](https://github.com/settlemint/sdk/blob/v2.5.3/sdk/js/src/graphql/workspace.ts#L26)
262
+ Defined in: [sdk/js/src/graphql/workspace.ts:26](https://github.com/settlemint/sdk/blob/v2.5.4/sdk/js/src/graphql/workspace.ts#L26)
263
263
 
264
264
  Type representing a workspace entity.
265
265
 
@@ -1,10 +1,10 @@
1
1
  /* SettleMint SDK - Main Package */
2
2
  import { Id } from "@settlemint/sdk-utils/validation";
3
3
  import * as gql_tada0 from "gql.tada";
4
+ import * as gql_tada3 from "gql.tada";
4
5
  import * as gql_tada1 from "gql.tada";
5
- import * as gql_tada2 from "gql.tada";
6
- import * as gql_tada4 from "gql.tada";
7
6
  import * as gql_tada6 from "gql.tada";
7
+ import * as gql_tada4 from "gql.tada";
8
8
  import * as gql_tada8 from "gql.tada";
9
9
  import * as gql_tada10 from "gql.tada";
10
10
  import * as gql_tada12 from "gql.tada";
@@ -104240,7 +104240,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
104240
104240
  declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
104241
104241
  //#endregion
104242
104242
  //#region src/graphql/application-access-tokens.d.ts
104243
- declare const createApplicationAccessToken: gql_tada1.TadaDocumentNode<{
104243
+ declare const createApplicationAccessToken: gql_tada3.TadaDocumentNode<{
104244
104244
  createApplicationAccessToken: {
104245
104245
  token: string | null;
104246
104246
  };
@@ -104304,7 +104304,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
104304
104304
  /**
104305
104305
  * Fragment containing core blockchain network fields.
104306
104306
  */
104307
- declare const BlockchainNetworkFragment: gql_tada2.TadaDocumentNode<{
104307
+ declare const BlockchainNetworkFragment: gql_tada1.TadaDocumentNode<{
104308
104308
  __typename: "ArbitrumBlockchainNetwork";
104309
104309
  id: string;
104310
104310
  uniqueName: string;
@@ -117651,7 +117651,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
117651
117651
  /**
117652
117652
  * Mutation to create a new blockchain network.
117653
117653
  */
117654
- declare const createBlockchainNetwork: gql_tada2.TadaDocumentNode<{
117654
+ declare const createBlockchainNetwork: gql_tada1.TadaDocumentNode<{
117655
117655
  createBlockchainNetwork: {
117656
117656
  __typename: "ArbitrumBlockchainNetwork";
117657
117657
  id: string;
@@ -171232,7 +171232,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
171232
171232
  /**
171233
171233
  * Fragment containing core blockchain node fields.
171234
171234
  */
171235
- declare const BlockchainNodeFragment: gql_tada4.TadaDocumentNode<{
171235
+ declare const BlockchainNodeFragment: gql_tada6.TadaDocumentNode<{
171236
171236
  __typename: "ArbitrumBlockchainNode";
171237
171237
  id: string;
171238
171238
  uniqueName: string;
@@ -179704,7 +179704,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
179704
179704
  /**
179705
179705
  * Mutation to create a blockchain node.
179706
179706
  */
179707
- declare const createBlockchainNode: gql_tada4.TadaDocumentNode<{
179707
+ declare const createBlockchainNode: gql_tada6.TadaDocumentNode<{
179708
179708
  createBlockchainNode: {
179709
179709
  __typename: "ArbitrumBlockchainNode";
179710
179710
  id: string;
@@ -188237,7 +188237,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
188237
188237
  /**
188238
188238
  * Fragment containing core custom deployment fields.
188239
188239
  */
188240
- declare const CustomDeploymentFragment: gql_tada6.TadaDocumentNode<{
188240
+ declare const CustomDeploymentFragment: gql_tada4.TadaDocumentNode<{
188241
188241
  id: string;
188242
188242
  uniqueName: string;
188243
188243
  name: string;
@@ -188267,7 +188267,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
188267
188267
  /**
188268
188268
  * Mutation to create a custom deployment.
188269
188269
  */
188270
- declare const createCustomDeployment: gql_tada6.TadaDocumentNode<{
188270
+ declare const createCustomDeployment: gql_tada4.TadaDocumentNode<{
188271
188271
  createCustomDeployment: {
188272
188272
  id: string;
188273
188273
  uniqueName: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@settlemint/sdk-js",
3
3
  "description": "Core JavaScript SDK for integrating SettleMint's blockchain platform services into your applications",
4
- "version": "2.5.3-prfa3ab2c1",
4
+ "version": "2.5.4-main7b80592a",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "license": "FSL-1.1-MIT",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "devDependencies": {},
56
56
  "dependencies": {
57
- "@settlemint/sdk-utils": "2.5.3-prfa3ab2c1",
57
+ "@settlemint/sdk-utils": "2.5.4-main7b80592a",
58
58
  "gql.tada": "^1",
59
59
  "graphql": "^16",
60
60
  "graphql-request": "^7",