@blindpay/node 3.5.0 → 3.8.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.
- package/dist/{api-client-Bklw4zQi.d.ts → api-client-B9lW57MD.d.ts} +1 -1
- package/dist/{api-client-BlkRiojB.d.mts → api-client-Ct0AsDO5.d.mts} +1 -1
- package/dist/{chunk-IHFM6NYO.mjs → chunk-57QRKKXM.mjs} +22 -16
- package/dist/chunk-Z6EYX4D3.mjs +29 -0
- package/dist/{index.d-Gvol1faW.d.ts → index.d-CxmQ6ci9.d.mts} +2 -2
- package/dist/{index.d-Gvol1faW.d.mts → index.d-CxmQ6ci9.d.ts} +2 -2
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +20 -2
- package/dist/index.mjs +17 -16
- package/dist/resources/api-keys/api-keys.test.js +20 -2
- package/dist/resources/api-keys/api-keys.test.mjs +6 -5
- package/dist/resources/api-keys/index.d.mts +2 -2
- package/dist/resources/api-keys/index.d.ts +2 -2
- package/dist/resources/available/available.test.js +20 -2
- package/dist/resources/available/available.test.mjs +6 -5
- package/dist/resources/available/index.d.mts +2 -2
- package/dist/resources/available/index.d.ts +2 -2
- package/dist/resources/bank-accounts/bank-accounts.test.js +20 -2
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +6 -5
- package/dist/resources/bank-accounts/index.d.mts +2 -2
- package/dist/resources/bank-accounts/index.d.ts +2 -2
- package/dist/resources/fees/fees.test.js +20 -2
- package/dist/resources/fees/fees.test.mjs +6 -5
- package/dist/resources/fees/index.d.mts +2 -2
- package/dist/resources/fees/index.d.ts +2 -2
- package/dist/resources/instances/index.d.mts +2 -2
- package/dist/resources/instances/index.d.ts +2 -2
- package/dist/resources/instances/instances.test.js +20 -2
- package/dist/resources/instances/instances.test.mjs +6 -5
- package/dist/resources/partner-fees/index.d.mts +2 -2
- package/dist/resources/partner-fees/index.d.ts +2 -2
- package/dist/resources/partner-fees/partner-fees.test.js +20 -2
- package/dist/resources/partner-fees/partner-fees.test.mjs +6 -5
- package/dist/resources/payins/index.d.mts +13 -2
- package/dist/resources/payins/index.d.ts +13 -2
- package/dist/resources/payins/payins-quotes.test.js +22 -4
- package/dist/resources/payins/payins-quotes.test.mjs +8 -7
- package/dist/resources/payins/payins.test.js +40 -2
- package/dist/resources/payins/payins.test.mjs +26 -5
- package/dist/resources/payins/quotes.d.mts +4 -4
- package/dist/resources/payins/quotes.d.ts +4 -4
- package/dist/resources/payouts/index.d.mts +3 -3
- package/dist/resources/payouts/index.d.ts +3 -3
- package/dist/resources/payouts/payouts.test.js +20 -2
- package/dist/resources/payouts/payouts.test.mjs +6 -5
- package/dist/resources/quotes/index.d.mts +2 -2
- package/dist/resources/quotes/index.d.ts +2 -2
- package/dist/resources/quotes/quotes.test.js +20 -2
- package/dist/resources/quotes/quotes.test.mjs +6 -5
- package/dist/resources/receivers/index.d.mts +2 -2
- package/dist/resources/receivers/index.d.ts +2 -2
- package/dist/resources/receivers/receivers.test.js +20 -2
- package/dist/resources/receivers/receivers.test.mjs +6 -5
- package/dist/resources/terms-of-service/index.d.mts +16 -0
- package/dist/resources/terms-of-service/index.d.ts +16 -0
- package/dist/resources/terms-of-service/index.js +44 -0
- package/dist/resources/terms-of-service/index.mjs +9 -0
- package/dist/resources/terms-of-service/terms-of-service.test.d.mts +2 -0
- package/dist/resources/terms-of-service/terms-of-service.test.d.ts +2 -0
- package/dist/resources/terms-of-service/terms-of-service.test.js +19824 -0
- package/dist/resources/terms-of-service/terms-of-service.test.mjs +64 -0
- package/dist/resources/transfers/index.d.mts +2 -2
- package/dist/resources/transfers/index.d.ts +2 -2
- package/dist/resources/transfers/transfers.test.js +20 -2
- package/dist/resources/transfers/transfers.test.mjs +6 -5
- package/dist/resources/upload/index.d.mts +1 -1
- package/dist/resources/upload/index.d.ts +1 -1
- package/dist/resources/upload/upload.test.js +20 -2
- package/dist/resources/upload/upload.test.mjs +6 -5
- package/dist/resources/virtual-accounts/index.d.mts +2 -2
- package/dist/resources/virtual-accounts/index.d.ts +2 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +20 -2
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +6 -5
- package/dist/resources/wallets/blockchain.d.mts +2 -2
- package/dist/resources/wallets/blockchain.d.ts +2 -2
- package/dist/resources/wallets/blockchain.test.js +20 -2
- package/dist/resources/wallets/blockchain.test.mjs +6 -5
- package/dist/resources/wallets/custodial.d.mts +2 -2
- package/dist/resources/wallets/custodial.d.ts +2 -2
- package/dist/resources/wallets/custodial.test.js +20 -2
- package/dist/resources/wallets/custodial.test.mjs +6 -5
- package/dist/resources/wallets/offramp.d.mts +2 -2
- package/dist/resources/wallets/offramp.d.ts +2 -2
- package/dist/resources/wallets/offramp.test.js +20 -2
- package/dist/resources/wallets/offramp.test.mjs +6 -5
- package/dist/resources/webhooks/index.d.mts +2 -2
- package/dist/resources/webhooks/index.d.ts +2 -2
- package/dist/resources/webhooks/webhooks.test.js +20 -2
- package/dist/resources/webhooks/webhooks.test.mjs +6 -5
- package/package.json +2 -2
|
@@ -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.
|
|
18705
|
+
var version = "3.8.0";
|
|
18706
18706
|
|
|
18707
18707
|
// src/internal/blindpay-error.ts
|
|
18708
18708
|
var BlindPayError = class extends Error {
|
|
@@ -19066,6 +19066,23 @@ function createReceiversResource(instanceId, client) {
|
|
|
19066
19066
|
};
|
|
19067
19067
|
}
|
|
19068
19068
|
|
|
19069
|
+
// src/resources/terms-of-service/index.ts
|
|
19070
|
+
function createTermsOfServiceResource(instanceId, client) {
|
|
19071
|
+
return {
|
|
19072
|
+
initiate({
|
|
19073
|
+
idempotency_key,
|
|
19074
|
+
receiver_id,
|
|
19075
|
+
redirect_url
|
|
19076
|
+
}) {
|
|
19077
|
+
return client.post(`/e/instances/${instanceId}/tos`, {
|
|
19078
|
+
idempotency_key,
|
|
19079
|
+
receiver_id,
|
|
19080
|
+
redirect_url
|
|
19081
|
+
});
|
|
19082
|
+
}
|
|
19083
|
+
};
|
|
19084
|
+
}
|
|
19085
|
+
|
|
19069
19086
|
// src/resources/transfers/index.ts
|
|
19070
19087
|
function createTransfersResource(instanceId, client) {
|
|
19071
19088
|
return {
|
|
@@ -19376,7 +19393,8 @@ var BlindPay = class {
|
|
|
19376
19393
|
this.available = createAvailableResource(this.api);
|
|
19377
19394
|
this.instances = __spreadProps(__spreadValues({}, createInstancesResource(this.instanceId, this.api)), {
|
|
19378
19395
|
apiKeys: createApiKeysResource(this.instanceId, this.api),
|
|
19379
|
-
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api)
|
|
19396
|
+
webhookEndpoints: createWebhookEndpointsResource(this.instanceId, this.api),
|
|
19397
|
+
tos: createTermsOfServiceResource(this.instanceId, this.api)
|
|
19380
19398
|
});
|
|
19381
19399
|
this.partnerFees = createPartnerFeesResource(this.instanceId, this.api);
|
|
19382
19400
|
this.payins = __spreadProps(__spreadValues({}, createPayinsResource(this.instanceId, this.api)), {
|
|
@@ -8,25 +8,26 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
BlindPay,
|
|
10
10
|
init_client
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-57QRKKXM.mjs";
|
|
12
12
|
import "../../chunk-FG25JHDX.mjs";
|
|
13
13
|
import "../../chunk-KMU6V4LW.mjs";
|
|
14
14
|
import "../../chunk-QGNLMN6Z.mjs";
|
|
15
|
+
import "../../chunk-UC57SCKQ.mjs";
|
|
16
|
+
import "../../chunk-ISHZTBAN.mjs";
|
|
15
17
|
import "../../chunk-UDRMLZWT.mjs";
|
|
16
18
|
import "../../chunk-LEPGLH7Q.mjs";
|
|
17
|
-
import "../../chunk-UC57SCKQ.mjs";
|
|
18
19
|
import "../../chunk-E7M4CJKR.mjs";
|
|
19
20
|
import "../../chunk-F5Z45GCA.mjs";
|
|
20
21
|
import "../../chunk-TBTA7A2P.mjs";
|
|
21
22
|
import "../../chunk-YIZJM2GU.mjs";
|
|
22
|
-
import "../../chunk-
|
|
23
|
-
import "../../chunk-
|
|
23
|
+
import "../../chunk-Z6EYX4D3.mjs";
|
|
24
|
+
import "../../chunk-UOAM7SX3.mjs";
|
|
24
25
|
import "../../chunk-BGXC2F73.mjs";
|
|
25
26
|
import "../../chunk-RC5NN5UF.mjs";
|
|
26
27
|
import "../../chunk-VGU72ZNI.mjs";
|
|
27
28
|
import "../../chunk-LRHWT4JU.mjs";
|
|
28
|
-
import "../../chunk-UOAM7SX3.mjs";
|
|
29
29
|
import "../../chunk-WE73MTQL.mjs";
|
|
30
|
+
import "../../chunk-ALHMJWQN.mjs";
|
|
30
31
|
import {
|
|
31
32
|
__async,
|
|
32
33
|
__commonJS
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blindpay/node",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.0",
|
|
4
4
|
"description": "Official Node.js SDK for Blindpay API - Stablecoin API for global payments",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blindpay",
|
|
@@ -62,6 +62,6 @@
|
|
|
62
62
|
},
|
|
63
63
|
"packageManager": "bun@1.2.18",
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"svix": "1.
|
|
65
|
+
"svix": "1.89.0"
|
|
66
66
|
}
|
|
67
67
|
}
|