@twin.org/nft-cli 0.0.2-next.2 → 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,10 +438,11 @@ 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
|
-
overrideOutputWidth: options?.overrideOutputWidth
|
|
444
|
+
overrideOutputWidth: options?.overrideOutputWidth,
|
|
445
|
+
showDevToolWarning: true
|
|
445
446
|
}, localesDirectory ?? path.join(path.dirname(node_url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('index.cjs', document.baseURI).href)))), "../locales"), argv);
|
|
446
447
|
}
|
|
447
448
|
/**
|
package/dist/esm/index.mjs
CHANGED
|
@@ -435,10 +435,11 @@ 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
|
-
overrideOutputWidth: options?.overrideOutputWidth
|
|
441
|
+
overrideOutputWidth: options?.overrideOutputWidth,
|
|
442
|
+
showDevToolWarning: true
|
|
442
443
|
}, localesDirectory ?? path.join(path.dirname(fileURLToPath(import.meta.url)), "../locales"), argv);
|
|
443
444
|
}
|
|
444
445
|
/**
|
package/dist/locales/en.json
CHANGED
|
@@ -163,6 +163,10 @@
|
|
|
163
163
|
"slip0010": {
|
|
164
164
|
"invalidSeed": "The seed is invalid \"{seed}\""
|
|
165
165
|
},
|
|
166
|
+
"rsa": {
|
|
167
|
+
"noPrivateKey": "Private key is required for this operation",
|
|
168
|
+
"invalidKeySize": "Invalid RSA key size"
|
|
169
|
+
},
|
|
166
170
|
"commands": {
|
|
167
171
|
"common": {
|
|
168
172
|
"missingEnv": "The \"{option}\" option is configured as an environment variable, but there is no environment variable with the name \"{value}\" set.",
|
|
@@ -195,17 +199,25 @@
|
|
|
195
199
|
"updateFailed": "Updating the NFT failed",
|
|
196
200
|
"namespaceMismatch": "The namespace in the urn \"{id}\" does not match the namespace of the IOTA NFT connector \"{namespace}\"",
|
|
197
201
|
"failedToGetNftId": "Failed to get NFT ID from mint response",
|
|
198
|
-
"nftNotFound": "The NFT \"{
|
|
202
|
+
"nftNotFound": "The NFT \"{notFoundId}\" was not found",
|
|
199
203
|
"nftOwnerNftFound": "The owner for NFT \"{nftId}\" was not found",
|
|
200
204
|
"startFailed": "Failed to start the IOTA NFT connector",
|
|
201
|
-
"
|
|
202
|
-
"connectorNotStarted": "Please call start() before using this connector. Package ID: \"{packageId}\" is missing.",
|
|
205
|
+
"packageIdNotInitialised": "The package id has not been initialised.",
|
|
203
206
|
"invalidImmutableMetadata": "The immutable metadata for NFT \"{nftId}\" is invalid",
|
|
204
207
|
"invalidMetadata": "The metadata for NFT \"{nftId}\" is invalid",
|
|
205
208
|
"contractDataNotFound": "Contract data not found for network \"{network}\". Available networks: {availableNetworks}",
|
|
206
209
|
"packageNotFoundOnNetwork": "Package \"{deployedPackageId}\" not found on \"{network}\" network",
|
|
207
210
|
"deployedPackageIdRequired": "deployedPackageId is required for network operations on \"{network}\".",
|
|
208
|
-
"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"
|
|
209
221
|
},
|
|
210
222
|
"iotaNftUtils": {
|
|
211
223
|
"invalidNftIdFormat": "The NFT ID \"{id}\" has an invalid format"
|
|
@@ -221,6 +233,23 @@
|
|
|
221
233
|
"gasReservationFailed": "The gas reservation failed",
|
|
222
234
|
"gasStationExecutionFailed": "The gas station execution failed"
|
|
223
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
|
+
},
|
|
224
253
|
"vaultConnectorHelper": {
|
|
225
254
|
"invalidSignature": "The JSON Web token signature could not be verified"
|
|
226
255
|
},
|
|
@@ -275,6 +304,11 @@
|
|
|
275
304
|
"validation": {
|
|
276
305
|
"defaultFieldName": "The field"
|
|
277
306
|
},
|
|
307
|
+
"warn": {
|
|
308
|
+
"common": {
|
|
309
|
+
"devOnlyTool": "This tool is intended to be used for development purposes, it is not recommended for use in production scenarios."
|
|
310
|
+
}
|
|
311
|
+
},
|
|
278
312
|
"cli": {
|
|
279
313
|
"progress": {
|
|
280
314
|
"done": "Done.",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
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
|
+
|
|
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)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* update framework core ([f3496b6](https://github.com/twinfoundation/nft/commit/f3496b61bfebbb3479bb92df39ecfa9ac8d90b9b))
|
|
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.2 to 0.0.2-next.3
|
|
35
|
+
|
|
3
36
|
## [0.0.2-next.2](https://github.com/twinfoundation/nft/compare/nft-cli-v0.0.2-next.1...nft-cli-v0.0.2-next.2) (2025-07-25)
|
|
4
37
|
|
|
5
38
|
|
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",
|