@settlemint/dalp-cli 2.1.7-main.25374812802 → 2.1.7-main.25377464610
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/dalp.js +38 -16
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -57690,6 +57690,20 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
57690
57690
|
data: dapiErrorContextDataSchema
|
|
57691
57691
|
})
|
|
57692
57692
|
},
|
|
57693
|
+
{
|
|
57694
|
+
code: "SYSTEM_TRUSTED_ISSUER_CLAIM_TOPIC_MUTATION_IN_PROGRESS",
|
|
57695
|
+
definition: dapiError({
|
|
57696
|
+
id: "DALP-0461",
|
|
57697
|
+
category: "domain",
|
|
57698
|
+
status: 409,
|
|
57699
|
+
message: "Trusted issuer claim-topic mutation is already in progress",
|
|
57700
|
+
why: "Another add/remove claim-topic mutation for this trusted issuer is already running. DAPI does not queue same-key callers behind the database lock because that can consume database pool sessions.",
|
|
57701
|
+
fix: "Wait for the active mutation to finish, then retry the claim-topic request if the issuer's topic set still needs to change.",
|
|
57702
|
+
retryable: true,
|
|
57703
|
+
expectedClientError: true,
|
|
57704
|
+
severity: "warning"
|
|
57705
|
+
})
|
|
57706
|
+
},
|
|
57693
57707
|
{
|
|
57694
57708
|
code: "SYSTEM_TRUSTED_ISSUER_NOT_FOUND",
|
|
57695
57709
|
definition: dapiError({
|
|
@@ -63642,13 +63656,7 @@ var PublicConfigGetOutputSchema = exports_external.object({
|
|
|
63642
63656
|
}),
|
|
63643
63657
|
hasOrganizations: exports_external.boolean()
|
|
63644
63658
|
});
|
|
63645
|
-
var SETTING_KEYS = [
|
|
63646
|
-
"BASE_CURRENCY",
|
|
63647
|
-
"SYSTEM_ADDRESS",
|
|
63648
|
-
"SYSTEM_ADDONS_SKIPPED",
|
|
63649
|
-
"AA_ENABLED",
|
|
63650
|
-
"PAYMASTER_ENABLED"
|
|
63651
|
-
];
|
|
63659
|
+
var SETTING_KEYS = ["BASE_CURRENCY", "SYSTEM_ADDRESS", "SYSTEM_ADDONS_SKIPPED", "AA_ENABLED"];
|
|
63652
63660
|
var settingKeySchema = exports_external.enum(SETTING_KEYS);
|
|
63653
63661
|
var SettingsDeleteSchema = exports_external.object({
|
|
63654
63662
|
key: settingKeySchema
|
|
@@ -63681,16 +63689,11 @@ var aaEnabledSchema = exports_external.object({
|
|
|
63681
63689
|
key: exports_external.literal("AA_ENABLED"),
|
|
63682
63690
|
value: exports_external.enum(["true", "false"])
|
|
63683
63691
|
});
|
|
63684
|
-
var paymasterEnabledSchema = exports_external.object({
|
|
63685
|
-
key: exports_external.literal("PAYMASTER_ENABLED"),
|
|
63686
|
-
value: exports_external.enum(["true", "false"])
|
|
63687
|
-
});
|
|
63688
63692
|
var SettingsUpsertSchema = exports_external.discriminatedUnion("key", [
|
|
63689
63693
|
baseCurrencySchema,
|
|
63690
63694
|
systemAddressSchema,
|
|
63691
63695
|
systemAddonsSkippedSchema,
|
|
63692
|
-
aaEnabledSchema
|
|
63693
|
-
paymasterEnabledSchema
|
|
63696
|
+
aaEnabledSchema
|
|
63694
63697
|
]);
|
|
63695
63698
|
function isDangerousCSS(value22) {
|
|
63696
63699
|
const lower = value22.toLowerCase();
|
|
@@ -74784,6 +74787,9 @@ var PaymasterSignerKeyStatusSchema = exports_external.object({
|
|
|
74784
74787
|
signerAddress: ethereumAddress.nullable(),
|
|
74785
74788
|
rotatedAt: timestamp().nullable()
|
|
74786
74789
|
});
|
|
74790
|
+
var PaymasterConfigSchema = exports_external.object({
|
|
74791
|
+
enabled: exports_external.boolean()
|
|
74792
|
+
});
|
|
74787
74793
|
var PAYMASTER_COLLECTION_FIELDS = {
|
|
74788
74794
|
address: addressField({ defaultOperator: "eq" }),
|
|
74789
74795
|
factory: addressField({ defaultOperator: "eq" }),
|
|
@@ -74830,12 +74836,28 @@ var signerKeyStatus = v2Contract.route({
|
|
|
74830
74836
|
successDescription: "Signer key status",
|
|
74831
74837
|
tags: [...TAGS32]
|
|
74832
74838
|
}).input(v2Input.params(PaymasterAddressParamsSchema)).output(createSingleResponse(PaymasterSignerKeyStatusSchema));
|
|
74839
|
+
var getConfig = v2Contract.route({
|
|
74840
|
+
method: "GET",
|
|
74841
|
+
path: "/system/paymasters/config",
|
|
74842
|
+
description: "Read the org-level paymaster configuration (sponsorship toggle and any future knobs). " + "Available to any authenticated org member; mutation is gated separately by setConfig.",
|
|
74843
|
+
successDescription: "Current paymaster configuration",
|
|
74844
|
+
tags: [...TAGS32]
|
|
74845
|
+
}).output(createSingleResponse(PaymasterConfigSchema));
|
|
74846
|
+
var setConfig = v2Contract.route({
|
|
74847
|
+
method: "PUT",
|
|
74848
|
+
path: "/system/paymasters/config",
|
|
74849
|
+
description: "Update the org-level paymaster configuration. Toggles whether AA user operations attach " + "paymaster sponsorship for this organization. Restricted to on-chain admin / systemManager / " + "gasManager roles — same boundary as paymaster deposit and signer-key rotation.",
|
|
74850
|
+
successDescription: "Updated paymaster configuration",
|
|
74851
|
+
tags: [...TAGS32]
|
|
74852
|
+
}).input(v2Input.body(PaymasterConfigSchema)).output(createSingleResponse(PaymasterConfigSchema));
|
|
74833
74853
|
var paymasterV2Contract = {
|
|
74834
74854
|
list: list32,
|
|
74835
74855
|
balance: balance2,
|
|
74836
74856
|
deposit,
|
|
74837
74857
|
rotateSignerKey,
|
|
74838
|
-
signerKeyStatus
|
|
74858
|
+
signerKeyStatus,
|
|
74859
|
+
getConfig,
|
|
74860
|
+
setConfig
|
|
74839
74861
|
};
|
|
74840
74862
|
var TrustedIssuerClaimTopicMutationBodySchema = MutationInputSchema;
|
|
74841
74863
|
var TrustedIssuerClaimTopicMutationParamsSchema = exports_external.object({
|
|
@@ -77815,7 +77837,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
77815
77837
|
}
|
|
77816
77838
|
var package_default = {
|
|
77817
77839
|
name: "@settlemint/dalp-sdk",
|
|
77818
|
-
version: "2.1.7-main.
|
|
77840
|
+
version: "2.1.7-main.25377464610",
|
|
77819
77841
|
private: false,
|
|
77820
77842
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
77821
77843
|
homepage: "https://settlemint.com",
|
|
@@ -78366,7 +78388,7 @@ function trimConfigValue(name, value3) {
|
|
|
78366
78388
|
// package.json
|
|
78367
78389
|
var package_default2 = {
|
|
78368
78390
|
name: "@settlemint/dalp-cli",
|
|
78369
|
-
version: "2.1.7-main.
|
|
78391
|
+
version: "2.1.7-main.25377464610",
|
|
78370
78392
|
private: false,
|
|
78371
78393
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
78372
78394
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "2.1.7-main.
|
|
3
|
+
"version": "2.1.7-main.25377464610",
|
|
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",
|