@nevermined-io/cli 1.1.3 → 1.1.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.
Files changed (2) hide show
  1. package/oclif.manifest.json +27 -27
  2. package/package.json +1 -1
@@ -873,12 +873,13 @@
873
873
  "show.js"
874
874
  ]
875
875
  },
876
- "facilitator:settle-permissions": {
876
+ "delegation:list-payment-methods": {
877
877
  "aliases": [],
878
878
  "args": {},
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.",
879
+ "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
880
880
  "examples": [
881
- "$ nvm facilitator settle-permissions"
881
+ "$ nvm delegation list-payment-methods",
882
+ "$ nvm delegation list-payment-methods --format json"
882
883
  ],
883
884
  "flags": {
884
885
  "profile": {
@@ -910,19 +911,11 @@
910
911
  "name": "verbose",
911
912
  "allowNo": false,
912
913
  "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"
921
914
  }
922
915
  },
923
916
  "hasDynamicHelp": false,
924
917
  "hiddenAliases": [],
925
- "id": "facilitator:settle-permissions",
918
+ "id": "delegation:list-payment-methods",
926
919
  "pluginAlias": "@nevermined-io/cli",
927
920
  "pluginName": "@nevermined-io/cli",
928
921
  "pluginType": "core",
@@ -932,16 +925,16 @@
932
925
  "relativePath": [
933
926
  "dist",
934
927
  "commands",
935
- "facilitator",
936
- "settle-permissions.js"
928
+ "delegation",
929
+ "list-payment-methods.js"
937
930
  ]
938
931
  },
939
- "facilitator:verify-permissions": {
932
+ "facilitator:settle-permissions": {
940
933
  "aliases": [],
941
934
  "args": {},
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.",
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.",
943
936
  "examples": [
944
- "$ nvm facilitator verify-permissions"
937
+ "$ nvm facilitator settle-permissions"
945
938
  ],
946
939
  "flags": {
947
940
  "profile": {
@@ -985,7 +978,7 @@
985
978
  },
986
979
  "hasDynamicHelp": false,
987
980
  "hiddenAliases": [],
988
- "id": "facilitator:verify-permissions",
981
+ "id": "facilitator:settle-permissions",
989
982
  "pluginAlias": "@nevermined-io/cli",
990
983
  "pluginName": "@nevermined-io/cli",
991
984
  "pluginType": "core",
@@ -996,16 +989,15 @@
996
989
  "dist",
997
990
  "commands",
998
991
  "facilitator",
999
- "verify-permissions.js"
992
+ "settle-permissions.js"
1000
993
  ]
1001
994
  },
1002
- "delegation:list-payment-methods": {
995
+ "facilitator:verify-permissions": {
1003
996
  "aliases": [],
1004
997
  "args": {},
1005
- "description": "List enrolled credit/debit cards available for card-delegation (fiat) payments.",
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.",
1006
999
  "examples": [
1007
- "$ nvm delegation list-payment-methods",
1008
- "$ nvm delegation list-payment-methods --format json"
1000
+ "$ nvm facilitator verify-permissions"
1009
1001
  ],
1010
1002
  "flags": {
1011
1003
  "profile": {
@@ -1037,11 +1029,19 @@
1037
1029
  "name": "verbose",
1038
1030
  "allowNo": false,
1039
1031
  "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": "delegation:list-payment-methods",
1044
+ "id": "facilitator:verify-permissions",
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
- "delegation",
1055
- "list-payment-methods.js"
1054
+ "facilitator",
1055
+ "verify-permissions.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.3"
3351
+ "version": "1.1.4"
3352
3352
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nevermined-io/cli",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "CLI for Nevermined Payments SDK",
5
5
  "author": "Nevermined AG",
6
6
  "license": "Apache-2.0",