@settlemint/sdk-js 2.6.0-pr1f094253 → 2.6.0
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 +26 -26
- 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";
|
|
@@ -104152,7 +104152,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
104152
104152
|
/**
|
|
104153
104153
|
* GraphQL fragment containing core application fields.
|
|
104154
104154
|
*/
|
|
104155
|
-
declare const ApplicationFragment:
|
|
104155
|
+
declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
|
|
104156
104156
|
id: string;
|
|
104157
104157
|
uniqueName: string;
|
|
104158
104158
|
name: string;
|
|
@@ -104173,7 +104173,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
104173
104173
|
/**
|
|
104174
104174
|
* Mutation to create a new application.
|
|
104175
104175
|
*/
|
|
104176
|
-
declare const createApplication:
|
|
104176
|
+
declare const createApplication: gql_tada0.TadaDocumentNode<{
|
|
104177
104177
|
createApplication: {
|
|
104178
104178
|
id: string;
|
|
104179
104179
|
uniqueName: string;
|
|
@@ -104228,7 +104228,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
104228
104228
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
104229
104229
|
//#endregion
|
|
104230
104230
|
//#region src/graphql/application-access-tokens.d.ts
|
|
104231
|
-
declare const createApplicationAccessToken:
|
|
104231
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
104232
104232
|
createApplicationAccessToken: {
|
|
104233
104233
|
token: string | null;
|
|
104234
104234
|
};
|
|
@@ -104292,7 +104292,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
104292
104292
|
/**
|
|
104293
104293
|
* Fragment containing core blockchain network fields.
|
|
104294
104294
|
*/
|
|
104295
|
-
declare const BlockchainNetworkFragment:
|
|
104295
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
104296
104296
|
__typename: "ArbitrumBlockchainNetwork";
|
|
104297
104297
|
id: string;
|
|
104298
104298
|
uniqueName: string;
|
|
@@ -117639,7 +117639,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117639
117639
|
/**
|
|
117640
117640
|
* Mutation to create a new blockchain network.
|
|
117641
117641
|
*/
|
|
117642
|
-
declare const createBlockchainNetwork:
|
|
117642
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
117643
117643
|
createBlockchainNetwork: {
|
|
117644
117644
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117645
117645
|
id: string;
|
|
@@ -171220,7 +171220,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
171220
171220
|
/**
|
|
171221
171221
|
* Fragment containing core blockchain node fields.
|
|
171222
171222
|
*/
|
|
171223
|
-
declare const BlockchainNodeFragment:
|
|
171223
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
171224
171224
|
__typename: "ArbitrumBlockchainNode";
|
|
171225
171225
|
id: string;
|
|
171226
171226
|
uniqueName: string;
|
|
@@ -179692,7 +179692,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179692
179692
|
/**
|
|
179693
179693
|
* Mutation to create a blockchain node.
|
|
179694
179694
|
*/
|
|
179695
|
-
declare const createBlockchainNode:
|
|
179695
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
179696
179696
|
createBlockchainNode: {
|
|
179697
179697
|
__typename: "ArbitrumBlockchainNode";
|
|
179698
179698
|
id: string;
|
|
@@ -188225,7 +188225,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
188225
188225
|
/**
|
|
188226
188226
|
* Fragment containing core custom deployment fields.
|
|
188227
188227
|
*/
|
|
188228
|
-
declare const CustomDeploymentFragment:
|
|
188228
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
188229
188229
|
id: string;
|
|
188230
188230
|
uniqueName: string;
|
|
188231
188231
|
name: string;
|
|
@@ -188255,7 +188255,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
188255
188255
|
/**
|
|
188256
188256
|
* Mutation to create a custom deployment.
|
|
188257
188257
|
*/
|
|
188258
|
-
declare const createCustomDeployment:
|
|
188258
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
188259
188259
|
createCustomDeployment: {
|
|
188260
188260
|
id: string;
|
|
188261
188261
|
uniqueName: string;
|
|
@@ -188355,7 +188355,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188355
188355
|
/**
|
|
188356
188356
|
* GraphQL fragment containing core insights fields.
|
|
188357
188357
|
*/
|
|
188358
|
-
declare const InsightsFragment:
|
|
188358
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
188359
188359
|
__typename: "BlockchainExplorer";
|
|
188360
188360
|
id: string;
|
|
188361
188361
|
uniqueName: string;
|
|
@@ -188427,7 +188427,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188427
188427
|
/**
|
|
188428
188428
|
* Mutation to create insights.
|
|
188429
188429
|
*/
|
|
188430
|
-
declare const createInsights:
|
|
188430
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
188431
188431
|
createInsights: {
|
|
188432
188432
|
__typename: "BlockchainExplorer";
|
|
188433
188433
|
id: string;
|
|
@@ -188561,7 +188561,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188561
188561
|
/**
|
|
188562
188562
|
* GraphQL fragment containing core integration fields.
|
|
188563
188563
|
*/
|
|
188564
|
-
declare const IntegrationFragment:
|
|
188564
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
188565
188565
|
__typename: "Chainlink";
|
|
188566
188566
|
id: string;
|
|
188567
188567
|
uniqueName: string;
|
|
@@ -188653,7 +188653,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188653
188653
|
/**
|
|
188654
188654
|
* Mutation to create a new integration.
|
|
188655
188655
|
*/
|
|
188656
|
-
declare const createIntegration:
|
|
188656
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
188657
188657
|
createIntegration: {
|
|
188658
188658
|
__typename: "Chainlink";
|
|
188659
188659
|
id: string;
|
|
@@ -188803,7 +188803,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188803
188803
|
/**
|
|
188804
188804
|
* GraphQL fragment containing core load balancer fields.
|
|
188805
188805
|
*/
|
|
188806
|
-
declare const LoadBalancerFragment:
|
|
188806
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
188807
188807
|
__typename: "EVMLoadBalancer";
|
|
188808
188808
|
id: string;
|
|
188809
188809
|
uniqueName: string;
|
|
@@ -188843,7 +188843,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188843
188843
|
/**
|
|
188844
188844
|
* Mutation to create a load balancer.
|
|
188845
188845
|
*/
|
|
188846
|
-
declare const createLoadBalancer:
|
|
188846
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
188847
188847
|
createLoadBalancer: {
|
|
188848
188848
|
__typename: "EVMLoadBalancer";
|
|
188849
188849
|
id: string;
|
|
@@ -188944,7 +188944,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188944
188944
|
/**
|
|
188945
188945
|
* GraphQL fragment containing core middleware fields.
|
|
188946
188946
|
*/
|
|
188947
|
-
declare const MiddlewareFragment:
|
|
188947
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
188948
188948
|
__typename: "AttestationIndexerMiddleware";
|
|
188949
188949
|
id: string;
|
|
188950
188950
|
uniqueName: string;
|
|
@@ -189112,7 +189112,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
189112
189112
|
/**
|
|
189113
189113
|
* Query to fetch a specific middleware with subgraphs.
|
|
189114
189114
|
*/
|
|
189115
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
189115
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
189116
189116
|
middlewareByUniqueName: {
|
|
189117
189117
|
__typename: "AttestationIndexerMiddleware";
|
|
189118
189118
|
id: string;
|
|
@@ -189295,7 +189295,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
189295
189295
|
/**
|
|
189296
189296
|
* Mutation to create a new middleware.
|
|
189297
189297
|
*/
|
|
189298
|
-
declare const createMiddleware:
|
|
189298
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
189299
189299
|
createMiddleware: {
|
|
189300
189300
|
__typename: "AttestationIndexerMiddleware";
|
|
189301
189301
|
id: string;
|
|
@@ -189540,7 +189540,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189540
189540
|
/**
|
|
189541
189541
|
* GraphQL query to fetch platform configuration.
|
|
189542
189542
|
*/
|
|
189543
|
-
declare const getPlatformConfigQuery:
|
|
189543
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
189544
189544
|
config: {
|
|
189545
189545
|
smartContractSets: {
|
|
189546
189546
|
id: string;
|
|
@@ -189597,7 +189597,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189597
189597
|
/**
|
|
189598
189598
|
* GraphQL fragment containing core private key fields.
|
|
189599
189599
|
*/
|
|
189600
|
-
declare const PrivateKeyFragment:
|
|
189600
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
189601
189601
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189602
189602
|
id: string;
|
|
189603
189603
|
uniqueName: string;
|
|
@@ -190239,7 +190239,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
190239
190239
|
/**
|
|
190240
190240
|
* Mutation to create a new private key.
|
|
190241
190241
|
*/
|
|
190242
|
-
declare const createPrivateKey:
|
|
190242
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
190243
190243
|
createPrivateKey: {
|
|
190244
190244
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
190245
190245
|
id: string;
|
|
@@ -190945,7 +190945,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190945
190945
|
/**
|
|
190946
190946
|
* GraphQL fragment containing core storage fields.
|
|
190947
190947
|
*/
|
|
190948
|
-
declare const StorageFragment:
|
|
190948
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
190949
190949
|
__typename: "IPFSStorage";
|
|
190950
190950
|
id: string;
|
|
190951
190951
|
uniqueName: string;
|
|
@@ -190997,7 +190997,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
190997
190997
|
/**
|
|
190998
190998
|
* Mutation to create a new storage.
|
|
190999
190999
|
*/
|
|
191000
|
-
declare const createStorage:
|
|
191000
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
191001
191001
|
createStorage: {
|
|
191002
191002
|
__typename: "IPFSStorage";
|
|
191003
191003
|
id: string;
|
|
@@ -191107,7 +191107,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
191107
191107
|
/**
|
|
191108
191108
|
* GraphQL fragment containing core workspace fields.
|
|
191109
191109
|
*/
|
|
191110
|
-
declare const WorkspaceFragment:
|
|
191110
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
191111
191111
|
id: string;
|
|
191112
191112
|
uniqueName: string;
|
|
191113
191113
|
name: string;
|
|
@@ -191128,7 +191128,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
191128
191128
|
/**
|
|
191129
191129
|
* Mutation to create a new workspace.
|
|
191130
191130
|
*/
|
|
191131
|
-
declare const createWorkspace:
|
|
191131
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
191132
191132
|
createWorkspace: {
|
|
191133
191133
|
id: string;
|
|
191134
191134
|
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.6.0
|
|
4
|
+
"version": "2.6.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@settlemint/sdk-utils": "2.6.0
|
|
57
|
+
"@settlemint/sdk-utils": "2.6.0",
|
|
58
58
|
"gql.tada": "^1",
|
|
59
59
|
"graphql": "^16",
|
|
60
60
|
"graphql-request": "^7",
|