@settlemint/dalp-sdk 3.1.19-main.36691097704 → 3.1.19-main.36702960171
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 +11 -10
- package/dist/auth.js +1 -1
- package/dist/{chunk-dd48gd2s.js → chunk-bz1dh57g.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/webhook-events.d.ts +25 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -222,20 +222,21 @@ code.
|
|
|
222
222
|
|
|
223
223
|
The mount serves these standard methods:
|
|
224
224
|
|
|
225
|
-
| Method | Params
|
|
226
|
-
| ------------------------------ |
|
|
227
|
-
| `
|
|
228
|
-
| `
|
|
229
|
-
| `
|
|
230
|
-
| `
|
|
231
|
-
| `
|
|
232
|
-
| `
|
|
225
|
+
| Method | Params |
|
|
226
|
+
| ------------------------------ | ----------------------------------------------- |
|
|
227
|
+
| `eth_chainId` | `[]` |
|
|
228
|
+
| `eth_sendUserOperation` | `[userOperation, entryPoint]` |
|
|
229
|
+
| `eth_estimateUserOperationGas` | `[userOperation, entryPoint]` |
|
|
230
|
+
| `eth_getUserOperationByHash` | `[userOperationHash]` |
|
|
231
|
+
| `eth_getUserOperationReceipt` | `[userOperationHash]` |
|
|
232
|
+
| `eth_supportedEntryPoints` | `[]` |
|
|
233
|
+
| `pm_getPaymasterData` | `[userOperation, entryPoint, chainId, context]` |
|
|
234
|
+
| `pm_getPaymasterStubData` | `[userOperation, entryPoint, chainId, context]` |
|
|
233
235
|
|
|
234
236
|
The UserOperation must be signed by your account-abstraction stack before
|
|
235
237
|
`eth_sendUserOperation`. The mount accepts EntryPoint v0.7 UserOperations and
|
|
236
238
|
returns JSON-RPC `result` or `error` envelopes, not REST `{ data, links }`
|
|
237
|
-
resources.
|
|
238
|
-
this mount; the chain is selected by the URL. Consult the platform's bundler
|
|
239
|
+
resources. `eth_chainId` reports the chain selected by the URL. Consult the platform's bundler
|
|
239
240
|
method policy before depending on a method being enabled for your credential.
|
|
240
241
|
|
|
241
242
|
```ts
|
package/dist/auth.js
CHANGED
|
@@ -107,7 +107,7 @@ function createCookieStoreFetch2(cookieStore, fetchImpl = globalThis.fetch) {
|
|
|
107
107
|
// package.json
|
|
108
108
|
var package_default = {
|
|
109
109
|
name: "@settlemint/dalp-sdk",
|
|
110
|
-
version: "3.1.19-main.
|
|
110
|
+
version: "3.1.19-main.36702960171",
|
|
111
111
|
private: false,
|
|
112
112
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
113
113
|
homepage: "https://settlemint.com",
|
package/dist/index.js
CHANGED
package/dist/webhook-events.d.ts
CHANGED
|
@@ -101,6 +101,16 @@ export declare namespace Webhook {
|
|
|
101
101
|
readonly supersedes: string;
|
|
102
102
|
readonly tokenAddress: string;
|
|
103
103
|
}>;
|
|
104
|
+
type ComplianceVerificationVerdictFinalV1 = EventEnvelope<"compliance.verification-verdict.final", 1, "final", {
|
|
105
|
+
readonly chainId: number;
|
|
106
|
+
readonly claimEffect: "issued" | "revoked" | "none";
|
|
107
|
+
readonly decidedAt: string;
|
|
108
|
+
readonly provider: string;
|
|
109
|
+
readonly providerId: string;
|
|
110
|
+
readonly status: "approved" | "rejected" | "under_review" | "action_required";
|
|
111
|
+
readonly subjectIdentityAddress?: string;
|
|
112
|
+
readonly topicName: string;
|
|
113
|
+
}>;
|
|
104
114
|
type CustodyAccountCreatedFinalV1 = EventEnvelope<"custody.account-created.final", 1, "final", {
|
|
105
115
|
readonly accountAddress: string;
|
|
106
116
|
readonly blockNumber: number;
|
|
@@ -328,6 +338,20 @@ export declare namespace Webhook {
|
|
|
328
338
|
readonly tokenAddress: string;
|
|
329
339
|
readonly transactionHash: string;
|
|
330
340
|
}>;
|
|
341
|
+
type TradingVenueOrderStatusProvisionalV1 = EventEnvelope<"trading-venue.order-status.provisional", 1, "provisional", {
|
|
342
|
+
readonly chainId: number;
|
|
343
|
+
readonly closeReason: string | unknown;
|
|
344
|
+
readonly filledQuantity: string;
|
|
345
|
+
readonly makerAddress?: string;
|
|
346
|
+
readonly marketId: string;
|
|
347
|
+
readonly occurredAt: string;
|
|
348
|
+
readonly orderId: string;
|
|
349
|
+
readonly quantity: string;
|
|
350
|
+
readonly remainingQuantity: string;
|
|
351
|
+
readonly sequence: string;
|
|
352
|
+
readonly side: "buy" | "sell";
|
|
353
|
+
readonly status: "pending_reservation" | "armed" | "working" | "partially_filled" | "filled" | "cancelled" | "expired" | "rejected" | "pruned";
|
|
354
|
+
}>;
|
|
331
355
|
type XvpApprovalRevokedFinalV1 = EventEnvelope<"xvp.approval-revoked.final", 1, "final", {
|
|
332
356
|
readonly accountAddress?: string;
|
|
333
357
|
readonly approvedCount: number;
|
|
@@ -466,7 +490,7 @@ export declare namespace Webhook {
|
|
|
466
490
|
readonly settlementAddress: string;
|
|
467
491
|
readonly transactionHash: string;
|
|
468
492
|
}>;
|
|
469
|
-
type AnyEvent = AccessControlRoleGrantedProvisionalV1 | AccessControlRoleGrantedRetractedV1 | AccessControlRoleRevokedProvisionalV1 | AccessControlRoleRevokedRetractedV1 | AssetIssuanceProvisionalV1 | AssetIssuanceRetractedV1 | ComplianceFreezeRecalledV1 | CustodyAccountCreatedFinalV1 | CustodySignerChangedFinalV1 | IdentityClaimIssuedFinalV1 | IdentityClaimRevokedFinalV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | IdentityStatusFinalV1 | PrimaryMarketDeliveryFinalV1 | PrimaryMarketProceedsWithdrawnFinalV1 | PrimaryMarketRefundFinalV1 | PrimaryMarketSubscriptionFinalV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferFinalV2 | TokenTransferPendingV1 | TokenTransferProvisionalV1 | TokenTransferRetractedV1 | TokenTransferRetractedV2 | XvpApprovalRevokedFinalV1 | XvpAssetsLockedFinalV1 | XvpAssetsRefundedFinalV1 | XvpDeliveryClaimedFinalV1 | XvpDeliveryDeferredFinalV1 | XvpRefundDeferredFinalV1 | XvpSettlementApprovedFinalV1 | XvpSettlementCancelledFinalV1 | XvpSettlementCreatedFinalV1 | XvpSettlementExecutedFinalV1 | XvpSettlementExpiredFinalV1;
|
|
493
|
+
type AnyEvent = AccessControlRoleGrantedProvisionalV1 | AccessControlRoleGrantedRetractedV1 | AccessControlRoleRevokedProvisionalV1 | AccessControlRoleRevokedRetractedV1 | AssetIssuanceProvisionalV1 | AssetIssuanceRetractedV1 | ComplianceFreezeRecalledV1 | ComplianceVerificationVerdictFinalV1 | CustodyAccountCreatedFinalV1 | CustodySignerChangedFinalV1 | IdentityClaimIssuedFinalV1 | IdentityClaimRevokedFinalV1 | IdentityRegistrationProvisionalV1 | IdentityRegistrationRetractedV1 | IdentityStatusFinalV1 | PrimaryMarketDeliveryFinalV1 | PrimaryMarketProceedsWithdrawnFinalV1 | PrimaryMarketRefundFinalV1 | PrimaryMarketSubscriptionFinalV1 | SettlementTransferRetractedV1 | TokenTransferFinalV1 | TokenTransferFinalV2 | TokenTransferPendingV1 | TokenTransferProvisionalV1 | TokenTransferRetractedV1 | TokenTransferRetractedV2 | TradingVenueOrderStatusProvisionalV1 | XvpApprovalRevokedFinalV1 | XvpAssetsLockedFinalV1 | XvpAssetsRefundedFinalV1 | XvpDeliveryClaimedFinalV1 | XvpDeliveryDeferredFinalV1 | XvpRefundDeferredFinalV1 | XvpSettlementApprovedFinalV1 | XvpSettlementCancelledFinalV1 | XvpSettlementCreatedFinalV1 | XvpSettlementExecutedFinalV1 | XvpSettlementExpiredFinalV1;
|
|
470
494
|
type EventType = AnyEvent["type"];
|
|
471
495
|
type Event<TType extends EventType = EventType> = Extract<AnyEvent, {
|
|
472
496
|
readonly type: TType;
|
package/package.json
CHANGED