@blindpay/node 3.0.0 → 3.1.0

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 (77) hide show
  1. package/dist/{api-client-B7VQkM_4.d.mts → api-client-DhY5DFpq.d.mts} +37 -23
  2. package/dist/{api-client-B7VQkM_4.d.ts → api-client-DhY5DFpq.d.ts} +37 -23
  3. package/dist/{chunk-VRA5HP7F.mjs → chunk-E7M4CJKR.mjs} +0 -7
  4. package/dist/{chunk-WH2VNZE7.mjs → chunk-V4V47AUC.mjs} +12 -12
  5. package/dist/{chunk-W7NJUABI.mjs → chunk-VGU72ZNI.mjs} +1 -7
  6. package/dist/{chunk-VBZHAPK7.mjs → chunk-VOB7TMKL.mjs} +1 -9
  7. package/dist/index.d.mts +4 -4
  8. package/dist/index.d.ts +4 -4
  9. package/dist/index.js +2 -22
  10. package/dist/index.mjs +12 -12
  11. package/dist/resources/api-keys/api-keys.test.js +2 -22
  12. package/dist/resources/api-keys/api-keys.test.mjs +5 -5
  13. package/dist/resources/api-keys/index.d.mts +1 -1
  14. package/dist/resources/api-keys/index.d.ts +1 -1
  15. package/dist/resources/available/available.test.js +2 -22
  16. package/dist/resources/available/available.test.mjs +5 -5
  17. package/dist/resources/available/index.d.mts +1 -1
  18. package/dist/resources/available/index.d.ts +1 -1
  19. package/dist/resources/bank-accounts/bank-accounts.test.js +2 -22
  20. package/dist/resources/bank-accounts/bank-accounts.test.mjs +5 -5
  21. package/dist/resources/bank-accounts/index.d.mts +1 -1
  22. package/dist/resources/bank-accounts/index.d.ts +1 -1
  23. package/dist/resources/instances/index.d.mts +1 -1
  24. package/dist/resources/instances/index.d.ts +1 -1
  25. package/dist/resources/instances/instances.test.js +2 -22
  26. package/dist/resources/instances/instances.test.mjs +5 -5
  27. package/dist/resources/partner-fees/index.d.mts +1 -1
  28. package/dist/resources/partner-fees/index.d.ts +1 -1
  29. package/dist/resources/partner-fees/partner-fees.test.js +2 -22
  30. package/dist/resources/partner-fees/partner-fees.test.mjs +5 -5
  31. package/dist/resources/payins/index.d.mts +60 -123
  32. package/dist/resources/payins/index.d.ts +60 -123
  33. package/dist/resources/payins/index.js +0 -19
  34. package/dist/resources/payins/index.mjs +1 -1
  35. package/dist/resources/payins/payins-quotes.test.js +2 -108
  36. package/dist/resources/payins/payins-quotes.test.mjs +5 -91
  37. package/dist/resources/payins/payins.test.js +2 -157
  38. package/dist/resources/payins/payins.test.mjs +5 -140
  39. package/dist/resources/payins/quotes.d.mts +7 -72
  40. package/dist/resources/payins/quotes.d.ts +7 -72
  41. package/dist/resources/payins/quotes.js +0 -7
  42. package/dist/resources/payins/quotes.mjs +1 -1
  43. package/dist/resources/payouts/index.d.mts +2 -13
  44. package/dist/resources/payouts/index.d.ts +2 -13
  45. package/dist/resources/payouts/index.js +1 -9
  46. package/dist/resources/payouts/index.mjs +1 -1
  47. package/dist/resources/payouts/payouts.test.js +2 -148
  48. package/dist/resources/payouts/payouts.test.mjs +5 -131
  49. package/dist/resources/quotes/index.d.mts +16 -16
  50. package/dist/resources/quotes/index.d.ts +16 -16
  51. package/dist/resources/quotes/quotes.test.js +3 -23
  52. package/dist/resources/quotes/quotes.test.mjs +6 -6
  53. package/dist/resources/receivers/index.d.mts +1 -1
  54. package/dist/resources/receivers/index.d.ts +1 -1
  55. package/dist/resources/receivers/receivers.test.js +2 -22
  56. package/dist/resources/receivers/receivers.test.mjs +5 -5
  57. package/dist/resources/terms-of-service/index.d.mts +1 -1
  58. package/dist/resources/terms-of-service/index.d.ts +1 -1
  59. package/dist/resources/terms-of-service/terms-of-service.test.js +2 -22
  60. package/dist/resources/terms-of-service/terms-of-service.test.mjs +5 -5
  61. package/dist/resources/virtual-accounts/index.d.mts +1 -1
  62. package/dist/resources/virtual-accounts/index.d.ts +1 -1
  63. package/dist/resources/virtual-accounts/virtual-accounts.test.js +2 -22
  64. package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +5 -5
  65. package/dist/resources/wallets/blockchain.d.mts +1 -1
  66. package/dist/resources/wallets/blockchain.d.ts +1 -1
  67. package/dist/resources/wallets/blockchain.test.js +2 -22
  68. package/dist/resources/wallets/blockchain.test.mjs +5 -5
  69. package/dist/resources/wallets/offramp.d.mts +1 -1
  70. package/dist/resources/wallets/offramp.d.ts +1 -1
  71. package/dist/resources/wallets/offramp.test.js +2 -22
  72. package/dist/resources/wallets/offramp.test.mjs +5 -5
  73. package/dist/resources/webhooks/index.d.mts +1 -1
  74. package/dist/resources/webhooks/index.d.ts +1 -1
  75. package/dist/resources/webhooks/webhooks.test.js +2 -22
  76. package/dist/resources/webhooks/webhooks.test.mjs +5 -5
  77. package/package.json +1 -1
@@ -18702,7 +18702,7 @@ var import_expect_type = __toESM(require_dist(), 1);
18702
18702
  var import_svix = require("svix");
18703
18703
 
18704
18704
  // package.json
18705
- var version = "3.0.0";
18705
+ var version = "3.1.0";
18706
18706
 
18707
18707
  // src/internal/blindpay-error.ts
18708
18708
  var BlindPayError = class extends Error {
@@ -18905,11 +18905,6 @@ function createPayinsResource(instanceId, client) {
18905
18905
  getTrack(payinId) {
18906
18906
  return client.get(`/e/payins/${payinId}`);
18907
18907
  },
18908
- export(_a3) {
18909
- var params = __objRest(_a3, []);
18910
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18911
- return client.get(`/instances/${instanceId}/export/payins${queryParams}`);
18912
- },
18913
18908
  createEvm(payin_quote_id) {
18914
18909
  return client.post(`/instances/${instanceId}/payins/evm`, {
18915
18910
  payin_quote_id
@@ -18928,13 +18923,6 @@ function createPayinQuotesResource(instanceId, client) {
18928
18923
  getFxRate(_b) {
18929
18924
  var data = __objRest(_b, []);
18930
18925
  return client.post(`/instances/${instanceId}/payin-quotes/fx`, data);
18931
- },
18932
- get(id) {
18933
- return client.get(`/instances/${instanceId}/payin-quotes/${id}`);
18934
- },
18935
- list(params) {
18936
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18937
- return client.get(`/instances/${instanceId}/payin-quotes${queryParams}`);
18938
18926
  }
18939
18927
  };
18940
18928
  }
@@ -18946,10 +18934,6 @@ function createPayoutsResource(instanceId, client) {
18946
18934
  const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18947
18935
  return client.get(`/instances/${instanceId}/payouts${queryParams}`);
18948
18936
  },
18949
- export(params) {
18950
- const queryParams = params ? `?${new URLSearchParams(params)}` : "";
18951
- return client.get(`/instances/${instanceId}/export/payouts${queryParams}`);
18952
- },
18953
18937
  get(payoutId) {
18954
18938
  return client.get(`/instances/${instanceId}/payouts/${payoutId}`);
18955
18939
  },
@@ -18968,12 +18952,8 @@ function createPayoutsResource(instanceId, client) {
18968
18952
  var data = __objRest(_c, []);
18969
18953
  return client.post(`/instances/${instanceId}/payouts/evm`, data);
18970
18954
  },
18971
- authorizeSolana(_d) {
18955
+ createSolana(_d) {
18972
18956
  var data = __objRest(_d, []);
18973
- return client.post(`/instances/${instanceId}/payouts/solana/authorize`, data);
18974
- },
18975
- createSolana(_e) {
18976
- var data = __objRest(_e, []);
18977
18957
  return client.post(`/instances/${instanceId}/payouts/solana`, data);
18978
18958
  }
18979
18959
  };
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  BlindPay,
10
10
  init_client
11
- } from "../../chunk-WH2VNZE7.mjs";
11
+ } from "../../chunk-V4V47AUC.mjs";
12
12
  import "../../chunk-FG25JHDX.mjs";
13
13
  import "../../chunk-QGNLMN6Z.mjs";
14
14
  import "../../chunk-UC57SCKQ.mjs";
@@ -16,13 +16,13 @@ import "../../chunk-TBTA7A2P.mjs";
16
16
  import "../../chunk-67XECGMJ.mjs";
17
17
  import "../../chunk-Z6EYX4D3.mjs";
18
18
  import "../../chunk-LEPGLH7Q.mjs";
19
+ import "../../chunk-VGU72ZNI.mjs";
20
+ import "../../chunk-E7M4CJKR.mjs";
21
+ import "../../chunk-VOB7TMKL.mjs";
19
22
  import "../../chunk-RC5NN5UF.mjs";
20
- import "../../chunk-W7NJUABI.mjs";
21
- import "../../chunk-VRA5HP7F.mjs";
22
- import "../../chunk-VBZHAPK7.mjs";
23
23
  import "../../chunk-LRHWT4JU.mjs";
24
- import "../../chunk-CPOSU35L.mjs";
25
24
  import "../../chunk-U7CKUUO7.mjs";
25
+ import "../../chunk-CPOSU35L.mjs";
26
26
  import "../../chunk-B5T7AQLH.mjs";
27
27
  import {
28
28
  __async,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blindpay/node",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Official Node.js SDK for Blindpay API - Global payments infrastructure",
5
5
  "keywords": [
6
6
  "blindpay",