@settlemint/sdk-js 2.6.2-pra8d42bc6 → 2.6.2-prbcb9b987
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 +35 -26
- package/dist/settlemint.d.ts +9 -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_tada15 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";
|
|
@@ -17651,6 +17651,14 @@ type introspection_types = {
|
|
|
17651
17651
|
};
|
|
17652
17652
|
};
|
|
17653
17653
|
defaultValue: null;
|
|
17654
|
+
}, {
|
|
17655
|
+
name: 'preloadDatabaseSchema';
|
|
17656
|
+
type: {
|
|
17657
|
+
kind: 'SCALAR';
|
|
17658
|
+
name: 'Boolean';
|
|
17659
|
+
ofType: null;
|
|
17660
|
+
};
|
|
17661
|
+
defaultValue: null;
|
|
17654
17662
|
}, {
|
|
17655
17663
|
name: 'productName';
|
|
17656
17664
|
type: {
|
|
@@ -65364,7 +65372,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
65364
65372
|
/**
|
|
65365
65373
|
* GraphQL fragment containing core application fields.
|
|
65366
65374
|
*/
|
|
65367
|
-
declare const ApplicationFragment:
|
|
65375
|
+
declare const ApplicationFragment: gql_tada15.TadaDocumentNode<{
|
|
65368
65376
|
id: string;
|
|
65369
65377
|
uniqueName: string;
|
|
65370
65378
|
name: string;
|
|
@@ -65385,7 +65393,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
65385
65393
|
/**
|
|
65386
65394
|
* Mutation to create a new application.
|
|
65387
65395
|
*/
|
|
65388
|
-
declare const createApplication:
|
|
65396
|
+
declare const createApplication: gql_tada15.TadaDocumentNode<{
|
|
65389
65397
|
createApplication: {
|
|
65390
65398
|
id: string;
|
|
65391
65399
|
uniqueName: string;
|
|
@@ -65440,7 +65448,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
65440
65448
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
65441
65449
|
//#endregion
|
|
65442
65450
|
//#region src/graphql/application-access-tokens.d.ts
|
|
65443
|
-
declare const createApplicationAccessToken:
|
|
65451
|
+
declare const createApplicationAccessToken: gql_tada15.TadaDocumentNode<{
|
|
65444
65452
|
createApplicationAccessToken: {
|
|
65445
65453
|
token: string | null;
|
|
65446
65454
|
};
|
|
@@ -65504,7 +65512,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
65504
65512
|
/**
|
|
65505
65513
|
* Fragment containing core blockchain network fields.
|
|
65506
65514
|
*/
|
|
65507
|
-
declare const BlockchainNetworkFragment:
|
|
65515
|
+
declare const BlockchainNetworkFragment: gql_tada15.TadaDocumentNode<{
|
|
65508
65516
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
65509
65517
|
id: string;
|
|
65510
65518
|
uniqueName: string;
|
|
@@ -66402,7 +66410,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
66402
66410
|
/**
|
|
66403
66411
|
* Mutation to create a new blockchain network.
|
|
66404
66412
|
*/
|
|
66405
|
-
declare const createBlockchainNetwork:
|
|
66413
|
+
declare const createBlockchainNetwork: gql_tada15.TadaDocumentNode<{
|
|
66406
66414
|
createBlockchainNetwork: {
|
|
66407
66415
|
__typename: "BesuIbftv2BlockchainNetwork";
|
|
66408
66416
|
id: string;
|
|
@@ -66969,6 +66977,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
66969
66977
|
})[];
|
|
66970
66978
|
};
|
|
66971
66979
|
}, {
|
|
66980
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66972
66981
|
privateKeyId?: string | null | undefined;
|
|
66973
66982
|
externalNodes?: {
|
|
66974
66983
|
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | null | undefined;
|
|
@@ -68899,7 +68908,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
68899
68908
|
/**
|
|
68900
68909
|
* Fragment containing core blockchain node fields.
|
|
68901
68910
|
*/
|
|
68902
|
-
declare const BlockchainNodeFragment:
|
|
68911
|
+
declare const BlockchainNodeFragment: gql_tada15.TadaDocumentNode<{
|
|
68903
68912
|
__typename: "BesuIbftv2BlockchainNode";
|
|
68904
68913
|
id: string;
|
|
68905
68914
|
uniqueName: string;
|
|
@@ -69780,7 +69789,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
69780
69789
|
/**
|
|
69781
69790
|
* Mutation to create a blockchain node.
|
|
69782
69791
|
*/
|
|
69783
|
-
declare const createBlockchainNode:
|
|
69792
|
+
declare const createBlockchainNode: gql_tada15.TadaDocumentNode<{
|
|
69784
69793
|
createBlockchainNode: {
|
|
69785
69794
|
__typename: "BesuIbftv2BlockchainNode";
|
|
69786
69795
|
id: string;
|
|
@@ -70406,7 +70415,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
70406
70415
|
/**
|
|
70407
70416
|
* Fragment containing core custom deployment fields.
|
|
70408
70417
|
*/
|
|
70409
|
-
declare const CustomDeploymentFragment:
|
|
70418
|
+
declare const CustomDeploymentFragment: gql_tada15.TadaDocumentNode<{
|
|
70410
70419
|
id: string;
|
|
70411
70420
|
uniqueName: string;
|
|
70412
70421
|
name: string;
|
|
@@ -70436,7 +70445,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
70436
70445
|
/**
|
|
70437
70446
|
* Mutation to create a custom deployment.
|
|
70438
70447
|
*/
|
|
70439
|
-
declare const createCustomDeployment:
|
|
70448
|
+
declare const createCustomDeployment: gql_tada15.TadaDocumentNode<{
|
|
70440
70449
|
createCustomDeployment: {
|
|
70441
70450
|
id: string;
|
|
70442
70451
|
uniqueName: string;
|
|
@@ -70536,7 +70545,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
70536
70545
|
/**
|
|
70537
70546
|
* GraphQL fragment containing core insights fields.
|
|
70538
70547
|
*/
|
|
70539
|
-
declare const InsightsFragment:
|
|
70548
|
+
declare const InsightsFragment: gql_tada15.TadaDocumentNode<{
|
|
70540
70549
|
__typename: "BlockchainExplorer";
|
|
70541
70550
|
id: string;
|
|
70542
70551
|
uniqueName: string;
|
|
@@ -70608,7 +70617,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
70608
70617
|
/**
|
|
70609
70618
|
* Mutation to create insights.
|
|
70610
70619
|
*/
|
|
70611
|
-
declare const createInsights:
|
|
70620
|
+
declare const createInsights: gql_tada15.TadaDocumentNode<{
|
|
70612
70621
|
createInsights: {
|
|
70613
70622
|
__typename: "BlockchainExplorer";
|
|
70614
70623
|
id: string;
|
|
@@ -70742,7 +70751,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
70742
70751
|
/**
|
|
70743
70752
|
* GraphQL fragment containing core integration fields.
|
|
70744
70753
|
*/
|
|
70745
|
-
declare const IntegrationFragment:
|
|
70754
|
+
declare const IntegrationFragment: gql_tada15.TadaDocumentNode<{
|
|
70746
70755
|
__typename: "Chainlink";
|
|
70747
70756
|
id: string;
|
|
70748
70757
|
uniqueName: string;
|
|
@@ -70834,7 +70843,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
70834
70843
|
/**
|
|
70835
70844
|
* Mutation to create a new integration.
|
|
70836
70845
|
*/
|
|
70837
|
-
declare const createIntegration:
|
|
70846
|
+
declare const createIntegration: gql_tada15.TadaDocumentNode<{
|
|
70838
70847
|
createIntegration: {
|
|
70839
70848
|
__typename: "Chainlink";
|
|
70840
70849
|
id: string;
|
|
@@ -70984,7 +70993,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
70984
70993
|
/**
|
|
70985
70994
|
* GraphQL fragment containing core load balancer fields.
|
|
70986
70995
|
*/
|
|
70987
|
-
declare const LoadBalancerFragment:
|
|
70996
|
+
declare const LoadBalancerFragment: gql_tada15.TadaDocumentNode<{
|
|
70988
70997
|
__typename: "EVMLoadBalancer";
|
|
70989
70998
|
id: string;
|
|
70990
70999
|
uniqueName: string;
|
|
@@ -71024,7 +71033,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
71024
71033
|
/**
|
|
71025
71034
|
* Mutation to create a load balancer.
|
|
71026
71035
|
*/
|
|
71027
|
-
declare const createLoadBalancer:
|
|
71036
|
+
declare const createLoadBalancer: gql_tada15.TadaDocumentNode<{
|
|
71028
71037
|
createLoadBalancer: {
|
|
71029
71038
|
__typename: "EVMLoadBalancer";
|
|
71030
71039
|
id: string;
|
|
@@ -71125,7 +71134,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
71125
71134
|
/**
|
|
71126
71135
|
* GraphQL fragment containing core middleware fields.
|
|
71127
71136
|
*/
|
|
71128
|
-
declare const MiddlewareFragment:
|
|
71137
|
+
declare const MiddlewareFragment: gql_tada15.TadaDocumentNode<{
|
|
71129
71138
|
__typename: "AttestationIndexerMiddleware";
|
|
71130
71139
|
id: string;
|
|
71131
71140
|
uniqueName: string;
|
|
@@ -71293,7 +71302,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
71293
71302
|
/**
|
|
71294
71303
|
* Query to fetch a specific middleware with subgraphs.
|
|
71295
71304
|
*/
|
|
71296
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
71305
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada15.TadaDocumentNode<{
|
|
71297
71306
|
middlewareByUniqueName: {
|
|
71298
71307
|
__typename: "AttestationIndexerMiddleware";
|
|
71299
71308
|
id: string;
|
|
@@ -71476,7 +71485,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
71476
71485
|
/**
|
|
71477
71486
|
* Mutation to create a new middleware.
|
|
71478
71487
|
*/
|
|
71479
|
-
declare const createMiddleware:
|
|
71488
|
+
declare const createMiddleware: gql_tada15.TadaDocumentNode<{
|
|
71480
71489
|
createMiddleware: {
|
|
71481
71490
|
__typename: "AttestationIndexerMiddleware";
|
|
71482
71491
|
id: string;
|
|
@@ -71721,7 +71730,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
71721
71730
|
/**
|
|
71722
71731
|
* GraphQL query to fetch platform configuration.
|
|
71723
71732
|
*/
|
|
71724
|
-
declare const getPlatformConfigQuery:
|
|
71733
|
+
declare const getPlatformConfigQuery: gql_tada15.TadaDocumentNode<{
|
|
71725
71734
|
config: {
|
|
71726
71735
|
smartContractSets: {
|
|
71727
71736
|
id: string;
|
|
@@ -71778,7 +71787,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
71778
71787
|
/**
|
|
71779
71788
|
* GraphQL fragment containing core private key fields.
|
|
71780
71789
|
*/
|
|
71781
|
-
declare const PrivateKeyFragment:
|
|
71790
|
+
declare const PrivateKeyFragment: gql_tada15.TadaDocumentNode<{
|
|
71782
71791
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71783
71792
|
id: string;
|
|
71784
71793
|
uniqueName: string;
|
|
@@ -71985,7 +71994,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
71985
71994
|
/**
|
|
71986
71995
|
* Mutation to create a new private key.
|
|
71987
71996
|
*/
|
|
71988
|
-
declare const createPrivateKey:
|
|
71997
|
+
declare const createPrivateKey: gql_tada15.TadaDocumentNode<{
|
|
71989
71998
|
createPrivateKey: {
|
|
71990
71999
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
71991
72000
|
id: string;
|
|
@@ -72256,7 +72265,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
72256
72265
|
/**
|
|
72257
72266
|
* GraphQL fragment containing core storage fields.
|
|
72258
72267
|
*/
|
|
72259
|
-
declare const StorageFragment:
|
|
72268
|
+
declare const StorageFragment: gql_tada15.TadaDocumentNode<{
|
|
72260
72269
|
__typename: "IPFSStorage";
|
|
72261
72270
|
id: string;
|
|
72262
72271
|
uniqueName: string;
|
|
@@ -72308,7 +72317,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
72308
72317
|
/**
|
|
72309
72318
|
* Mutation to create a new storage.
|
|
72310
72319
|
*/
|
|
72311
|
-
declare const createStorage:
|
|
72320
|
+
declare const createStorage: gql_tada15.TadaDocumentNode<{
|
|
72312
72321
|
createStorage: {
|
|
72313
72322
|
__typename: "IPFSStorage";
|
|
72314
72323
|
id: string;
|
|
@@ -72418,7 +72427,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
72418
72427
|
/**
|
|
72419
72428
|
* GraphQL fragment containing core workspace fields.
|
|
72420
72429
|
*/
|
|
72421
|
-
declare const WorkspaceFragment:
|
|
72430
|
+
declare const WorkspaceFragment: gql_tada15.TadaDocumentNode<{
|
|
72422
72431
|
id: string;
|
|
72423
72432
|
uniqueName: string;
|
|
72424
72433
|
name: string;
|
|
@@ -72439,7 +72448,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
72439
72448
|
/**
|
|
72440
72449
|
* Mutation to create a new workspace.
|
|
72441
72450
|
*/
|
|
72442
|
-
declare const createWorkspace:
|
|
72451
|
+
declare const createWorkspace: gql_tada15.TadaDocumentNode<{
|
|
72443
72452
|
createWorkspace: {
|
|
72444
72453
|
id: string;
|
|
72445
72454
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -17651,6 +17651,14 @@ type introspection_types = {
|
|
|
17651
17651
|
};
|
|
17652
17652
|
};
|
|
17653
17653
|
defaultValue: null;
|
|
17654
|
+
}, {
|
|
17655
|
+
name: 'preloadDatabaseSchema';
|
|
17656
|
+
type: {
|
|
17657
|
+
kind: 'SCALAR';
|
|
17658
|
+
name: 'Boolean';
|
|
17659
|
+
ofType: null;
|
|
17660
|
+
};
|
|
17661
|
+
defaultValue: null;
|
|
17654
17662
|
}, {
|
|
17655
17663
|
name: 'productName';
|
|
17656
17664
|
type: {
|
|
@@ -66969,6 +66977,7 @@ declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
|
66969
66977
|
})[];
|
|
66970
66978
|
};
|
|
66971
66979
|
}, {
|
|
66980
|
+
includePredeployedContracts?: boolean | null | undefined;
|
|
66972
66981
|
privateKeyId?: string | null | undefined;
|
|
66973
66982
|
externalNodes?: {
|
|
66974
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
|
}
|