@settlemint/dalp-cli 3.0.7-release.28533391978 → 3.0.7

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.
Files changed (2) hide show
  1. package/dist/dalp.js +3 -43
  2. package/package.json +1 -1
package/dist/dalp.js CHANGED
@@ -131281,23 +131281,6 @@ var InvitationV2InviteWithRolesOutputSchema = exports_external.object({
131281
131281
  onChainRoles: exports_external.array(systemAccessControlRole),
131282
131282
  expiresAt: timestamp()
131283
131283
  });
131284
- var InvitationV2ResendWithRolesInputSchema = exports_external.object({
131285
- invitationId: exports_external.string().min(1, "invitationId is required"),
131286
- walletVerification: UserVerificationSchema.optional()
131287
- });
131288
- var InvitationV2ResendWithRolesOutputSchema = exports_external.object({
131289
- id: exports_external.string(),
131290
- email: exports_external.string(),
131291
- role: exports_external.string(),
131292
- status: exports_external.enum(["pending", "accepted", "rejected", "canceled"]),
131293
- expiresAt: timestamp()
131294
- });
131295
- var InvitationV2HasOnChainRolesParamsSchema = exports_external.object({
131296
- invitationId: exports_external.string().min(1, "invitationId is required")
131297
- });
131298
- var InvitationV2HasOnChainRolesOutputSchema = exports_external.object({
131299
- hasOnChainRoles: exports_external.boolean()
131300
- });
131301
131284
  var TAGS26 = [V2_TAG.invitation];
131302
131285
  var deploy = v2Contract.route({
131303
131286
  method: "POST",
@@ -131341,29 +131324,13 @@ var inviteWithRoles = v2Contract.route({
131341
131324
  successDescription: "Invitation created with the selected on-chain roles recorded and authorized.",
131342
131325
  tags: [...TAGS26]
131343
131326
  }).input(v2Input.body(InvitationV2InviteWithRolesInputSchema)).output(InvitationV2InviteWithRolesOutputSchema);
131344
- var resendWithRoles = v2Contract.route({
131345
- method: "POST",
131346
- path: "/role-invitation-resends",
131347
- description: "Re-issue a role-bearing invitation with its original on-chain roles preserved, gated on the inviter's wallet verification (PIN / OTP / OIDC-MFA). The roles are sourced server-side from the existing invitation (tenant-scoped, keyed by invitationId) — the client supplies only the invitation id and a PIN, never the roles. The standard resend path drops the invite-time roles; this route preserves them. Role-less invitations use the standard resend path instead.",
131348
- successDescription: "Invitation re-issued with the original on-chain roles recorded and re-authorized.",
131349
- tags: [...TAGS26]
131350
- }).input(v2Input.body(InvitationV2ResendWithRolesInputSchema)).output(InvitationV2ResendWithRolesOutputSchema);
131351
- var hasOnChainRoles = v2Contract.route({
131352
- method: "GET",
131353
- path: "/role-invitations/{invitationId}/has-roles",
131354
- description: "Report whether an invitation carries at least one authorized on-chain role (existence, not authority). The resend dialog reads this to decide the PIN-gated vs no-PIN resend path. Returns only the derived boolean — never the role list, which stays server-only.",
131355
- successDescription: "Derived boolean indicating whether the invitation carries on-chain roles.",
131356
- tags: [...TAGS26]
131357
- }).input(v2Input.params(InvitationV2HasOnChainRolesParamsSchema)).output(InvitationV2HasOnChainRolesOutputSchema);
131358
131327
  var invitationV2Contract = {
131359
131328
  deploy,
131360
131329
  accept,
131361
131330
  deployStream,
131362
131331
  deployStatus,
131363
131332
  retry,
131364
- inviteWithRoles,
131365
- resendWithRoles,
131366
- hasOnChainRoles
131333
+ inviteWithRoles
131367
131334
  };
131368
131335
  var Bytes32HashSchema = exports_external.string().regex(/^0x[0-9a-fA-F]{64}$/, "Expected a 0x-prefixed bytes32 hex string");
131369
131336
  var MetadataV2ReadInputSchema = exports_external.object({
@@ -140563,7 +140530,7 @@ function normalizeDalpBaseUrl(url2) {
140563
140530
  }
140564
140531
  var package_default = {
140565
140532
  name: "@settlemint/dalp-sdk",
140566
- version: "3.0.7-release.28533391978",
140533
+ version: "3.0.7",
140567
140534
  private: false,
140568
140535
  description: "Fully typed SDK for the DALP tokenization platform API",
140569
140536
  homepage: "https://settlemint.com",
@@ -141747,7 +141714,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
141747
141714
  // package.json
141748
141715
  var package_default2 = {
141749
141716
  name: "@settlemint/dalp-cli",
141750
- version: "3.0.7-release.28533391978",
141717
+ version: "3.0.7",
141751
141718
  private: false,
141752
141719
  description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
141753
141720
  homepage: "https://settlemint.com",
@@ -204593,13 +204560,6 @@ invitation.command("invite-with-roles", {
204593
204560
  });
204594
204561
  }
204595
204562
  });
204596
- invitation.command("resend-with-roles", {
204597
- description: "Resend a role-bearing invitation preserving its original on-chain roles (re-granted on acceptance). The roles are re-sourced server-side from the existing invitation. PIN-gated for human sessions; API-key sessions skip wallet verification.",
204598
- args: exports_external.object({ invitationId: exports_external.string().describe("Invitation ID to resend") }),
204599
- run(c) {
204600
- return c.var.orpc.invitation.resendWithRoles({ body: { invitationId: c.args.invitationId } });
204601
- }
204602
- });
204603
204563
  organizationsCommand.command(invitation);
204604
204564
 
204605
204565
  // src/commands/platform-status.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.0.7-release.28533391978",
3
+ "version": "3.0.7",
4
4
  "private": false,
5
5
  "description": "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
6
6
  "homepage": "https://settlemint.com",