@settlemint/sdk-js 2.4.0-pr5eab7b31 → 2.4.0-pr5f5458f6
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.d.cts +36 -36
- package/package.json +2 -2
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/* SettleMint SDK - Main Package */
|
|
2
2
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
3
|
-
import * as gql_tada12 from "gql.tada";
|
|
4
|
-
import * as gql_tada20 from "gql.tada";
|
|
5
|
-
import * as gql_tada21 from "gql.tada";
|
|
6
|
-
import * as gql_tada16 from "gql.tada";
|
|
7
|
-
import * as gql_tada14 from "gql.tada";
|
|
8
|
-
import * as gql_tada18 from "gql.tada";
|
|
9
|
-
import * as gql_tada23 from "gql.tada";
|
|
10
3
|
import * as gql_tada0 from "gql.tada";
|
|
11
4
|
import * as gql_tada2 from "gql.tada";
|
|
5
|
+
import * as gql_tada3 from "gql.tada";
|
|
12
6
|
import * as gql_tada5 from "gql.tada";
|
|
13
|
-
import * as
|
|
14
|
-
import * as
|
|
15
|
-
import * as
|
|
7
|
+
import * as gql_tada7 from "gql.tada";
|
|
8
|
+
import * as gql_tada9 from "gql.tada";
|
|
9
|
+
import * as gql_tada11 from "gql.tada";
|
|
10
|
+
import * as gql_tada13 from "gql.tada";
|
|
11
|
+
import * as gql_tada15 from "gql.tada";
|
|
12
|
+
import * as gql_tada18 from "gql.tada";
|
|
13
|
+
import * as gql_tada19 from "gql.tada";
|
|
14
|
+
import * as gql_tada21 from "gql.tada";
|
|
15
|
+
import * as gql_tada23 from "gql.tada";
|
|
16
16
|
import { ResultOf, VariablesOf, initGraphQLTada } from "gql.tada";
|
|
17
17
|
import { GraphQLClient } from "graphql-request";
|
|
18
18
|
import { z } from "zod/v4";
|
|
@@ -103824,7 +103824,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
103824
103824
|
/**
|
|
103825
103825
|
* GraphQL fragment containing core application fields.
|
|
103826
103826
|
*/
|
|
103827
|
-
declare const ApplicationFragment:
|
|
103827
|
+
declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
|
|
103828
103828
|
id: string;
|
|
103829
103829
|
uniqueName: string;
|
|
103830
103830
|
name: string;
|
|
@@ -103845,7 +103845,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
103845
103845
|
/**
|
|
103846
103846
|
* Mutation to create a new application.
|
|
103847
103847
|
*/
|
|
103848
|
-
declare const createApplication:
|
|
103848
|
+
declare const createApplication: gql_tada0.TadaDocumentNode<{
|
|
103849
103849
|
createApplication: {
|
|
103850
103850
|
id: string;
|
|
103851
103851
|
uniqueName: string;
|
|
@@ -103900,7 +103900,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
103900
103900
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
103901
103901
|
//#endregion
|
|
103902
103902
|
//#region src/graphql/application-access-tokens.d.ts
|
|
103903
|
-
declare const createApplicationAccessToken:
|
|
103903
|
+
declare const createApplicationAccessToken: gql_tada2.TadaDocumentNode<{
|
|
103904
103904
|
createApplicationAccessToken: {
|
|
103905
103905
|
token: string | null;
|
|
103906
103906
|
};
|
|
@@ -103964,7 +103964,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
103964
103964
|
/**
|
|
103965
103965
|
* Fragment containing core blockchain network fields.
|
|
103966
103966
|
*/
|
|
103967
|
-
declare const BlockchainNetworkFragment:
|
|
103967
|
+
declare const BlockchainNetworkFragment: gql_tada3.TadaDocumentNode<{
|
|
103968
103968
|
__typename: "ArbitrumBlockchainNetwork";
|
|
103969
103969
|
id: string;
|
|
103970
103970
|
uniqueName: string;
|
|
@@ -117311,7 +117311,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117311
117311
|
/**
|
|
117312
117312
|
* Mutation to create a new blockchain network.
|
|
117313
117313
|
*/
|
|
117314
|
-
declare const createBlockchainNetwork:
|
|
117314
|
+
declare const createBlockchainNetwork: gql_tada3.TadaDocumentNode<{
|
|
117315
117315
|
createBlockchainNetwork: {
|
|
117316
117316
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117317
117317
|
id: string;
|
|
@@ -170877,7 +170877,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
170877
170877
|
/**
|
|
170878
170878
|
* Fragment containing core blockchain node fields.
|
|
170879
170879
|
*/
|
|
170880
|
-
declare const BlockchainNodeFragment:
|
|
170880
|
+
declare const BlockchainNodeFragment: gql_tada5.TadaDocumentNode<{
|
|
170881
170881
|
__typename: "ArbitrumBlockchainNode";
|
|
170882
170882
|
id: string;
|
|
170883
170883
|
uniqueName: string;
|
|
@@ -179349,7 +179349,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179349
179349
|
/**
|
|
179350
179350
|
* Mutation to create a blockchain node.
|
|
179351
179351
|
*/
|
|
179352
|
-
declare const createBlockchainNode:
|
|
179352
|
+
declare const createBlockchainNode: gql_tada5.TadaDocumentNode<{
|
|
179353
179353
|
createBlockchainNode: {
|
|
179354
179354
|
__typename: "ArbitrumBlockchainNode";
|
|
179355
179355
|
id: string;
|
|
@@ -187813,7 +187813,7 @@ declare const createBlockchainNode: gql_tada16.TadaDocumentNode<{
|
|
|
187813
187813
|
};
|
|
187814
187814
|
}, {
|
|
187815
187815
|
keyMaterial?: string | null | undefined;
|
|
187816
|
-
nodeType?: "NON_VALIDATOR" | "
|
|
187816
|
+
nodeType?: "NON_VALIDATOR" | "VALIDATOR" | "NOTARY" | "ORDERER" | "PEER" | "UNSPECIFIED" | null | undefined;
|
|
187817
187817
|
type?: "DEDICATED" | "SHARED" | null | undefined;
|
|
187818
187818
|
size?: "CUSTOM" | "LARGE" | "MEDIUM" | "SMALL" | null | undefined;
|
|
187819
187819
|
region: string;
|
|
@@ -187882,7 +187882,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
187882
187882
|
/**
|
|
187883
187883
|
* Fragment containing core custom deployment fields.
|
|
187884
187884
|
*/
|
|
187885
|
-
declare const CustomDeploymentFragment:
|
|
187885
|
+
declare const CustomDeploymentFragment: gql_tada7.TadaDocumentNode<{
|
|
187886
187886
|
id: string;
|
|
187887
187887
|
uniqueName: string;
|
|
187888
187888
|
name: string;
|
|
@@ -187912,7 +187912,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
187912
187912
|
/**
|
|
187913
187913
|
* Mutation to create a custom deployment.
|
|
187914
187914
|
*/
|
|
187915
|
-
declare const createCustomDeployment:
|
|
187915
|
+
declare const createCustomDeployment: gql_tada7.TadaDocumentNode<{
|
|
187916
187916
|
createCustomDeployment: {
|
|
187917
187917
|
id: string;
|
|
187918
187918
|
uniqueName: string;
|
|
@@ -188012,7 +188012,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188012
188012
|
/**
|
|
188013
188013
|
* GraphQL fragment containing core insights fields.
|
|
188014
188014
|
*/
|
|
188015
|
-
declare const InsightsFragment:
|
|
188015
|
+
declare const InsightsFragment: gql_tada9.TadaDocumentNode<{
|
|
188016
188016
|
__typename: "BlockchainExplorer";
|
|
188017
188017
|
id: string;
|
|
188018
188018
|
uniqueName: string;
|
|
@@ -188084,7 +188084,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188084
188084
|
/**
|
|
188085
188085
|
* Mutation to create insights.
|
|
188086
188086
|
*/
|
|
188087
|
-
declare const createInsights:
|
|
188087
|
+
declare const createInsights: gql_tada9.TadaDocumentNode<{
|
|
188088
188088
|
createInsights: {
|
|
188089
188089
|
__typename: "BlockchainExplorer";
|
|
188090
188090
|
id: string;
|
|
@@ -188218,7 +188218,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188218
188218
|
/**
|
|
188219
188219
|
* GraphQL fragment containing core integration fields.
|
|
188220
188220
|
*/
|
|
188221
|
-
declare const IntegrationFragment:
|
|
188221
|
+
declare const IntegrationFragment: gql_tada11.TadaDocumentNode<{
|
|
188222
188222
|
__typename: "Chainlink";
|
|
188223
188223
|
id: string;
|
|
188224
188224
|
uniqueName: string;
|
|
@@ -188310,7 +188310,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188310
188310
|
/**
|
|
188311
188311
|
* Mutation to create a new integration.
|
|
188312
188312
|
*/
|
|
188313
|
-
declare const createIntegration:
|
|
188313
|
+
declare const createIntegration: gql_tada11.TadaDocumentNode<{
|
|
188314
188314
|
createIntegration: {
|
|
188315
188315
|
__typename: "Chainlink";
|
|
188316
188316
|
id: string;
|
|
@@ -188460,7 +188460,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188460
188460
|
/**
|
|
188461
188461
|
* GraphQL fragment containing core load balancer fields.
|
|
188462
188462
|
*/
|
|
188463
|
-
declare const LoadBalancerFragment:
|
|
188463
|
+
declare const LoadBalancerFragment: gql_tada13.TadaDocumentNode<{
|
|
188464
188464
|
__typename: "EVMLoadBalancer";
|
|
188465
188465
|
id: string;
|
|
188466
188466
|
uniqueName: string;
|
|
@@ -188500,7 +188500,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188500
188500
|
/**
|
|
188501
188501
|
* Mutation to create a load balancer.
|
|
188502
188502
|
*/
|
|
188503
|
-
declare const createLoadBalancer:
|
|
188503
|
+
declare const createLoadBalancer: gql_tada13.TadaDocumentNode<{
|
|
188504
188504
|
createLoadBalancer: {
|
|
188505
188505
|
__typename: "EVMLoadBalancer";
|
|
188506
188506
|
id: string;
|
|
@@ -188601,7 +188601,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188601
188601
|
/**
|
|
188602
188602
|
* GraphQL fragment containing core middleware fields.
|
|
188603
188603
|
*/
|
|
188604
|
-
declare const MiddlewareFragment:
|
|
188604
|
+
declare const MiddlewareFragment: gql_tada15.TadaDocumentNode<{
|
|
188605
188605
|
__typename: "AttestationIndexerMiddleware";
|
|
188606
188606
|
id: string;
|
|
188607
188607
|
uniqueName: string;
|
|
@@ -188768,7 +188768,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
188768
188768
|
/**
|
|
188769
188769
|
* Query to fetch a specific middleware with subgraphs.
|
|
188770
188770
|
*/
|
|
188771
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
188771
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada15.TadaDocumentNode<{
|
|
188772
188772
|
middlewareByUniqueName: {
|
|
188773
188773
|
__typename: "AttestationIndexerMiddleware";
|
|
188774
188774
|
id: string;
|
|
@@ -188943,7 +188943,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
188943
188943
|
/**
|
|
188944
188944
|
* Mutation to create a new middleware.
|
|
188945
188945
|
*/
|
|
188946
|
-
declare const createMiddleware:
|
|
188946
|
+
declare const createMiddleware: gql_tada15.TadaDocumentNode<{
|
|
188947
188947
|
createMiddleware: {
|
|
188948
188948
|
__typename: "AttestationIndexerMiddleware";
|
|
188949
188949
|
id: string;
|
|
@@ -189187,7 +189187,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189187
189187
|
/**
|
|
189188
189188
|
* GraphQL query to fetch platform configuration.
|
|
189189
189189
|
*/
|
|
189190
|
-
declare const getPlatformConfigQuery:
|
|
189190
|
+
declare const getPlatformConfigQuery: gql_tada18.TadaDocumentNode<{
|
|
189191
189191
|
config: {
|
|
189192
189192
|
smartContractSets: {
|
|
189193
189193
|
id: string;
|
|
@@ -189244,7 +189244,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189244
189244
|
/**
|
|
189245
189245
|
* GraphQL fragment containing core private key fields.
|
|
189246
189246
|
*/
|
|
189247
|
-
declare const PrivateKeyFragment:
|
|
189247
|
+
declare const PrivateKeyFragment: gql_tada19.TadaDocumentNode<{
|
|
189248
189248
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189249
189249
|
id: string;
|
|
189250
189250
|
uniqueName: string;
|
|
@@ -189886,7 +189886,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
189886
189886
|
/**
|
|
189887
189887
|
* Mutation to create a new private key.
|
|
189888
189888
|
*/
|
|
189889
|
-
declare const createPrivateKey:
|
|
189889
|
+
declare const createPrivateKey: gql_tada19.TadaDocumentNode<{
|
|
189890
189890
|
createPrivateKey: {
|
|
189891
189891
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189892
189892
|
id: string;
|
|
@@ -190592,7 +190592,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190592
190592
|
/**
|
|
190593
190593
|
* GraphQL fragment containing core storage fields.
|
|
190594
190594
|
*/
|
|
190595
|
-
declare const StorageFragment:
|
|
190595
|
+
declare const StorageFragment: gql_tada21.TadaDocumentNode<{
|
|
190596
190596
|
__typename: "IPFSStorage";
|
|
190597
190597
|
id: string;
|
|
190598
190598
|
uniqueName: string;
|
|
@@ -190644,7 +190644,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
190644
190644
|
/**
|
|
190645
190645
|
* Mutation to create a new storage.
|
|
190646
190646
|
*/
|
|
190647
|
-
declare const createStorage:
|
|
190647
|
+
declare const createStorage: gql_tada21.TadaDocumentNode<{
|
|
190648
190648
|
createStorage: {
|
|
190649
190649
|
__typename: "IPFSStorage";
|
|
190650
190650
|
id: string;
|
|
@@ -190754,7 +190754,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
190754
190754
|
/**
|
|
190755
190755
|
* GraphQL fragment containing core workspace fields.
|
|
190756
190756
|
*/
|
|
190757
|
-
declare const WorkspaceFragment:
|
|
190757
|
+
declare const WorkspaceFragment: gql_tada23.TadaDocumentNode<{
|
|
190758
190758
|
id: string;
|
|
190759
190759
|
uniqueName: string;
|
|
190760
190760
|
name: string;
|
|
@@ -190775,7 +190775,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
190775
190775
|
/**
|
|
190776
190776
|
* Mutation to create a new workspace.
|
|
190777
190777
|
*/
|
|
190778
|
-
declare const createWorkspace:
|
|
190778
|
+
declare const createWorkspace: gql_tada23.TadaDocumentNode<{
|
|
190779
190779
|
createWorkspace: {
|
|
190780
190780
|
id: string;
|
|
190781
190781
|
uniqueName: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/sdk-js",
|
|
3
3
|
"description": "Core JavaScript SDK for integrating SettleMint's blockchain platform services into your applications",
|
|
4
|
-
"version": "2.4.0-
|
|
4
|
+
"version": "2.4.0-pr5f5458f6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"gql.tada": "^1",
|
|
58
58
|
"graphql-request": "^7",
|
|
59
59
|
"zod": "^3.25.0",
|
|
60
|
-
"@settlemint/sdk-utils": "2.4.0-
|
|
60
|
+
"@settlemint/sdk-utils": "2.4.0-pr5f5458f6"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {},
|
|
63
63
|
"engines": {
|