@settlemint/dalp-cli 2.1.7-main.26520528488 → 2.1.7-main.26523115874
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 +6 -36
- package/package.json +1 -1
package/dist/dalp.js
CHANGED
|
@@ -64334,20 +64334,6 @@ var DAPI_ROUTE_ERROR_ENTRIES = [
|
|
|
64334
64334
|
data: tokenFeatureIdSchema
|
|
64335
64335
|
})
|
|
64336
64336
|
},
|
|
64337
|
-
{
|
|
64338
|
-
code: "TOKEN_FEATURE_ROTATE_UNSUPPORTED",
|
|
64339
|
-
definition: dapiError({
|
|
64340
|
-
id: "DALP-0633",
|
|
64341
|
-
category: "client",
|
|
64342
|
-
status: 409,
|
|
64343
|
-
message: "Token feature rotation is not supported by the current feature factory contracts.",
|
|
64344
|
-
why: "Current token feature factories reject `createFeature` while a feature is already registered for the token. The rotate route cannot deploy a replacement feature until the contracts expose a supported replacement primitive.",
|
|
64345
|
-
fix: "Detach the current feature and use a feature-specific create flow when available, or wait for a contract-level replacement primitive before retrying rotate.",
|
|
64346
|
-
retryable: false,
|
|
64347
|
-
expectedClientError: true,
|
|
64348
|
-
data: dapiErrorContextDataSchema
|
|
64349
|
-
})
|
|
64350
|
-
},
|
|
64351
64337
|
{
|
|
64352
64338
|
code: "TOKEN_IDENTITY_REGISTRY_NOT_FOUND",
|
|
64353
64339
|
definition: dapiError({
|
|
@@ -82215,10 +82201,6 @@ var TokenFeatureMaturityRedemptionCreateBodySchema = TokenFeatureMaturityRedempt
|
|
|
82215
82201
|
tokenAddress: true
|
|
82216
82202
|
});
|
|
82217
82203
|
var TokenFeatureMaturityRedemptionDetachInputSchema = TokenMutationInputSchema.extend({});
|
|
82218
|
-
var TokenFeatureMaturityRedemptionRotateBaseSchema = TokenFeatureMaturityRedemptionCreateBaseSchema;
|
|
82219
|
-
var TokenFeatureMaturityRedemptionRotateBodySchema = TokenFeatureMaturityRedemptionRotateBaseSchema.omit({
|
|
82220
|
-
tokenAddress: true
|
|
82221
|
-
});
|
|
82222
82204
|
var TokenFeatureTransactionFeeCreateBaseSchema = TokenMutationInputSchema.extend({
|
|
82223
82205
|
mintFeeBps: feeRateBps().meta({
|
|
82224
82206
|
description: "Mint fee rate in basis points (e.g. 200 = 2%).",
|
|
@@ -82580,7 +82562,6 @@ var FREEZE = ["DALP-1019", "DALP-1020", "DALP-1024", "DALP-1025", "DALP-1043"];
|
|
|
82580
82562
|
var RECOVERY = ["DALP-1076", "DALP-1079", "DALP-4051"];
|
|
82581
82563
|
var ROLES = ["DALP-4008", "DALP-4009"];
|
|
82582
82564
|
var mutationOutput = createAsyncBlockchainMutationResponse(TokenSchema);
|
|
82583
|
-
var unsupportedMutationOutput = exports_external.void();
|
|
82584
82565
|
var create18 = v2Contract.route({
|
|
82585
82566
|
method: "POST",
|
|
82586
82567
|
path: "/tokens",
|
|
@@ -83004,13 +82985,6 @@ var featureMaturityRedemptionDetach = v2Contract.route({
|
|
|
83004
82985
|
successDescription: "Maturity-redemption feature detached successfully.",
|
|
83005
82986
|
tags: [V2_TAG.token]
|
|
83006
82987
|
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFeatureMaturityRedemptionDetachInputSchema.omit({ tokenAddress: true }))).output(mutationOutput);
|
|
83007
|
-
var featureMaturityRedemptionRotate = v2Contract.route({
|
|
83008
|
-
method: "PUT",
|
|
83009
|
-
path: "/tokens/{tokenAddress}/maturity-redemption/features",
|
|
83010
|
-
description: "Deploy a new maturity-redemption feature on a CONFIGURABLE token and swap it in for the currently-attached one via `ISMARTConfigurable.setFeatures`. Mirrors the create flow but replaces the existing feature address rather than appending.",
|
|
83011
|
-
successDescription: "Maturity-redemption feature rotated successfully.",
|
|
83012
|
-
tags: [V2_TAG.token]
|
|
83013
|
-
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS] }).input(v2Input.paramsBody(TokenReadInputSchema, TokenFeatureMaturityRedemptionRotateBodySchema)).output(mutationOutput);
|
|
83014
82988
|
var featureApproveYieldAllowance = v2Contract.route({
|
|
83015
82989
|
method: "POST",
|
|
83016
82990
|
path: "/tokens/{tokenAddress}/fixed-treasury-yield/treasury-allowance",
|
|
@@ -83238,13 +83212,10 @@ var featureDetach = v2Contract.route({
|
|
|
83238
83212
|
var featureRotate = v2Contract.route({
|
|
83239
83213
|
method: "POST",
|
|
83240
83214
|
path: "/tokens/{tokenAddress}/features/{typeId}/rotate",
|
|
83241
|
-
description: "
|
|
83242
|
-
|
|
83243
|
-
|
|
83244
|
-
|
|
83245
|
-
return operation;
|
|
83246
|
-
}
|
|
83247
|
-
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-0632", "DALP-0633"] }).input(v2Input.paramsBody(TokenFeatureDetachRotateParamsSchema, TokenFeatureRotateBodySchema)).output(unsupportedMutationOutput);
|
|
83215
|
+
description: "Rotate the live instance of the given feature typeId on a CONFIGURABLE token via factory.replaceFeature + ISMARTConfigurable.setFeatures. The factory predicts the replacement address and deploys it; the token swaps the existing feature address for the predicted address in its feature list.",
|
|
83216
|
+
successDescription: "Feature instance rotated successfully.",
|
|
83217
|
+
tags: [V2_TAG.token]
|
|
83218
|
+
}).meta({ contractErrors: [...COMMON_CONTRACT_ERRORS, "DALP-0632"] }).input(v2Input.paramsBody(TokenFeatureDetachRotateParamsSchema, TokenFeatureRotateBodySchema)).output(mutationOutput);
|
|
83248
83219
|
var tokenV2MutationsContract = {
|
|
83249
83220
|
create: create18,
|
|
83250
83221
|
mint,
|
|
@@ -83294,7 +83265,6 @@ var tokenV2MutationsContract = {
|
|
|
83294
83265
|
featureMature,
|
|
83295
83266
|
featureMaturityRedemptionCreate,
|
|
83296
83267
|
featureMaturityRedemptionDetach,
|
|
83297
|
-
featureMaturityRedemptionRotate,
|
|
83298
83268
|
featureRedeem,
|
|
83299
83269
|
featureApproveAllowance,
|
|
83300
83270
|
featureApproveYieldAllowance,
|
|
@@ -86838,7 +86808,7 @@ function normalizeDalpBaseUrl(url3) {
|
|
|
86838
86808
|
}
|
|
86839
86809
|
var package_default = {
|
|
86840
86810
|
name: "@settlemint/dalp-sdk",
|
|
86841
|
-
version: "2.1.7-main.
|
|
86811
|
+
version: "2.1.7-main.26523115874",
|
|
86842
86812
|
private: false,
|
|
86843
86813
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
86844
86814
|
homepage: "https://settlemint.com",
|
|
@@ -87410,7 +87380,7 @@ function toStandardWebhookSecret(secret) {
|
|
|
87410
87380
|
// package.json
|
|
87411
87381
|
var package_default2 = {
|
|
87412
87382
|
name: "@settlemint/dalp-cli",
|
|
87413
|
-
version: "2.1.7-main.
|
|
87383
|
+
version: "2.1.7-main.26523115874",
|
|
87414
87384
|
private: false,
|
|
87415
87385
|
description: "CLI for the Digital Asset Lifecycle Platform — manage tokens, identities, compliance, and more from the command line.",
|
|
87416
87386
|
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.26523115874",
|
|
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",
|