@settlemint/dalp-cli 3.1.32-main.42790191646 → 3.1.32-main.42798513290

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@settlemint/dalp-cli",
3
- "version": "3.1.32-main.42790191646",
3
+ "version": "3.1.32-main.42798513290",
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",
@@ -50,14 +50,14 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@modelcontextprotocol/server": "2.4.0",
53
- "@settlemint/dalp-sdk": "3.1.32-main.42790191646",
53
+ "@settlemint/dalp-sdk": "3.1.32-main.42798513290",
54
54
  "incur": "0.7.1",
55
55
  "zod": "4.6.7"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@arethetypeswrong/cli": "0.18.5",
59
- "@testkit/effect-bun-test": "3.1.32-main.42790191646",
60
- "@tools/typescript-config": "3.1.32-main.42790191646",
59
+ "@testkit/effect-bun-test": "3.1.32-main.42798513290",
60
+ "@tools/typescript-config": "3.1.32-main.42798513290",
61
61
  "@types/bun": "1.4.4",
62
62
  "publint": "0.3.25"
63
63
  },
@@ -38,12 +38,14 @@ const sessionResponseSchema = z.object({
38
38
  const walletFactorTypes = {
39
39
  pincode: "PINCODE",
40
40
  otp: "OTP",
41
+ "oidc-mfa": "OIDC_MFA",
41
42
  "secret-codes": "SECRET_CODES",
42
43
  } as const;
43
44
 
44
45
  const walletFactorPrompts = {
45
46
  pincode: "Wallet PIN: ",
46
47
  otp: "Wallet authenticator code: ",
48
+ "oidc-mfa": "Identity provider authenticator code: ",
47
49
  "secret-codes": "Wallet recovery code: ",
48
50
  } as const;
49
51
 
@@ -60,7 +62,7 @@ const readWalletCode = async (factor: WalletFactor, fromEnv: string | undefined,
60
62
  code: "kit.cli.WALLET_CODE_REQUIRED",
61
63
  message: "Creating the CLI API key needs your wallet verification code, and there is no terminal to ask for it.",
62
64
  why: "DALP asks for a wallet factor before it creates an API key, as it does before signing.",
63
- fix: "Set DALP_WALLET_CODE to your wallet PIN (or pass --wallet-factor otp or secret-codes with that code), then run 'dalp login' again.",
65
+ fix: "Set DALP_WALLET_CODE to your wallet PIN (or pass --wallet-factor otp, oidc-mfa or secret-codes with that code), then run 'dalp login' again.",
64
66
  });
65
67
  }
66
68
  return promptSecret(walletFactorPrompts[factor]);
@@ -280,7 +282,7 @@ export const loginCommand = Cli.create("login", {
280
282
  options: z.object({
281
283
  url: z.string().optional().describe("DALP instance URL"),
282
284
  walletFactor: z
283
- .enum(["pincode", "otp", "secret-codes"])
285
+ .enum(["pincode", "otp", "oidc-mfa", "secret-codes"])
284
286
  .default("pincode")
285
287
  .describe("Wallet factor that confirms the new API key"),
286
288
  }),
@@ -289,7 +291,9 @@ export const loginCommand = Cli.create("login", {
289
291
  DALP_WALLET_CODE: z
290
292
  .string()
291
293
  .optional()
292
- .describe("Wallet PIN, authenticator code or recovery code that confirms the new API key"),
294
+ .describe(
295
+ "Wallet PIN, wallet authenticator code, identity provider authenticator code or recovery code that confirms the new API key"
296
+ ),
293
297
  }),
294
298
  examples: [
295
299
  { description: "Login to configured instance" },