@settlemint/sdk-js 2.3.1-prfcd3c3b5 → 2.3.2
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/README.md +19 -19
- package/dist/settlemint.cjs +5 -5
- package/dist/settlemint.cjs.map +1 -1
- package/dist/settlemint.d.cts +2 -10
- package/dist/settlemint.d.ts +2 -10
- package/dist/settlemint.mjs +2 -2
- package/dist/settlemint.mjs.map +1 -1
- package/package.json +3 -3
package/dist/settlemint.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Id } from '@settlemint/sdk-utils/validation';
|
|
2
2
|
import * as gql_tada from 'gql.tada';
|
|
3
3
|
import { VariablesOf, ResultOf } from 'gql.tada';
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from 'zod/v4';
|
|
5
5
|
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
/* prettier-ignore */
|
|
@@ -46777,17 +46777,9 @@ type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
|
46777
46777
|
* Schema for validating SettleMint client options.
|
|
46778
46778
|
*/
|
|
46779
46779
|
declare const ClientOptionsSchema: z.ZodObject<{
|
|
46780
|
-
/** The access token used to authenticate with the SettleMint platform */
|
|
46781
46780
|
accessToken: z.ZodString;
|
|
46782
|
-
/** The URL of the SettleMint instance to connect to */
|
|
46783
46781
|
instance: z.ZodString;
|
|
46784
|
-
},
|
|
46785
|
-
accessToken: string;
|
|
46786
|
-
instance: string;
|
|
46787
|
-
}, {
|
|
46788
|
-
accessToken: string;
|
|
46789
|
-
instance: string;
|
|
46790
|
-
}>;
|
|
46782
|
+
}, z.core.$strip>;
|
|
46791
46783
|
/**
|
|
46792
46784
|
* Type definition for SettleMint client options, inferred from ClientOptionsSchema.
|
|
46793
46785
|
*/
|
package/dist/settlemint.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Id } from '@settlemint/sdk-utils/validation';
|
|
2
2
|
import * as gql_tada from 'gql.tada';
|
|
3
3
|
import { VariablesOf, ResultOf } from 'gql.tada';
|
|
4
|
-
import { z } from 'zod';
|
|
4
|
+
import { z } from 'zod/v4';
|
|
5
5
|
|
|
6
6
|
/* eslint-disable */
|
|
7
7
|
/* prettier-ignore */
|
|
@@ -46777,17 +46777,9 @@ type CreateWorkspaceArgs = VariablesOf<typeof createWorkspace>;
|
|
|
46777
46777
|
* Schema for validating SettleMint client options.
|
|
46778
46778
|
*/
|
|
46779
46779
|
declare const ClientOptionsSchema: z.ZodObject<{
|
|
46780
|
-
/** The access token used to authenticate with the SettleMint platform */
|
|
46781
46780
|
accessToken: z.ZodString;
|
|
46782
|
-
/** The URL of the SettleMint instance to connect to */
|
|
46783
46781
|
instance: z.ZodString;
|
|
46784
|
-
},
|
|
46785
|
-
accessToken: string;
|
|
46786
|
-
instance: string;
|
|
46787
|
-
}, {
|
|
46788
|
-
accessToken: string;
|
|
46789
|
-
instance: string;
|
|
46790
|
-
}>;
|
|
46782
|
+
}, z.core.$strip>;
|
|
46791
46783
|
/**
|
|
46792
46784
|
* Type definition for SettleMint client options, inferred from ClientOptionsSchema.
|
|
46793
46785
|
*/
|
package/dist/settlemint.mjs
CHANGED
|
@@ -3,7 +3,7 @@ import { fetchWithRetry } from "@settlemint/sdk-utils/http";
|
|
|
3
3
|
import { ensureServer } from "@settlemint/sdk-utils/runtime";
|
|
4
4
|
import { validate as validate2 } from "@settlemint/sdk-utils/validation";
|
|
5
5
|
import { GraphQLClient } from "graphql-request";
|
|
6
|
-
import { z as z2 } from "zod";
|
|
6
|
+
import { z as z2 } from "zod/v4";
|
|
7
7
|
|
|
8
8
|
// src/helpers/graphql.ts
|
|
9
9
|
import { initGraphQLTada } from "gql.tada";
|
|
@@ -1717,7 +1717,7 @@ var privateKeyRestart = (gqlClient) => async (privateKeyUniqueName) => {
|
|
|
1717
1717
|
|
|
1718
1718
|
// src/helpers/client-options.schema.ts
|
|
1719
1719
|
import { AccessTokenSchema, UrlSchema } from "@settlemint/sdk-utils/validation";
|
|
1720
|
-
import { z } from "zod";
|
|
1720
|
+
import { z } from "zod/v4";
|
|
1721
1721
|
var ClientOptionsSchema = z.object({
|
|
1722
1722
|
/** The access token used to authenticate with the SettleMint platform */
|
|
1723
1723
|
accessToken: AccessTokenSchema,
|