@settlemint/sdk-js 2.6.0 → 2.6.1-pr7c5f0f3f
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.map +1 -1
- package/dist/settlemint.d.cts +34 -26
- package/dist/settlemint.d.ts +8 -0
- package/dist/settlemint.js.map +1 -1
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* SettleMint SDK - Main Package */
|
|
2
2
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
3
|
-
import * as
|
|
3
|
+
import * as gql_tada1 from "gql.tada";
|
|
4
4
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
5
5
|
import { GraphQLClient } from "graphql-request";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -27739,6 +27739,14 @@ type introspection_types = {
|
|
|
27739
27739
|
ofType: null;
|
|
27740
27740
|
};
|
|
27741
27741
|
defaultValue: null;
|
|
27742
|
+
}, {
|
|
27743
|
+
name: 'includePredeployedContracts';
|
|
27744
|
+
type: {
|
|
27745
|
+
kind: 'SCALAR';
|
|
27746
|
+
name: 'Boolean';
|
|
27747
|
+
ofType: null;
|
|
27748
|
+
};
|
|
27749
|
+
defaultValue: "false";
|
|
27742
27750
|
}, {
|
|
27743
27751
|
name: 'keyMaterial';
|
|
27744
27752
|
type: {
|
|
@@ -104152,7 +104160,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
104152
104160
|
/**
|
|
104153
104161
|
* GraphQL fragment containing core application fields.
|
|
104154
104162
|
*/
|
|
104155
|
-
declare const ApplicationFragment:
|
|
104163
|
+
declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
|
|
104156
104164
|
id: string;
|
|
104157
104165
|
uniqueName: string;
|
|
104158
104166
|
name: string;
|
|
@@ -104173,7 +104181,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
104173
104181
|
/**
|
|
104174
104182
|
* Mutation to create a new application.
|
|
104175
104183
|
*/
|
|
104176
|
-
declare const createApplication:
|
|
104184
|
+
declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
104177
104185
|
createApplication: {
|
|
104178
104186
|
id: string;
|
|
104179
104187
|
uniqueName: string;
|
|
@@ -104228,7 +104236,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
104228
104236
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
104229
104237
|
//#endregion
|
|
104230
104238
|
//#region src/graphql/application-access-tokens.d.ts
|
|
104231
|
-
declare const createApplicationAccessToken:
|
|
104239
|
+
declare const createApplicationAccessToken: gql_tada1.TadaDocumentNode<{
|
|
104232
104240
|
createApplicationAccessToken: {
|
|
104233
104241
|
token: string | null;
|
|
104234
104242
|
};
|
|
@@ -104292,7 +104300,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
104292
104300
|
/**
|
|
104293
104301
|
* Fragment containing core blockchain network fields.
|
|
104294
104302
|
*/
|
|
104295
|
-
declare const BlockchainNetworkFragment:
|
|
104303
|
+
declare const BlockchainNetworkFragment: gql_tada1.TadaDocumentNode<{
|
|
104296
104304
|
__typename: "ArbitrumBlockchainNetwork";
|
|
104297
104305
|
id: string;
|
|
104298
104306
|
uniqueName: string;
|
|
@@ -117639,7 +117647,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117639
117647
|
/**
|
|
117640
117648
|
* Mutation to create a new blockchain network.
|
|
117641
117649
|
*/
|
|
117642
|
-
declare const createBlockchainNetwork:
|
|
117650
|
+
declare const createBlockchainNetwork: gql_tada1.TadaDocumentNode<{
|
|
117643
117651
|
createBlockchainNetwork: {
|
|
117644
117652
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117645
117653
|
id: string;
|
|
@@ -171220,7 +171228,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
171220
171228
|
/**
|
|
171221
171229
|
* Fragment containing core blockchain node fields.
|
|
171222
171230
|
*/
|
|
171223
|
-
declare const BlockchainNodeFragment:
|
|
171231
|
+
declare const BlockchainNodeFragment: gql_tada1.TadaDocumentNode<{
|
|
171224
171232
|
__typename: "ArbitrumBlockchainNode";
|
|
171225
171233
|
id: string;
|
|
171226
171234
|
uniqueName: string;
|
|
@@ -179692,7 +179700,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179692
179700
|
/**
|
|
179693
179701
|
* Mutation to create a blockchain node.
|
|
179694
179702
|
*/
|
|
179695
|
-
declare const createBlockchainNode:
|
|
179703
|
+
declare const createBlockchainNode: gql_tada1.TadaDocumentNode<{
|
|
179696
179704
|
createBlockchainNode: {
|
|
179697
179705
|
__typename: "ArbitrumBlockchainNode";
|
|
179698
179706
|
id: string;
|
|
@@ -188225,7 +188233,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
188225
188233
|
/**
|
|
188226
188234
|
* Fragment containing core custom deployment fields.
|
|
188227
188235
|
*/
|
|
188228
|
-
declare const CustomDeploymentFragment:
|
|
188236
|
+
declare const CustomDeploymentFragment: gql_tada1.TadaDocumentNode<{
|
|
188229
188237
|
id: string;
|
|
188230
188238
|
uniqueName: string;
|
|
188231
188239
|
name: string;
|
|
@@ -188255,7 +188263,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
188255
188263
|
/**
|
|
188256
188264
|
* Mutation to create a custom deployment.
|
|
188257
188265
|
*/
|
|
188258
|
-
declare const createCustomDeployment:
|
|
188266
|
+
declare const createCustomDeployment: gql_tada1.TadaDocumentNode<{
|
|
188259
188267
|
createCustomDeployment: {
|
|
188260
188268
|
id: string;
|
|
188261
188269
|
uniqueName: string;
|
|
@@ -188355,7 +188363,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188355
188363
|
/**
|
|
188356
188364
|
* GraphQL fragment containing core insights fields.
|
|
188357
188365
|
*/
|
|
188358
|
-
declare const InsightsFragment:
|
|
188366
|
+
declare const InsightsFragment: gql_tada1.TadaDocumentNode<{
|
|
188359
188367
|
__typename: "BlockchainExplorer";
|
|
188360
188368
|
id: string;
|
|
188361
188369
|
uniqueName: string;
|
|
@@ -188427,7 +188435,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188427
188435
|
/**
|
|
188428
188436
|
* Mutation to create insights.
|
|
188429
188437
|
*/
|
|
188430
|
-
declare const createInsights:
|
|
188438
|
+
declare const createInsights: gql_tada1.TadaDocumentNode<{
|
|
188431
188439
|
createInsights: {
|
|
188432
188440
|
__typename: "BlockchainExplorer";
|
|
188433
188441
|
id: string;
|
|
@@ -188561,7 +188569,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188561
188569
|
/**
|
|
188562
188570
|
* GraphQL fragment containing core integration fields.
|
|
188563
188571
|
*/
|
|
188564
|
-
declare const IntegrationFragment:
|
|
188572
|
+
declare const IntegrationFragment: gql_tada1.TadaDocumentNode<{
|
|
188565
188573
|
__typename: "Chainlink";
|
|
188566
188574
|
id: string;
|
|
188567
188575
|
uniqueName: string;
|
|
@@ -188653,7 +188661,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188653
188661
|
/**
|
|
188654
188662
|
* Mutation to create a new integration.
|
|
188655
188663
|
*/
|
|
188656
|
-
declare const createIntegration:
|
|
188664
|
+
declare const createIntegration: gql_tada1.TadaDocumentNode<{
|
|
188657
188665
|
createIntegration: {
|
|
188658
188666
|
__typename: "Chainlink";
|
|
188659
188667
|
id: string;
|
|
@@ -188803,7 +188811,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188803
188811
|
/**
|
|
188804
188812
|
* GraphQL fragment containing core load balancer fields.
|
|
188805
188813
|
*/
|
|
188806
|
-
declare const LoadBalancerFragment:
|
|
188814
|
+
declare const LoadBalancerFragment: gql_tada1.TadaDocumentNode<{
|
|
188807
188815
|
__typename: "EVMLoadBalancer";
|
|
188808
188816
|
id: string;
|
|
188809
188817
|
uniqueName: string;
|
|
@@ -188843,7 +188851,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188843
188851
|
/**
|
|
188844
188852
|
* Mutation to create a load balancer.
|
|
188845
188853
|
*/
|
|
188846
|
-
declare const createLoadBalancer:
|
|
188854
|
+
declare const createLoadBalancer: gql_tada1.TadaDocumentNode<{
|
|
188847
188855
|
createLoadBalancer: {
|
|
188848
188856
|
__typename: "EVMLoadBalancer";
|
|
188849
188857
|
id: string;
|
|
@@ -188944,7 +188952,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188944
188952
|
/**
|
|
188945
188953
|
* GraphQL fragment containing core middleware fields.
|
|
188946
188954
|
*/
|
|
188947
|
-
declare const MiddlewareFragment:
|
|
188955
|
+
declare const MiddlewareFragment: gql_tada1.TadaDocumentNode<{
|
|
188948
188956
|
__typename: "AttestationIndexerMiddleware";
|
|
188949
188957
|
id: string;
|
|
188950
188958
|
uniqueName: string;
|
|
@@ -189112,7 +189120,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
189112
189120
|
/**
|
|
189113
189121
|
* Query to fetch a specific middleware with subgraphs.
|
|
189114
189122
|
*/
|
|
189115
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
189123
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada1.TadaDocumentNode<{
|
|
189116
189124
|
middlewareByUniqueName: {
|
|
189117
189125
|
__typename: "AttestationIndexerMiddleware";
|
|
189118
189126
|
id: string;
|
|
@@ -189295,7 +189303,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
189295
189303
|
/**
|
|
189296
189304
|
* Mutation to create a new middleware.
|
|
189297
189305
|
*/
|
|
189298
|
-
declare const createMiddleware:
|
|
189306
|
+
declare const createMiddleware: gql_tada1.TadaDocumentNode<{
|
|
189299
189307
|
createMiddleware: {
|
|
189300
189308
|
__typename: "AttestationIndexerMiddleware";
|
|
189301
189309
|
id: string;
|
|
@@ -189540,7 +189548,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189540
189548
|
/**
|
|
189541
189549
|
* GraphQL query to fetch platform configuration.
|
|
189542
189550
|
*/
|
|
189543
|
-
declare const getPlatformConfigQuery:
|
|
189551
|
+
declare const getPlatformConfigQuery: gql_tada1.TadaDocumentNode<{
|
|
189544
189552
|
config: {
|
|
189545
189553
|
smartContractSets: {
|
|
189546
189554
|
id: string;
|
|
@@ -189597,7 +189605,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189597
189605
|
/**
|
|
189598
189606
|
* GraphQL fragment containing core private key fields.
|
|
189599
189607
|
*/
|
|
189600
|
-
declare const PrivateKeyFragment:
|
|
189608
|
+
declare const PrivateKeyFragment: gql_tada1.TadaDocumentNode<{
|
|
189601
189609
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189602
189610
|
id: string;
|
|
189603
189611
|
uniqueName: string;
|
|
@@ -190239,7 +190247,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
190239
190247
|
/**
|
|
190240
190248
|
* Mutation to create a new private key.
|
|
190241
190249
|
*/
|
|
190242
|
-
declare const createPrivateKey:
|
|
190250
|
+
declare const createPrivateKey: gql_tada1.TadaDocumentNode<{
|
|
190243
190251
|
createPrivateKey: {
|
|
190244
190252
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
190245
190253
|
id: string;
|
|
@@ -190945,7 +190953,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190945
190953
|
/**
|
|
190946
190954
|
* GraphQL fragment containing core storage fields.
|
|
190947
190955
|
*/
|
|
190948
|
-
declare const StorageFragment:
|
|
190956
|
+
declare const StorageFragment: gql_tada1.TadaDocumentNode<{
|
|
190949
190957
|
__typename: "IPFSStorage";
|
|
190950
190958
|
id: string;
|
|
190951
190959
|
uniqueName: string;
|
|
@@ -190997,7 +191005,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
190997
191005
|
/**
|
|
190998
191006
|
* Mutation to create a new storage.
|
|
190999
191007
|
*/
|
|
191000
|
-
declare const createStorage:
|
|
191008
|
+
declare const createStorage: gql_tada1.TadaDocumentNode<{
|
|
191001
191009
|
createStorage: {
|
|
191002
191010
|
__typename: "IPFSStorage";
|
|
191003
191011
|
id: string;
|
|
@@ -191107,7 +191115,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
191107
191115
|
/**
|
|
191108
191116
|
* GraphQL fragment containing core workspace fields.
|
|
191109
191117
|
*/
|
|
191110
|
-
declare const WorkspaceFragment:
|
|
191118
|
+
declare const WorkspaceFragment: gql_tada1.TadaDocumentNode<{
|
|
191111
191119
|
id: string;
|
|
191112
191120
|
uniqueName: string;
|
|
191113
191121
|
name: string;
|
|
@@ -191128,7 +191136,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
191128
191136
|
/**
|
|
191129
191137
|
* Mutation to create a new workspace.
|
|
191130
191138
|
*/
|
|
191131
|
-
declare const createWorkspace:
|
|
191139
|
+
declare const createWorkspace: gql_tada1.TadaDocumentNode<{
|
|
191132
191140
|
createWorkspace: {
|
|
191133
191141
|
id: string;
|
|
191134
191142
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -27739,6 +27739,14 @@ type introspection_types = {
|
|
|
27739
27739
|
ofType: null;
|
|
27740
27740
|
};
|
|
27741
27741
|
defaultValue: null;
|
|
27742
|
+
}, {
|
|
27743
|
+
name: 'includePredeployedContracts';
|
|
27744
|
+
type: {
|
|
27745
|
+
kind: 'SCALAR';
|
|
27746
|
+
name: 'Boolean';
|
|
27747
|
+
ofType: null;
|
|
27748
|
+
};
|
|
27749
|
+
defaultValue: "false";
|
|
27742
27750
|
}, {
|
|
27743
27751
|
name: 'keyMaterial';
|
|
27744
27752
|
type: {
|