@settlemint/sdk-js 2.3.1-preadc0b8c → 2.3.1-preecf4e66

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.
@@ -27,7 +27,7 @@ var import_http = require("@settlemint/sdk-utils/http");
27
27
  var import_runtime = require("@settlemint/sdk-utils/runtime");
28
28
  var import_validation3 = require("@settlemint/sdk-utils/validation");
29
29
  var import_graphql_request = require("graphql-request");
30
- var import_zod2 = require("zod");
30
+ var import_v42 = require("zod/v4");
31
31
 
32
32
  // src/helpers/graphql.ts
33
33
  var import_gql = require("gql.tada");
@@ -1741,8 +1741,8 @@ var privateKeyRestart = (gqlClient) => async (privateKeyUniqueName) => {
1741
1741
 
1742
1742
  // src/helpers/client-options.schema.ts
1743
1743
  var import_validation2 = require("@settlemint/sdk-utils/validation");
1744
- var import_zod = require("zod");
1745
- var ClientOptionsSchema = import_zod.z.object({
1744
+ var import_v4 = require("zod/v4");
1745
+ var ClientOptionsSchema = import_v4.z.object({
1746
1746
  /** The access token used to authenticate with the SettleMint platform */
1747
1747
  accessToken: import_validation2.AccessTokenSchema,
1748
1748
  /** The URL of the SettleMint instance to connect to */
@@ -1798,9 +1798,9 @@ function getPincodeVerificationChallengeResponse({
1798
1798
  function createSettleMintClient(options) {
1799
1799
  (0, import_runtime.ensureServer)();
1800
1800
  const validatedOptions = options.anonymous ? (0, import_validation3.validate)(
1801
- import_zod2.z.object({
1801
+ import_v42.z.object({
1802
1802
  ...ClientOptionsSchema.shape,
1803
- accessToken: import_zod2.z.literal("")
1803
+ accessToken: import_v42.z.literal("")
1804
1804
  }),
1805
1805
  options
1806
1806
  ) : (0, import_validation3.validate)(ClientOptionsSchema, options);