@settlemint/sdk-js 2.6.1-pr7c5f0f3f → 2.6.1
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";
|
|
@@ -104160,7 +104160,7 @@ declare const graphql: initGraphQLTada<{
|
|
|
104160
104160
|
/**
|
|
104161
104161
|
* GraphQL fragment containing core application fields.
|
|
104162
104162
|
*/
|
|
104163
|
-
declare const ApplicationFragment:
|
|
104163
|
+
declare const ApplicationFragment: gql_tada0.TadaDocumentNode<{
|
|
104164
104164
|
id: string;
|
|
104165
104165
|
uniqueName: string;
|
|
104166
104166
|
name: string;
|
|
@@ -104181,7 +104181,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
104181
104181
|
/**
|
|
104182
104182
|
* Mutation to create a new application.
|
|
104183
104183
|
*/
|
|
104184
|
-
declare const createApplication:
|
|
104184
|
+
declare const createApplication: gql_tada0.TadaDocumentNode<{
|
|
104185
104185
|
createApplication: {
|
|
104186
104186
|
id: string;
|
|
104187
104187
|
uniqueName: string;
|
|
@@ -104236,7 +104236,7 @@ declare const applicationCreate: (gqlClient: GraphQLClient) => (args: CreateAppl
|
|
|
104236
104236
|
declare const applicationDelete: (gqlClient: GraphQLClient) => (applicationUniqueName: string) => Promise<Application>;
|
|
104237
104237
|
//#endregion
|
|
104238
104238
|
//#region src/graphql/application-access-tokens.d.ts
|
|
104239
|
-
declare const createApplicationAccessToken:
|
|
104239
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
104240
104240
|
createApplicationAccessToken: {
|
|
104241
104241
|
token: string | null;
|
|
104242
104242
|
};
|
|
@@ -104300,7 +104300,7 @@ declare const applicationAccessTokenCreate: (gqlClient: GraphQLClient) => (args:
|
|
|
104300
104300
|
/**
|
|
104301
104301
|
* Fragment containing core blockchain network fields.
|
|
104302
104302
|
*/
|
|
104303
|
-
declare const BlockchainNetworkFragment:
|
|
104303
|
+
declare const BlockchainNetworkFragment: gql_tada0.TadaDocumentNode<{
|
|
104304
104304
|
__typename: "ArbitrumBlockchainNetwork";
|
|
104305
104305
|
id: string;
|
|
104306
104306
|
uniqueName: string;
|
|
@@ -117647,7 +117647,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117647
117647
|
/**
|
|
117648
117648
|
* Mutation to create a new blockchain network.
|
|
117649
117649
|
*/
|
|
117650
|
-
declare const createBlockchainNetwork:
|
|
117650
|
+
declare const createBlockchainNetwork: gql_tada0.TadaDocumentNode<{
|
|
117651
117651
|
createBlockchainNetwork: {
|
|
117652
117652
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117653
117653
|
id: string;
|
|
@@ -171228,7 +171228,7 @@ declare const blockchainNetworkResume: (gqlClient: GraphQLClient) => (blockchain
|
|
|
171228
171228
|
/**
|
|
171229
171229
|
* Fragment containing core blockchain node fields.
|
|
171230
171230
|
*/
|
|
171231
|
-
declare const BlockchainNodeFragment:
|
|
171231
|
+
declare const BlockchainNodeFragment: gql_tada0.TadaDocumentNode<{
|
|
171232
171232
|
__typename: "ArbitrumBlockchainNode";
|
|
171233
171233
|
id: string;
|
|
171234
171234
|
uniqueName: string;
|
|
@@ -179700,7 +179700,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
179700
179700
|
/**
|
|
179701
179701
|
* Mutation to create a blockchain node.
|
|
179702
179702
|
*/
|
|
179703
|
-
declare const createBlockchainNode:
|
|
179703
|
+
declare const createBlockchainNode: gql_tada0.TadaDocumentNode<{
|
|
179704
179704
|
createBlockchainNode: {
|
|
179705
179705
|
__typename: "ArbitrumBlockchainNode";
|
|
179706
179706
|
id: string;
|
|
@@ -188233,7 +188233,7 @@ declare const blockchainNodeResume: (gqlClient: GraphQLClient) => (blockchainNod
|
|
|
188233
188233
|
/**
|
|
188234
188234
|
* Fragment containing core custom deployment fields.
|
|
188235
188235
|
*/
|
|
188236
|
-
declare const CustomDeploymentFragment:
|
|
188236
|
+
declare const CustomDeploymentFragment: gql_tada0.TadaDocumentNode<{
|
|
188237
188237
|
id: string;
|
|
188238
188238
|
uniqueName: string;
|
|
188239
188239
|
name: string;
|
|
@@ -188263,7 +188263,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
188263
188263
|
/**
|
|
188264
188264
|
* Mutation to create a custom deployment.
|
|
188265
188265
|
*/
|
|
188266
|
-
declare const createCustomDeployment:
|
|
188266
|
+
declare const createCustomDeployment: gql_tada0.TadaDocumentNode<{
|
|
188267
188267
|
createCustomDeployment: {
|
|
188268
188268
|
id: string;
|
|
188269
188269
|
uniqueName: string;
|
|
@@ -188363,7 +188363,7 @@ declare const customDeploymentResume: (gqlClient: GraphQLClient) => (customDeplo
|
|
|
188363
188363
|
/**
|
|
188364
188364
|
* GraphQL fragment containing core insights fields.
|
|
188365
188365
|
*/
|
|
188366
|
-
declare const InsightsFragment:
|
|
188366
|
+
declare const InsightsFragment: gql_tada0.TadaDocumentNode<{
|
|
188367
188367
|
__typename: "BlockchainExplorer";
|
|
188368
188368
|
id: string;
|
|
188369
188369
|
uniqueName: string;
|
|
@@ -188435,7 +188435,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
188435
188435
|
/**
|
|
188436
188436
|
* Mutation to create insights.
|
|
188437
188437
|
*/
|
|
188438
|
-
declare const createInsights:
|
|
188438
|
+
declare const createInsights: gql_tada0.TadaDocumentNode<{
|
|
188439
188439
|
createInsights: {
|
|
188440
188440
|
__typename: "BlockchainExplorer";
|
|
188441
188441
|
id: string;
|
|
@@ -188569,7 +188569,7 @@ declare const insightsResume: (gqlClient: GraphQLClient) => (insightsUniqueName:
|
|
|
188569
188569
|
/**
|
|
188570
188570
|
* GraphQL fragment containing core integration fields.
|
|
188571
188571
|
*/
|
|
188572
|
-
declare const IntegrationFragment:
|
|
188572
|
+
declare const IntegrationFragment: gql_tada0.TadaDocumentNode<{
|
|
188573
188573
|
__typename: "Chainlink";
|
|
188574
188574
|
id: string;
|
|
188575
188575
|
uniqueName: string;
|
|
@@ -188661,7 +188661,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
188661
188661
|
/**
|
|
188662
188662
|
* Mutation to create a new integration.
|
|
188663
188663
|
*/
|
|
188664
|
-
declare const createIntegration:
|
|
188664
|
+
declare const createIntegration: gql_tada0.TadaDocumentNode<{
|
|
188665
188665
|
createIntegration: {
|
|
188666
188666
|
__typename: "Chainlink";
|
|
188667
188667
|
id: string;
|
|
@@ -188811,7 +188811,7 @@ declare const integrationToolResume: (gqlClient: GraphQLClient) => (integrationU
|
|
|
188811
188811
|
/**
|
|
188812
188812
|
* GraphQL fragment containing core load balancer fields.
|
|
188813
188813
|
*/
|
|
188814
|
-
declare const LoadBalancerFragment:
|
|
188814
|
+
declare const LoadBalancerFragment: gql_tada0.TadaDocumentNode<{
|
|
188815
188815
|
__typename: "EVMLoadBalancer";
|
|
188816
188816
|
id: string;
|
|
188817
188817
|
uniqueName: string;
|
|
@@ -188851,7 +188851,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
188851
188851
|
/**
|
|
188852
188852
|
* Mutation to create a load balancer.
|
|
188853
188853
|
*/
|
|
188854
|
-
declare const createLoadBalancer:
|
|
188854
|
+
declare const createLoadBalancer: gql_tada0.TadaDocumentNode<{
|
|
188855
188855
|
createLoadBalancer: {
|
|
188856
188856
|
__typename: "EVMLoadBalancer";
|
|
188857
188857
|
id: string;
|
|
@@ -188952,7 +188952,7 @@ declare const loadBalancerResume: (gqlClient: GraphQLClient) => (loadBalancerUni
|
|
|
188952
188952
|
/**
|
|
188953
188953
|
* GraphQL fragment containing core middleware fields.
|
|
188954
188954
|
*/
|
|
188955
|
-
declare const MiddlewareFragment:
|
|
188955
|
+
declare const MiddlewareFragment: gql_tada0.TadaDocumentNode<{
|
|
188956
188956
|
__typename: "AttestationIndexerMiddleware";
|
|
188957
188957
|
id: string;
|
|
188958
188958
|
uniqueName: string;
|
|
@@ -189120,7 +189120,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
189120
189120
|
/**
|
|
189121
189121
|
* Query to fetch a specific middleware with subgraphs.
|
|
189122
189122
|
*/
|
|
189123
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
189123
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada0.TadaDocumentNode<{
|
|
189124
189124
|
middlewareByUniqueName: {
|
|
189125
189125
|
__typename: "AttestationIndexerMiddleware";
|
|
189126
189126
|
id: string;
|
|
@@ -189303,7 +189303,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
189303
189303
|
/**
|
|
189304
189304
|
* Mutation to create a new middleware.
|
|
189305
189305
|
*/
|
|
189306
|
-
declare const createMiddleware:
|
|
189306
|
+
declare const createMiddleware: gql_tada0.TadaDocumentNode<{
|
|
189307
189307
|
createMiddleware: {
|
|
189308
189308
|
__typename: "AttestationIndexerMiddleware";
|
|
189309
189309
|
id: string;
|
|
@@ -189548,7 +189548,7 @@ declare const middlewareResume: (gqlClient: GraphQLClient) => (middlewareUniqueN
|
|
|
189548
189548
|
/**
|
|
189549
189549
|
* GraphQL query to fetch platform configuration.
|
|
189550
189550
|
*/
|
|
189551
|
-
declare const getPlatformConfigQuery:
|
|
189551
|
+
declare const getPlatformConfigQuery: gql_tada0.TadaDocumentNode<{
|
|
189552
189552
|
config: {
|
|
189553
189553
|
smartContractSets: {
|
|
189554
189554
|
id: string;
|
|
@@ -189605,7 +189605,7 @@ declare const getPlatformConfig: (gqlClient: GraphQLClient) => () => Promise<Pla
|
|
|
189605
189605
|
/**
|
|
189606
189606
|
* GraphQL fragment containing core private key fields.
|
|
189607
189607
|
*/
|
|
189608
|
-
declare const PrivateKeyFragment:
|
|
189608
|
+
declare const PrivateKeyFragment: gql_tada0.TadaDocumentNode<{
|
|
189609
189609
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
189610
189610
|
id: string;
|
|
189611
189611
|
uniqueName: string;
|
|
@@ -190247,7 +190247,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
190247
190247
|
/**
|
|
190248
190248
|
* Mutation to create a new private key.
|
|
190249
190249
|
*/
|
|
190250
|
-
declare const createPrivateKey:
|
|
190250
|
+
declare const createPrivateKey: gql_tada0.TadaDocumentNode<{
|
|
190251
190251
|
createPrivateKey: {
|
|
190252
190252
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
190253
190253
|
id: string;
|
|
@@ -190953,7 +190953,7 @@ declare const privateKeyResume: (gqlClient: GraphQLClient) => (privateKeyUniqueN
|
|
|
190953
190953
|
/**
|
|
190954
190954
|
* GraphQL fragment containing core storage fields.
|
|
190955
190955
|
*/
|
|
190956
|
-
declare const StorageFragment:
|
|
190956
|
+
declare const StorageFragment: gql_tada0.TadaDocumentNode<{
|
|
190957
190957
|
__typename: "IPFSStorage";
|
|
190958
190958
|
id: string;
|
|
190959
190959
|
uniqueName: string;
|
|
@@ -191005,7 +191005,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
191005
191005
|
/**
|
|
191006
191006
|
* Mutation to create a new storage.
|
|
191007
191007
|
*/
|
|
191008
|
-
declare const createStorage:
|
|
191008
|
+
declare const createStorage: gql_tada0.TadaDocumentNode<{
|
|
191009
191009
|
createStorage: {
|
|
191010
191010
|
__typename: "IPFSStorage";
|
|
191011
191011
|
id: string;
|
|
@@ -191115,7 +191115,7 @@ declare const storageResume: (gqlClient: GraphQLClient) => (storageUniqueName: s
|
|
|
191115
191115
|
/**
|
|
191116
191116
|
* GraphQL fragment containing core workspace fields.
|
|
191117
191117
|
*/
|
|
191118
|
-
declare const WorkspaceFragment:
|
|
191118
|
+
declare const WorkspaceFragment: gql_tada0.TadaDocumentNode<{
|
|
191119
191119
|
id: string;
|
|
191120
191120
|
uniqueName: string;
|
|
191121
191121
|
name: string;
|
|
@@ -191136,7 +191136,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
191136
191136
|
/**
|
|
191137
191137
|
* Mutation to create a new workspace.
|
|
191138
191138
|
*/
|
|
191139
|
-
declare const createWorkspace:
|
|
191139
|
+
declare const createWorkspace: gql_tada0.TadaDocumentNode<{
|
|
191140
191140
|
createWorkspace: {
|
|
191141
191141
|
id: string;
|
|
191142
191142
|
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.1
|
|
4
|
+
"version": "2.6.1",
|
|
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.1
|
|
57
|
+
"@settlemint/sdk-utils": "2.6.1",
|
|
58
58
|
"gql.tada": "^1",
|
|
59
59
|
"graphql": "^16",
|
|
60
60
|
"graphql-request": "^7",
|