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