pontus-x_cli 2.0.1 → 2.0.2

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/README.md CHANGED
@@ -22,7 +22,7 @@ $ npm install -g pontus-x_cli
22
22
  $ pontus-x_cli COMMAND
23
23
  running command...
24
24
  $ pontus-x_cli (--version)
25
- pontus-x_cli/2.0.1 linux-x64 node-v26.12.0
25
+ pontus-x_cli/2.0.2 linux-x64 node-v26.12.0
26
26
  $ pontus-x_cli --help [COMMAND]
27
27
  USAGE
28
28
  $ pontus-x_cli COMMAND
@@ -109,7 +109,7 @@ EXAMPLES
109
109
  $ pontus-x_cli access did:op:af3e93c4f18903f91b108e7204b8a752e7605f4547ed507212bd6aca63af5686
110
110
  ```
111
111
 
112
- _See code: [src/commands/access.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/access.ts)_
112
+ _See code: [src/commands/access.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/access.ts)_
113
113
 
114
114
  ## `pontus-x_cli autocomplete [SHELL]`
115
115
 
@@ -164,7 +164,7 @@ EXAMPLES
164
164
  $ pontus-x_cli change-currency did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a EURAU
165
165
  ```
166
166
 
167
- _See code: [src/commands/change-currency.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/change-currency.ts)_
167
+ _See code: [src/commands/change-currency.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/change-currency.ts)_
168
168
 
169
169
  ## `pontus-x_cli change-price DID NEWPRICE`
170
170
 
@@ -188,7 +188,7 @@ EXAMPLES
188
188
  $ pontus-x_cli change-price did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a 10
189
189
  ```
190
190
 
191
- _See code: [src/commands/change-price.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/change-price.ts)_
191
+ _See code: [src/commands/change-price.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/change-price.ts)_
192
192
 
193
193
  ## `pontus-x_cli check-participant-compliance`
194
194
 
@@ -209,7 +209,7 @@ EXAMPLES
209
209
  $ pontus-x_cli check-participant-compliance -p ./CEP.data.json --vp ./CEP.vp.json
210
210
  ```
211
211
 
212
- _See code: [src/commands/check-participant-compliance.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/check-participant-compliance.ts)_
212
+ _See code: [src/commands/check-participant-compliance.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/check-participant-compliance.ts)_
213
213
 
214
214
  ## `pontus-x_cli compute [ALGORITHM]`
215
215
 
@@ -240,7 +240,7 @@ EXAMPLES
240
240
  $ pontus-x_cli compute <algorithmDid> -t <tag1> -t <tag2> ...
241
241
  ```
242
242
 
243
- _See code: [src/commands/compute.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/compute.ts)_
243
+ _See code: [src/commands/compute.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/compute.ts)_
244
244
 
245
245
  ## `pontus-x_cli compute-results JOBID`
246
246
 
@@ -263,7 +263,7 @@ EXAMPLES
263
263
  $ pontus-x_cli compute-results 0x1234...-215bae450c8f40f59bfc5d1ccada3931
264
264
  ```
265
265
 
266
- _See code: [src/commands/compute-results.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/compute-results.ts)_
266
+ _See code: [src/commands/compute-results.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/compute-results.ts)_
267
267
 
268
268
  ## `pontus-x_cli compute-status JOBID`
269
269
 
@@ -286,7 +286,7 @@ EXAMPLES
286
286
  $ pontus-x_cli compute-status 0x1234...-215bae450c8f40f59bfc5d1ccada3931
287
287
  ```
288
288
 
289
- _See code: [src/commands/compute-status.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/compute-status.ts)_
289
+ _See code: [src/commands/compute-status.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/compute-status.ts)_
290
290
 
291
291
  ## `pontus-x_cli edit-additional-metadata DID METADATAFILE`
292
292
 
@@ -310,7 +310,7 @@ EXAMPLES
310
310
  $ pontus-x_cli edit-additional-metadata did:op:dcdb747f8feff3122c6d6c0f45a339a6e09415e721f98f61cc2c1d62ab35a21f ./metadata.json
311
311
  ```
312
312
 
313
- _See code: [src/commands/edit-additional-metadata.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-additional-metadata.ts)_
313
+ _See code: [src/commands/edit-additional-metadata.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-additional-metadata.ts)_
314
314
 
315
315
  ## `pontus-x_cli edit-algo DID IMAGE TAG CHECKSUM ENTRYPOINT`
316
316
 
@@ -337,7 +337,7 @@ EXAMPLES
337
337
  $ pontus-x_cli edit-algo did:op:dcdb747f8feff3122c6d6c0f45a339a6e09415e721f98f61cc2c1d62ab35a21f rogargon/pandas-profiling 4.16 sha256:81dca5439f07dff4d56097546a9fce7335be3de8e2622dc105c64e54376f86b5 "python /algorithm/src/main.py"
338
338
  ```
339
339
 
340
- _See code: [src/commands/edit-algo.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-algo.ts)_
340
+ _See code: [src/commands/edit-algo.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-algo.ts)_
341
341
 
342
342
  ## `pontus-x_cli edit-asset-allowed`
343
343
 
@@ -366,7 +366,7 @@ EXAMPLES
366
366
  $ pontus-x_cli edit-asset-allowed -u 0xAbc123... --public
367
367
  ```
368
368
 
369
- _See code: [src/commands/edit-asset-allowed.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-asset-allowed.ts)_
369
+ _See code: [src/commands/edit-asset-allowed.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-asset-allowed.ts)_
370
370
 
371
371
  ## `pontus-x_cli edit-asset-url DID URL`
372
372
 
@@ -390,7 +390,7 @@ EXAMPLES
390
390
  $ pontus-x_cli edit-asset-url did:op:af3e93c4f18903f91b108e7204b8a752e7605f4547ed507212bd6aca63af5686 https://raw.githubusercontent.com/plotly/datasets/refs/heads/master/titanic.csv
391
391
  ```
392
392
 
393
- _See code: [src/commands/edit-asset-url.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-asset-url.ts)_
393
+ _See code: [src/commands/edit-asset-url.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-asset-url.ts)_
394
394
 
395
395
  ## `pontus-x_cli edit-compute-network DID`
396
396
 
@@ -417,7 +417,7 @@ EXAMPLES
417
417
  $ pontus-x_cli edit-compute-network did:ope:37d12a459bed3461cb4553aeac7e8484a7ff144e618fd5a604fb01d73b965d40 --disable
418
418
  ```
419
419
 
420
- _See code: [src/commands/edit-compute-network.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-compute-network.ts)_
420
+ _See code: [src/commands/edit-compute-network.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-compute-network.ts)_
421
421
 
422
422
  ## `pontus-x_cli edit-keywords DID KEYWORDS`
423
423
 
@@ -441,7 +441,7 @@ EXAMPLES
441
441
  $ pontus-x_cli edit-keywords did:op:dcdb747f8feff3122c6d6c0f45a339a6e09415e721f98f61cc2c1d62ab35a21f agrospai,agriculture,data
442
442
  ```
443
443
 
444
- _See code: [src/commands/edit-keywords.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-keywords.ts)_
444
+ _See code: [src/commands/edit-keywords.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-keywords.ts)_
445
445
 
446
446
  ## `pontus-x_cli edit-trusted-algos`
447
447
 
@@ -468,7 +468,7 @@ EXAMPLES
468
468
  $ pontus-x_cli edit-trusted-algos -d <datasetDid1> <datasetDid2> ... -a <algorithmDid1> <algorithmDid2> ...
469
469
  ```
470
470
 
471
- _See code: [src/commands/edit-trusted-algos.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-trusted-algos.ts)_
471
+ _See code: [src/commands/edit-trusted-algos.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-trusted-algos.ts)_
472
472
 
473
473
  ## `pontus-x_cli edit-trusted-publishers`
474
474
 
@@ -494,7 +494,7 @@ EXAMPLES
494
494
  $ pontus-x_cli edit-trusted-publishers -d <datasetDid1> <datasetDid2> ... -p <publisherDid1> <publisherDid2> ...
495
495
  ```
496
496
 
497
- _See code: [src/commands/edit-trusted-publishers.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/edit-trusted-publishers.ts)_
497
+ _See code: [src/commands/edit-trusted-publishers.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/edit-trusted-publishers.ts)_
498
498
 
499
499
  ## `pontus-x_cli export-private-key`
500
500
 
@@ -516,7 +516,7 @@ EXAMPLES
516
516
  $ pontus-x_cli export-private-key
517
517
  ```
518
518
 
519
- _See code: [src/commands/export-private-key.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/export-private-key.ts)_
519
+ _See code: [src/commands/export-private-key.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/export-private-key.ts)_
520
520
 
521
521
  ## `pontus-x_cli generate-asset-credentials DID`
522
522
 
@@ -542,7 +542,7 @@ EXAMPLES
542
542
  $ pontus-x_cli generate-asset-credentials -p ./CEP.data.json -d ./did.json -c certificate.key did:op:01f8bc1e797a854dc718bd7a802acb07c5fc39f706b03dd454bceb66be6828c6
543
543
  ```
544
544
 
545
- _See code: [src/commands/generate-asset-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/generate-asset-credentials.ts)_
545
+ _See code: [src/commands/generate-asset-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/generate-asset-credentials.ts)_
546
546
 
547
547
  ## `pontus-x_cli generate-did-web`
548
548
 
@@ -563,7 +563,7 @@ EXAMPLES
563
563
  $ pontus-x_cli generate-did-web -d <https://compliance.agrospai.udl.cat> -c certificate-chain.crt
564
564
  ```
565
565
 
566
- _See code: [src/commands/generate-did-web.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/generate-did-web.ts)_
566
+ _See code: [src/commands/generate-did-web.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/generate-did-web.ts)_
567
567
 
568
568
  ## `pontus-x_cli generate-manifest`
569
569
 
@@ -587,7 +587,7 @@ EXAMPLES
587
587
  $ pontus-x_cli generate-manifest --keys-dir ./keys --password-env KEY_PASSWORD --output manifest.yaml
588
588
  ```
589
589
 
590
- _See code: [src/commands/generate-manifest.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/generate-manifest.ts)_
590
+ _See code: [src/commands/generate-manifest.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/generate-manifest.ts)_
591
591
 
592
592
  ## `pontus-x_cli generate-participant-credentials`
593
593
 
@@ -610,7 +610,7 @@ EXAMPLES
610
610
  $ pontus-x_cli generate-participant-credentials -p ./CEP.data.json -d ./did.json -c certificate.key
611
611
  ```
612
612
 
613
- _See code: [src/commands/generate-participant-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/generate-participant-credentials.ts)_
613
+ _See code: [src/commands/generate-participant-credentials.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/generate-participant-credentials.ts)_
614
614
 
615
615
  ## `pontus-x_cli generate-private-keys`
616
616
 
@@ -636,7 +636,7 @@ EXAMPLES
636
636
  $ pontus-x_cli generate-private-keys --count 5 --output-dir ./keys
637
637
  ```
638
638
 
639
- _See code: [src/commands/generate-private-keys.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/generate-private-keys.ts)_
639
+ _See code: [src/commands/generate-private-keys.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/generate-private-keys.ts)_
640
640
 
641
641
  ## `pontus-x_cli get DID`
642
642
 
@@ -656,7 +656,7 @@ EXAMPLES
656
656
  $ pontus-x_cli get did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a
657
657
  ```
658
658
 
659
- _See code: [src/commands/get.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/get.ts)_
659
+ _See code: [src/commands/get.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/get.ts)_
660
660
 
661
661
  ## `pontus-x_cli help [COMMAND]`
662
662
 
@@ -699,7 +699,7 @@ EXAMPLES
699
699
  $ pontus-x_cli login d999baae98ac5246568fd726be8832c49626867d.json
700
700
  ```
701
701
 
702
- _See code: [src/commands/login.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/login.ts)_
702
+ _See code: [src/commands/login.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/login.ts)_
703
703
 
704
704
  ## `pontus-x_cli logout`
705
705
 
@@ -716,7 +716,7 @@ EXAMPLES
716
716
  $ pontus-x_cli logout
717
717
  ```
718
718
 
719
- _See code: [src/commands/logout.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/logout.ts)_
719
+ _See code: [src/commands/logout.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/logout.ts)_
720
720
 
721
721
  ## `pontus-x_cli publish PATH`
722
722
 
@@ -749,7 +749,7 @@ EXAMPLES
749
749
  $ pontus-x_cli publish samples/publish/algo/index.ts
750
750
  ```
751
751
 
752
- _See code: [src/commands/publish.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/publish.ts)_
752
+ _See code: [src/commands/publish.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/publish.ts)_
753
753
 
754
754
  ## `pontus-x_cli render [DID]`
755
755
 
@@ -766,7 +766,7 @@ FLAGS
766
766
  -t, --tags=<value>... Tags to filter datasets (they must have all the provided tags)
767
767
  ```
768
768
 
769
- _See code: [src/commands/render.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/render.ts)_
769
+ _See code: [src/commands/render.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/render.ts)_
770
770
 
771
771
  ## `pontus-x_cli revoke`
772
772
 
@@ -790,7 +790,7 @@ EXAMPLES
790
790
  $ pontus-x_cli revoke -d did:op:ffeee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7a did:op:abcee8c8f19328985ef6743b08e61ef89d5141027fd47612e32e7900cacd2b7b
791
791
  ```
792
792
 
793
- _See code: [src/commands/revoke.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/revoke.ts)_
793
+ _See code: [src/commands/revoke.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/revoke.ts)_
794
794
 
795
795
  ## `pontus-x_cli self-description DID SDURL`
796
796
 
@@ -814,7 +814,7 @@ EXAMPLES
814
814
  $ pontus-x_cli self-description did:op:d22954f2cbf6a85c897ce605c275cc786e099592cc59e3b7dd66b93e784bed8c https://example.com/self-description.json
815
815
  ```
816
816
 
817
- _See code: [src/commands/self-description.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.1/src/commands/self-description.ts)_
817
+ _See code: [src/commands/self-description.ts](https://github.com/AgrospAI/pontus-x_cli/blob/v2.0.2/src/commands/self-description.ts)_
818
818
  <!-- commandsstop -->
819
819
 
820
820
  # Useful information
@@ -1433,5 +1433,5 @@
1433
1433
  ]
1434
1434
  }
1435
1435
  },
1436
- "version": "2.0.1"
1436
+ "version": "2.0.2"
1437
1437
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pontus-x_cli",
3
3
  "description": "Command Line Interface for the Pontus-X Data Space Ecosystem",
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "author": "AgrospAI",
6
6
  "bin": {
7
7
  "pontus-x_cli": "bin/run.js"
@@ -76,7 +76,6 @@
76
76
  "url": "git+https://github.com/AgrospAI/pontus-x_cli.git"
77
77
  },
78
78
  "scripts": {
79
- "postinstall": "node src/scripts/patch-nautilus.cjs",
80
79
  "dev": "npm run build && ts-node -r tsconfig-paths/register ./bin/dev.js",
81
80
  "build": "shx rm -rf dist tsconfig.tsbuildinfo && tsc -b && tsc-alias -p tsconfig.json && shx cp -r src/lib/gaia-x_compliance/generate-credentials/templates dist/lib/gaia-x_compliance/generate-credentials/",
82
81
  "format": "npx @biomejs/biome format --write",
@@ -1,15 +0,0 @@
1
- "use strict";
2
- const fs = require("node:fs");
3
- const path = require("node:path");
4
- const filePath = path.resolve(__dirname, "../../node_modules/@deltadao/nautilus/_esm/publish/index.js");
5
- if (fs.existsSync(filePath)) {
6
- let content = fs.readFileSync(filePath, "utf8");
7
- const unpatched = "const permissions = await nft.getNftPermissions(nftAddress, address);";
8
- const patched = `let permissions;\n try {\n permissions = await nft.getNftPermissions(nftAddress, address);\n } catch {\n // Read may lag the creation transaction by a block or two\n }`;
9
- if (content.includes(unpatched)) {
10
- content = content.replace(unpatched, patched);
11
- fs.writeFileSync(filePath, content, "utf8");
12
- console.log("✅ Patched Nautilus waitForMetadataPermission for RPC lag tolerance.");
13
- }
14
- }
15
- //# sourceMappingURL=patch-nautilus.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"patch-nautilus.cjs","sourceRoot":"","sources":["../../src/scripts/patch-nautilus.cjs"],"names":[],"mappings":";AAAA,MAAM,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;AAC9B,MAAM,IAAI,GAAG,OAAO,CAAC,WAAW,CAAC,CAAC;AAElC,MAAM,QAAQ,GAAG,IAAI,CAAC,OAAO,CAC3B,SAAS,EACT,6DAA6D,CAC9D,CAAC;AAEF,IAAI,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,EAAE,CAAC;IAC5B,IAAI,OAAO,GAAG,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAChD,MAAM,SAAS,GACb,uEAAuE,CAAC;IAC1E,MAAM,OAAO,GAAG,oNAAoN,CAAC;IAErO,IAAI,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC;QAChC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAC9C,EAAE,CAAC,aAAa,CAAC,QAAQ,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAC5C,OAAO,CAAC,GAAG,CACT,qEAAqE,CACtE,CAAC;IACJ,CAAC;AACH,CAAC"}
@@ -1 +0,0 @@
1
- export {};