@settlemint/sdk-js 2.5.5 → 2.5.6
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 +19 -19
- package/dist/settlemint.cjs +2 -2
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +23 -35
- package/dist/settlemint.d.ts +23 -35
- package/dist/settlemint.js +2 -2
- package/dist/settlemint.js.map +1 -1
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,18 +1,6 @@
|
|
|
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_tada1 from "gql.tada";
|
|
5
|
-
import * as gql_tada2 from "gql.tada";
|
|
6
|
-
import * as gql_tada4 from "gql.tada";
|
|
7
|
-
import * as gql_tada6 from "gql.tada";
|
|
8
|
-
import * as gql_tada8 from "gql.tada";
|
|
9
|
-
import * as gql_tada10 from "gql.tada";
|
|
10
|
-
import * as gql_tada12 from "gql.tada";
|
|
11
|
-
import * as gql_tada14 from "gql.tada";
|
|
12
|
-
import * as gql_tada17 from "gql.tada";
|
|
13
|
-
import * as gql_tada18 from "gql.tada";
|
|
14
|
-
import * as gql_tada20 from "gql.tada";
|
|
15
|
-
import * as gql_tada22 from "gql.tada";
|
|
16
4
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
17
5
|
import { GraphQLClient } from "graphql-request";
|
|
18
6
|
import { z } from "zod";
|
|
@@ -104240,7 +104228,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
104240
104228
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
104241
104229
|
//#endregion
|
|
104242
104230
|
//#region src/graphql/application-access-tokens.d.ts
|
|
104243
|
-
declare const createApplicationAccessToken:
|
|
104231
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
104244
104232
|
createApplicationAccessToken: {
|
|
104245
104233
|
token: string | null;
|
|
104246
104234
|
};
|
|
@@ -104304,7 +104292,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
104304
104292
|
/**
|
|
104305
104293
|
* Fragment containing core blockchain network fields.
|
|
104306
104294
|
*/
|
|
104307
|
-
declare const BlockchainNetworkFragment:
|
|
104295
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
104308
104296
|
__typename: "ArbitrumBlockchainNetwork";
|
|
104309
104297
|
id: string;
|
|
104310
104298
|
uniqueName: string;
|
|
@@ -117651,7 +117639,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117651
117639
|
/**
|
|
117652
117640
|
* Mutation to create a new blockchain network.
|
|
117653
117641
|
*/
|
|
117654
|
-
declare const createBlockchainNetwork:
|
|
117642
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
117655
117643
|
createBlockchainNetwork: {
|
|
117656
117644
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117657
117645
|
id: string;
|
|
@@ -171232,7 +171220,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
171232
171220
|
/**
|
|
171233
171221
|
* Fragment containing core blockchain node fields.
|
|
171234
171222
|
*/
|
|
171235
|
-
declare const BlockchainNodeFragment:
|
|
171223
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
171236
171224
|
__typename: "ArbitrumBlockchainNode";
|
|
171237
171225
|
id: string;
|
|
171238
171226
|
uniqueName: string;
|
|
@@ -179704,7 +179692,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179704
179692
|
/**
|
|
179705
179693
|
* Mutation to create a blockchain node.
|
|
179706
179694
|
*/
|
|
179707
|
-
declare const createBlockchainNode:
|
|
179695
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
179708
179696
|
createBlockchainNode: {
|
|
179709
179697
|
__typename: "ArbitrumBlockchainNode";
|
|
179710
179698
|
id: string;
|
|
@@ -188237,7 +188225,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
188237
188225
|
/**
|
|
188238
188226
|
* Fragment containing core custom deployment fields.
|
|
188239
188227
|
*/
|
|
188240
|
-
declare const CustomDeploymentFragment:
|
|
188228
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
188241
188229
|
id: string;
|
|
188242
188230
|
uniqueName: string;
|
|
188243
188231
|
name: string;
|
|
@@ -188267,7 +188255,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
188267
188255
|
/**
|
|
188268
188256
|
* Mutation to create a custom deployment.
|
|
188269
188257
|
*/
|
|
188270
|
-
declare const createCustomDeployment:
|
|
188258
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
188271
188259
|
createCustomDeployment: {
|
|
188272
188260
|
id: string;
|
|
188273
188261
|
uniqueName: string;
|
|
@@ -188367,7 +188355,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188367
188355
|
/**
|
|
188368
188356
|
* GraphQL fragment containing core insights fields.
|
|
188369
188357
|
*/
|
|
188370
|
-
declare const InsightsFragment:
|
|
188358
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
188371
188359
|
__typename: "BlockchainExplorer";
|
|
188372
188360
|
id: string;
|
|
188373
188361
|
uniqueName: string;
|
|
@@ -188439,7 +188427,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188439
188427
|
/**
|
|
188440
188428
|
* Mutation to create insights.
|
|
188441
188429
|
*/
|
|
188442
|
-
declare const createInsights:
|
|
188430
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
188443
188431
|
createInsights: {
|
|
188444
188432
|
__typename: "BlockchainExplorer";
|
|
188445
188433
|
id: string;
|
|
@@ -188573,7 +188561,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188573
188561
|
/**
|
|
188574
188562
|
* GraphQL fragment containing core integration fields.
|
|
188575
188563
|
*/
|
|
188576
|
-
declare const IntegrationFragment:
|
|
188564
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
188577
188565
|
__typename: "Chainlink";
|
|
188578
188566
|
id: string;
|
|
188579
188567
|
uniqueName: string;
|
|
@@ -188665,7 +188653,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188665
188653
|
/**
|
|
188666
188654
|
* Mutation to create a new integration.
|
|
188667
188655
|
*/
|
|
188668
|
-
declare const createIntegration:
|
|
188656
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
188669
188657
|
createIntegration: {
|
|
188670
188658
|
__typename: "Chainlink";
|
|
188671
188659
|
id: string;
|
|
@@ -188815,7 +188803,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188815
188803
|
/**
|
|
188816
188804
|
* GraphQL fragment containing core load balancer fields.
|
|
188817
188805
|
*/
|
|
188818
|
-
declare const LoadBalancerFragment:
|
|
188806
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
188819
188807
|
__typename: "EVMLoadBalancer";
|
|
188820
188808
|
id: string;
|
|
188821
188809
|
uniqueName: string;
|
|
@@ -188855,7 +188843,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188855
188843
|
/**
|
|
188856
188844
|
* Mutation to create a load balancer.
|
|
188857
188845
|
*/
|
|
188858
|
-
declare const createLoadBalancer:
|
|
188846
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
188859
188847
|
createLoadBalancer: {
|
|
188860
188848
|
__typename: "EVMLoadBalancer";
|
|
188861
188849
|
id: string;
|
|
@@ -188956,7 +188944,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188956
188944
|
/**
|
|
188957
188945
|
* GraphQL fragment containing core middleware fields.
|
|
188958
188946
|
*/
|
|
188959
|
-
declare const MiddlewareFragment:
|
|
188947
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
188960
188948
|
__typename: "AttestationIndexerMiddleware";
|
|
188961
188949
|
id: string;
|
|
188962
188950
|
uniqueName: string;
|
|
@@ -189124,7 +189112,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
189124
189112
|
/**
|
|
189125
189113
|
* Query to fetch a specific middleware with subgraphs.
|
|
189126
189114
|
*/
|
|
189127
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
189115
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
189128
189116
|
middlewareByUniqueName: {
|
|
189129
189117
|
__typename: "AttestationIndexerMiddleware";
|
|
189130
189118
|
id: string;
|
|
@@ -189307,7 +189295,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
189307
189295
|
/**
|
|
189308
189296
|
* Mutation to create a new middleware.
|
|
189309
189297
|
*/
|
|
189310
|
-
declare const createMiddleware:
|
|
189298
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
189311
189299
|
createMiddleware: {
|
|
189312
189300
|
__typename: "AttestationIndexerMiddleware";
|
|
189313
189301
|
id: string;
|
|
@@ -189552,7 +189540,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189552
189540
|
/**
|
|
189553
189541
|
* GraphQL query to fetch platform configuration.
|
|
189554
189542
|
*/
|
|
189555
|
-
declare const getPlatformConfigQuery:
|
|
189543
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
189556
189544
|
config: {
|
|
189557
189545
|
smartContractSets: {
|
|
189558
189546
|
id: string;
|
|
@@ -189609,7 +189597,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189609
189597
|
/**
|
|
189610
189598
|
* GraphQL fragment containing core private key fields.
|
|
189611
189599
|
*/
|
|
189612
|
-
declare const PrivateKeyFragment:
|
|
189600
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
189613
189601
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189614
189602
|
id: string;
|
|
189615
189603
|
uniqueName: string;
|
|
@@ -190251,7 +190239,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
190251
190239
|
/**
|
|
190252
190240
|
* Mutation to create a new private key.
|
|
190253
190241
|
*/
|
|
190254
|
-
declare const createPrivateKey:
|
|
190242
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
190255
190243
|
createPrivateKey: {
|
|
190256
190244
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
190257
190245
|
id: string;
|
|
@@ -190957,7 +190945,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190957
190945
|
/**
|
|
190958
190946
|
* GraphQL fragment containing core storage fields.
|
|
190959
190947
|
*/
|
|
190960
|
-
declare const StorageFragment:
|
|
190948
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
190961
190949
|
__typename: "IPFSStorage";
|
|
190962
190950
|
id: string;
|
|
190963
190951
|
uniqueName: string;
|
|
@@ -191009,7 +190997,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
191009
190997
|
/**
|
|
191010
190998
|
* Mutation to create a new storage.
|
|
191011
190999
|
*/
|
|
191012
|
-
declare const createStorage:
|
|
191000
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
191013
191001
|
createStorage: {
|
|
191014
191002
|
__typename: "IPFSStorage";
|
|
191015
191003
|
id: string;
|
|
@@ -191119,7 +191107,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
191119
191107
|
/**
|
|
191120
191108
|
* GraphQL fragment containing core workspace fields.
|
|
191121
191109
|
*/
|
|
191122
|
-
declare const WorkspaceFragment:
|
|
191110
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
191123
191111
|
id: string;
|
|
191124
191112
|
uniqueName: string;
|
|
191125
191113
|
name: string;
|
|
@@ -191140,7 +191128,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
191140
191128
|
/**
|
|
191141
191129
|
* Mutation to create a new workspace.
|
|
191142
191130
|
*/
|
|
191143
|
-
declare const createWorkspace:
|
|
191131
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
191144
191132
|
createWorkspace: {
|
|
191145
191133
|
id: string;
|
|
191146
191134
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -3,18 +3,6 @@ import { Id } from "@settlemint/sdk-utils/validation";
|
|
|
3
3
|
import { GraphQLClient } from "graphql-request";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import * as gql_tada0 from "gql.tada";
|
|
6
|
-
import * as gql_tada1 from "gql.tada";
|
|
7
|
-
import * as gql_tada2 from "gql.tada";
|
|
8
|
-
import * as gql_tada4 from "gql.tada";
|
|
9
|
-
import * as gql_tada6 from "gql.tada";
|
|
10
|
-
import * as gql_tada8 from "gql.tada";
|
|
11
|
-
import * as gql_tada10 from "gql.tada";
|
|
12
|
-
import * as gql_tada12 from "gql.tada";
|
|
13
|
-
import * as gql_tada14 from "gql.tada";
|
|
14
|
-
import * as gql_tada17 from "gql.tada";
|
|
15
|
-
import * as gql_tada18 from "gql.tada";
|
|
16
|
-
import * as gql_tada20 from "gql.tada";
|
|
17
|
-
import * as gql_tada22 from "gql.tada";
|
|
18
6
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
19
7
|
|
|
20
8
|
//#region src/helpers/graphql-env.d.ts
|
|
@@ -104240,7 +104228,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
104240
104228
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
104241
104229
|
//#endregion
|
|
104242
104230
|
//#region src/graphql/application-access-tokens.d.ts
|
|
104243
|
-
declare const createApplicationAccessToken:
|
|
104231
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
104244
104232
|
createApplicationAccessToken: {
|
|
104245
104233
|
token: string | null;
|
|
104246
104234
|
};
|
|
@@ -104304,7 +104292,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
104304
104292
|
/**
|
|
104305
104293
|
* Fragment containing core blockchain network fields.
|
|
104306
104294
|
*/
|
|
104307
|
-
declare const BlockchainNetworkFragment:
|
|
104295
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
104308
104296
|
__typename: "ArbitrumBlockchainNetwork";
|
|
104309
104297
|
id: string;
|
|
104310
104298
|
uniqueName: string;
|
|
@@ -117651,7 +117639,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117651
117639
|
/**
|
|
117652
117640
|
* Mutation to create a new blockchain network.
|
|
117653
117641
|
*/
|
|
117654
|
-
declare const createBlockchainNetwork:
|
|
117642
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
117655
117643
|
createBlockchainNetwork: {
|
|
117656
117644
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117657
117645
|
id: string;
|
|
@@ -171232,7 +171220,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
171232
171220
|
/**
|
|
171233
171221
|
* Fragment containing core blockchain node fields.
|
|
171234
171222
|
*/
|
|
171235
|
-
declare const BlockchainNodeFragment:
|
|
171223
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
171236
171224
|
__typename: "ArbitrumBlockchainNode";
|
|
171237
171225
|
id: string;
|
|
171238
171226
|
uniqueName: string;
|
|
@@ -179704,7 +179692,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179704
179692
|
/**
|
|
179705
179693
|
* Mutation to create a blockchain node.
|
|
179706
179694
|
*/
|
|
179707
|
-
declare const createBlockchainNode:
|
|
179695
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
179708
179696
|
createBlockchainNode: {
|
|
179709
179697
|
__typename: "ArbitrumBlockchainNode";
|
|
179710
179698
|
id: string;
|
|
@@ -188237,7 +188225,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
188237
188225
|
/**
|
|
188238
188226
|
* Fragment containing core custom deployment fields.
|
|
188239
188227
|
*/
|
|
188240
|
-
declare const CustomDeploymentFragment:
|
|
188228
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
188241
188229
|
id: string;
|
|
188242
188230
|
uniqueName: string;
|
|
188243
188231
|
name: string;
|
|
@@ -188267,7 +188255,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
188267
188255
|
/**
|
|
188268
188256
|
* Mutation to create a custom deployment.
|
|
188269
188257
|
*/
|
|
188270
|
-
declare const createCustomDeployment:
|
|
188258
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
188271
188259
|
createCustomDeployment: {
|
|
188272
188260
|
id: string;
|
|
188273
188261
|
uniqueName: string;
|
|
@@ -188367,7 +188355,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188367
188355
|
/**
|
|
188368
188356
|
* GraphQL fragment containing core insights fields.
|
|
188369
188357
|
*/
|
|
188370
|
-
declare const InsightsFragment:
|
|
188358
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
188371
188359
|
__typename: "BlockchainExplorer";
|
|
188372
188360
|
id: string;
|
|
188373
188361
|
uniqueName: string;
|
|
@@ -188439,7 +188427,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188439
188427
|
/**
|
|
188440
188428
|
* Mutation to create insights.
|
|
188441
188429
|
*/
|
|
188442
|
-
declare const createInsights:
|
|
188430
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
188443
188431
|
createInsights: {
|
|
188444
188432
|
__typename: "BlockchainExplorer";
|
|
188445
188433
|
id: string;
|
|
@@ -188573,7 +188561,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188573
188561
|
/**
|
|
188574
188562
|
* GraphQL fragment containing core integration fields.
|
|
188575
188563
|
*/
|
|
188576
|
-
declare const IntegrationFragment:
|
|
188564
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
188577
188565
|
__typename: "Chainlink";
|
|
188578
188566
|
id: string;
|
|
188579
188567
|
uniqueName: string;
|
|
@@ -188665,7 +188653,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188665
188653
|
/**
|
|
188666
188654
|
* Mutation to create a new integration.
|
|
188667
188655
|
*/
|
|
188668
|
-
declare const createIntegration:
|
|
188656
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
188669
188657
|
createIntegration: {
|
|
188670
188658
|
__typename: "Chainlink";
|
|
188671
188659
|
id: string;
|
|
@@ -188815,7 +188803,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188815
188803
|
/**
|
|
188816
188804
|
* GraphQL fragment containing core load balancer fields.
|
|
188817
188805
|
*/
|
|
188818
|
-
declare const LoadBalancerFragment:
|
|
188806
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
188819
188807
|
__typename: "EVMLoadBalancer";
|
|
188820
188808
|
id: string;
|
|
188821
188809
|
uniqueName: string;
|
|
@@ -188855,7 +188843,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188855
188843
|
/**
|
|
188856
188844
|
* Mutation to create a load balancer.
|
|
188857
188845
|
*/
|
|
188858
|
-
declare const createLoadBalancer:
|
|
188846
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
188859
188847
|
createLoadBalancer: {
|
|
188860
188848
|
__typename: "EVMLoadBalancer";
|
|
188861
188849
|
id: string;
|
|
@@ -188956,7 +188944,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188956
188944
|
/**
|
|
188957
188945
|
* GraphQL fragment containing core middleware fields.
|
|
188958
188946
|
*/
|
|
188959
|
-
declare const MiddlewareFragment:
|
|
188947
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
188960
188948
|
__typename: "AttestationIndexerMiddleware";
|
|
188961
188949
|
id: string;
|
|
188962
188950
|
uniqueName: string;
|
|
@@ -189124,7 +189112,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
189124
189112
|
/**
|
|
189125
189113
|
* Query to fetch a specific middleware with subgraphs.
|
|
189126
189114
|
*/
|
|
189127
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
189115
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
189128
189116
|
middlewareByUniqueName: {
|
|
189129
189117
|
__typename: "AttestationIndexerMiddleware";
|
|
189130
189118
|
id: string;
|
|
@@ -189307,7 +189295,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
189307
189295
|
/**
|
|
189308
189296
|
* Mutation to create a new middleware.
|
|
189309
189297
|
*/
|
|
189310
|
-
declare const createMiddleware:
|
|
189298
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
189311
189299
|
createMiddleware: {
|
|
189312
189300
|
__typename: "AttestationIndexerMiddleware";
|
|
189313
189301
|
id: string;
|
|
@@ -189552,7 +189540,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189552
189540
|
/**
|
|
189553
189541
|
* GraphQL query to fetch platform configuration.
|
|
189554
189542
|
*/
|
|
189555
|
-
declare const getPlatformConfigQuery:
|
|
189543
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
189556
189544
|
config: {
|
|
189557
189545
|
smartContractSets: {
|
|
189558
189546
|
id: string;
|
|
@@ -189609,7 +189597,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189609
189597
|
/**
|
|
189610
189598
|
* GraphQL fragment containing core private key fields.
|
|
189611
189599
|
*/
|
|
189612
|
-
declare const PrivateKeyFragment:
|
|
189600
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
189613
189601
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189614
189602
|
id: string;
|
|
189615
189603
|
uniqueName: string;
|
|
@@ -190251,7 +190239,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
190251
190239
|
/**
|
|
190252
190240
|
* Mutation to create a new private key.
|
|
190253
190241
|
*/
|
|
190254
|
-
declare const createPrivateKey:
|
|
190242
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
190255
190243
|
createPrivateKey: {
|
|
190256
190244
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
190257
190245
|
id: string;
|
|
@@ -190957,7 +190945,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190957
190945
|
/**
|
|
190958
190946
|
* GraphQL fragment containing core storage fields.
|
|
190959
190947
|
*/
|
|
190960
|
-
declare const StorageFragment:
|
|
190948
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
190961
190949
|
__typename: "IPFSStorage";
|
|
190962
190950
|
id: string;
|
|
190963
190951
|
uniqueName: string;
|
|
@@ -191009,7 +190997,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
191009
190997
|
/**
|
|
191010
190998
|
* Mutation to create a new storage.
|
|
191011
190999
|
*/
|
|
191012
|
-
declare const createStorage:
|
|
191000
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
191013
191001
|
createStorage: {
|
|
191014
191002
|
__typename: "IPFSStorage";
|
|
191015
191003
|
id: string;
|
|
@@ -191119,7 +191107,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
191119
191107
|
/**
|
|
191120
191108
|
* GraphQL fragment containing core workspace fields.
|
|
191121
191109
|
*/
|
|
191122
|
-
declare const WorkspaceFragment:
|
|
191110
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
191123
191111
|
id: string;
|
|
191124
191112
|
uniqueName: string;
|
|
191125
191113
|
name: string;
|
|
@@ -191140,7 +191128,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
191140
191128
|
/**
|
|
191141
191129
|
* Mutation to create a new workspace.
|
|
191142
191130
|
*/
|
|
191143
|
-
declare const createWorkspace:
|
|
191131
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
191144
191132
|
createWorkspace: {
|
|
191145
191133
|
id: string;
|
|
191146
191134
|
uniqueName: string;
|
package/dist/settlemint.js
CHANGED
|
@@ -2557,7 +2557,7 @@ function createSettleMintClient(options) {
|
|
|
2557
2557
|
const baseUrl = new URL(validatedOptions.instance).toString().replace(/\/$/, "");
|
|
2558
2558
|
const gqlClient = new GraphQLClient(`${baseUrl}/api/graphql`, {
|
|
2559
2559
|
headers: { "x-auth-token": validatedOptions.accessToken ?? "" },
|
|
2560
|
-
fetch: async (input, init) => {
|
|
2560
|
+
fetch: (async (input, init) => {
|
|
2561
2561
|
const response = await fetchWithRetry(input, init);
|
|
2562
2562
|
const contentType = response.headers.get("content-type");
|
|
2563
2563
|
if (contentType?.includes("application/json") || contentType?.includes("application/graphql-response+json")) {
|
|
@@ -2568,7 +2568,7 @@ function createSettleMintClient(options) {
|
|
|
2568
2568
|
}
|
|
2569
2569
|
}
|
|
2570
2570
|
return response;
|
|
2571
|
-
}
|
|
2571
|
+
})
|
|
2572
2572
|
});
|
|
2573
2573
|
return {
|
|
2574
2574
|
workspace: {
|