@settlemint/dalp-sdk 2.1.7-main.22943556441 → 2.1.7-main.22946660389
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/index.js +6 -6
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -13470,7 +13470,7 @@ var ExternalTokenV2ListOutputSchema = createPaginatedResponse(ExternalTokenSchem
|
|
|
13470
13470
|
// ../../packages/dalp/dapi/contract/src/routes/v2/external-token/external-token.v2.register.schema.ts
|
|
13471
13471
|
import { z as z318 } from "zod";
|
|
13472
13472
|
var ExternalTokenV2RegisterInputSchema = ExternalTokenRegisterInputSchema;
|
|
13473
|
-
var ExternalTokenV2RegisterOutputSchema =
|
|
13473
|
+
var ExternalTokenV2RegisterOutputSchema = createAsyncBlockchainMutationResponse(z318.object({
|
|
13474
13474
|
tokenAddress: ethereumAddress.meta({
|
|
13475
13475
|
description: "The registered token address",
|
|
13476
13476
|
examples: ["0x71C7656EC7ab88b098defB751B7401B5f6d8976F"]
|
|
@@ -13511,7 +13511,7 @@ var execute4 = v2Contract.route({
|
|
|
13511
13511
|
description: "Execute identity recovery for a user. Creates new wallet, deploys new OnchainID, recovers identity and tokens on-chain.",
|
|
13512
13512
|
successDescription: "Identity recovery workflow submitted successfully.",
|
|
13513
13513
|
tags: ["v2-identity-recovery"]
|
|
13514
|
-
}).input(v2Input.body(RecoveryExecuteInputSchema)).output(
|
|
13514
|
+
}).input(v2Input.body(RecoveryExecuteInputSchema)).output(createAsyncBlockchainMutationResponse(RecoveryExecuteOutputSchema));
|
|
13515
13515
|
var status2 = v2Contract.route({
|
|
13516
13516
|
method: "GET",
|
|
13517
13517
|
path: "/identity-recovery/status/{userId}",
|
|
@@ -14072,14 +14072,14 @@ var grantRole = v2Contract.route({
|
|
|
14072
14072
|
description: "Grant a role to multiple accounts.",
|
|
14073
14073
|
successDescription: "Roles granted successfully.",
|
|
14074
14074
|
tags: ["v2-access-manager"]
|
|
14075
|
-
}).meta({ contractErrors: [...ACCESS_ERRORS] }).input(v2Input.paramsBody(z338.object({ address: GrantRoleInputSchema.shape.account }), GrantRoleInputSchema.omit({ account: true }))).output(
|
|
14075
|
+
}).meta({ contractErrors: [...ACCESS_ERRORS] }).input(v2Input.paramsBody(z338.object({ address: GrantRoleInputSchema.shape.account }), GrantRoleInputSchema.omit({ account: true }))).output(createAsyncBlockchainMutationResponse(GrantRoleOutputSchema));
|
|
14076
14076
|
var revokeRole = v2Contract.route({
|
|
14077
14077
|
method: "DELETE",
|
|
14078
14078
|
path: "/system/roles/{address}/revoke",
|
|
14079
14079
|
description: "Revoke a role from multiple accounts.",
|
|
14080
14080
|
successDescription: "Roles revoked successfully.",
|
|
14081
14081
|
tags: ["v2-access-manager"]
|
|
14082
|
-
}).meta({ contractErrors: [...ACCESS_ERRORS] }).input(v2Input.paramsBody(z338.object({ address: RevokeRoleInputSchema.shape.account }), RevokeRoleInputSchema.omit({ account: true }))).output(
|
|
14082
|
+
}).meta({ contractErrors: [...ACCESS_ERRORS] }).input(v2Input.paramsBody(z338.object({ address: RevokeRoleInputSchema.shape.account }), RevokeRoleInputSchema.omit({ account: true }))).output(createAsyncBlockchainMutationResponse(RevokeRoleOutputSchema));
|
|
14083
14083
|
var accessManagerV2Contract = {
|
|
14084
14084
|
rolesList,
|
|
14085
14085
|
rolesRead,
|
|
@@ -14869,7 +14869,7 @@ var create17 = v2Contract.route({
|
|
|
14869
14869
|
description: "Deploy one or more token factory contracts for creating specific token types",
|
|
14870
14870
|
successDescription: "Token factory deployed successfully",
|
|
14871
14871
|
tags: [...TAGS25]
|
|
14872
|
-
}).meta({ contractErrors: [...FACTORY_ERRORS2] }).input(v2Input.body(FactoryCreateSchema)).output(
|
|
14872
|
+
}).meta({ contractErrors: [...FACTORY_ERRORS2] }).input(v2Input.body(FactoryCreateSchema)).output(createAsyncBlockchainMutationResponse(SystemSchema));
|
|
14873
14873
|
var read23 = v2Contract.route({
|
|
14874
14874
|
method: "GET",
|
|
14875
14875
|
path: "/system/factories/{factoryAddress}",
|
|
@@ -20992,7 +20992,7 @@ var dalpSerializers = [
|
|
|
20992
20992
|
// package.json
|
|
20993
20993
|
var package_default = {
|
|
20994
20994
|
name: "@settlemint/dalp-sdk",
|
|
20995
|
-
version: "2.1.7-main.
|
|
20995
|
+
version: "2.1.7-main.22946660389",
|
|
20996
20996
|
private: false,
|
|
20997
20997
|
description: "Fully typed SDK for the DALP tokenization platform API",
|
|
20998
20998
|
homepage: "https://settlemint.com",
|
package/package.json
CHANGED