@nevermined-io/cli 1.3.2 → 1.4.1

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.
Files changed (63) hide show
  1. package/README.md +5 -5
  2. package/dist/base-command.d.ts +11 -1
  3. package/dist/base-command.d.ts.map +1 -1
  4. package/dist/base-command.js +14 -0
  5. package/dist/base-command.js.map +1 -1
  6. package/dist/commands/agents/register-agent-and-plan.d.ts.map +1 -1
  7. package/dist/commands/agents/register-agent-and-plan.js +5 -2
  8. package/dist/commands/agents/register-agent-and-plan.js.map +1 -1
  9. package/dist/commands/agents/register-agent.d.ts.map +1 -1
  10. package/dist/commands/agents/register-agent.js +5 -2
  11. package/dist/commands/agents/register-agent.js.map +1 -1
  12. package/dist/commands/agents/update-agent-metadata.d.ts.map +1 -1
  13. package/dist/commands/agents/update-agent-metadata.js +5 -2
  14. package/dist/commands/agents/update-agent-metadata.js.map +1 -1
  15. package/dist/commands/cards/delegate.d.ts +26 -0
  16. package/dist/commands/cards/delegate.d.ts.map +1 -0
  17. package/dist/commands/cards/delegate.js +87 -0
  18. package/dist/commands/cards/delegate.js.map +1 -0
  19. package/dist/commands/cards/enroll.d.ts +25 -0
  20. package/dist/commands/cards/enroll.d.ts.map +1 -0
  21. package/dist/commands/cards/enroll.js +88 -0
  22. package/dist/commands/cards/enroll.js.map +1 -0
  23. package/dist/commands/cards/setup.d.ts +28 -0
  24. package/dist/commands/cards/setup.d.ts.map +1 -0
  25. package/dist/commands/cards/setup.js +113 -0
  26. package/dist/commands/cards/setup.js.map +1 -0
  27. package/dist/commands/login.js +1 -26
  28. package/dist/commands/login.js.map +1 -1
  29. package/dist/commands/organizations/get-my-memberships.d.ts +15 -0
  30. package/dist/commands/organizations/get-my-memberships.d.ts.map +1 -0
  31. package/dist/commands/organizations/get-my-memberships.js +25 -0
  32. package/dist/commands/organizations/get-my-memberships.js.map +1 -0
  33. package/dist/commands/organizations/get-organization-activity.d.ts +18 -0
  34. package/dist/commands/organizations/get-organization-activity.d.ts.map +1 -0
  35. package/dist/commands/organizations/get-organization-activity.js +32 -0
  36. package/dist/commands/organizations/get-organization-activity.js.map +1 -0
  37. package/dist/commands/plans/{set-proof-required.d.ts → set-onchain-mirror.d.ts} +4 -4
  38. package/dist/commands/plans/{set-proof-required.d.ts.map → set-onchain-mirror.d.ts.map} +1 -1
  39. package/dist/commands/plans/{set-proof-required.js → set-onchain-mirror.js} +7 -7
  40. package/dist/commands/plans/{set-proof-required.js.map → set-onchain-mirror.js.map} +1 -1
  41. package/dist/generator/command-generator.d.ts.map +1 -1
  42. package/dist/generator/command-generator.js +4 -2
  43. package/dist/generator/command-generator.js.map +1 -1
  44. package/dist/generator/generate.js +2 -2
  45. package/dist/generator/sync-check.js +2 -2
  46. package/dist/utils/browser.d.ts +14 -0
  47. package/dist/utils/browser.d.ts.map +1 -0
  48. package/dist/utils/browser.js +41 -0
  49. package/dist/utils/browser.js.map +1 -0
  50. package/dist/utils/orgs.d.ts +36 -0
  51. package/dist/utils/orgs.d.ts.map +1 -0
  52. package/dist/utils/orgs.js +65 -0
  53. package/dist/utils/orgs.js.map +1 -0
  54. package/dist/utils/widget-redirect-flow.d.ts +83 -0
  55. package/dist/utils/widget-redirect-flow.d.ts.map +1 -0
  56. package/dist/utils/widget-redirect-flow.js +259 -0
  57. package/dist/utils/widget-redirect-flow.js.map +1 -0
  58. package/oclif.manifest.json +431 -146
  59. package/package.json +4 -3
  60. package/dist/commands/plans/redeem-credits.d.ts +0 -21
  61. package/dist/commands/plans/redeem-credits.d.ts.map +0 -1
  62. package/dist/commands/plans/redeem-credits.js +0 -35
  63. package/dist/commands/plans/redeem-credits.js.map +0 -1
@@ -377,6 +377,7 @@
377
377
  "type": "option"
378
378
  },
379
379
  "agent-api": {
380
+ "description": "agentApi as JSON string",
380
381
  "name": "agent-api",
381
382
  "required": true,
382
383
  "hasDynamicHelp": false,
@@ -478,6 +479,7 @@
478
479
  "type": "option"
479
480
  },
480
481
  "agent-api": {
482
+ "description": "agentApi as JSON string",
481
483
  "name": "agent-api",
482
484
  "required": true,
483
485
  "hasDynamicHelp": false,
@@ -629,6 +631,7 @@
629
631
  "type": "option"
630
632
  },
631
633
  "agent-api": {
634
+ "description": "agentApi as JSON string",
632
635
  "name": "agent-api",
633
636
  "required": true,
634
637
  "hasDynamicHelp": false,
@@ -652,6 +655,310 @@
652
655
  "update-agent-metadata.js"
653
656
  ]
654
657
  },
658
+ "cards:delegate": {
659
+ "aliases": [],
660
+ "args": {},
661
+ "description": "Open the browser to create a spending delegation for an already-enrolled card.",
662
+ "examples": [
663
+ "<%= config.bin %> cards delegate --card pm_1234",
664
+ "<%= config.bin %> cards delegate --card pm_1234 --org org-abc-123",
665
+ "<%= config.bin %> cards delegate --card pm_1234 --no-browser"
666
+ ],
667
+ "flags": {
668
+ "profile": {
669
+ "char": "p",
670
+ "description": "Configuration profile to use",
671
+ "name": "profile",
672
+ "required": false,
673
+ "hasDynamicHelp": false,
674
+ "multiple": false,
675
+ "type": "option"
676
+ },
677
+ "format": {
678
+ "char": "f",
679
+ "description": "Output format",
680
+ "name": "format",
681
+ "default": "table",
682
+ "hasDynamicHelp": false,
683
+ "multiple": false,
684
+ "options": [
685
+ "table",
686
+ "json",
687
+ "quiet"
688
+ ],
689
+ "type": "option"
690
+ },
691
+ "verbose": {
692
+ "char": "v",
693
+ "description": "Verbose output",
694
+ "name": "verbose",
695
+ "allowNo": false,
696
+ "type": "boolean"
697
+ },
698
+ "card": {
699
+ "description": "paymentMethodId of the already-enrolled card to delegate from.",
700
+ "name": "card",
701
+ "required": true,
702
+ "hasDynamicHelp": false,
703
+ "multiple": false,
704
+ "type": "option"
705
+ },
706
+ "org": {
707
+ "description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
708
+ "name": "org",
709
+ "required": false,
710
+ "hasDynamicHelp": false,
711
+ "multiple": false,
712
+ "type": "option"
713
+ },
714
+ "no-browser": {
715
+ "description": "Print the delegation URL instead of opening the browser.",
716
+ "name": "no-browser",
717
+ "allowNo": false,
718
+ "type": "boolean"
719
+ }
720
+ },
721
+ "hasDynamicHelp": false,
722
+ "hiddenAliases": [],
723
+ "id": "cards:delegate",
724
+ "pluginAlias": "@nevermined-io/cli",
725
+ "pluginName": "@nevermined-io/cli",
726
+ "pluginType": "core",
727
+ "strict": true,
728
+ "enableJsonFlag": false,
729
+ "isESM": true,
730
+ "relativePath": [
731
+ "dist",
732
+ "commands",
733
+ "cards",
734
+ "delegate.js"
735
+ ]
736
+ },
737
+ "cards:enroll": {
738
+ "aliases": [],
739
+ "args": {},
740
+ "description": "Open the browser to enroll a credit/debit card and redirect the resulting paymentMethodId back to this terminal.",
741
+ "examples": [
742
+ "<%= config.bin %> cards enroll",
743
+ "<%= config.bin %> cards enroll --org org-abc-123",
744
+ "<%= config.bin %> cards enroll --provider braintree",
745
+ "<%= config.bin %> cards enroll --no-browser"
746
+ ],
747
+ "flags": {
748
+ "profile": {
749
+ "char": "p",
750
+ "description": "Configuration profile to use",
751
+ "name": "profile",
752
+ "required": false,
753
+ "hasDynamicHelp": false,
754
+ "multiple": false,
755
+ "type": "option"
756
+ },
757
+ "format": {
758
+ "char": "f",
759
+ "description": "Output format",
760
+ "name": "format",
761
+ "default": "table",
762
+ "hasDynamicHelp": false,
763
+ "multiple": false,
764
+ "options": [
765
+ "table",
766
+ "json",
767
+ "quiet"
768
+ ],
769
+ "type": "option"
770
+ },
771
+ "verbose": {
772
+ "char": "v",
773
+ "description": "Verbose output",
774
+ "name": "verbose",
775
+ "allowNo": false,
776
+ "type": "boolean"
777
+ },
778
+ "org": {
779
+ "description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
780
+ "name": "org",
781
+ "required": false,
782
+ "hasDynamicHelp": false,
783
+ "multiple": false,
784
+ "type": "option"
785
+ },
786
+ "no-browser": {
787
+ "description": "Print the enrolment URL instead of opening the browser.",
788
+ "name": "no-browser",
789
+ "allowNo": false,
790
+ "type": "boolean"
791
+ },
792
+ "provider": {
793
+ "description": "Tokenization provider used for the card enrolment step.",
794
+ "name": "provider",
795
+ "default": "stripe",
796
+ "hasDynamicHelp": false,
797
+ "multiple": false,
798
+ "options": [
799
+ "stripe",
800
+ "braintree",
801
+ "visa"
802
+ ],
803
+ "type": "option"
804
+ }
805
+ },
806
+ "hasDynamicHelp": false,
807
+ "hiddenAliases": [],
808
+ "id": "cards:enroll",
809
+ "pluginAlias": "@nevermined-io/cli",
810
+ "pluginName": "@nevermined-io/cli",
811
+ "pluginType": "core",
812
+ "strict": true,
813
+ "enableJsonFlag": false,
814
+ "isESM": true,
815
+ "relativePath": [
816
+ "dist",
817
+ "commands",
818
+ "cards",
819
+ "enroll.js"
820
+ ]
821
+ },
822
+ "cards:setup": {
823
+ "aliases": [],
824
+ "args": {},
825
+ "description": "Open the browser to enroll a card and create a spending delegation, then redirect both IDs back to this terminal.",
826
+ "examples": [
827
+ "<%= config.bin %> cards setup",
828
+ "<%= config.bin %> cards setup --org org-abc-123",
829
+ "<%= config.bin %> cards setup --no-browser"
830
+ ],
831
+ "flags": {
832
+ "profile": {
833
+ "char": "p",
834
+ "description": "Configuration profile to use",
835
+ "name": "profile",
836
+ "required": false,
837
+ "hasDynamicHelp": false,
838
+ "multiple": false,
839
+ "type": "option"
840
+ },
841
+ "format": {
842
+ "char": "f",
843
+ "description": "Output format",
844
+ "name": "format",
845
+ "default": "table",
846
+ "hasDynamicHelp": false,
847
+ "multiple": false,
848
+ "options": [
849
+ "table",
850
+ "json",
851
+ "quiet"
852
+ ],
853
+ "type": "option"
854
+ },
855
+ "verbose": {
856
+ "char": "v",
857
+ "description": "Verbose output",
858
+ "name": "verbose",
859
+ "allowNo": false,
860
+ "type": "boolean"
861
+ },
862
+ "org": {
863
+ "description": "Organization id to scope the flow to. Required when the authenticated user belongs to multiple organizations and the terminal is non-interactive.",
864
+ "name": "org",
865
+ "required": false,
866
+ "hasDynamicHelp": false,
867
+ "multiple": false,
868
+ "type": "option"
869
+ },
870
+ "no-browser": {
871
+ "description": "Print the setup URL instead of opening the browser.",
872
+ "name": "no-browser",
873
+ "allowNo": false,
874
+ "type": "boolean"
875
+ },
876
+ "provider": {
877
+ "description": "Tokenization provider used for the card enrolment step.",
878
+ "name": "provider",
879
+ "default": "stripe",
880
+ "hasDynamicHelp": false,
881
+ "multiple": false,
882
+ "options": [
883
+ "stripe",
884
+ "braintree",
885
+ "visa"
886
+ ],
887
+ "type": "option"
888
+ }
889
+ },
890
+ "hasDynamicHelp": false,
891
+ "hiddenAliases": [],
892
+ "id": "cards:setup",
893
+ "pluginAlias": "@nevermined-io/cli",
894
+ "pluginName": "@nevermined-io/cli",
895
+ "pluginType": "core",
896
+ "strict": true,
897
+ "enableJsonFlag": false,
898
+ "isESM": true,
899
+ "relativePath": [
900
+ "dist",
901
+ "commands",
902
+ "cards",
903
+ "setup.js"
904
+ ]
905
+ },
906
+ "delegation:list-payment-methods": {
907
+ "aliases": [],
908
+ "args": {},
909
+ "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
910
+ "examples": [
911
+ "$ nvm delegation list-payment-methods",
912
+ "$ nvm delegation list-payment-methods --format json"
913
+ ],
914
+ "flags": {
915
+ "profile": {
916
+ "char": "p",
917
+ "description": "Configuration profile to use",
918
+ "name": "profile",
919
+ "required": false,
920
+ "hasDynamicHelp": false,
921
+ "multiple": false,
922
+ "type": "option"
923
+ },
924
+ "format": {
925
+ "char": "f",
926
+ "description": "Output format",
927
+ "name": "format",
928
+ "default": "table",
929
+ "hasDynamicHelp": false,
930
+ "multiple": false,
931
+ "options": [
932
+ "table",
933
+ "json",
934
+ "quiet"
935
+ ],
936
+ "type": "option"
937
+ },
938
+ "verbose": {
939
+ "char": "v",
940
+ "description": "Verbose output",
941
+ "name": "verbose",
942
+ "allowNo": false,
943
+ "type": "boolean"
944
+ }
945
+ },
946
+ "hasDynamicHelp": false,
947
+ "hiddenAliases": [],
948
+ "id": "delegation:list-payment-methods",
949
+ "pluginAlias": "@nevermined-io/cli",
950
+ "pluginName": "@nevermined-io/cli",
951
+ "pluginType": "core",
952
+ "strict": true,
953
+ "enableJsonFlag": false,
954
+ "isESM": true,
955
+ "relativePath": [
956
+ "dist",
957
+ "commands",
958
+ "delegation",
959
+ "list-payment-methods.js"
960
+ ]
961
+ },
655
962
  "config:init": {
656
963
  "aliases": [],
657
964
  "args": {},
@@ -873,62 +1180,6 @@
873
1180
  "show.js"
874
1181
  ]
875
1182
  },
876
- "delegation:list-payment-methods": {
877
- "aliases": [],
878
- "args": {},
879
- "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
880
- "examples": [
881
- "$ nvm delegation list-payment-methods",
882
- "$ nvm delegation list-payment-methods --format json"
883
- ],
884
- "flags": {
885
- "profile": {
886
- "char": "p",
887
- "description": "Configuration profile to use",
888
- "name": "profile",
889
- "required": false,
890
- "hasDynamicHelp": false,
891
- "multiple": false,
892
- "type": "option"
893
- },
894
- "format": {
895
- "char": "f",
896
- "description": "Output format",
897
- "name": "format",
898
- "default": "table",
899
- "hasDynamicHelp": false,
900
- "multiple": false,
901
- "options": [
902
- "table",
903
- "json",
904
- "quiet"
905
- ],
906
- "type": "option"
907
- },
908
- "verbose": {
909
- "char": "v",
910
- "description": "Verbose output",
911
- "name": "verbose",
912
- "allowNo": false,
913
- "type": "boolean"
914
- }
915
- },
916
- "hasDynamicHelp": false,
917
- "hiddenAliases": [],
918
- "id": "delegation:list-payment-methods",
919
- "pluginAlias": "@nevermined-io/cli",
920
- "pluginName": "@nevermined-io/cli",
921
- "pluginType": "core",
922
- "strict": true,
923
- "enableJsonFlag": false,
924
- "isESM": true,
925
- "relativePath": [
926
- "dist",
927
- "commands",
928
- "delegation",
929
- "list-payment-methods.js"
930
- ]
931
- },
932
1183
  "facilitator:settle-permissions": {
933
1184
  "aliases": [],
934
1185
  "args": {},
@@ -1289,6 +1540,122 @@
1289
1540
  "get-members.js"
1290
1541
  ]
1291
1542
  },
1543
+ "organizations:get-my-memberships": {
1544
+ "aliases": [],
1545
+ "args": {},
1546
+ "description": "Lists every organization the authenticated user is an active member of, with their role and the organization's tier. Powers workspace pickers in third-party tools built on the SDK, and the \"where will this publish?\" UX when a user belongs to multiple orgs.",
1547
+ "examples": [
1548
+ "$ nvm organizations get-my-memberships"
1549
+ ],
1550
+ "flags": {
1551
+ "profile": {
1552
+ "char": "p",
1553
+ "description": "Configuration profile to use",
1554
+ "name": "profile",
1555
+ "required": false,
1556
+ "hasDynamicHelp": false,
1557
+ "multiple": false,
1558
+ "type": "option"
1559
+ },
1560
+ "format": {
1561
+ "char": "f",
1562
+ "description": "Output format",
1563
+ "name": "format",
1564
+ "default": "table",
1565
+ "hasDynamicHelp": false,
1566
+ "multiple": false,
1567
+ "options": [
1568
+ "table",
1569
+ "json",
1570
+ "quiet"
1571
+ ],
1572
+ "type": "option"
1573
+ },
1574
+ "verbose": {
1575
+ "char": "v",
1576
+ "description": "Verbose output",
1577
+ "name": "verbose",
1578
+ "allowNo": false,
1579
+ "type": "boolean"
1580
+ }
1581
+ },
1582
+ "hasDynamicHelp": false,
1583
+ "hiddenAliases": [],
1584
+ "id": "organizations:get-my-memberships",
1585
+ "pluginAlias": "@nevermined-io/cli",
1586
+ "pluginName": "@nevermined-io/cli",
1587
+ "pluginType": "core",
1588
+ "strict": true,
1589
+ "enableJsonFlag": false,
1590
+ "isESM": true,
1591
+ "relativePath": [
1592
+ "dist",
1593
+ "commands",
1594
+ "organizations",
1595
+ "get-my-memberships.js"
1596
+ ]
1597
+ },
1598
+ "organizations:get-organization-activity": {
1599
+ "aliases": [],
1600
+ "args": {
1601
+ "org": {
1602
+ "description": "org identifier",
1603
+ "name": "org",
1604
+ "required": true
1605
+ }
1606
+ },
1607
+ "description": "Lists events emitted into the activity feed of an organization the caller is an active member of (member invites, customer events, subscription transitions, webhook deliveries, …). Requires the caller to be a Member or Admin of `orgId`; the backend returns 403 otherwise. Premium+ entitlement is enforced server-side.",
1608
+ "examples": [
1609
+ "$ nvm organizations get-organization-activity <orgId>"
1610
+ ],
1611
+ "flags": {
1612
+ "profile": {
1613
+ "char": "p",
1614
+ "description": "Configuration profile to use",
1615
+ "name": "profile",
1616
+ "required": false,
1617
+ "hasDynamicHelp": false,
1618
+ "multiple": false,
1619
+ "type": "option"
1620
+ },
1621
+ "format": {
1622
+ "char": "f",
1623
+ "description": "Output format",
1624
+ "name": "format",
1625
+ "default": "table",
1626
+ "hasDynamicHelp": false,
1627
+ "multiple": false,
1628
+ "options": [
1629
+ "table",
1630
+ "json",
1631
+ "quiet"
1632
+ ],
1633
+ "type": "option"
1634
+ },
1635
+ "verbose": {
1636
+ "char": "v",
1637
+ "description": "Verbose output",
1638
+ "name": "verbose",
1639
+ "allowNo": false,
1640
+ "type": "boolean"
1641
+ }
1642
+ },
1643
+ "hasDynamicHelp": false,
1644
+ "hiddenAliases": [],
1645
+ "id": "organizations:get-organization-activity",
1646
+ "pluginAlias": "@nevermined-io/cli",
1647
+ "pluginName": "@nevermined-io/cli",
1648
+ "pluginType": "core",
1649
+ "strict": true,
1650
+ "enableJsonFlag": false,
1651
+ "isESM": true,
1652
+ "relativePath": [
1653
+ "dist",
1654
+ "commands",
1655
+ "organizations",
1656
+ "get-organization-activity.js"
1657
+ ]
1658
+ },
1292
1659
  "x402token:get-x402-access-token": {
1293
1660
  "aliases": [],
1294
1661
  "args": {
@@ -2780,88 +3147,6 @@
2780
3147
  "order-plan.js"
2781
3148
  ]
2782
3149
  },
2783
- "plans:redeem-credits": {
2784
- "aliases": [],
2785
- "args": {
2786
- "agentRequest": {
2787
- "description": "agentRequest identifier",
2788
- "name": "agentRequest",
2789
- "required": true
2790
- }
2791
- },
2792
- "description": "Burns/redeem credits for a given Payment Plan.",
2793
- "examples": [
2794
- "$ nvm plans redeem-credits <agentRequestId>"
2795
- ],
2796
- "flags": {
2797
- "profile": {
2798
- "char": "p",
2799
- "description": "Configuration profile to use",
2800
- "name": "profile",
2801
- "required": false,
2802
- "hasDynamicHelp": false,
2803
- "multiple": false,
2804
- "type": "option"
2805
- },
2806
- "format": {
2807
- "char": "f",
2808
- "description": "Output format",
2809
- "name": "format",
2810
- "default": "table",
2811
- "hasDynamicHelp": false,
2812
- "multiple": false,
2813
- "options": [
2814
- "table",
2815
- "json",
2816
- "quiet"
2817
- ],
2818
- "type": "option"
2819
- },
2820
- "verbose": {
2821
- "char": "v",
2822
- "description": "Verbose output",
2823
- "name": "verbose",
2824
- "allowNo": false,
2825
- "type": "boolean"
2826
- },
2827
- "plan-id": {
2828
- "name": "plan-id",
2829
- "required": true,
2830
- "hasDynamicHelp": false,
2831
- "multiple": false,
2832
- "type": "option"
2833
- },
2834
- "redeem-from": {
2835
- "name": "redeem-from",
2836
- "required": true,
2837
- "hasDynamicHelp": false,
2838
- "multiple": false,
2839
- "type": "option"
2840
- },
2841
- "credits-amount-to-redeem": {
2842
- "name": "credits-amount-to-redeem",
2843
- "required": true,
2844
- "hasDynamicHelp": false,
2845
- "multiple": false,
2846
- "type": "option"
2847
- }
2848
- },
2849
- "hasDynamicHelp": false,
2850
- "hiddenAliases": [],
2851
- "id": "plans:redeem-credits",
2852
- "pluginAlias": "@nevermined-io/cli",
2853
- "pluginName": "@nevermined-io/cli",
2854
- "pluginType": "core",
2855
- "strict": true,
2856
- "enableJsonFlag": false,
2857
- "isESM": true,
2858
- "relativePath": [
2859
- "dist",
2860
- "commands",
2861
- "plans",
2862
- "redeem-credits.js"
2863
- ]
2864
- },
2865
3150
  "plans:register-credits-plan": {
2866
3151
  "aliases": [],
2867
3152
  "args": {},
@@ -3271,12 +3556,12 @@
3271
3556
  "register-time-trial-plan.js"
3272
3557
  ]
3273
3558
  },
3274
- "plans:set-proof-required": {
3559
+ "plans:set-onchain-mirror": {
3275
3560
  "aliases": [],
3276
3561
  "args": {},
3277
- "description": "Marks whether proof is required in a credits configuration.",
3562
+ "description": "Marks whether burns of these credits are mirrored on-chain.",
3278
3563
  "examples": [
3279
- "$ nvm plans set-proof-required"
3564
+ "$ nvm plans set-onchain-mirror"
3280
3565
  ],
3281
3566
  "flags": {
3282
3567
  "profile": {
@@ -3317,8 +3602,8 @@
3317
3602
  "multiple": false,
3318
3603
  "type": "option"
3319
3604
  },
3320
- "proof-required": {
3321
- "name": "proof-required",
3605
+ "onchain-mirror": {
3606
+ "name": "onchain-mirror",
3322
3607
  "required": false,
3323
3608
  "allowNo": false,
3324
3609
  "type": "boolean"
@@ -3326,7 +3611,7 @@
3326
3611
  },
3327
3612
  "hasDynamicHelp": false,
3328
3613
  "hiddenAliases": [],
3329
- "id": "plans:set-proof-required",
3614
+ "id": "plans:set-onchain-mirror",
3330
3615
  "pluginAlias": "@nevermined-io/cli",
3331
3616
  "pluginName": "@nevermined-io/cli",
3332
3617
  "pluginType": "core",
@@ -3337,7 +3622,7 @@
3337
3622
  "dist",
3338
3623
  "commands",
3339
3624
  "plans",
3340
- "set-proof-required.js"
3625
+ "set-onchain-mirror.js"
3341
3626
  ]
3342
3627
  },
3343
3628
  "plans:set-redemption-type": {
@@ -3411,5 +3696,5 @@
3411
3696
  ]
3412
3697
  }
3413
3698
  },
3414
- "version": "1.3.2"
3699
+ "version": "1.4.1"
3415
3700
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nevermined-io/cli",
3
- "version": "1.3.2",
3
+ "version": "1.4.1",
4
4
  "description": "CLI for Nevermined Payments SDK",
5
5
  "author": "Nevermined AG",
6
6
  "license": "Apache-2.0",
@@ -20,7 +20,7 @@
20
20
  "dev": "tsx src/index.ts",
21
21
  "generate": "tsx src/generator/generate.ts",
22
22
  "sync-check": "tsx src/generator/sync-check.ts",
23
- "test": "yarn test:unit && yarn test:integration",
23
+ "test": "pnpm test:unit && pnpm test:integration",
24
24
  "test:unit": "jest test/unit/simple.test.ts test/unit/output-formatter-basic.test.ts",
25
25
  "test:unit:all": "jest --testPathPattern=test/unit",
26
26
  "test:integration": "jest test/integration/cli-basic.test.ts test/integration/generated-commands.test.ts",
@@ -31,7 +31,7 @@
31
31
  "test:watch": "jest --watch",
32
32
  "test:coverage": "jest --coverage",
33
33
  "lint": "eslint . --ext .ts",
34
- "prepack": "yarn build && oclif manifest && oclif readme",
34
+ "prepack": "pnpm build && oclif manifest && oclif readme",
35
35
  "postpack": "rm -f oclif.manifest.json",
36
36
  "version": "oclif readme && git add README.md"
37
37
  },
@@ -53,6 +53,7 @@
53
53
  "@typescript-eslint/eslint-plugin": "^7.3.1",
54
54
  "@typescript-eslint/parser": "^7.3.1",
55
55
  "eslint": "^8.57.0",
56
+ "@jest/globals": "^29.7.0",
56
57
  "jest": "^29.7.0",
57
58
  "oclif": "^4.6.4",
58
59
  "ts-jest": "^29.1.2",