@settlemint/dalp-cli 3.1.32-main.42790191646 → 3.1.32-main.42806799137
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.
|
@@ -11853,7 +11853,7 @@
|
|
|
11853
11853
|
"fields": []
|
|
11854
11854
|
}
|
|
11855
11855
|
],
|
|
11856
|
-
"requestBodyDescription": "Approves or rejects the link's open mint-limit request. An approval stores the new value; a rejection keeps the old one. Approving an expected mint cap also re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs.",
|
|
11856
|
+
"requestBodyDescription": "Approves or rejects the link's open mint-limit or allow-other-supply-managers request. An approval stores the new value; a rejection keeps the old one. Approving an expected mint cap also re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs.",
|
|
11857
11857
|
"hasRequestBody": true,
|
|
11858
11858
|
"bodyIsComplex": true,
|
|
11859
11859
|
"bodyFields": [
|
|
@@ -11878,7 +11878,7 @@
|
|
|
11878
11878
|
"name": "approvalId",
|
|
11879
11879
|
"in": "query",
|
|
11880
11880
|
"required": true,
|
|
11881
|
-
"description": "The link's open mint-limit request.",
|
|
11881
|
+
"description": "The link's open mint-limit or allow-other-supply-managers request.",
|
|
11882
11882
|
"type": "string",
|
|
11883
11883
|
"enum": null,
|
|
11884
11884
|
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
@@ -12140,7 +12140,7 @@
|
|
|
12140
12140
|
"fields": []
|
|
12141
12141
|
}
|
|
12142
12142
|
],
|
|
12143
|
-
"requestBodyDescription": "update-credit-threshold sets the credit checker threshold. update-mint-cap sets a delegate link's expected mint cap and re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs, so you need the token's governor role; credits wait while the rail wallet is between the removal and the new delegation. update-mint-cap is refused on a booked link and while a rail wallet rotation is open on the chain. For either field, setting a value where there was none, keeping it or lowering it applies at once; raising or removing it opens a mint-limit request that another bank rail manager decides, and the old value stays in force until then. When the bank-rail approval policy is off, a raise or removal applies at once but needs your wallet verification, and is recorded as not approved by a second person.",
|
|
12143
|
+
"requestBodyDescription": "update-credit-threshold sets the credit checker threshold. update-mint-cap sets a delegate link's expected mint cap and re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs, so you need the token's governor role; credits wait while the rail wallet is between the removal and the new delegation. update-mint-cap is refused on a booked link and while a rail wallet rotation is open on the chain. For either field, setting a value where there was none, keeping it or lowering it applies at once; raising or removing it opens a mint-limit request that another bank rail manager decides, and the old value stays in force until then. When the bank-rail approval policy is off, a raise or removal applies at once but needs your wallet verification, and is recorded as not approved by a second person. update-supply-managers exists on booked links only: turning it on opens a bank-rail-supply-managers request that another bank rail manager decides, and the switch stays off until then; turning it off applies at once. When the bank-rail approval policy is off, turning it on still needs your wallet verification, applies at once, and is recorded as not approved by a second person.",
|
|
12144
12144
|
"hasRequestBody": true,
|
|
12145
12145
|
"bodyIsComplex": true,
|
|
12146
12146
|
"bodyFields": [],
|
|
@@ -82000,6 +82000,19 @@
|
|
|
82000
82000
|
"request"
|
|
82001
82001
|
],
|
|
82002
82002
|
"fields": []
|
|
82003
|
+
},
|
|
82004
|
+
{
|
|
82005
|
+
"name": "escrow",
|
|
82006
|
+
"in": "query",
|
|
82007
|
+
"required": false,
|
|
82008
|
+
"description": "held keeps EVM settlements whose contract still holds money no settlement step will move: escrow left after a cancellation or after the cutoff (measured against indexed chain time) without a revealed secret, or an amount parked for a participant to claim.",
|
|
82009
|
+
"type": "string",
|
|
82010
|
+
"enum": null,
|
|
82011
|
+
"pattern": null,
|
|
82012
|
+
"examples": [
|
|
82013
|
+
"held"
|
|
82014
|
+
],
|
|
82015
|
+
"fields": []
|
|
82003
82016
|
}
|
|
82004
82017
|
]
|
|
82005
82018
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.1.32-main.
|
|
3
|
+
"version": "3.1.32-main.42806799137",
|
|
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.
|
|
53
|
+
"@settlemint/dalp-sdk": "3.1.32-main.42806799137",
|
|
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.
|
|
60
|
-
"@tools/typescript-config": "3.1.32-main.
|
|
59
|
+
"@testkit/effect-bun-test": "3.1.32-main.42806799137",
|
|
60
|
+
"@tools/typescript-config": "3.1.32-main.42806799137",
|
|
61
61
|
"@types/bun": "1.4.4",
|
|
62
62
|
"publint": "0.3.25"
|
|
63
63
|
},
|
package/src/commands/login.ts
CHANGED
|
@@ -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(
|
|
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" },
|
|
@@ -11853,7 +11853,7 @@
|
|
|
11853
11853
|
"fields": []
|
|
11854
11854
|
}
|
|
11855
11855
|
],
|
|
11856
|
-
"requestBodyDescription": "Approves or rejects the link's open mint-limit request. An approval stores the new value; a rejection keeps the old one. Approving an expected mint cap also re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs.",
|
|
11856
|
+
"requestBodyDescription": "Approves or rejects the link's open mint-limit or allow-other-supply-managers request. An approval stores the new value; a rejection keeps the old one. Approving an expected mint cap also re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs.",
|
|
11857
11857
|
"hasRequestBody": true,
|
|
11858
11858
|
"bodyIsComplex": true,
|
|
11859
11859
|
"bodyFields": [
|
|
@@ -11878,7 +11878,7 @@
|
|
|
11878
11878
|
"name": "approvalId",
|
|
11879
11879
|
"in": "query",
|
|
11880
11880
|
"required": true,
|
|
11881
|
-
"description": "The link's open mint-limit request.",
|
|
11881
|
+
"description": "The link's open mint-limit or allow-other-supply-managers request.",
|
|
11882
11882
|
"type": "string",
|
|
11883
11883
|
"enum": null,
|
|
11884
11884
|
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|[fF]{8}-[fF]{4}-[fF]{4}-[fF]{4}-[fF]{12})$",
|
|
@@ -12140,7 +12140,7 @@
|
|
|
12140
12140
|
"fields": []
|
|
12141
12141
|
}
|
|
12142
12142
|
],
|
|
12143
|
-
"requestBodyDescription": "update-credit-threshold sets the credit checker threshold. update-mint-cap sets a delegate link's expected mint cap and re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs, so you need the token's governor role; credits wait while the rail wallet is between the removal and the new delegation. update-mint-cap is refused on a booked link and while a rail wallet rotation is open on the chain. For either field, setting a value where there was none, keeping it or lowering it applies at once; raising or removing it opens a mint-limit request that another bank rail manager decides, and the old value stays in force until then. When the bank-rail approval policy is off, a raise or removal applies at once but needs your wallet verification, and is recorded as not approved by a second person.",
|
|
12143
|
+
"requestBodyDescription": "update-credit-threshold sets the credit checker threshold. update-mint-cap sets a delegate link's expected mint cap and re-adds the rail wallet as the token's supply delegate with it, which your own wallet signs, so you need the token's governor role; credits wait while the rail wallet is between the removal and the new delegation. update-mint-cap is refused on a booked link and while a rail wallet rotation is open on the chain. For either field, setting a value where there was none, keeping it or lowering it applies at once; raising or removing it opens a mint-limit request that another bank rail manager decides, and the old value stays in force until then. When the bank-rail approval policy is off, a raise or removal applies at once but needs your wallet verification, and is recorded as not approved by a second person. update-supply-managers exists on booked links only: turning it on opens a bank-rail-supply-managers request that another bank rail manager decides, and the switch stays off until then; turning it off applies at once. When the bank-rail approval policy is off, turning it on still needs your wallet verification, applies at once, and is recorded as not approved by a second person.",
|
|
12144
12144
|
"hasRequestBody": true,
|
|
12145
12145
|
"bodyIsComplex": true,
|
|
12146
12146
|
"bodyFields": [],
|
|
@@ -82000,6 +82000,19 @@
|
|
|
82000
82000
|
"request"
|
|
82001
82001
|
],
|
|
82002
82002
|
"fields": []
|
|
82003
|
+
},
|
|
82004
|
+
{
|
|
82005
|
+
"name": "escrow",
|
|
82006
|
+
"in": "query",
|
|
82007
|
+
"required": false,
|
|
82008
|
+
"description": "held keeps EVM settlements whose contract still holds money no settlement step will move: escrow left after a cancellation or after the cutoff (measured against indexed chain time) without a revealed secret, or an amount parked for a participant to claim.",
|
|
82009
|
+
"type": "string",
|
|
82010
|
+
"enum": null,
|
|
82011
|
+
"pattern": null,
|
|
82012
|
+
"examples": [
|
|
82013
|
+
"held"
|
|
82014
|
+
],
|
|
82015
|
+
"fields": []
|
|
82003
82016
|
}
|
|
82004
82017
|
]
|
|
82005
82018
|
}
|