@settlemint/dalp-cli 2.1.7-main.25375422270 → 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 +24 -16
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -63656,13 +63656,7 @@ var PublicConfigGetOutputSchema = exports_external.object({
|
|
|
63656
63656
|
}),
|
|
63657
63657
|
hasOrganizations: exports_external.boolean()
|
|
63658
63658
|
});
|
|
63659
|
-
var SETTING_KEYS = [
|
|
63660
|
-
"BASE_CURRENCY",
|
|
63661
|
-
"SYSTEM_ADDRESS",
|
|
63662
|
-
"SYSTEM_ADDONS_SKIPPED",
|
|
63663
|
-
"AA_ENABLED",
|
|
63664
|
-
"PAYMASTER_ENABLED"
|
|
63665
|
-
];
|
|
63659
|
+
var SETTING_KEYS = ["BASE_CURRENCY", "SYSTEM_ADDRESS", "SYSTEM_ADDONS_SKIPPED", "AA_ENABLED"];
|
|
63666
63660
|
var settingKeySchema = exports_external.enum(SETTING_KEYS);
|
|
63667
63661
|
var SettingsDeleteSchema = exports_external.object({
|
|
63668
63662
|
key: settingKeySchema
|
|
@@ -63695,16 +63689,11 @@ var aaEnabledSchema = exports_external.object({
|
|
|
63695
63689
|
key: exports_external.literal("AA_ENABLED"),
|
|
63696
63690
|
value: exports_external.enum(["true", "false"])
|
|
63697
63691
|
});
|
|
63698
|
-
var paymasterEnabledSchema = exports_external.object({
|
|
63699
|
-
key: exports_external.literal("PAYMASTER_ENABLED"),
|
|
63700
|
-
value: exports_external.enum(["true", "false"])
|
|
63701
|
-
});
|
|
63702
63692
|
var SettingsUpsertSchema = exports_external.discriminatedUnion("key", [
|
|
63703
63693
|
baseCurrencySchema,
|
|
63704
63694
|
systemAddressSchema,
|
|
63705
63695
|
systemAddonsSkippedSchema,
|
|
63706
|
-
aaEnabledSchema
|
|
63707
|
-
paymasterEnabledSchema
|
|
63696
|
+
aaEnabledSchema
|
|
63708
63697
|
]);
|
|
63709
63698
|
function isDangerousCSS(value22) {
|
|
63710
63699
|
const lower = value22.toLowerCase();
|
|
@@ -74798,6 +74787,9 @@ var PaymasterSignerKeyStatusSchema = exports_external.object({
|
|
|
74798
74787
|
signerAddress: ethereumAddress.nullable(),
|
|
74799
74788
|
rotatedAt: timestamp().nullable()
|
|
74800
74789
|
});
|
|
74790
|
+
var PaymasterConfigSchema = exports_external.object({
|
|
74791
|
+
enabled: exports_external.boolean()
|
|
74792
|
+
});
|
|
74801
74793
|
var PAYMASTER_COLLECTION_FIELDS = {
|
|
74802
74794
|
address: addressField({ defaultOperator: "eq" }),
|
|
74803
74795
|
factory: addressField({ defaultOperator: "eq" }),
|
|
@@ -74844,12 +74836,28 @@ var signerKeyStatus = v2Contract.route({
|
|
|
74844
74836
|
successDescription: "Signer key status",
|
|
74845
74837
|
tags: [...TAGS32]
|
|
74846
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));
|
|
74847
74853
|
var paymasterV2Contract = {
|
|
74848
74854
|
list: list32,
|
|
74849
74855
|
balance: balance2,
|
|
74850
74856
|
deposit,
|
|
74851
74857
|
rotateSignerKey,
|
|
74852
|
-
signerKeyStatus
|
|
74858
|
+
signerKeyStatus,
|
|
74859
|
+
getConfig,
|
|
74860
|
+
setConfig
|
|
74853
74861
|
};
|
|
74854
74862
|
var TrustedIssuerClaimTopicMutationBodySchema = MutationInputSchema;
|
|
74855
74863
|
var TrustedIssuerClaimTopicMutationParamsSchema = exports_external.object({
|
|
@@ -77829,7 +77837,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
77829
77837
|
}
|
|
77830
77838
|
var package_default = {
|
|
77831
77839
|
name: "@settlemint/dalp-sdk",
|
|
77832
|
-
version: "2.1.7-main.
|
|
77840
|
+
version: "2.1.7-main.25377464610",
|
|
77833
77841
|
private: false,
|
|
77834
77842
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
77835
77843
|
homepage: "https://settlemint.com",
|
|
@@ -78380,7 +78388,7 @@ function trimConfigValue(name, value3) {
|
|
|
78380
78388
|
// package.json
|
|
78381
78389
|
var package_default2 = {
|
|
78382
78390
|
name: "@settlemint/dalp-cli",
|
|
78383
|
-
version: "2.1.7-main.
|
|
78391
|
+
version: "2.1.7-main.25377464610",
|
|
78384
78392
|
private: false,
|
|
78385
78393
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
78386
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",
|