@settlemint/dalp-cli 3.0.6-main.28356593967 → 3.0.6-main.28356967713
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 +21 -22
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -130964,7 +130964,6 @@ var GovernanceProposalStatusSchema = exports_external.enum([
|
|
|
130964
130964
|
]);
|
|
130965
130965
|
var GovernanceVotingModeSchema = exports_external.enum(["binary", "multiOption"]);
|
|
130966
130966
|
var GovernanceVoteSupportSchema = exports_external.enum(["against", "for", "abstain"]);
|
|
130967
|
-
var uint256String2 = exports_external.string().regex(/^\d+$/, "Expected a decimal uint256 string");
|
|
130968
130967
|
var DocumentLinkSchema = exports_external.object({
|
|
130969
130968
|
title: exports_external.string().min(1).max(200),
|
|
130970
130969
|
url: exports_external.string().url().refine((value22) => {
|
|
@@ -131003,7 +131002,7 @@ var GovernanceGetUploadUrlOutputSchema = exports_external.object({
|
|
|
131003
131002
|
});
|
|
131004
131003
|
var GovernanceGetDownloadUrlInputSchema = exports_external.object({
|
|
131005
131004
|
governorAddress: ethereumAddress,
|
|
131006
|
-
proposalId:
|
|
131005
|
+
proposalId: uint256String,
|
|
131007
131006
|
objectKey: exports_external.string().min(1, "Object key is required")
|
|
131008
131007
|
});
|
|
131009
131008
|
var GovernanceGetDownloadUrlOutputSchema = exports_external.object({
|
|
@@ -131013,7 +131012,7 @@ var GovernanceGetDownloadUrlOutputSchema = exports_external.object({
|
|
|
131013
131012
|
expiresAt: exports_external.coerce.date()
|
|
131014
131013
|
});
|
|
131015
131014
|
var GovernanceProposalListItemSchema = exports_external.object({
|
|
131016
|
-
id:
|
|
131015
|
+
id: uint256String,
|
|
131017
131016
|
governorAddress: ethereumAddress,
|
|
131018
131017
|
timelockAddress: ethereumAddress,
|
|
131019
131018
|
tokenAddress: ethereumAddress,
|
|
@@ -131031,30 +131030,30 @@ var GovernanceProposalListItemSchema = exports_external.object({
|
|
|
131031
131030
|
quorumBps: exports_external.number().int().nullable(),
|
|
131032
131031
|
votingPeriodSeconds: exports_external.number().int().nullable(),
|
|
131033
131032
|
executionDelaySeconds: exports_external.number().int().nullable(),
|
|
131034
|
-
forVotes:
|
|
131035
|
-
againstVotes:
|
|
131036
|
-
abstainVotes:
|
|
131037
|
-
totalBallots:
|
|
131038
|
-
optionTallies: exports_external.record(exports_external.string(),
|
|
131033
|
+
forVotes: uint256String,
|
|
131034
|
+
againstVotes: uint256String,
|
|
131035
|
+
abstainVotes: uint256String,
|
|
131036
|
+
totalBallots: uint256String,
|
|
131037
|
+
optionTallies: exports_external.record(exports_external.string(), uint256String).nullable(),
|
|
131039
131038
|
createdAt: exports_external.coerce.date().nullable(),
|
|
131040
131039
|
executedAt: exports_external.coerce.date().nullable(),
|
|
131041
131040
|
canceledAt: exports_external.coerce.date().nullable()
|
|
131042
131041
|
});
|
|
131043
131042
|
var GovernanceProposalReadSchema = GovernanceProposalListItemSchema.extend({
|
|
131044
131043
|
targets: exports_external.array(ethereumAddress).nullable(),
|
|
131045
|
-
values: exports_external.array(
|
|
131044
|
+
values: exports_external.array(uint256String).nullable(),
|
|
131046
131045
|
calldatas: exports_external.array(exports_external.string()).nullable(),
|
|
131047
131046
|
descriptionHash: exports_external.string().nullable(),
|
|
131048
131047
|
descriptionRichText: exports_external.string().nullable(),
|
|
131049
131048
|
documents: exports_external.array(DocumentLinkSchema).nullable(),
|
|
131050
131049
|
options: exports_external.array(exports_external.string()).nullable(),
|
|
131051
|
-
supersedesProposalId:
|
|
131052
|
-
snapshotTotalVotingUnits:
|
|
131053
|
-
quorumVotes:
|
|
131050
|
+
supersedesProposalId: uint256String.nullable(),
|
|
131051
|
+
snapshotTotalVotingUnits: uint256String.nullable(),
|
|
131052
|
+
quorumVotes: uint256String.nullable()
|
|
131054
131053
|
});
|
|
131055
131054
|
var GovernanceProposalReadInputSchema = exports_external.object({
|
|
131056
131055
|
governorAddress: ethereumAddress,
|
|
131057
|
-
proposalId:
|
|
131056
|
+
proposalId: uint256String
|
|
131058
131057
|
});
|
|
131059
131058
|
var GovernanceCreateSchema = MutationInputSchema.extend({
|
|
131060
131059
|
tokenAddress: ethereumAddress,
|
|
@@ -131069,7 +131068,7 @@ var GovernanceCreateSchema = MutationInputSchema.extend({
|
|
|
131069
131068
|
quorumBps: exports_external.coerce.number().int().min(1).max(GOVERNANCE_BOUNDS.quorumBpsMax),
|
|
131070
131069
|
executionDelaySeconds: exports_external.coerce.number().int().min(GOVERNANCE_BOUNDS.executionDelayMinSeconds).max(GOVERNANCE_BOUNDS.executionDelayMaxSeconds).default(GOVERNANCE_BOUNDS.executionDelayDefaultSeconds),
|
|
131071
131070
|
quorumFloorBps: exports_external.coerce.number().int().min(1).max(GOVERNANCE_BOUNDS.quorumBpsMax).default(500),
|
|
131072
|
-
supersedesProposalId:
|
|
131071
|
+
supersedesProposalId: uint256String.optional()
|
|
131073
131072
|
}).superRefine((value22, ctx) => {
|
|
131074
131073
|
if (value22.mode === "multiOption") {
|
|
131075
131074
|
if (!value22.options || value22.options.length < 2) {
|
|
@@ -131092,12 +131091,12 @@ var GovernanceCreateOutputSchema = exports_external.object({
|
|
|
131092
131091
|
transactionHash: exports_external.string(),
|
|
131093
131092
|
governorAddress: ethereumAddress,
|
|
131094
131093
|
timelockAddress: ethereumAddress,
|
|
131095
|
-
proposalId:
|
|
131094
|
+
proposalId: uint256String
|
|
131096
131095
|
});
|
|
131097
131096
|
var GovernanceCastVoteSchema = MutationInputSchema.extend({
|
|
131098
131097
|
tokenAddress: ethereumAddress,
|
|
131099
131098
|
governorAddress: ethereumAddress,
|
|
131100
|
-
proposalId:
|
|
131099
|
+
proposalId: uint256String,
|
|
131101
131100
|
support: GovernanceVoteSupportSchema.optional(),
|
|
131102
131101
|
optionIndex: exports_external.number().int().min(0).max(255).optional(),
|
|
131103
131102
|
reason: exports_external.string().max(2000).optional()
|
|
@@ -131119,22 +131118,22 @@ var GovernanceCastVoteSchema = MutationInputSchema.extend({
|
|
|
131119
131118
|
});
|
|
131120
131119
|
var GovernanceCastVoteOutputSchema = exports_external.object({
|
|
131121
131120
|
transactionHash: exports_external.string(),
|
|
131122
|
-
proposalId:
|
|
131121
|
+
proposalId: uint256String
|
|
131123
131122
|
});
|
|
131124
131123
|
var GovernanceLifecycleInputSchema = MutationInputSchema.extend({
|
|
131125
131124
|
tokenAddress: ethereumAddress,
|
|
131126
131125
|
governorAddress: ethereumAddress,
|
|
131127
|
-
proposalId:
|
|
131126
|
+
proposalId: uint256String
|
|
131128
131127
|
});
|
|
131129
131128
|
var GovernanceLifecycleOutputSchema = exports_external.object({
|
|
131130
131129
|
transactionHash: exports_external.string(),
|
|
131131
|
-
proposalId:
|
|
131130
|
+
proposalId: uint256String
|
|
131132
131131
|
});
|
|
131133
131132
|
var GovernanceBallotItemSchema = exports_external.object({
|
|
131134
131133
|
voter: ethereumAddress,
|
|
131135
131134
|
support: GovernanceVoteSupportSchema,
|
|
131136
131135
|
optionIndex: exports_external.number().int().nullable(),
|
|
131137
|
-
weight:
|
|
131136
|
+
weight: uint256String,
|
|
131138
131137
|
reason: exports_external.string().nullable(),
|
|
131139
131138
|
castAt: exports_external.coerce.date(),
|
|
131140
131139
|
transactionHash: exports_external.string()
|
|
@@ -144563,7 +144562,7 @@ function normalizeDalpBaseUrl(url2) {
|
|
|
144563
144562
|
}
|
|
144564
144563
|
var package_default = {
|
|
144565
144564
|
name: "@settlemint/dalp-sdk",
|
|
144566
|
-
version: "3.0.6-main.
|
|
144565
|
+
version: "3.0.6-main.28356967713",
|
|
144567
144566
|
private: false,
|
|
144568
144567
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
144569
144568
|
homepage: "https://settlemint.com",
|
|
@@ -145808,7 +145807,7 @@ var failedStateSet = new Set(FAILED_TRANSACTION_STATES);
|
|
|
145808
145807
|
// package.json
|
|
145809
145808
|
var package_default2 = {
|
|
145810
145809
|
name: "@settlemint/dalp-cli",
|
|
145811
|
-
version: "3.0.6-main.
|
|
145810
|
+
version: "3.0.6-main.28356967713",
|
|
145812
145811
|
private: false,
|
|
145813
145812
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
145814
145813
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@settlemint/dalp-cli",
|
|
3
|
-
"version": "3.0.6-main.
|
|
3
|
+
"version": "3.0.6-main.28356967713",
|
|
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",
|