@settlemint/dalp-sdk 3.1.7-main.32875427761 → 3.1.7-main.32902678663

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/auth.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  SDK_USER_AGENT,
3
3
  createCookieStoreFetch,
4
4
  makeCookieStore
5
- } from "./chunk-m5hbb5nt.js";
5
+ } from "./chunk-wrt1t4j7.js";
6
6
  import {
7
7
  normalizeDalpBaseUrl,
8
8
  secret,
package/dist/bundler.js CHANGED
@@ -10,9 +10,9 @@ import {
10
10
  v2TransactionsBundlerGetUserOperationByHash,
11
11
  v2TransactionsBundlerGetUserOperationReceipt,
12
12
  v2TransactionsBundlerSendUserOperation
13
- } from "./chunk-vy9za6nh.js";
13
+ } from "./chunk-ch5rzeqw.js";
14
14
  import"./chunk-w21k7p99.js";
15
- import"./chunk-684qmpwn.js";
15
+ import"./chunk-5hq4j6km.js";
16
16
  import"./chunk-h12fatty.js";
17
17
  import"./chunk-y0d2c7kp.js";
18
18
 
@@ -1464,7 +1464,8 @@ var zGovernancePreflightOutput = z.strictObject({
1464
1464
  grantRoleCta: z.strictObject({
1465
1465
  tokenAddress: zEvmAddress13,
1466
1466
  role: z.enum(["governance"]),
1467
- grantee: zEvmAddress13
1467
+ grantee: zEvmAddress13,
1468
+ callerCanGrant: z.boolean()
1468
1469
  }).nullable()
1469
1470
  });
1470
1471
  var zGovernancePreflightOutputResponse = z.strictObject({
@@ -2174,7 +2174,7 @@ import {
2174
2174
  zWebhooksUpdatePath,
2175
2175
  zWebhooksUpdateQuery,
2176
2176
  zWebhooksUpdateResponse
2177
- } from "./chunk-684qmpwn.js";
2177
+ } from "./chunk-5hq4j6km.js";
2178
2178
  // src/generated/core/params.gen.ts
2179
2179
  var extraPrefixesMap = {
2180
2180
  $body_: "body",
@@ -102,7 +102,7 @@ function createCookieStoreFetch(cookieStore, fetchImpl = globalThis.fetch) {
102
102
  // package.json
103
103
  var package_default = {
104
104
  name: "@settlemint/dalp-sdk",
105
- version: "3.1.7-main.32875427761",
105
+ version: "3.1.7-main.32902678663",
106
106
  private: false,
107
107
  description: "Fully typed SDK for the DALP tokenization platform API",
108
108
  homepage: "https://settlemint.com",
@@ -2057,6 +2057,10 @@ export type GovernancePreflightOutput = {
2057
2057
  tokenAddress: EvmAddress13;
2058
2058
  role: 'governance';
2059
2059
  grantee: EvmAddress13;
2060
+ /**
2061
+ * Whether the caller's effective wallet holds the token administrator role that the grant requires. False means only a token administrator can perform the remediation.
2062
+ */
2063
+ callerCanGrant: boolean;
2060
2064
  } | null;
2061
2065
  };
2062
2066
  /**
@@ -36107,7 +36111,8 @@ export type V2GovernancePreflightsCreateErrors = {
36107
36111
  *
36108
36112
  * - The chain header is invalid. Send a supported chain id.
36109
36113
  * - The requested chain is unavailable to the active organization. Select an available chain.
36110
- * - The chain id is not valid. Send a supported EVM chain id. | This response has one of these causes:
36114
+ * - The chain id is not valid. Send a supported EVM chain id.
36115
+ * - The requested executor is invalid. Select another one. | This response has one of these causes:
36111
36116
  *
36112
36117
  * - The chain header is invalid. Send a supported chain id.
36113
36118
  * - The requested chain is unavailable to the active organization. Select an available chain.
@@ -36130,6 +36135,13 @@ export type V2GovernancePreflightsCreateErrors = {
36130
36135
  * - The executor chain was not found. Select another chain. | The organization has no system on this chain. Deploy one first.
36131
36136
  */
36132
36137
  404: DalpPublicHttpError404;
36138
+ /**
36139
+ * This response has one of these causes:
36140
+ *
36141
+ * - Account abstraction is disabled. Use an enabled executor.
36142
+ * - The requested executor is unavailable. Select another one.
36143
+ */
36144
+ 409: DalpPublicHttpError409;
36133
36145
  /**
36134
36146
  * The Platform API could not complete the request because of an unexpected server failure. Retry later and include the `X-Request-Id` from this response if you contact support.
36135
36147
  */
@@ -36148,6 +36160,7 @@ export type V2GovernancePreflightsCreateErrors = {
36148
36160
  * - The executor chain configuration is invalid. Repair it.
36149
36161
  * - The executor chain is disabled. Enable it first.
36150
36162
  * - The executor chain RPC failed. Restore it, then retry.
36163
+ * - The participant wallet could not be resolved. Retry later.
36151
36164
  * - A database query failed. Restore database access, then retry.
36152
36165
  * - A database operation failed. Restore database access, then retry.
36153
36166
  * - The indexed portfolio data this route needs could not be read, so the platform returned no result. The failure is retryable: send the same request again after a short delay. This status describes the store, not the payload. | This response has one of these causes:
@@ -3572,6 +3572,7 @@ export declare const zGovernancePreflightOutput: z.ZodObject<{
3572
3572
  governance: "governance";
3573
3573
  }>;
3574
3574
  grantee: z.ZodString;
3575
+ callerCanGrant: z.ZodBoolean;
3575
3576
  }, z.core.$strict>>;
3576
3577
  }, z.core.$strict>;
3577
3578
  /**
@@ -3595,6 +3596,7 @@ export declare const zGovernancePreflightOutputResponse: z.ZodObject<{
3595
3596
  governance: "governance";
3596
3597
  }>;
3597
3598
  grantee: z.ZodString;
3599
+ callerCanGrant: z.ZodBoolean;
3598
3600
  }, z.core.$strict>>;
3599
3601
  }, z.core.$strict>;
3600
3602
  links: z.ZodObject<{
@@ -81013,6 +81015,7 @@ export declare const zV2GovernancePreflightsCreateResponse: z.ZodObject<{
81013
81015
  governance: "governance";
81014
81016
  }>;
81015
81017
  grantee: z.ZodString;
81018
+ callerCanGrant: z.ZodBoolean;
81016
81019
  }, z.core.$strict>>;
81017
81020
  }, z.core.$strict>;
81018
81021
  links: z.ZodObject<{
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  SDK_VERSION,
4
4
  createCookieStoreFetch,
5
5
  makeCookieStore
6
- } from "./chunk-m5hbb5nt.js";
6
+ } from "./chunk-wrt1t4j7.js";
7
7
  import {
8
8
  clearConditionalRequestStore,
9
9
  createDalpClient,
@@ -807,7 +807,7 @@ import {
807
807
  webhooksStats,
808
808
  webhooksTestEvents,
809
809
  webhooksUpdate
810
- } from "./chunk-vy9za6nh.js";
810
+ } from "./chunk-ch5rzeqw.js";
811
811
  import {
812
812
  createClient,
813
813
  createConfig,
@@ -816,7 +816,7 @@ import {
816
816
  mergeHeaders,
817
817
  urlSearchParamsBodySerializer
818
818
  } from "./chunk-w21k7p99.js";
819
- import"./chunk-684qmpwn.js";
819
+ import"./chunk-5hq4j6km.js";
820
820
  export {
821
821
  adminListUserSessions,
822
822
  adminUpdateUser,
@@ -798,9 +798,9 @@ import {
798
798
  webhooksStats,
799
799
  webhooksTestEvents,
800
800
  webhooksUpdate
801
- } from "./chunk-vy9za6nh.js";
801
+ } from "./chunk-ch5rzeqw.js";
802
802
  import"./chunk-w21k7p99.js";
803
- import"./chunk-684qmpwn.js";
803
+ import"./chunk-5hq4j6km.js";
804
804
 
805
805
  // src/generated/@tanstack/react-query.gen.ts
806
806
  import { infiniteQueryOptions, queryOptions } from "@tanstack/react-query";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  zV2ExchangeRatesListResponse
3
- } from "../chunk-684qmpwn.js";
3
+ } from "../chunk-5hq4j6km.js";
4
4
 
5
5
  // src/scalars/big-decimal.ts
6
6
  import * as dn from "dnum";
package/dist/schemas.js CHANGED
@@ -5532,7 +5532,7 @@ import {
5532
5532
  zXvpWithdrawExpiredOutput,
5533
5533
  zXvpWithdrawExpiredOutputMutationResponse,
5534
5534
  zYieldDistributionPeriod
5535
- } from "./chunk-684qmpwn.js";
5535
+ } from "./chunk-5hq4j6km.js";
5536
5536
  export {
5537
5537
  zAaEnabled,
5538
5538
  zAbortCorporateActionBody,
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  v2TransactionStatus
3
- } from "./chunk-vy9za6nh.js";
3
+ } from "./chunk-ch5rzeqw.js";
4
4
  import"./chunk-w21k7p99.js";
5
- import"./chunk-684qmpwn.js";
5
+ import"./chunk-5hq4j6km.js";
6
6
 
7
7
  // src/wait-for-transaction.ts
8
8
  var failedStates = new Set(["FAILED", "DEAD_LETTER", "CANCELLED"]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-sdk",
3
- "version": "3.1.7-main.32875427761",
3
+ "version": "3.1.7-main.32902678663",
4
4
  "private": false,
5
5
  "description": "Fully typed SDK for the DALP tokenization platform API",
6
6
  "homepage": "https://settlemint.com",