@settlemint/sdk-js 2.4.0-pr392ba72e → 2.4.0-pr3a710612
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 +41 -57
- package/dist/settlemint.d.ts +7 -23
- package/package.json +3 -5
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { Id } from "@settlemint/sdk-utils/validation";
|
|
2
|
-
import * as
|
|
2
|
+
import * as gql_tada0 from "gql.tada";
|
|
3
|
+
import * as gql_tada1 from "gql.tada";
|
|
4
|
+
import * as gql_tada3 from "gql.tada";
|
|
5
|
+
import * as gql_tada5 from "gql.tada";
|
|
6
|
+
import * as gql_tada7 from "gql.tada";
|
|
7
|
+
import * as gql_tada9 from "gql.tada";
|
|
3
8
|
import * as gql_tada11 from "gql.tada";
|
|
4
|
-
import * as
|
|
9
|
+
import * as gql_tada13 from "gql.tada";
|
|
10
|
+
import * as gql_tada15 from "gql.tada";
|
|
11
|
+
import * as gql_tada18 from "gql.tada";
|
|
5
12
|
import * as gql_tada19 from "gql.tada";
|
|
6
|
-
import * as gql_tada17 from "gql.tada";
|
|
7
13
|
import * as gql_tada21 from "gql.tada";
|
|
8
14
|
import * as gql_tada23 from "gql.tada";
|
|
9
|
-
import * as gql_tada2 from "gql.tada";
|
|
10
|
-
import * as gql_tada4 from "gql.tada";
|
|
11
|
-
import * as gql_tada7 from "gql.tada";
|
|
12
|
-
import * as gql_tada0 from "gql.tada";
|
|
13
|
-
import * as gql_tada15 from "gql.tada";
|
|
14
|
-
import * as gql_tada13 from "gql.tada";
|
|
15
15
|
import { ResultOf, VariablesOf } from "gql.tada";
|
|
16
16
|
import { z } from "zod/v4";
|
|
17
17
|
|
|
@@ -9217,14 +9217,6 @@ type introspection_types = {
|
|
|
9217
9217
|
};
|
|
9218
9218
|
};
|
|
9219
9219
|
};
|
|
9220
|
-
'applicationAccessToken': {
|
|
9221
|
-
name: 'applicationAccessToken';
|
|
9222
|
-
type: {
|
|
9223
|
-
kind: 'OBJECT';
|
|
9224
|
-
name: 'ApplicationAccessToken';
|
|
9225
|
-
ofType: null;
|
|
9226
|
-
};
|
|
9227
|
-
};
|
|
9228
9220
|
'applicationId': {
|
|
9229
9221
|
name: 'applicationId';
|
|
9230
9222
|
type: {
|
|
@@ -9332,9 +9324,13 @@ type introspection_types = {
|
|
|
9332
9324
|
'user': {
|
|
9333
9325
|
name: 'user';
|
|
9334
9326
|
type: {
|
|
9335
|
-
kind: '
|
|
9336
|
-
name:
|
|
9337
|
-
ofType:
|
|
9327
|
+
kind: 'NON_NULL';
|
|
9328
|
+
name: never;
|
|
9329
|
+
ofType: {
|
|
9330
|
+
kind: 'OBJECT';
|
|
9331
|
+
name: 'User';
|
|
9332
|
+
ofType: null;
|
|
9333
|
+
};
|
|
9338
9334
|
};
|
|
9339
9335
|
};
|
|
9340
9336
|
'variables': {
|
|
@@ -97956,18 +97952,6 @@ type introspection_types = {
|
|
|
97956
97952
|
};
|
|
97957
97953
|
};
|
|
97958
97954
|
};
|
|
97959
|
-
'validInStripe': {
|
|
97960
|
-
name: 'validInStripe';
|
|
97961
|
-
type: {
|
|
97962
|
-
kind: 'NON_NULL';
|
|
97963
|
-
name: never;
|
|
97964
|
-
ofType: {
|
|
97965
|
-
kind: 'SCALAR';
|
|
97966
|
-
name: 'Boolean';
|
|
97967
|
-
ofType: null;
|
|
97968
|
-
};
|
|
97969
|
-
};
|
|
97970
|
-
};
|
|
97971
97955
|
};
|
|
97972
97956
|
};
|
|
97973
97957
|
'Subgraph': {
|
|
@@ -103799,7 +103783,7 @@ declare module 'gql.tada' {
|
|
|
103799
103783
|
}
|
|
103800
103784
|
//#endregion
|
|
103801
103785
|
//#region src/graphql/application-access-tokens.d.ts
|
|
103802
|
-
declare const createApplicationAccessToken:
|
|
103786
|
+
declare const createApplicationAccessToken: gql_tada0.TadaDocumentNode<{
|
|
103803
103787
|
createApplicationAccessToken: {
|
|
103804
103788
|
token: string | null;
|
|
103805
103789
|
};
|
|
@@ -103862,7 +103846,7 @@ type CreateApplicationAccessTokenArgs = Omit<VariablesOf<typeof createApplicatio
|
|
|
103862
103846
|
/**
|
|
103863
103847
|
* GraphQL fragment containing core application fields.
|
|
103864
103848
|
*/
|
|
103865
|
-
declare const ApplicationFragment:
|
|
103849
|
+
declare const ApplicationFragment: gql_tada1.TadaDocumentNode<{
|
|
103866
103850
|
id: string;
|
|
103867
103851
|
uniqueName: string;
|
|
103868
103852
|
name: string;
|
|
@@ -103883,7 +103867,7 @@ type Application = ResultOf<typeof ApplicationFragment>;
|
|
|
103883
103867
|
/**
|
|
103884
103868
|
* Mutation to create a new application.
|
|
103885
103869
|
*/
|
|
103886
|
-
declare const createApplication:
|
|
103870
|
+
declare const createApplication: gql_tada1.TadaDocumentNode<{
|
|
103887
103871
|
createApplication: {
|
|
103888
103872
|
id: string;
|
|
103889
103873
|
uniqueName: string;
|
|
@@ -103916,7 +103900,7 @@ type CreateApplicationArgs = Omit<VariablesOf<typeof createApplication>, "worksp
|
|
|
103916
103900
|
/**
|
|
103917
103901
|
* Fragment containing core blockchain network fields.
|
|
103918
103902
|
*/
|
|
103919
|
-
declare const BlockchainNetworkFragment:
|
|
103903
|
+
declare const BlockchainNetworkFragment: gql_tada3.TadaDocumentNode<{
|
|
103920
103904
|
__typename: "ArbitrumBlockchainNetwork";
|
|
103921
103905
|
id: string;
|
|
103922
103906
|
uniqueName: string;
|
|
@@ -117263,7 +117247,7 @@ type BlockchainNetwork = ResultOf<typeof BlockchainNetworkFragment>;
|
|
|
117263
117247
|
/**
|
|
117264
117248
|
* Mutation to create a new blockchain network.
|
|
117265
117249
|
*/
|
|
117266
|
-
declare const createBlockchainNetwork:
|
|
117250
|
+
declare const createBlockchainNetwork: gql_tada3.TadaDocumentNode<{
|
|
117267
117251
|
createBlockchainNetwork: {
|
|
117268
117252
|
__typename: "ArbitrumBlockchainNetwork";
|
|
117269
117253
|
id: string;
|
|
@@ -130775,7 +130759,7 @@ type CreateBlockchainNetworkArgs = Omit<VariablesOf<typeof createBlockchainNetwo
|
|
|
130775
130759
|
/**
|
|
130776
130760
|
* Fragment containing core blockchain node fields.
|
|
130777
130761
|
*/
|
|
130778
|
-
declare const BlockchainNodeFragment:
|
|
130762
|
+
declare const BlockchainNodeFragment: gql_tada5.TadaDocumentNode<{
|
|
130779
130763
|
__typename: "ArbitrumBlockchainNode";
|
|
130780
130764
|
id: string;
|
|
130781
130765
|
uniqueName: string;
|
|
@@ -139247,7 +139231,7 @@ type BlockchainNode = ResultOf<typeof BlockchainNodeFragment>;
|
|
|
139247
139231
|
/**
|
|
139248
139232
|
* Mutation to create a blockchain node.
|
|
139249
139233
|
*/
|
|
139250
|
-
declare const createBlockchainNode:
|
|
139234
|
+
declare const createBlockchainNode: gql_tada5.TadaDocumentNode<{
|
|
139251
139235
|
createBlockchainNode: {
|
|
139252
139236
|
__typename: "ArbitrumBlockchainNode";
|
|
139253
139237
|
id: string;
|
|
@@ -147739,7 +147723,7 @@ type CreateBlockchainNodeArgs = Omit<VariablesOf<typeof createBlockchainNode>, "
|
|
|
147739
147723
|
/**
|
|
147740
147724
|
* Fragment containing core custom deployment fields.
|
|
147741
147725
|
*/
|
|
147742
|
-
declare const CustomDeploymentFragment:
|
|
147726
|
+
declare const CustomDeploymentFragment: gql_tada7.TadaDocumentNode<{
|
|
147743
147727
|
id: string;
|
|
147744
147728
|
uniqueName: string;
|
|
147745
147729
|
name: string;
|
|
@@ -147769,7 +147753,7 @@ type CustomDeployment = ResultOf<typeof CustomDeploymentFragment>;
|
|
|
147769
147753
|
/**
|
|
147770
147754
|
* Mutation to create a custom deployment.
|
|
147771
147755
|
*/
|
|
147772
|
-
declare const createCustomDeployment:
|
|
147756
|
+
declare const createCustomDeployment: gql_tada7.TadaDocumentNode<{
|
|
147773
147757
|
createCustomDeployment: {
|
|
147774
147758
|
id: string;
|
|
147775
147759
|
uniqueName: string;
|
|
@@ -147820,7 +147804,7 @@ type CreateCustomDeploymentArgs = Omit<VariablesOf<typeof createCustomDeployment
|
|
|
147820
147804
|
/**
|
|
147821
147805
|
* GraphQL fragment containing core insights fields.
|
|
147822
147806
|
*/
|
|
147823
|
-
declare const InsightsFragment:
|
|
147807
|
+
declare const InsightsFragment: gql_tada9.TadaDocumentNode<{
|
|
147824
147808
|
__typename: "BlockchainExplorer";
|
|
147825
147809
|
id: string;
|
|
147826
147810
|
uniqueName: string;
|
|
@@ -147892,7 +147876,7 @@ type Insights = ResultOf<typeof InsightsFragment>;
|
|
|
147892
147876
|
/**
|
|
147893
147877
|
* Mutation to create insights.
|
|
147894
147878
|
*/
|
|
147895
|
-
declare const createInsights:
|
|
147879
|
+
declare const createInsights: gql_tada9.TadaDocumentNode<{
|
|
147896
147880
|
createInsights: {
|
|
147897
147881
|
__typename: "BlockchainExplorer";
|
|
147898
147882
|
id: string;
|
|
@@ -147985,7 +147969,7 @@ type CreateInsightsArgs = Omit<VariablesOf<typeof createInsights>, "applicationI
|
|
|
147985
147969
|
/**
|
|
147986
147970
|
* GraphQL fragment containing core integration fields.
|
|
147987
147971
|
*/
|
|
147988
|
-
declare const IntegrationFragment:
|
|
147972
|
+
declare const IntegrationFragment: gql_tada11.TadaDocumentNode<{
|
|
147989
147973
|
__typename: "Chainlink";
|
|
147990
147974
|
id: string;
|
|
147991
147975
|
uniqueName: string;
|
|
@@ -148077,7 +148061,7 @@ type IntegrationTool = ResultOf<typeof IntegrationFragment>;
|
|
|
148077
148061
|
/**
|
|
148078
148062
|
* Mutation to create a new integration.
|
|
148079
148063
|
*/
|
|
148080
|
-
declare const createIntegration:
|
|
148064
|
+
declare const createIntegration: gql_tada11.TadaDocumentNode<{
|
|
148081
148065
|
createIntegration: {
|
|
148082
148066
|
__typename: "Chainlink";
|
|
148083
148067
|
id: string;
|
|
@@ -148186,7 +148170,7 @@ type CreateIntegrationToolArgs = Omit<VariablesOf<typeof createIntegration>, "ap
|
|
|
148186
148170
|
/**
|
|
148187
148171
|
* GraphQL fragment containing core load balancer fields.
|
|
148188
148172
|
*/
|
|
148189
|
-
declare const LoadBalancerFragment:
|
|
148173
|
+
declare const LoadBalancerFragment: gql_tada13.TadaDocumentNode<{
|
|
148190
148174
|
__typename: "EVMLoadBalancer";
|
|
148191
148175
|
id: string;
|
|
148192
148176
|
uniqueName: string;
|
|
@@ -148226,7 +148210,7 @@ type LoadBalancer = ResultOf<typeof LoadBalancerFragment>;
|
|
|
148226
148210
|
/**
|
|
148227
148211
|
* Mutation to create a load balancer.
|
|
148228
148212
|
*/
|
|
148229
|
-
declare const createLoadBalancer:
|
|
148213
|
+
declare const createLoadBalancer: gql_tada13.TadaDocumentNode<{
|
|
148230
148214
|
createLoadBalancer: {
|
|
148231
148215
|
__typename: "EVMLoadBalancer";
|
|
148232
148216
|
id: string;
|
|
@@ -148286,7 +148270,7 @@ type CreateLoadBalancerArgs = Omit<VariablesOf<typeof createLoadBalancer>, "appl
|
|
|
148286
148270
|
/**
|
|
148287
148271
|
* GraphQL fragment containing core middleware fields.
|
|
148288
148272
|
*/
|
|
148289
|
-
declare const MiddlewareFragment:
|
|
148273
|
+
declare const MiddlewareFragment: gql_tada15.TadaDocumentNode<{
|
|
148290
148274
|
__typename: "AttestationIndexerMiddleware";
|
|
148291
148275
|
id: string;
|
|
148292
148276
|
uniqueName: string;
|
|
@@ -148453,7 +148437,7 @@ type Middleware = ResultOf<typeof MiddlewareFragment>;
|
|
|
148453
148437
|
/**
|
|
148454
148438
|
* Query to fetch a specific middleware with subgraphs.
|
|
148455
148439
|
*/
|
|
148456
|
-
declare const getGraphMiddlewareSubgraphs:
|
|
148440
|
+
declare const getGraphMiddlewareSubgraphs: gql_tada15.TadaDocumentNode<{
|
|
148457
148441
|
middlewareByUniqueName: {
|
|
148458
148442
|
__typename: "AttestationIndexerMiddleware";
|
|
148459
148443
|
id: string;
|
|
@@ -148628,7 +148612,7 @@ type MiddlewareWithSubgraphs = ResultOf<typeof getGraphMiddlewareSubgraphs>["mid
|
|
|
148628
148612
|
/**
|
|
148629
148613
|
* Mutation to create a new middleware.
|
|
148630
148614
|
*/
|
|
148631
|
-
declare const createMiddleware:
|
|
148615
|
+
declare const createMiddleware: gql_tada15.TadaDocumentNode<{
|
|
148632
148616
|
createMiddleware: {
|
|
148633
148617
|
__typename: "AttestationIndexerMiddleware";
|
|
148634
148618
|
id: string;
|
|
@@ -148823,7 +148807,7 @@ type CreateMiddlewareArgs = Omit<VariablesOf<typeof createMiddleware>, "applicat
|
|
|
148823
148807
|
/**
|
|
148824
148808
|
* GraphQL query to fetch platform configuration.
|
|
148825
148809
|
*/
|
|
148826
|
-
declare const getPlatformConfigQuery:
|
|
148810
|
+
declare const getPlatformConfigQuery: gql_tada18.TadaDocumentNode<{
|
|
148827
148811
|
config: {
|
|
148828
148812
|
smartContractSets: {
|
|
148829
148813
|
id: string;
|
|
@@ -148879,7 +148863,7 @@ type PlatformConfig = ResultOf<typeof getPlatformConfigQuery>["config"];
|
|
|
148879
148863
|
/**
|
|
148880
148864
|
* GraphQL fragment containing core private key fields.
|
|
148881
148865
|
*/
|
|
148882
|
-
declare const PrivateKeyFragment:
|
|
148866
|
+
declare const PrivateKeyFragment: gql_tada19.TadaDocumentNode<{
|
|
148883
148867
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
148884
148868
|
id: string;
|
|
148885
148869
|
uniqueName: string;
|
|
@@ -149521,7 +149505,7 @@ type PrivateKey = ResultOf<typeof PrivateKeyFragment>;
|
|
|
149521
149505
|
/**
|
|
149522
149506
|
* Mutation to create a new private key.
|
|
149523
149507
|
*/
|
|
149524
|
-
declare const createPrivateKey:
|
|
149508
|
+
declare const createPrivateKey: gql_tada19.TadaDocumentNode<{
|
|
149525
149509
|
createPrivateKey: {
|
|
149526
149510
|
__typename: "AccessibleEcdsaP256PrivateKey";
|
|
149527
149511
|
id: string;
|
|
@@ -150186,7 +150170,7 @@ type CreatePrivateKeyArgs = Omit<VariablesOf<typeof createPrivateKey>, "applicat
|
|
|
150186
150170
|
/**
|
|
150187
150171
|
* GraphQL fragment containing core storage fields.
|
|
150188
150172
|
*/
|
|
150189
|
-
declare const StorageFragment:
|
|
150173
|
+
declare const StorageFragment: gql_tada21.TadaDocumentNode<{
|
|
150190
150174
|
__typename: "IPFSStorage";
|
|
150191
150175
|
id: string;
|
|
150192
150176
|
uniqueName: string;
|
|
@@ -150238,7 +150222,7 @@ type Storage = ResultOf<typeof StorageFragment>;
|
|
|
150238
150222
|
/**
|
|
150239
150223
|
* Mutation to create a new storage.
|
|
150240
150224
|
*/
|
|
150241
|
-
declare const createStorage:
|
|
150225
|
+
declare const createStorage: gql_tada21.TadaDocumentNode<{
|
|
150242
150226
|
createStorage: {
|
|
150243
150227
|
__typename: "IPFSStorage";
|
|
150244
150228
|
id: string;
|
|
@@ -150307,7 +150291,7 @@ type CreateStorageArgs = Omit<VariablesOf<typeof createStorage>, "applicationId"
|
|
|
150307
150291
|
/**
|
|
150308
150292
|
* GraphQL fragment containing core workspace fields.
|
|
150309
150293
|
*/
|
|
150310
|
-
declare const WorkspaceFragment:
|
|
150294
|
+
declare const WorkspaceFragment: gql_tada23.TadaDocumentNode<{
|
|
150311
150295
|
id: string;
|
|
150312
150296
|
uniqueName: string;
|
|
150313
150297
|
name: string;
|
|
@@ -150328,7 +150312,7 @@ type Workspace = ResultOf<typeof WorkspaceFragment>;
|
|
|
150328
150312
|
/**
|
|
150329
150313
|
* Mutation to create a new workspace.
|
|
150330
150314
|
*/
|
|
150331
|
-
declare const createWorkspace:
|
|
150315
|
+
declare const createWorkspace: gql_tada23.TadaDocumentNode<{
|
|
150332
150316
|
createWorkspace: {
|
|
150333
150317
|
id: string;
|
|
150334
150318
|
uniqueName: string;
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -9218,14 +9218,6 @@ type introspection_types = {
|
|
|
9218
9218
|
};
|
|
9219
9219
|
};
|
|
9220
9220
|
};
|
|
9221
|
-
'applicationAccessToken': {
|
|
9222
|
-
name: 'applicationAccessToken';
|
|
9223
|
-
type: {
|
|
9224
|
-
kind: 'OBJECT';
|
|
9225
|
-
name: 'ApplicationAccessToken';
|
|
9226
|
-
ofType: null;
|
|
9227
|
-
};
|
|
9228
|
-
};
|
|
9229
9221
|
'applicationId': {
|
|
9230
9222
|
name: 'applicationId';
|
|
9231
9223
|
type: {
|
|
@@ -9333,9 +9325,13 @@ type introspection_types = {
|
|
|
9333
9325
|
'user': {
|
|
9334
9326
|
name: 'user';
|
|
9335
9327
|
type: {
|
|
9336
|
-
kind: '
|
|
9337
|
-
name:
|
|
9338
|
-
ofType:
|
|
9328
|
+
kind: 'NON_NULL';
|
|
9329
|
+
name: never;
|
|
9330
|
+
ofType: {
|
|
9331
|
+
kind: 'OBJECT';
|
|
9332
|
+
name: 'User';
|
|
9333
|
+
ofType: null;
|
|
9334
|
+
};
|
|
9339
9335
|
};
|
|
9340
9336
|
};
|
|
9341
9337
|
'variables': {
|
|
@@ -97957,18 +97953,6 @@ type introspection_types = {
|
|
|
97957
97953
|
};
|
|
97958
97954
|
};
|
|
97959
97955
|
};
|
|
97960
|
-
'validInStripe': {
|
|
97961
|
-
name: 'validInStripe';
|
|
97962
|
-
type: {
|
|
97963
|
-
kind: 'NON_NULL';
|
|
97964
|
-
name: never;
|
|
97965
|
-
ofType: {
|
|
97966
|
-
kind: 'SCALAR';
|
|
97967
|
-
name: 'Boolean';
|
|
97968
|
-
ofType: null;
|
|
97969
|
-
};
|
|
97970
|
-
};
|
|
97971
|
-
};
|
|
97972
97956
|
};
|
|
97973
97957
|
};
|
|
97974
97958
|
'Subgraph': {
|
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-pr3a710612",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"license": "FSL-1.1-MIT",
|
|
@@ -20,9 +20,7 @@
|
|
|
20
20
|
"url": "https://github.com/settlemint/sdk/issues",
|
|
21
21
|
"email": "support@settlemint.com"
|
|
22
22
|
},
|
|
23
|
-
"files": [
|
|
24
|
-
"dist"
|
|
25
|
-
],
|
|
23
|
+
"files": ["dist"],
|
|
26
24
|
"main": "./dist/settlemint.cjs",
|
|
27
25
|
"module": "./dist/settlemint.js",
|
|
28
26
|
"types": "./dist/settlemint.d.ts",
|
|
@@ -57,7 +55,7 @@
|
|
|
57
55
|
"gql.tada": "^1",
|
|
58
56
|
"graphql-request": "^7",
|
|
59
57
|
"zod": "^3.25.0",
|
|
60
|
-
"@settlemint/sdk-utils": "2.4.0-
|
|
58
|
+
"@settlemint/sdk-utils": "2.4.0-pr3a710612"
|
|
61
59
|
},
|
|
62
60
|
"peerDependencies": {},
|
|
63
61
|
"engines": {
|