@settlemint/dalp-sdk 3.1.19-main.36358657702 → 3.1.19-main.36364956527

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/effect.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  data2
3
- } from "./chunk-6kkv192s.js";
3
+ } from "./chunk-29hvwm30.js";
4
4
  import"./chunk-k3ntysxx.js";
5
5
  import {
6
6
  DalpApiError2,
@@ -8,7 +8,7 @@ import {
8
8
  streamRequest,
9
9
  sendRequest,
10
10
  queryKeyFor2
11
- } from "./chunk-j17n8ztx.js";
11
+ } from "./chunk-3m2esmw0.js";
12
12
  import"./chunk-cr1tms72.js";
13
13
  import {
14
14
  buildProxy,
@@ -54873,6 +54873,11 @@ export type webhooks_stats_Response = {
54873
54873
  readonly totalDeliveries: number;
54874
54874
  readonly delivered: number;
54875
54875
  readonly failed: number;
54876
+ readonly tests: {
54877
+ readonly attempts: number;
54878
+ readonly delivered: number;
54879
+ readonly failed: number;
54880
+ };
54876
54881
  readonly hourlyBuckets: ReadonlyArray<number>;
54877
54882
  };
54878
54883
  readonly links: {
@@ -54882,6 +54887,23 @@ export type webhooks_stats_Response = {
54882
54887
 
54883
54888
  export type webhooks_stats_ErrorCode = "ACTIVE_ORGANIZATION_REQUIRED" | "AUTHORIZATION_CHECK_FAILED" | "BAD_REQUEST" | "CHAIN_ID_HEADER_INVALID" | "CHAIN_NOT_AVAILABLE_FOR_ORGANIZATION" | "CHAIN_NOT_READY" | "CONTRACT_ERROR" | "CUSTODY_ACCOUNT_SELECTION_INVALID" | "DALP-0083" | "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_EXECUTOR" | "LOGIN_2FA_REQUIRED" | "OFFCHAIN_ORGANIZATION_PERMISSION_REQUIRED" | "OFFCHAIN_USER_PERMISSION_REQUIRED" | "PRIMARY_CUSTODY_ACCOUNT_REQUIRED" | "REQUEST_CHAIN_SYSTEM_REQUIRED" | "REQUEST_CUSTODY_ACCOUNT_UNAVAILABLE" | "REQUEST_DEADLINE_EXCEEDED" | "REQUEST_EXECUTOR_AA_DISABLED" | "REQUEST_EXECUTOR_UNAVAILABLE" | "REQUEST_PARTICIPANT_FORBIDDEN" | "SESSION_EVIDENCE_INVALID" | "SESSION_POLICY_DENIED" | "SESSION_RESOLUTION_FAILED" | "UNAUTHORIZED" | "WEBHOOK_DELIVERY_NOT_FOUND" | "WEBHOOK_ENDPOINT_DISABLED" | "WEBHOOK_ENDPOINT_LIMIT_REACHED" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_FAT_ACK_INCOMPLETE" | "WEBHOOK_PENDING_RETARGET_REQUIRED" | "WEBHOOK_RECALL_NOT_AUTHORIZED" | "WEBHOOK_RECEIPT_NOT_FOUND" | "WEBHOOK_REPLAY_RANGE_TOO_LARGE" | "WEBHOOK_SIGNING_VERIFICATION_FAILED" | "WEBHOOK_SUBSCRIPTION_INVALID" | "WEBHOOK_SYSTEM_SCOPE_REQUIRED" | "WEBHOOK_URL_PRIVATE_RANGE" | "WEBHOOK_URL_SCHEME_REQUIRED" | "auth.apikey.THROTTLED" | "dapi.runtime.INVALID_REQUEST_CUSTODY_ACCOUNT" | "dapi.runtime.REQUEST_CHAIN_LOOKUP_FAILED";
54884
54889
 
54890
+ export type webhooks_testReceiver_Request = Readonly<Record<string, never>>;
54891
+
54892
+ export type webhooks_testReceiver_RequestParts = {
54893
+ readonly query?: Readonly<Record<string, never>>;
54894
+ };
54895
+
54896
+ export type webhooks_testReceiver_Response = {
54897
+ readonly data: {
54898
+ readonly url: string | null;
54899
+ };
54900
+ readonly links: {
54901
+ readonly self: string;
54902
+ };
54903
+ };
54904
+
54905
+ export type webhooks_testReceiver_ErrorCode = "ACTIVE_ORGANIZATION_REQUIRED" | "AUTHORIZATION_CHECK_FAILED" | "BAD_REQUEST" | "CHAIN_ID_HEADER_INVALID" | "CHAIN_NOT_AVAILABLE_FOR_ORGANIZATION" | "CHAIN_NOT_READY" | "CONTRACT_ERROR" | "CUSTODY_ACCOUNT_SELECTION_INVALID" | "DALP-0083" | "INTERNAL_SERVER_ERROR" | "INVALID_REQUEST_EXECUTOR" | "LOGIN_2FA_REQUIRED" | "OFFCHAIN_ORGANIZATION_PERMISSION_REQUIRED" | "OFFCHAIN_USER_PERMISSION_REQUIRED" | "PRIMARY_CUSTODY_ACCOUNT_REQUIRED" | "REQUEST_CHAIN_SYSTEM_REQUIRED" | "REQUEST_CUSTODY_ACCOUNT_UNAVAILABLE" | "REQUEST_DEADLINE_EXCEEDED" | "REQUEST_EXECUTOR_AA_DISABLED" | "REQUEST_EXECUTOR_UNAVAILABLE" | "REQUEST_PARTICIPANT_FORBIDDEN" | "SESSION_EVIDENCE_INVALID" | "SESSION_POLICY_DENIED" | "SESSION_RESOLUTION_FAILED" | "UNAUTHORIZED" | "WEBHOOK_DELIVERY_NOT_FOUND" | "WEBHOOK_ENDPOINT_DISABLED" | "WEBHOOK_ENDPOINT_LIMIT_REACHED" | "WEBHOOK_ENDPOINT_NOT_FOUND" | "WEBHOOK_FAT_ACK_INCOMPLETE" | "WEBHOOK_PENDING_RETARGET_REQUIRED" | "WEBHOOK_RECALL_NOT_AUTHORIZED" | "WEBHOOK_RECEIPT_NOT_FOUND" | "WEBHOOK_REPLAY_RANGE_TOO_LARGE" | "WEBHOOK_SIGNING_VERIFICATION_FAILED" | "WEBHOOK_SUBSCRIPTION_INVALID" | "WEBHOOK_SYSTEM_SCOPE_REQUIRED" | "WEBHOOK_URL_PRIVATE_RANGE" | "WEBHOOK_URL_SCHEME_REQUIRED" | "auth.apikey.THROTTLED" | "dapi.runtime.INVALID_REQUEST_CUSTODY_ACCOUNT" | "dapi.runtime.REQUEST_CHAIN_LOOKUP_FAILED";
54906
+
54885
54907
  export type webhooks_update_Request = {
54886
54908
  readonly id: string;
54887
54909
  readonly acknowledgePending?: true;
@@ -57097,6 +57119,7 @@ export type DalpApi = {
57097
57119
  readonly rotateSecret: DalpOperation<webhooks_rotateSecret_Request, webhooks_rotateSecret_Response>;
57098
57120
  readonly sendTestEvent: DalpOperation<webhooks_sendTestEvent_Request, webhooks_sendTestEvent_Response>;
57099
57121
  readonly stats: DalpOperation<webhooks_stats_Request, webhooks_stats_Response>;
57122
+ readonly testReceiver: DalpOperation<webhooks_testReceiver_Request, webhooks_testReceiver_Response>;
57100
57123
  readonly update: DalpOperation<webhooks_update_Request, webhooks_update_Response>;
57101
57124
  };
57102
57125
  readonly xvpV2: {
@@ -58158,6 +58181,7 @@ export type DalpConsoleApi = {
58158
58181
  readonly rotateSecret: DalpOperation<webhooks_rotateSecret_Request, webhooks_rotateSecret_Response>;
58159
58182
  readonly sendTestEvent: DalpOperation<webhooks_sendTestEvent_Request, webhooks_sendTestEvent_Response>;
58160
58183
  readonly stats: DalpOperation<webhooks_stats_Request, webhooks_stats_Response>;
58184
+ readonly testReceiver: DalpOperation<webhooks_testReceiver_Request, webhooks_testReceiver_Response>;
58161
58185
  readonly update: DalpOperation<webhooks_update_Request, webhooks_update_Response>;
58162
58186
  };
58163
58187
  readonly xvpV2: {
@@ -63111,6 +63135,13 @@ export interface DalpRouteTypes {
63111
63135
  readonly errorCode: webhooks_stats_ErrorCode;
63112
63136
  readonly streaming: false;
63113
63137
  };
63138
+ readonly "webhooks.testReceiver": {
63139
+ readonly request: webhooks_testReceiver_Request;
63140
+ readonly requestParts: webhooks_testReceiver_RequestParts;
63141
+ readonly response: webhooks_testReceiver_Response;
63142
+ readonly errorCode: webhooks_testReceiver_ErrorCode;
63143
+ readonly streaming: false;
63144
+ };
63114
63145
  readonly "webhooks.update": {
63115
63146
  readonly request: webhooks_update_Request;
63116
63147
  readonly requestParts: webhooks_update_RequestParts;
@@ -68571,6 +68602,13 @@ export interface DalpConsoleRouteTypes {
68571
68602
  readonly errorCode: webhooks_stats_ErrorCode;
68572
68603
  readonly streaming: false;
68573
68604
  };
68605
+ readonly "webhooks.testReceiver": {
68606
+ readonly request: webhooks_testReceiver_Request;
68607
+ readonly requestParts: webhooks_testReceiver_RequestParts;
68608
+ readonly response: webhooks_testReceiver_Response;
68609
+ readonly errorCode: webhooks_testReceiver_ErrorCode;
68610
+ readonly streaming: false;
68611
+ };
68574
68612
  readonly "webhooks.update": {
68575
68613
  readonly request: webhooks_update_Request;
68576
68614
  readonly requestParts: webhooks_update_RequestParts;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  data2
3
- } from "./chunk-6kkv192s.js";
3
+ } from "./chunk-29hvwm30.js";
4
4
  import {
5
5
  DalpSdkError2,
6
6
  createDalpSdkConfigurationError2
@@ -19,7 +19,7 @@ import {
19
19
  RESERVED_STREAM_FAILURE_EVENT2,
20
20
  STREAM_FAILED_ERROR_CODE2,
21
21
  decodeEventStream2
22
- } from "./chunk-j17n8ztx.js";
22
+ } from "./chunk-3m2esmw0.js";
23
23
  import {
24
24
  DALP_AUTH_SURFACE_HEADER2,
25
25
  SECRET_REDACTION_MARKER2,
@@ -31,10 +31,10 @@ import {
31
31
  createCookieStoreFetch2,
32
32
  SDK_VERSION2,
33
33
  SDK_USER_AGENT2
34
- } from "./chunk-xnztjzte.js";
34
+ } from "./chunk-d1vsqz1k.js";
35
35
  import {
36
36
  buildDalpClient
37
- } from "./chunk-ye7m5aej.js";
37
+ } from "./chunk-gs6kjdk2.js";
38
38
 
39
39
  // src/proxy/client.ts
40
40
  function createDalpClient(options) {
@@ -3,7 +3,7 @@ import {
3
3
  canonicalize2,
4
4
  queryKeyFor2,
5
5
  UI_SETTLEMENT_TIMEOUT_MS2
6
- } from "./chunk-j17n8ztx.js";
6
+ } from "./chunk-3m2esmw0.js";
7
7
  import"./chunk-cr1tms72.js";
8
8
  export {
9
9
  UI_SETTLEMENT_TIMEOUT_MS2 as UI_SETTLEMENT_TIMEOUT_MS,