vibecash 0.2.0 → 0.2.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 (2) hide show
  1. package/dist/index.js +4 -8
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -803,18 +803,15 @@ function registerKycCommands(program2) {
803
803
  const kyc = program2.command("kyc").description("Manage KYC verification");
804
804
  kyc.command("submit").description("Submit KYC verification details").action(async () => {
805
805
  try {
806
- const firstName = await prompt3("First name: ");
807
- const lastName = await prompt3("Last name: ");
806
+ const fullName = await prompt3("Full name: ");
808
807
  const dateOfBirth = await prompt3("Date of birth (YYYY-MM-DD): ");
809
808
  const address = await prompt3("Street address: ");
810
809
  const city = await prompt3("City: ");
811
810
  const state = await prompt3("State/Province: ");
812
811
  const postalCode = await prompt3("Postal code: ");
813
- const country = await prompt3("Country (2-letter code, e.g. US): ");
814
- const ssnLast4 = await prompt3("SSN last 4 digits (US only, press Enter to skip): ");
812
+ const country = await prompt3("Country (2-letter code, e.g. SG): ");
815
813
  const body = {
816
- firstName,
817
- lastName,
814
+ fullName,
818
815
  dateOfBirth,
819
816
  address: {
820
817
  line1: address,
@@ -824,7 +821,6 @@ function registerKycCommands(program2) {
824
821
  country
825
822
  }
826
823
  };
827
- if (ssnLast4) body.ssnLast4 = ssnLast4;
828
824
  const data = await apiRequest("POST", "/kyc", body);
829
825
  success("KYC submission received");
830
826
  output(data, (d) => {
@@ -953,7 +949,7 @@ function registerWebhookCommands(program2) {
953
949
 
954
950
  // src/index.ts
955
951
  var program = new Command();
956
- program.name("vibecash").description("VibeCash CLI - manage payments from the command line").version("0.2.0").option("--json", "Output in JSON format").hook("preAction", (thisCommand) => {
952
+ program.name("vibecash").description("VibeCash CLI - manage payments from the command line").version("0.2.1").option("--json", "Output in JSON format").hook("preAction", (thisCommand) => {
957
953
  const opts = thisCommand.opts();
958
954
  if (opts.json) setOutputFormat("json");
959
955
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibecash",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "VibeCash CLI - Payment infrastructure for the AI era. Accept cards, e-wallets, and QR payments in Southeast Asia.",
5
5
  "type": "module",
6
6
  "bin": { "vibecash": "./dist/index.js" },