@twin.org/nft-cli 0.0.2-next.3 → 0.0.2-next.4
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/cjs/index.cjs
CHANGED
|
@@ -438,7 +438,7 @@ class CLI extends cliCore.CLIBase {
|
|
|
438
438
|
return this.execute({
|
|
439
439
|
title: "TWIN NFT",
|
|
440
440
|
appName: "twin-nft",
|
|
441
|
-
version: "0.0.2-next.
|
|
441
|
+
version: "0.0.2-next.4", // x-release-please-version
|
|
442
442
|
icon: "🌍",
|
|
443
443
|
supportsEnvFiles: true,
|
|
444
444
|
overrideOutputWidth: options?.overrideOutputWidth,
|
package/dist/esm/index.mjs
CHANGED
|
@@ -435,7 +435,7 @@ class CLI extends CLIBase {
|
|
|
435
435
|
return this.execute({
|
|
436
436
|
title: "TWIN NFT",
|
|
437
437
|
appName: "twin-nft",
|
|
438
|
-
version: "0.0.2-next.
|
|
438
|
+
version: "0.0.2-next.4", // x-release-please-version
|
|
439
439
|
icon: "🌍",
|
|
440
440
|
supportsEnvFiles: true,
|
|
441
441
|
overrideOutputWidth: options?.overrideOutputWidth,
|
package/dist/locales/en.json
CHANGED
|
@@ -199,17 +199,25 @@
|
|
|
199
199
|
"updateFailed": "Updating the NFT failed",
|
|
200
200
|
"namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the IOTA NFT connector \"{namespace}\"",
|
|
201
201
|
"failedToGetNftId": "Failed to get NFT ID from mint response",
|
|
202
|
-
"nftNotFound": "The NFT \"{
|
|
202
|
+
"nftNotFound": "The NFT \"{notFoundId}\" was not found",
|
|
203
203
|
"nftOwnerNftFound": "The owner for NFT \"{nftId}\" was not found",
|
|
204
204
|
"startFailed": "Failed to start the IOTA NFT connector",
|
|
205
|
-
"
|
|
206
|
-
"connectorNotStarted": "Please call start() before using this connector. Package ID: \"{packageId}\" is missing.",
|
|
205
|
+
"packageIdNotInitialised": "The package id has not been initialised.",
|
|
207
206
|
"invalidImmutableMetadata": "The immutable metadata for NFT \"{nftId}\" is invalid",
|
|
208
207
|
"invalidMetadata": "The metadata for NFT \"{nftId}\" is invalid",
|
|
209
208
|
"contractDataNotFound": "Contract data not found for network \"{network}\". Available networks: {availableNetworks}",
|
|
210
209
|
"packageNotFoundOnNetwork": "Package \"{deployedPackageId}\" not found on \"{network}\" network",
|
|
211
210
|
"deployedPackageIdRequired": "deployedPackageId is required for network operations on \"{network}\".",
|
|
212
|
-
"packageIdNotFound": "Package ID not found for network \"{network}\""
|
|
211
|
+
"packageIdNotFound": "Package ID not found for network \"{network}\"",
|
|
212
|
+
"invalidGasBudget": "Invalid gas budget: {gasBudget}",
|
|
213
|
+
"migrateNftFailed": "Failed to migrate NFT \"{nftId}\" to version {version}",
|
|
214
|
+
"enableMigrationFailed": "Failed to enable migration on the blockchain",
|
|
215
|
+
"disableMigrationFailed": "Failed to disable migration on the blockchain",
|
|
216
|
+
"isMigrationActiveFailed": "Failed to check migration status from the blockchain",
|
|
217
|
+
"validateNftVersionFailed": "Failed to validate NFT version compatibility",
|
|
218
|
+
"nftContractVersionNotFound": "Contract version field not found for NFT \"{nftId}\"",
|
|
219
|
+
"getNftContractVersionFailed": "Failed to retrieve contract version for NFT \"{nftId}\"",
|
|
220
|
+
"getCurrentContractVersionFailed": "Failed to retrieve current contract version from blockchain"
|
|
213
221
|
},
|
|
214
222
|
"iotaNftUtils": {
|
|
215
223
|
"invalidNftIdFormat": "The NFT ID \"{id}\" has an invalid format"
|
|
@@ -225,6 +233,23 @@
|
|
|
225
233
|
"gasReservationFailed": "The gas reservation failed",
|
|
226
234
|
"gasStationExecutionFailed": "The gas station execution failed"
|
|
227
235
|
},
|
|
236
|
+
"iotaSmartContractUtils": {
|
|
237
|
+
"migrationFailed": "Smart contract migration failed",
|
|
238
|
+
"migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
|
|
239
|
+
"enableMigrationFailed": "Failed to enable migration for smart contract",
|
|
240
|
+
"disableMigrationFailed": "Failed to disable migration for smart contract",
|
|
241
|
+
"migrationStateNotReadable": "Cannot read migration state for ID \"{migrationStateId}\"",
|
|
242
|
+
"isMigrationActiveFailed": "Failed to check if migration is active",
|
|
243
|
+
"invalidVersionData": "Invalid version data received from smart contract",
|
|
244
|
+
"getCurrentContractVersionNoData": "No version data returned from contract",
|
|
245
|
+
"getCurrentContractVersionFailed": "Failed to get current contract version",
|
|
246
|
+
"objectNotReadable": "Cannot read object with ID \"{objectId}\"",
|
|
247
|
+
"objectInvalidFormat": "Object \"{objectId}\" has invalid format",
|
|
248
|
+
"validateObjectVersionFailed": "Failed to validate object version for \"{objectId}\"",
|
|
249
|
+
"getContractObjectIdsFailed": "Failed to get contract object IDs for namespace \"{namespace}\" on network \"{network}\"",
|
|
250
|
+
"adminCapNotFound": "AdminCap object not found for type \"{adminCapType}\" and address \"{adminAddress}\"",
|
|
251
|
+
"migrationStateNotFound": "MigrationState object not found for type \"{migrationStateType}\" and address \"{adminAddress}\""
|
|
252
|
+
},
|
|
228
253
|
"vaultConnectorHelper": {
|
|
229
254
|
"invalidSignature": "The JSON Web token signature could not be verified"
|
|
230
255
|
},
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @twin.org/nft-cli - Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-next.4](https://github.com/twinfoundation/nft/compare/nft-cli-v0.0.2-next.3...nft-cli-v0.0.2-next.4) (2025-09-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* eslint migration to flat config ([0e6fc12](https://github.com/twinfoundation/nft/commit/0e6fc128c3c8f6cd34db793787437dd4af2c9994))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* contract independent tests ([#35](https://github.com/twinfoundation/nft/issues/35)) ([b54ad6e](https://github.com/twinfoundation/nft/commit/b54ad6e1727284230f21db0032dc8ff437444812))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Dependencies
|
|
17
|
+
|
|
18
|
+
* The following workspace dependencies were updated
|
|
19
|
+
* dependencies
|
|
20
|
+
* @twin.org/nft-connector-iota bumped from 0.0.2-next.3 to 0.0.2-next.4
|
|
21
|
+
|
|
3
22
|
## [0.0.2-next.3](https://github.com/twinfoundation/nft/compare/nft-cli-v0.0.2-next.2...nft-cli-v0.0.2-next.3) (2025-08-20)
|
|
4
23
|
|
|
5
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/nft-cli",
|
|
3
|
-
"version": "0.0.2-next.
|
|
3
|
+
"version": "0.0.2-next.4",
|
|
4
4
|
"description": "A command line interface for interacting with the nft connectors",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@twin.org/entity": "next",
|
|
22
22
|
"@twin.org/entity-storage-connector-memory": "next",
|
|
23
23
|
"@twin.org/nameof": "next",
|
|
24
|
-
"@twin.org/nft-connector-iota": "0.0.2-next.
|
|
24
|
+
"@twin.org/nft-connector-iota": "0.0.2-next.4",
|
|
25
25
|
"@twin.org/vault-connector-entity-storage": "next",
|
|
26
26
|
"@twin.org/vault-models": "next",
|
|
27
27
|
"@twin.org/wallet-cli": "next",
|