@settlemint/sdk-js 2.6.2-pra8d42bc6 → 2.6.2-praeb73482
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 +16 -7
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +25 -0
- package/dist/settlemint.d.ts +51 -26
- package/dist/settlemint.js +2 -0
- package/dist/settlemint.js.map +1 -1
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -6217,6 +6217,14 @@ type introspection_types = {
|
|
|
6217
6217
|
};
|
|
6218
6218
|
};
|
|
6219
6219
|
};
|
|
6220
|
+
'genesisArtifactsTag': {
|
|
6221
|
+
name: 'genesisArtifactsTag';
|
|
6222
|
+
type: {
|
|
6223
|
+
kind: 'SCALAR';
|
|
6224
|
+
name: 'String';
|
|
6225
|
+
ofType: null;
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
6220
6228
|
'genesisWithDiscoveryConfig': {
|
|
6221
6229
|
name: 'genesisWithDiscoveryConfig';
|
|
6222
6230
|
type: {
|
|
@@ -8511,6 +8519,14 @@ type introspection_types = {
|
|
|
8511
8519
|
};
|
|
8512
8520
|
};
|
|
8513
8521
|
};
|
|
8522
|
+
'genesisArtifactsTag': {
|
|
8523
|
+
name: 'genesisArtifactsTag';
|
|
8524
|
+
type: {
|
|
8525
|
+
kind: 'SCALAR';
|
|
8526
|
+
name: 'String';
|
|
8527
|
+
ofType: null;
|
|
8528
|
+
};
|
|
8529
|
+
};
|
|
8514
8530
|
'genesisWithDiscoveryConfig': {
|
|
8515
8531
|
name: 'genesisWithDiscoveryConfig';
|
|
8516
8532
|
type: {
|
|
@@ -17651,6 +17667,14 @@ type introspection_types = {
|
|
|
17651
17667
|
};
|
|
17652
17668
|
};
|
|
17653
17669
|
defaultValue: null;
|
|
17670
|
+
}, {
|
|
17671
|
+
name: 'preloadDatabaseSchema';
|
|
17672
|
+
type: {
|
|
17673
|
+
kind: 'SCALAR';
|
|
17674
|
+
name: 'Boolean';
|
|
17675
|
+
ofType: null;
|
|
17676
|
+
};
|
|
17677
|
+
defaultValue: null;
|
|
17654
17678
|
}, {
|
|
17655
17679
|
name: 'productName';
|
|
17656
17680
|
type: {
|
|
@@ -66969,6 +66993,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
66969
66993
|
})[];
|
|
66970
66994
|
};
|
|
66971
66995
|
}, {
|
|
66996
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66972
66997
|
privateKeyId?: string | null | undefined;
|
|
66973
66998
|
externalNodes?: {
|
|
66974
66999
|
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
3
3
|
import { GraphQLClient } from "graphql-request";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
-
import * as
|
|
5
|
+
import * as gql_tada1 from "gql.tada";
|
|
6
6
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
7
7
|
|
|
8
8
|
//#region src/helpers/graphql-env.d.ts
|
|
@@ -6217,6 +6217,14 @@ type introspection_types = {
|
|
|
6217
6217
|
};
|
|
6218
6218
|
};
|
|
6219
6219
|
};
|
|
6220
|
+
'genesisArtifactsTag': {
|
|
6221
|
+
name: 'genesisArtifactsTag';
|
|
6222
|
+
type: {
|
|
6223
|
+
kind: 'SCALAR';
|
|
6224
|
+
name: 'String';
|
|
6225
|
+
ofType: null;
|
|
6226
|
+
};
|
|
6227
|
+
};
|
|
6220
6228
|
'genesisWithDiscoveryConfig': {
|
|
6221
6229
|
name: 'genesisWithDiscoveryConfig';
|
|
6222
6230
|
type: {
|
|
@@ -8511,6 +8519,14 @@ type introspection_types = {
|
|
|
8511
8519
|
};
|
|
8512
8520
|
};
|
|
8513
8521
|
};
|
|
8522
|
+
'genesisArtifactsTag': {
|
|
8523
|
+
name: 'genesisArtifactsTag';
|
|
8524
|
+
type: {
|
|
8525
|
+
kind: 'SCALAR';
|
|
8526
|
+
name: 'String';
|
|
8527
|
+
ofType: null;
|
|
8528
|
+
};
|
|
8529
|
+
};
|
|
8514
8530
|
'genesisWithDiscoveryConfig': {
|
|
8515
8531
|
name: 'genesisWithDiscoveryConfig';
|
|
8516
8532
|
type: {
|
|
@@ -17651,6 +17667,14 @@ type introspection_types = {
|
|
|
17651
17667
|
};
|
|
17652
17668
|
};
|
|
17653
17669
|
defaultValue: null;
|
|
17670
|
+
}, {
|
|
17671
|
+
name: 'preloadDatabaseSchema';
|
|
17672
|
+
type: {
|
|
17673
|
+
kind: 'SCALAR';
|
|
17674
|
+
name: 'Boolean';
|
|
17675
|
+
ofType: null;
|
|
17676
|
+
};
|
|
17677
|
+
defaultValue: null;
|
|
17654
17678
|
}, {
|
|
17655
17679
|
name: 'productName';
|
|
17656
17680
|
type: {
|
|
@@ -65364,7 +65388,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
65364
65388
|
/**
|
|
65365
65389
|
* GraphQL fragment containing core application fields.
|
|
65366
65390
|
*/
|
|
65367
|
-
declare const ApplicationFragment:
|
|
65391
|
+
declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
|
|
65368
65392
|
id: string;
|
|
65369
65393
|
uniqueName: string;
|
|
65370
65394
|
name: string;
|
|
@@ -65385,7 +65409,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
65385
65409
|
/**
|
|
65386
65410
|
* Mutation to create a new application.
|
|
65387
65411
|
*/
|
|
65388
|
-
declare const createApplication:
|
|
65412
|
+
declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
65389
65413
|
createApplication: {
|
|
65390
65414
|
id: string;
|
|
65391
65415
|
uniqueName: string;
|
|
@@ -65440,7 +65464,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
65440
65464
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
65441
65465
|
//#endregion
|
|
65442
65466
|
//#region src/graphql/application-access-tokens.d.ts
|
|
65443
|
-
declare const createApplicationAccessToken:
|
|
65467
|
+
declare const createApplicationAccessToken: gql_tada1.TadaDocumentNode<{
|
|
65444
65468
|
createApplicationAccessToken: {
|
|
65445
65469
|
token: string | null;
|
|
65446
65470
|
};
|
|
@@ -65504,7 +65528,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
65504
65528
|
/**
|
|
65505
65529
|
* Fragment containing core blockchain network fields.
|
|
65506
65530
|
*/
|
|
65507
|
-
declare const BlockchainNetworkFragment:
|
|
65531
|
+
declare const BlockchainNetworkFragment: gql_tada1.TadaDocumentNode<{
|
|
65508
65532
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
65509
65533
|
id: string;
|
|
65510
65534
|
uniqueName: string;
|
|
@@ -66402,7 +66426,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
66402
66426
|
/**
|
|
66403
66427
|
* Mutation to create a new blockchain network.
|
|
66404
66428
|
*/
|
|
66405
|
-
declare const createBlockchainNetwork:
|
|
66429
|
+
declare const createBlockchainNetwork: gql_tada1.TadaDocumentNode<{
|
|
66406
66430
|
createBlockchainNetwork: {
|
|
66407
66431
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
66408
66432
|
id: string;
|
|
@@ -66969,6 +66993,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
66969
66993
|
})[];
|
|
66970
66994
|
};
|
|
66971
66995
|
}, {
|
|
66996
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66972
66997
|
privateKeyId?: string | null | undefined;
|
|
66973
66998
|
externalNodes?: {
|
|
66974
66999
|
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
|
|
@@ -68899,7 +68924,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
68899
68924
|
/**
|
|
68900
68925
|
* Fragment containing core blockchain node fields.
|
|
68901
68926
|
*/
|
|
68902
|
-
declare const BlockchainNodeFragment:
|
|
68927
|
+
declare const BlockchainNodeFragment: gql_tada1.TadaDocumentNode<{
|
|
68903
68928
|
__typename: "BesuIbftv2BlockchainNode";
|
|
68904
68929
|
id: string;
|
|
68905
68930
|
uniqueName: string;
|
|
@@ -69780,7 +69805,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
69780
69805
|
/**
|
|
69781
69806
|
* Mutation to create a blockchain node.
|
|
69782
69807
|
*/
|
|
69783
|
-
declare const createBlockchainNode:
|
|
69808
|
+
declare const createBlockchainNode: gql_tada1.TadaDocumentNode<{
|
|
69784
69809
|
createBlockchainNode: {
|
|
69785
69810
|
__typename: "BesuIbftv2BlockchainNode";
|
|
69786
69811
|
id: string;
|
|
@@ -70406,7 +70431,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
70406
70431
|
/**
|
|
70407
70432
|
* Fragment containing core custom deployment fields.
|
|
70408
70433
|
*/
|
|
70409
|
-
declare const CustomDeploymentFragment:
|
|
70434
|
+
declare const CustomDeploymentFragment: gql_tada1.TadaDocumentNode<{
|
|
70410
70435
|
id: string;
|
|
70411
70436
|
uniqueName: string;
|
|
70412
70437
|
name: string;
|
|
@@ -70436,7 +70461,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
70436
70461
|
/**
|
|
70437
70462
|
* Mutation to create a custom deployment.
|
|
70438
70463
|
*/
|
|
70439
|
-
declare const createCustomDeployment:
|
|
70464
|
+
declare const createCustomDeployment: gql_tada1.TadaDocumentNode<{
|
|
70440
70465
|
createCustomDeployment: {
|
|
70441
70466
|
id: string;
|
|
70442
70467
|
uniqueName: string;
|
|
@@ -70536,7 +70561,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
70536
70561
|
/**
|
|
70537
70562
|
* GraphQL fragment containing core insights fields.
|
|
70538
70563
|
*/
|
|
70539
|
-
declare const InsightsFragment:
|
|
70564
|
+
declare const InsightsFragment: gql_tada1.TadaDocumentNode<{
|
|
70540
70565
|
__typename: "BlockchainExplorer";
|
|
70541
70566
|
id: string;
|
|
70542
70567
|
uniqueName: string;
|
|
@@ -70608,7 +70633,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
70608
70633
|
/**
|
|
70609
70634
|
* Mutation to create insights.
|
|
70610
70635
|
*/
|
|
70611
|
-
declare const createInsights:
|
|
70636
|
+
declare const createInsights: gql_tada1.TadaDocumentNode<{
|
|
70612
70637
|
createInsights: {
|
|
70613
70638
|
__typename: "BlockchainExplorer";
|
|
70614
70639
|
id: string;
|
|
@@ -70742,7 +70767,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
70742
70767
|
/**
|
|
70743
70768
|
* GraphQL fragment containing core integration fields.
|
|
70744
70769
|
*/
|
|
70745
|
-
declare const IntegrationFragment:
|
|
70770
|
+
declare const IntegrationFragment: gql_tada1.TadaDocumentNode<{
|
|
70746
70771
|
__typename: "Chainlink";
|
|
70747
70772
|
id: string;
|
|
70748
70773
|
uniqueName: string;
|
|
@@ -70834,7 +70859,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
70834
70859
|
/**
|
|
70835
70860
|
* Mutation to create a new integration.
|
|
70836
70861
|
*/
|
|
70837
|
-
declare const createIntegration:
|
|
70862
|
+
declare const createIntegration: gql_tada1.TadaDocumentNode<{
|
|
70838
70863
|
createIntegration: {
|
|
70839
70864
|
__typename: "Chainlink";
|
|
70840
70865
|
id: string;
|
|
@@ -70984,7 +71009,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
70984
71009
|
/**
|
|
70985
71010
|
* GraphQL fragment containing core load balancer fields.
|
|
70986
71011
|
*/
|
|
70987
|
-
declare const LoadBalancerFragment:
|
|
71012
|
+
declare const LoadBalancerFragment: gql_tada1.TadaDocumentNode<{
|
|
70988
71013
|
__typename: "EVMLoadBalancer";
|
|
70989
71014
|
id: string;
|
|
70990
71015
|
uniqueName: string;
|
|
@@ -71024,7 +71049,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
71024
71049
|
/**
|
|
71025
71050
|
* Mutation to create a load balancer.
|
|
71026
71051
|
*/
|
|
71027
|
-
declare const createLoadBalancer:
|
|
71052
|
+
declare const createLoadBalancer: gql_tada1.TadaDocumentNode<{
|
|
71028
71053
|
createLoadBalancer: {
|
|
71029
71054
|
__typename: "EVMLoadBalancer";
|
|
71030
71055
|
id: string;
|
|
@@ -71125,7 +71150,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
71125
71150
|
/**
|
|
71126
71151
|
* GraphQL fragment containing core middleware fields.
|
|
71127
71152
|
*/
|
|
71128
|
-
declare const MiddlewareFragment:
|
|
71153
|
+
declare const MiddlewareFragment: gql_tada1.TadaDocumentNode<{
|
|
71129
71154
|
__typename: "AttestationIndexerMiddleware";
|
|
71130
71155
|
id: string;
|
|
71131
71156
|
uniqueName: string;
|
|
@@ -71293,7 +71318,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
71293
71318
|
/**
|
|
71294
71319
|
* Query to fetch a specific middleware with subgraphs.
|
|
71295
71320
|
*/
|
|
71296
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
71321
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada1.TadaDocumentNode<{
|
|
71297
71322
|
middlewareByUniqueName: {
|
|
71298
71323
|
__typename: "AttestationIndexerMiddleware";
|
|
71299
71324
|
id: string;
|
|
@@ -71476,7 +71501,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
71476
71501
|
/**
|
|
71477
71502
|
* Mutation to create a new middleware.
|
|
71478
71503
|
*/
|
|
71479
|
-
declare const createMiddleware:
|
|
71504
|
+
declare const createMiddleware: gql_tada1.TadaDocumentNode<{
|
|
71480
71505
|
createMiddleware: {
|
|
71481
71506
|
__typename: "AttestationIndexerMiddleware";
|
|
71482
71507
|
id: string;
|
|
@@ -71721,7 +71746,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
71721
71746
|
/**
|
|
71722
71747
|
* GraphQL query to fetch platform configuration.
|
|
71723
71748
|
*/
|
|
71724
|
-
declare const getPlatformConfigQuery:
|
|
71749
|
+
declare const getPlatformConfigQuery: gql_tada1.TadaDocumentNode<{
|
|
71725
71750
|
config: {
|
|
71726
71751
|
smartContractSets: {
|
|
71727
71752
|
id: string;
|
|
@@ -71778,7 +71803,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
71778
71803
|
/**
|
|
71779
71804
|
* GraphQL fragment containing core private key fields.
|
|
71780
71805
|
*/
|
|
71781
|
-
declare const PrivateKeyFragment:
|
|
71806
|
+
declare const PrivateKeyFragment: gql_tada1.TadaDocumentNode<{
|
|
71782
71807
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71783
71808
|
id: string;
|
|
71784
71809
|
uniqueName: string;
|
|
@@ -71985,7 +72010,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
71985
72010
|
/**
|
|
71986
72011
|
* Mutation to create a new private key.
|
|
71987
72012
|
*/
|
|
71988
|
-
declare const createPrivateKey:
|
|
72013
|
+
declare const createPrivateKey: gql_tada1.TadaDocumentNode<{
|
|
71989
72014
|
createPrivateKey: {
|
|
71990
72015
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71991
72016
|
id: string;
|
|
@@ -72256,7 +72281,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
72256
72281
|
/**
|
|
72257
72282
|
* GraphQL fragment containing core storage fields.
|
|
72258
72283
|
*/
|
|
72259
|
-
declare const StorageFragment:
|
|
72284
|
+
declare const StorageFragment: gql_tada1.TadaDocumentNode<{
|
|
72260
72285
|
__typename: "IPFSStorage";
|
|
72261
72286
|
id: string;
|
|
72262
72287
|
uniqueName: string;
|
|
@@ -72308,7 +72333,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
72308
72333
|
/**
|
|
72309
72334
|
* Mutation to create a new storage.
|
|
72310
72335
|
*/
|
|
72311
|
-
declare const createStorage:
|
|
72336
|
+
declare const createStorage: gql_tada1.TadaDocumentNode<{
|
|
72312
72337
|
createStorage: {
|
|
72313
72338
|
__typename: "IPFSStorage";
|
|
72314
72339
|
id: string;
|
|
@@ -72418,7 +72443,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
72418
72443
|
/**
|
|
72419
72444
|
* GraphQL fragment containing core workspace fields.
|
|
72420
72445
|
*/
|
|
72421
|
-
declare const WorkspaceFragment:
|
|
72446
|
+
declare const WorkspaceFragment: gql_tada1.TadaDocumentNode<{
|
|
72422
72447
|
id: string;
|
|
72423
72448
|
uniqueName: string;
|
|
72424
72449
|
name: string;
|
|
@@ -72439,7 +72464,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
72439
72464
|
/**
|
|
72440
72465
|
* Mutation to create a new workspace.
|
|
72441
72466
|
*/
|
|
72442
|
-
declare const createWorkspace:
|
|
72467
|
+
declare const createWorkspace: gql_tada1.TadaDocumentNode<{
|
|
72443
72468
|
createWorkspace: {
|
|
72444
72469
|
id: string;
|
|
72445
72470
|
uniqueName: string;
|
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
|
}
|