@twin.org/nft-cli 0.0.2-next.3 → 0.0.2-next.5

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.
@@ -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.3", // x-release-please-version
441
+ version: "0.0.2-next.5", // x-release-please-version
442
442
  icon: "🌍",
443
443
  supportsEnvFiles: true,
444
444
  overrideOutputWidth: options?.overrideOutputWidth,
@@ -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.3", // x-release-please-version
438
+ version: "0.0.2-next.5", // x-release-please-version
439
439
  icon: "🌍",
440
440
  supportsEnvFiles: true,
441
441
  overrideOutputWidth: options?.overrideOutputWidth,
@@ -199,17 +199,26 @@
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 \"{nftId}\" was not found",
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
- "deployTransactionFailed": "Deploying the contract failed with error: \"{error}\"",
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",
221
+ "noWalletConfigured": "For write operations a wallet must be configured in the connector options"
213
222
  },
214
223
  "iotaNftUtils": {
215
224
  "invalidNftIdFormat": "The NFT ID \"{id}\" has an invalid format"
@@ -225,6 +234,23 @@
225
234
  "gasReservationFailed": "The gas reservation failed",
226
235
  "gasStationExecutionFailed": "The gas station execution failed"
227
236
  },
237
+ "iotaSmartContractUtils": {
238
+ "migrationFailed": "Smart contract migration failed",
239
+ "migrateSmartContractFailed": "Failed to migrate smart contract for object \"{objectId}\"",
240
+ "enableMigrationFailed": "Failed to enable migration for smart contract",
241
+ "disableMigrationFailed": "Failed to disable migration for smart contract",
242
+ "migrationStateNotReadable": "Cannot read migration state for ID \"{migrationStateId}\"",
243
+ "isMigrationActiveFailed": "Failed to check if migration is active",
244
+ "invalidVersionData": "Invalid version data received from smart contract",
245
+ "getCurrentContractVersionNoData": "No version data returned from contract",
246
+ "getCurrentContractVersionFailed": "Failed to get current contract version",
247
+ "objectNotReadable": "Cannot read object with ID \"{objectId}\"",
248
+ "objectInvalidFormat": "Object \"{objectId}\" has invalid format",
249
+ "validateObjectVersionFailed": "Failed to validate object version for \"{objectId}\"",
250
+ "getContractObjectIdsFailed": "Failed to get contract object IDs for namespace \"{namespace}\" on network \"{network}\"",
251
+ "adminCapNotFound": "AdminCap object not found for type \"{adminCapType}\" and address \"{adminAddress}\"",
252
+ "migrationStateNotFound": "MigrationState object not found for type \"{migrationStateType}\" and address \"{adminAddress}\""
253
+ },
228
254
  "vaultConnectorHelper": {
229
255
  "invalidSignature": "The JSON Web token signature could not be verified"
230
256
  },
package/docs/changelog.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @twin.org/nft-cli - Changelog
2
2
 
3
+ ## [0.0.2-next.5](https://github.com/twinfoundation/nft/compare/nft-cli-v0.0.2-next.4...nft-cli-v0.0.2-next.5) (2025-09-22)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **nft-cli:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/nft-connector-iota bumped from 0.0.2-next.4 to 0.0.2-next.5
16
+
17
+ ## [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)
18
+
19
+
20
+ ### Features
21
+
22
+ * eslint migration to flat config ([0e6fc12](https://github.com/twinfoundation/nft/commit/0e6fc128c3c8f6cd34db793787437dd4af2c9994))
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * contract independent tests ([#35](https://github.com/twinfoundation/nft/issues/35)) ([b54ad6e](https://github.com/twinfoundation/nft/commit/b54ad6e1727284230f21db0032dc8ff437444812))
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @twin.org/nft-connector-iota bumped from 0.0.2-next.3 to 0.0.2-next.4
35
+
3
36
  ## [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
37
 
5
38
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  The NFT connector types.
6
6
 
7
- ## Type declaration
7
+ ## Type Declaration
8
8
 
9
9
  ### Iota
10
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/nft-cli",
3
- "version": "0.0.2-next.3",
3
+ "version": "0.0.2-next.5",
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.3",
24
+ "@twin.org/nft-connector-iota": "0.0.2-next.5",
25
25
  "@twin.org/vault-connector-entity-storage": "next",
26
26
  "@twin.org/vault-models": "next",
27
27
  "@twin.org/wallet-cli": "next",