@riocrypto/common-server 1.0.2679 → 1.0.2680

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.
@@ -28,12 +28,12 @@ declare class BridgeClient {
28
28
  }>;
29
29
  createTransfer(bridgeCustomerId: string, amountInUSD: string, source: {
30
30
  currency: "usdc" | "usdt" | "usd";
31
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana";
31
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana" | "base";
32
32
  external_account_id?: string;
33
33
  from_address?: string;
34
34
  }, destination: {
35
35
  currency: "usdc" | "usdt" | "usd";
36
- payment_rail: "ach" | "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana";
36
+ payment_rail: "ach" | "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana" | "base";
37
37
  external_account_id?: string;
38
38
  to_address?: string;
39
39
  blockchain_memo?: string;
@@ -45,13 +45,13 @@ declare class BridgeClient {
45
45
  developer_fee: string;
46
46
  source: {
47
47
  currency: "usdc" | "usdt" | "usd";
48
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana";
48
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana" | "base";
49
49
  external_account_id?: string;
50
50
  from_address?: string;
51
51
  };
52
52
  destination: {
53
53
  currency: "usdc" | "usdt" | "usd";
54
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana";
54
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "solana" | "base";
55
55
  external_account_id?: string;
56
56
  to_address?: string;
57
57
  blockchain_memo?: string;
@@ -59,7 +59,7 @@ declare class BridgeClient {
59
59
  };
60
60
  state: "awaiting_funds" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "error";
61
61
  source_deposit_instructions: {
62
- payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar" | "solana";
62
+ payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar" | "solana" | "base";
63
63
  amount: string;
64
64
  currency: "usdc" | "usdt" | "usd";
65
65
  from_address?: string;
@@ -81,13 +81,13 @@ declare class BridgeClient {
81
81
  developer_fee: string;
82
82
  source: {
83
83
  currency: "usdc" | "usdt" | "usd";
84
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar";
84
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "base";
85
85
  external_account_id?: string;
86
86
  from_address?: string;
87
87
  };
88
88
  destination: {
89
89
  currency: "usdc" | "usdt" | "usd";
90
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar";
90
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "base";
91
91
  external_account_id?: string;
92
92
  to_address?: string;
93
93
  wire_message?: string;
@@ -95,7 +95,7 @@ declare class BridgeClient {
95
95
  };
96
96
  state: "awaiting_funds" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "error";
97
97
  source_deposit_instructions: {
98
- payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar";
98
+ payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar" | "base";
99
99
  amount: string;
100
100
  currency: "usdc" | "usdt" | "usd";
101
101
  from_address?: string;
@@ -116,13 +116,13 @@ declare class BridgeClient {
116
116
  developer_fee: string;
117
117
  source: {
118
118
  currency: "usdc" | "usdt" | "usd";
119
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar";
119
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "base";
120
120
  external_account_id?: string;
121
121
  from_address?: string;
122
122
  };
123
123
  destination: {
124
124
  currency: "usdc" | "usdt" | "usd";
125
- payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar";
125
+ payment_rail: "ach_push" | "wire" | "avalanche_c_c" | "ethereum" | "polygon" | "stellar" | "base";
126
126
  external_account_id?: string;
127
127
  to_address?: string;
128
128
  wire_message?: string;
@@ -130,7 +130,7 @@ declare class BridgeClient {
130
130
  };
131
131
  state: "awaiting_funds" | "funds_received" | "payment_submitted" | "payment_processed" | "canceled" | "error";
132
132
  source_deposit_instructions: {
133
- payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar";
133
+ payment_rail: "ach_push" | "wire" | "avalanche_c_chain" | "ethereum" | "polygon" | "stellar" | "base";
134
134
  amount: string;
135
135
  currency: "usdc" | "usdt" | "usd";
136
136
  from_address?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.2679",
3
+ "version": "1.0.2680",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "@google-cloud/secret-manager": "^5.3.0",
29
29
  "@google-cloud/storage": "^6.9.5",
30
30
  "@hyperdx/node-opentelemetry": "^0.7.0",
31
- "@riocrypto/common": "^1.0.2478",
31
+ "@riocrypto/common": "^1.0.2479",
32
32
  "@types/express": "^4.17.13",
33
33
  "axios": "^1.7.4",
34
34
  "crypto-js": "^4.2.0",