@b3dotfun/sdk 0.0.32-alpha.0 → 0.0.32-alpha.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.
@@ -50,7 +50,7 @@ export interface paths {
50
50
  decimals: number;
51
51
  metadata: {
52
52
  /** @description Token logo URI */
53
- logoURI: string;
53
+ logoURI?: string;
54
54
  };
55
55
  }[];
56
56
  /** @example 200 */
@@ -874,28 +874,47 @@ export interface components {
874
874
  * @description Country code
875
875
  * @example US
876
876
  */
877
- country?: string;
877
+ country: string;
878
878
  /**
879
879
  * @description Onramp vendor used
880
880
  * @example stripe-web2
881
881
  * @enum {string}
882
882
  */
883
- vendor?: "coinbase" | "stripe" | "stripe-web2";
883
+ vendor: "coinbase" | "stripe" | "stripe-web2";
884
884
  /**
885
885
  * @description Payment method used
886
886
  * @example
887
887
  */
888
- paymentMethod?: string;
888
+ paymentMethod: string;
889
889
  /**
890
890
  * @description Redirect URL after payment
891
891
  * @example https://www.anyspend.com
892
892
  */
893
- redirectUrl?: string;
893
+ redirectUrl: string;
894
894
  /**
895
895
  * @description Stripe payment amount in cents
896
896
  * @example 9900
897
897
  */
898
898
  stripeAmountInCents?: number;
899
+ /**
900
+ * Format: ipv4
901
+ * @description Optional IP address for location detection
902
+ * @example 192.168.1.1
903
+ */
904
+ ipAddress?: string;
905
+ /** @description Optional fingerprint data for fraud detection */
906
+ fingerprint?: {
907
+ /**
908
+ * @description Fingerprint request ID
909
+ * @example fp_req_12345
910
+ */
911
+ requestId: string;
912
+ /**
913
+ * @description Fingerprint visitor ID
914
+ * @example fp_visitor_67890
915
+ */
916
+ visitorId: string;
917
+ };
899
918
  };
900
919
  /** @description Optional onramp configuration */
901
920
  Onramp: {
@@ -1497,10 +1516,10 @@ export interface components {
1497
1516
  */
1498
1517
  chain: number;
1499
1518
  /**
1500
- * @description Sender address
1519
+ * @description Sender address (can be null)
1501
1520
  * @example 0xa7539e73700B1726aBA29526606442A491Ef5747
1502
1521
  */
1503
- from: string;
1522
+ from?: string | null;
1504
1523
  /**
1505
1524
  * @description Transaction hash
1506
1525
  * @example 0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8
@@ -50,7 +50,7 @@ export interface paths {
50
50
  decimals: number;
51
51
  metadata: {
52
52
  /** @description Token logo URI */
53
- logoURI: string;
53
+ logoURI?: string;
54
54
  };
55
55
  }[];
56
56
  /** @example 200 */
@@ -874,28 +874,47 @@ export interface components {
874
874
  * @description Country code
875
875
  * @example US
876
876
  */
877
- country?: string;
877
+ country: string;
878
878
  /**
879
879
  * @description Onramp vendor used
880
880
  * @example stripe-web2
881
881
  * @enum {string}
882
882
  */
883
- vendor?: "coinbase" | "stripe" | "stripe-web2";
883
+ vendor: "coinbase" | "stripe" | "stripe-web2";
884
884
  /**
885
885
  * @description Payment method used
886
886
  * @example
887
887
  */
888
- paymentMethod?: string;
888
+ paymentMethod: string;
889
889
  /**
890
890
  * @description Redirect URL after payment
891
891
  * @example https://www.anyspend.com
892
892
  */
893
- redirectUrl?: string;
893
+ redirectUrl: string;
894
894
  /**
895
895
  * @description Stripe payment amount in cents
896
896
  * @example 9900
897
897
  */
898
898
  stripeAmountInCents?: number;
899
+ /**
900
+ * Format: ipv4
901
+ * @description Optional IP address for location detection
902
+ * @example 192.168.1.1
903
+ */
904
+ ipAddress?: string;
905
+ /** @description Optional fingerprint data for fraud detection */
906
+ fingerprint?: {
907
+ /**
908
+ * @description Fingerprint request ID
909
+ * @example fp_req_12345
910
+ */
911
+ requestId: string;
912
+ /**
913
+ * @description Fingerprint visitor ID
914
+ * @example fp_visitor_67890
915
+ */
916
+ visitorId: string;
917
+ };
899
918
  };
900
919
  /** @description Optional onramp configuration */
901
920
  Onramp: {
@@ -1497,10 +1516,10 @@ export interface components {
1497
1516
  */
1498
1517
  chain: number;
1499
1518
  /**
1500
- * @description Sender address
1519
+ * @description Sender address (can be null)
1501
1520
  * @example 0xa7539e73700B1726aBA29526606442A491Ef5747
1502
1521
  */
1503
- from: string;
1522
+ from?: string | null;
1504
1523
  /**
1505
1524
  * @description Transaction hash
1506
1525
  * @example 0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8
@@ -50,7 +50,7 @@ export interface paths {
50
50
  decimals: number;
51
51
  metadata: {
52
52
  /** @description Token logo URI */
53
- logoURI: string;
53
+ logoURI?: string;
54
54
  };
55
55
  }[];
56
56
  /** @example 200 */
@@ -874,28 +874,47 @@ export interface components {
874
874
  * @description Country code
875
875
  * @example US
876
876
  */
877
- country?: string;
877
+ country: string;
878
878
  /**
879
879
  * @description Onramp vendor used
880
880
  * @example stripe-web2
881
881
  * @enum {string}
882
882
  */
883
- vendor?: "coinbase" | "stripe" | "stripe-web2";
883
+ vendor: "coinbase" | "stripe" | "stripe-web2";
884
884
  /**
885
885
  * @description Payment method used
886
886
  * @example
887
887
  */
888
- paymentMethod?: string;
888
+ paymentMethod: string;
889
889
  /**
890
890
  * @description Redirect URL after payment
891
891
  * @example https://www.anyspend.com
892
892
  */
893
- redirectUrl?: string;
893
+ redirectUrl: string;
894
894
  /**
895
895
  * @description Stripe payment amount in cents
896
896
  * @example 9900
897
897
  */
898
898
  stripeAmountInCents?: number;
899
+ /**
900
+ * Format: ipv4
901
+ * @description Optional IP address for location detection
902
+ * @example 192.168.1.1
903
+ */
904
+ ipAddress?: string;
905
+ /** @description Optional fingerprint data for fraud detection */
906
+ fingerprint?: {
907
+ /**
908
+ * @description Fingerprint request ID
909
+ * @example fp_req_12345
910
+ */
911
+ requestId: string;
912
+ /**
913
+ * @description Fingerprint visitor ID
914
+ * @example fp_visitor_67890
915
+ */
916
+ visitorId: string;
917
+ };
899
918
  };
900
919
  /** @description Optional onramp configuration */
901
920
  Onramp: {
@@ -1497,10 +1516,10 @@ export interface components {
1497
1516
  */
1498
1517
  chain: number;
1499
1518
  /**
1500
- * @description Sender address
1519
+ * @description Sender address (can be null)
1501
1520
  * @example 0xa7539e73700B1726aBA29526606442A491Ef5747
1502
1521
  */
1503
- from: string;
1522
+ from?: string | null;
1504
1523
  /**
1505
1524
  * @description Transaction hash
1506
1525
  * @example 0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@b3dotfun/sdk",
3
- "version": "0.0.32-alpha.0",
3
+ "version": "0.0.32-alpha.1",
4
4
  "source": "src/index.ts",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "react-native": "./dist/cjs/index.native.js",
@@ -51,7 +51,7 @@ export interface paths {
51
51
  decimals: number;
52
52
  metadata: {
53
53
  /** @description Token logo URI */
54
- logoURI: string;
54
+ logoURI?: string;
55
55
  };
56
56
  }[];
57
57
  /** @example 200 */
@@ -880,28 +880,47 @@ export interface components {
880
880
  * @description Country code
881
881
  * @example US
882
882
  */
883
- country?: string;
883
+ country: string;
884
884
  /**
885
885
  * @description Onramp vendor used
886
886
  * @example stripe-web2
887
887
  * @enum {string}
888
888
  */
889
- vendor?: "coinbase" | "stripe" | "stripe-web2";
889
+ vendor: "coinbase" | "stripe" | "stripe-web2";
890
890
  /**
891
891
  * @description Payment method used
892
892
  * @example
893
893
  */
894
- paymentMethod?: string;
894
+ paymentMethod: string;
895
895
  /**
896
896
  * @description Redirect URL after payment
897
897
  * @example https://www.anyspend.com
898
898
  */
899
- redirectUrl?: string;
899
+ redirectUrl: string;
900
900
  /**
901
901
  * @description Stripe payment amount in cents
902
902
  * @example 9900
903
903
  */
904
904
  stripeAmountInCents?: number;
905
+ /**
906
+ * Format: ipv4
907
+ * @description Optional IP address for location detection
908
+ * @example 192.168.1.1
909
+ */
910
+ ipAddress?: string;
911
+ /** @description Optional fingerprint data for fraud detection */
912
+ fingerprint?: {
913
+ /**
914
+ * @description Fingerprint request ID
915
+ * @example fp_req_12345
916
+ */
917
+ requestId: string;
918
+ /**
919
+ * @description Fingerprint visitor ID
920
+ * @example fp_visitor_67890
921
+ */
922
+ visitorId: string;
923
+ };
905
924
  };
906
925
  /** @description Optional onramp configuration */
907
926
  Onramp: {
@@ -1522,10 +1541,10 @@ export interface components {
1522
1541
  */
1523
1542
  chain: number;
1524
1543
  /**
1525
- * @description Sender address
1544
+ * @description Sender address (can be null)
1526
1545
  * @example 0xa7539e73700B1726aBA29526606442A491Ef5747
1527
1546
  */
1528
- from: string;
1547
+ from?: string | null;
1529
1548
  /**
1530
1549
  * @description Transaction hash
1531
1550
  * @example 0x60ece99a645201668d20db6775a6b3d30967433ff0750b356cdad46d3e13f9c8