@nevermined-io/cli 1.1.4 → 1.1.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +27 -27
  2. package/package.json +1 -1
@@ -873,13 +873,12 @@
873
873
  "show.js"
874
874
  ]
875
875
  },
876
- "delegation:list-payment-methods": {
876
+ "facilitator:settle-permissions": {
877
877
  "aliases": [],
878
878
  "args": {},
879
- "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
879
+ "description": "Settle (burn) credits from a subscriber's payment plan. This method executes the actual credit consumption, burning the specified number of credits from the subscriber's balance. If the subscriber doesn't have enough credits, it will attempt to order more before settling. The planId and subscriberAddress are extracted from the x402AccessToken.",
880
880
  "examples": [
881
- "$ nvm delegation list-payment-methods",
882
- "$ nvm delegation list-payment-methods --format json"
881
+ "$ nvm facilitator settle-permissions"
883
882
  ],
884
883
  "flags": {
885
884
  "profile": {
@@ -911,11 +910,19 @@
911
910
  "name": "verbose",
912
911
  "allowNo": false,
913
912
  "type": "boolean"
913
+ },
914
+ "params": {
915
+ "description": "params as JSON string",
916
+ "name": "params",
917
+ "required": true,
918
+ "hasDynamicHelp": false,
919
+ "multiple": false,
920
+ "type": "option"
914
921
  }
915
922
  },
916
923
  "hasDynamicHelp": false,
917
924
  "hiddenAliases": [],
918
- "id": "delegation:list-payment-methods",
925
+ "id": "facilitator:settle-permissions",
919
926
  "pluginAlias": "@nevermined-io/cli",
920
927
  "pluginName": "@nevermined-io/cli",
921
928
  "pluginType": "core",
@@ -925,16 +932,16 @@
925
932
  "relativePath": [
926
933
  "dist",
927
934
  "commands",
928
- "delegation",
929
- "list-payment-methods.js"
935
+ "facilitator",
936
+ "settle-permissions.js"
930
937
  ]
931
938
  },
932
- "facilitator:settle-permissions": {
939
+ "facilitator:verify-permissions": {
933
940
  "aliases": [],
934
941
  "args": {},
935
- "description": "Settle (burn) credits from a subscriber's payment plan. This method executes the actual credit consumption, burning the specified number of credits from the subscriber's balance. If the subscriber doesn't have enough credits, it will attempt to order more before settling. The planId and subscriberAddress are extracted from the x402AccessToken.",
942
+ "description": "Verify if a subscriber has permission to use credits from a payment plan. This method simulates the credit usage without actually burning credits, checking if the subscriber has sufficient balance and permissions. The planId and subscriberAddress are extracted from the x402AccessToken.",
936
943
  "examples": [
937
- "$ nvm facilitator settle-permissions"
944
+ "$ nvm facilitator verify-permissions"
938
945
  ],
939
946
  "flags": {
940
947
  "profile": {
@@ -978,7 +985,7 @@
978
985
  },
979
986
  "hasDynamicHelp": false,
980
987
  "hiddenAliases": [],
981
- "id": "facilitator:settle-permissions",
988
+ "id": "facilitator:verify-permissions",
982
989
  "pluginAlias": "@nevermined-io/cli",
983
990
  "pluginName": "@nevermined-io/cli",
984
991
  "pluginType": "core",
@@ -989,15 +996,16 @@
989
996
  "dist",
990
997
  "commands",
991
998
  "facilitator",
992
- "settle-permissions.js"
999
+ "verify-permissions.js"
993
1000
  ]
994
1001
  },
995
- "facilitator:verify-permissions": {
1002
+ "delegation:list-payment-methods": {
996
1003
  "aliases": [],
997
1004
  "args": {},
998
- "description": "Verify if a subscriber has permission to use credits from a payment plan. This method simulates the credit usage without actually burning credits, checking if the subscriber has sufficient balance and permissions. The planId and subscriberAddress are extracted from the x402AccessToken.",
1005
+ "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
999
1006
  "examples": [
1000
- "$ nvm facilitator verify-permissions"
1007
+ "$ nvm delegation list-payment-methods",
1008
+ "$ nvm delegation list-payment-methods --format json"
1001
1009
  ],
1002
1010
  "flags": {
1003
1011
  "profile": {
@@ -1029,19 +1037,11 @@
1029
1037
  "name": "verbose",
1030
1038
  "allowNo": false,
1031
1039
  "type": "boolean"
1032
- },
1033
- "params": {
1034
- "description": "params as JSON string",
1035
- "name": "params",
1036
- "required": true,
1037
- "hasDynamicHelp": false,
1038
- "multiple": false,
1039
- "type": "option"
1040
1040
  }
1041
1041
  },
1042
1042
  "hasDynamicHelp": false,
1043
1043
  "hiddenAliases": [],
1044
- "id": "facilitator:verify-permissions",
1044
+ "id": "delegation:list-payment-methods",
1045
1045
  "pluginAlias": "@nevermined-io/cli",
1046
1046
  "pluginName": "@nevermined-io/cli",
1047
1047
  "pluginType": "core",
@@ -1051,8 +1051,8 @@
1051
1051
  "relativePath": [
1052
1052
  "dist",
1053
1053
  "commands",
1054
- "facilitator",
1055
- "verify-permissions.js"
1054
+ "delegation",
1055
+ "list-payment-methods.js"
1056
1056
  ]
1057
1057
  },
1058
1058
  "organizations:connect-stripe-account": {
@@ -3348,5 +3348,5 @@
3348
3348
  ]
3349
3349
  }
3350
3350
  },
3351
- "version": "1.1.4"
3351
+ "version": "1.1.5"
3352
3352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nevermined-io/cli",
3
- "version": "1.1.4",
3
+ "version": "1.1.5",
4
4
  "description": "CLI for Nevermined Payments SDK",
5
5
  "author": "Nevermined AG",
6
6
  "license": "Apache-2.0",