@settlemint/sdk-js 2.6.2-main01bd70e9 → 2.6.2-main05babdc6
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/dist/settlemint.cjs +2 -0
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +27 -26
- package/dist/settlemint.d.ts +1 -0
- package/dist/settlemint.js +2 -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_tada0 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";
|
|
@@ -65372,7 +65372,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
65372
65372
|
/**
|
|
65373
65373
|
* GraphQL fragment containing core application fields.
|
|
65374
65374
|
*/
|
|
65375
|
-
declare const ApplicationFragment:
|
|
65375
|
+
declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
|
|
65376
65376
|
id: string;
|
|
65377
65377
|
uniqueName: string;
|
|
65378
65378
|
name: string;
|
|
@@ -65393,7 +65393,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
65393
65393
|
/**
|
|
65394
65394
|
* Mutation to create a new application.
|
|
65395
65395
|
*/
|
|
65396
|
-
declare const createApplication:
|
|
65396
|
+
declare const createApplication: gql_tada0.TadaDocumentNode<{
|
|
65397
65397
|
createApplication: {
|
|
65398
65398
|
id: string;
|
|
65399
65399
|
uniqueName: string;
|
|
@@ -65448,7 +65448,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
65448
65448
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
65449
65449
|
//#endregion
|
|
65450
65450
|
//#region src/graphql/application-access-tokens.d.ts
|
|
65451
|
-
declare const createApplicationAccessToken:
|
|
65451
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
65452
65452
|
createApplicationAccessToken: {
|
|
65453
65453
|
token: string | null;
|
|
65454
65454
|
};
|
|
@@ -65512,7 +65512,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
65512
65512
|
/**
|
|
65513
65513
|
* Fragment containing core blockchain network fields.
|
|
65514
65514
|
*/
|
|
65515
|
-
declare const BlockchainNetworkFragment:
|
|
65515
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
65516
65516
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
65517
65517
|
id: string;
|
|
65518
65518
|
uniqueName: string;
|
|
@@ -66410,7 +66410,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
66410
66410
|
/**
|
|
66411
66411
|
* Mutation to create a new blockchain network.
|
|
66412
66412
|
*/
|
|
66413
|
-
declare const createBlockchainNetwork:
|
|
66413
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
66414
66414
|
createBlockchainNetwork: {
|
|
66415
66415
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
66416
66416
|
id: string;
|
|
@@ -66977,6 +66977,7 @@ declare const createBlockchainNetwork: gql_tada3.TadaDocumentNode<{
|
|
|
66977
66977
|
})[];
|
|
66978
66978
|
};
|
|
66979
66979
|
}, {
|
|
66980
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66980
66981
|
privateKeyId?: string | null | undefined;
|
|
66981
66982
|
externalNodes?: {
|
|
66982
66983
|
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
|
|
@@ -68907,7 +68908,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
68907
68908
|
/**
|
|
68908
68909
|
* Fragment containing core blockchain node fields.
|
|
68909
68910
|
*/
|
|
68910
|
-
declare const BlockchainNodeFragment:
|
|
68911
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
68911
68912
|
__typename: "BesuIbftv2BlockchainNode";
|
|
68912
68913
|
id: string;
|
|
68913
68914
|
uniqueName: string;
|
|
@@ -69788,7 +69789,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
69788
69789
|
/**
|
|
69789
69790
|
* Mutation to create a blockchain node.
|
|
69790
69791
|
*/
|
|
69791
|
-
declare const createBlockchainNode:
|
|
69792
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
69792
69793
|
createBlockchainNode: {
|
|
69793
69794
|
__typename: "BesuIbftv2BlockchainNode";
|
|
69794
69795
|
id: string;
|
|
@@ -70414,7 +70415,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
70414
70415
|
/**
|
|
70415
70416
|
* Fragment containing core custom deployment fields.
|
|
70416
70417
|
*/
|
|
70417
|
-
declare const CustomDeploymentFragment:
|
|
70418
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
70418
70419
|
id: string;
|
|
70419
70420
|
uniqueName: string;
|
|
70420
70421
|
name: string;
|
|
@@ -70444,7 +70445,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
70444
70445
|
/**
|
|
70445
70446
|
* Mutation to create a custom deployment.
|
|
70446
70447
|
*/
|
|
70447
|
-
declare const createCustomDeployment:
|
|
70448
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
70448
70449
|
createCustomDeployment: {
|
|
70449
70450
|
id: string;
|
|
70450
70451
|
uniqueName: string;
|
|
@@ -70544,7 +70545,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
70544
70545
|
/**
|
|
70545
70546
|
* GraphQL fragment containing core insights fields.
|
|
70546
70547
|
*/
|
|
70547
|
-
declare const InsightsFragment:
|
|
70548
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
70548
70549
|
__typename: "BlockchainExplorer";
|
|
70549
70550
|
id: string;
|
|
70550
70551
|
uniqueName: string;
|
|
@@ -70616,7 +70617,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
70616
70617
|
/**
|
|
70617
70618
|
* Mutation to create insights.
|
|
70618
70619
|
*/
|
|
70619
|
-
declare const createInsights:
|
|
70620
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
70620
70621
|
createInsights: {
|
|
70621
70622
|
__typename: "BlockchainExplorer";
|
|
70622
70623
|
id: string;
|
|
@@ -70750,7 +70751,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
70750
70751
|
/**
|
|
70751
70752
|
* GraphQL fragment containing core integration fields.
|
|
70752
70753
|
*/
|
|
70753
|
-
declare const IntegrationFragment:
|
|
70754
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
70754
70755
|
__typename: "Chainlink";
|
|
70755
70756
|
id: string;
|
|
70756
70757
|
uniqueName: string;
|
|
@@ -70842,7 +70843,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
70842
70843
|
/**
|
|
70843
70844
|
* Mutation to create a new integration.
|
|
70844
70845
|
*/
|
|
70845
|
-
declare const createIntegration:
|
|
70846
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
70846
70847
|
createIntegration: {
|
|
70847
70848
|
__typename: "Chainlink";
|
|
70848
70849
|
id: string;
|
|
@@ -70992,7 +70993,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
70992
70993
|
/**
|
|
70993
70994
|
* GraphQL fragment containing core load balancer fields.
|
|
70994
70995
|
*/
|
|
70995
|
-
declare const LoadBalancerFragment:
|
|
70996
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
70996
70997
|
__typename: "EVMLoadBalancer";
|
|
70997
70998
|
id: string;
|
|
70998
70999
|
uniqueName: string;
|
|
@@ -71032,7 +71033,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
71032
71033
|
/**
|
|
71033
71034
|
* Mutation to create a load balancer.
|
|
71034
71035
|
*/
|
|
71035
|
-
declare const createLoadBalancer:
|
|
71036
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
71036
71037
|
createLoadBalancer: {
|
|
71037
71038
|
__typename: "EVMLoadBalancer";
|
|
71038
71039
|
id: string;
|
|
@@ -71133,7 +71134,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
71133
71134
|
/**
|
|
71134
71135
|
* GraphQL fragment containing core middleware fields.
|
|
71135
71136
|
*/
|
|
71136
|
-
declare const MiddlewareFragment:
|
|
71137
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
71137
71138
|
__typename: "AttestationIndexerMiddleware";
|
|
71138
71139
|
id: string;
|
|
71139
71140
|
uniqueName: string;
|
|
@@ -71301,7 +71302,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
71301
71302
|
/**
|
|
71302
71303
|
* Query to fetch a specific middleware with subgraphs.
|
|
71303
71304
|
*/
|
|
71304
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
71305
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
71305
71306
|
middlewareByUniqueName: {
|
|
71306
71307
|
__typename: "AttestationIndexerMiddleware";
|
|
71307
71308
|
id: string;
|
|
@@ -71484,7 +71485,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
71484
71485
|
/**
|
|
71485
71486
|
* Mutation to create a new middleware.
|
|
71486
71487
|
*/
|
|
71487
|
-
declare const createMiddleware:
|
|
71488
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
71488
71489
|
createMiddleware: {
|
|
71489
71490
|
__typename: "AttestationIndexerMiddleware";
|
|
71490
71491
|
id: string;
|
|
@@ -71729,7 +71730,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
71729
71730
|
/**
|
|
71730
71731
|
* GraphQL query to fetch platform configuration.
|
|
71731
71732
|
*/
|
|
71732
|
-
declare const getPlatformConfigQuery:
|
|
71733
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
71733
71734
|
config: {
|
|
71734
71735
|
smartContractSets: {
|
|
71735
71736
|
id: string;
|
|
@@ -71786,7 +71787,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
71786
71787
|
/**
|
|
71787
71788
|
* GraphQL fragment containing core private key fields.
|
|
71788
71789
|
*/
|
|
71789
|
-
declare const PrivateKeyFragment:
|
|
71790
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
71790
71791
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71791
71792
|
id: string;
|
|
71792
71793
|
uniqueName: string;
|
|
@@ -71993,7 +71994,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
71993
71994
|
/**
|
|
71994
71995
|
* Mutation to create a new private key.
|
|
71995
71996
|
*/
|
|
71996
|
-
declare const createPrivateKey:
|
|
71997
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
71997
71998
|
createPrivateKey: {
|
|
71998
71999
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71999
72000
|
id: string;
|
|
@@ -72264,7 +72265,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
72264
72265
|
/**
|
|
72265
72266
|
* GraphQL fragment containing core storage fields.
|
|
72266
72267
|
*/
|
|
72267
|
-
declare const StorageFragment:
|
|
72268
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
72268
72269
|
__typename: "IPFSStorage";
|
|
72269
72270
|
id: string;
|
|
72270
72271
|
uniqueName: string;
|
|
@@ -72316,7 +72317,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
72316
72317
|
/**
|
|
72317
72318
|
* Mutation to create a new storage.
|
|
72318
72319
|
*/
|
|
72319
|
-
declare const createStorage:
|
|
72320
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
72320
72321
|
createStorage: {
|
|
72321
72322
|
__typename: "IPFSStorage";
|
|
72322
72323
|
id: string;
|
|
@@ -72426,7 +72427,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
72426
72427
|
/**
|
|
72427
72428
|
* GraphQL fragment containing core workspace fields.
|
|
72428
72429
|
*/
|
|
72429
|
-
declare const WorkspaceFragment:
|
|
72430
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
72430
72431
|
id: string;
|
|
72431
72432
|
uniqueName: string;
|
|
72432
72433
|
name: string;
|
|
@@ -72447,7 +72448,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
72447
72448
|
/**
|
|
72448
72449
|
* Mutation to create a new workspace.
|
|
72449
72450
|
*/
|
|
72450
|
-
declare const createWorkspace:
|
|
72451
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
72451
72452
|
createWorkspace: {
|
|
72452
72453
|
id: string;
|
|
72453
72454
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -66977,6 +66977,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
66977
66977
|
})[];
|
|
66978
66978
|
};
|
|
66979
66979
|
}, {
|
|
66980
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66980
66981
|
privateKeyId?: string | null | undefined;
|
|
66981
66982
|
externalNodes?: {
|
|
66982
66983
|
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
|
package/dist/settlemint.js
CHANGED
|
@@ -502,6 +502,7 @@ const createBlockchainNetwork = graphql(`
|
|
|
502
502
|
$quorumGenesis: QuorumGenesisInput
|
|
503
503
|
$externalNodes: [BlockchainNetworkExternalNodeInput!]
|
|
504
504
|
$privateKeyId: ID
|
|
505
|
+
$includePredeployedContracts: Boolean
|
|
505
506
|
) {
|
|
506
507
|
createBlockchainNetwork(
|
|
507
508
|
applicationId: $applicationId
|
|
@@ -530,6 +531,7 @@ const createBlockchainNetwork = graphql(`
|
|
|
530
531
|
quorumGenesis: $quorumGenesis
|
|
531
532
|
externalNodes: $externalNodes
|
|
532
533
|
keyMaterial: $privateKeyId
|
|
534
|
+
includePredeployedContracts: $includePredeployedContracts
|
|
533
535
|
) {
|
|
534
536
|
...BlockchainNetwork
|
|
535
537
|
}
|