@blindpay/node 2.0.3 → 2.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.
- package/dist/{chunk-E6ALTWR5.mjs → chunk-67XECGMJ.mjs} +14 -0
- package/dist/{chunk-GCCHFONX.mjs → chunk-D6N3USMR.mjs} +752 -764
- package/dist/{chunk-2QAVOGLK.mjs → chunk-YP536RWJ.mjs} +10 -10
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -1
- package/dist/index.mjs +10 -10
- package/dist/resources/api-keys/api-keys.test.js +785 -783
- package/dist/resources/api-keys/api-keys.test.mjs +5 -5
- package/dist/resources/available/available.test.js +785 -783
- package/dist/resources/available/available.test.mjs +5 -5
- package/dist/resources/bank-accounts/bank-accounts.test.js +785 -783
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +5 -5
- package/dist/resources/instances/instances.test.js +785 -783
- package/dist/resources/instances/instances.test.mjs +5 -5
- package/dist/resources/partner-fees/partner-fees.test.js +785 -783
- package/dist/resources/partner-fees/partner-fees.test.mjs +5 -5
- package/dist/resources/payins/payins-quotes.test.js +785 -783
- package/dist/resources/payins/payins-quotes.test.mjs +5 -5
- package/dist/resources/payins/payins.test.js +785 -783
- package/dist/resources/payins/payins.test.mjs +5 -5
- package/dist/resources/payouts/payouts.test.js +785 -783
- package/dist/resources/payouts/payouts.test.mjs +5 -5
- package/dist/resources/quotes/quotes.test.js +785 -783
- package/dist/resources/quotes/quotes.test.mjs +5 -5
- package/dist/resources/receivers/index.d.mts +33 -2
- package/dist/resources/receivers/index.d.ts +33 -2
- package/dist/resources/receivers/index.js +14 -0
- package/dist/resources/receivers/index.mjs +1 -1
- package/dist/resources/receivers/receivers.test.js +844 -783
- package/dist/resources/receivers/receivers.test.mjs +64 -5
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +785 -783
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +5 -5
- package/dist/resources/wallets/blockchain.test.js +785 -783
- package/dist/resources/wallets/blockchain.test.mjs +5 -5
- package/dist/resources/wallets/offramp.test.js +785 -783
- package/dist/resources/wallets/offramp.test.mjs +5 -5
- package/dist/resources/webhooks/webhooks.test.js +785 -783
- package/dist/resources/webhooks/webhooks.test.mjs +5 -5
- package/package.json +1 -1
|
@@ -6,6 +6,10 @@ import {
|
|
|
6
6
|
createOfframpWalletsResource,
|
|
7
7
|
init_offramp
|
|
8
8
|
} from "./chunk-QGNLMN6Z.mjs";
|
|
9
|
+
import {
|
|
10
|
+
createWebhookEndpointsResource,
|
|
11
|
+
init_webhooks
|
|
12
|
+
} from "./chunk-UC57SCKQ.mjs";
|
|
9
13
|
import {
|
|
10
14
|
createQuotesResource,
|
|
11
15
|
init_quotes as init_quotes2
|
|
@@ -13,15 +17,11 @@ import {
|
|
|
13
17
|
import {
|
|
14
18
|
createReceiversResource,
|
|
15
19
|
init_receivers
|
|
16
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-67XECGMJ.mjs";
|
|
17
21
|
import {
|
|
18
22
|
createVirtualAccountsResource,
|
|
19
23
|
init_virtual_accounts
|
|
20
24
|
} from "./chunk-5XJJKYXE.mjs";
|
|
21
|
-
import {
|
|
22
|
-
createWebhookEndpointsResource,
|
|
23
|
-
init_webhooks
|
|
24
|
-
} from "./chunk-UC57SCKQ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
createPartnerFeesResource,
|
|
27
27
|
init_partner_fees
|
|
@@ -42,14 +42,14 @@ import {
|
|
|
42
42
|
createApiKeysResource,
|
|
43
43
|
init_api_keys
|
|
44
44
|
} from "./chunk-LRHWT4JU.mjs";
|
|
45
|
-
import {
|
|
46
|
-
createAvailableResource,
|
|
47
|
-
init_available
|
|
48
|
-
} from "./chunk-QHMIK7U3.mjs";
|
|
49
45
|
import {
|
|
50
46
|
createBankAccountsResource,
|
|
51
47
|
init_bank_accounts
|
|
52
48
|
} from "./chunk-CPOSU35L.mjs";
|
|
49
|
+
import {
|
|
50
|
+
createAvailableResource,
|
|
51
|
+
init_available
|
|
52
|
+
} from "./chunk-QHMIK7U3.mjs";
|
|
53
53
|
import {
|
|
54
54
|
createInstancesResource,
|
|
55
55
|
init_instances
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
var version;
|
|
66
66
|
var init_package = __esm({
|
|
67
67
|
"package.json"() {
|
|
68
|
-
version = "2.0
|
|
68
|
+
version = "2.1.0";
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
|
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPay
|
|
|
17
17
|
import { createQuotesResource } from './resources/quotes/index.mjs';
|
|
18
18
|
export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.mjs';
|
|
19
19
|
import { createReceiversResource } from './resources/receivers/index.mjs';
|
|
20
|
-
export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.mjs';
|
|
20
|
+
export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.mjs';
|
|
21
21
|
import { createVirtualAccountsResource } from './resources/virtual-accounts/index.mjs';
|
|
22
22
|
export { CreateVirtualAccountInput, CreateVirtualAccountResponse, GetVirtualAccountInput, GetVirtualAccountResponse, UpdateVirtualAccountInput, VirtualAccount } from './resources/virtual-accounts/index.mjs';
|
|
23
23
|
import { createBlockchainWalletsResource } from './resources/wallets/blockchain.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { AuthorizeStellarTokenInput, AuthorizeStellarTokenResponse, CreateEvmPay
|
|
|
17
17
|
import { createQuotesResource } from './resources/quotes/index.js';
|
|
18
18
|
export { CreateQuoteInput, CreateQuoteResponse, GetFxRateInput, GetFxRateResponse } from './resources/quotes/index.js';
|
|
19
19
|
import { createReceiversResource } from './resources/receivers/index.js';
|
|
20
|
-
export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.js';
|
|
20
|
+
export { BusinessWithStandardKYB, CreateBusinessWithStandardKYBInput, CreateBusinessWithStandardKYBResponse, CreateIndividualWithEnhancedKYCInput, CreateIndividualWithEnhancedKYCResponse, CreateIndividualWithStandardKYCInput, CreateIndividualWithStandardKYCResponse, DeleteReceiverInput, GetLimitIncreaseRequestsInput, GetLimitIncreaseRequestsResponse, GetReceiverInput, GetReceiverLimitsInput, GetReceiverLimitsResponse, GetReceiverResponse, IdentificationDocument, IndividualWithEnhancedKYC, IndividualWithStandardKYC, KycType, LimitIncreaseRequestStatus, LimitIncreaseRequestSupportingDocumentType, ListReceiversResponse, Owner, OwnerRole, ProofOfAddressDocType, PurposeOfTransactions, RequestLimitIncreaseInput, RequestLimitIncreaseResponse, SourceOfFundsDocType, UpdateReceiverInput } from './resources/receivers/index.js';
|
|
21
21
|
import { createVirtualAccountsResource } from './resources/virtual-accounts/index.js';
|
|
22
22
|
export { CreateVirtualAccountInput, CreateVirtualAccountResponse, GetVirtualAccountInput, GetVirtualAccountResponse, UpdateVirtualAccountInput, VirtualAccount } from './resources/virtual-accounts/index.js';
|
|
23
23
|
import { createBlockchainWalletsResource } from './resources/wallets/blockchain.js';
|
package/dist/index.js
CHANGED
|
@@ -91,7 +91,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
91
91
|
var import_node_crypto = require("crypto");
|
|
92
92
|
|
|
93
93
|
// package.json
|
|
94
|
-
var version = "2.0
|
|
94
|
+
var version = "2.1.0";
|
|
95
95
|
|
|
96
96
|
// src/internal/blindpay-error.ts
|
|
97
97
|
var BlindPayError = class extends Error {
|
|
@@ -400,6 +400,20 @@ function createReceiversResource(instanceId, client) {
|
|
|
400
400
|
},
|
|
401
401
|
getLimits(receiver_id) {
|
|
402
402
|
return client.get(`/instances/${instanceId}/limits/receivers/${receiver_id}`);
|
|
403
|
+
},
|
|
404
|
+
getLimitIncreaseRequests(receiver_id) {
|
|
405
|
+
return client.get(`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`);
|
|
406
|
+
},
|
|
407
|
+
requestLimitIncrease(_c) {
|
|
408
|
+
var _d = _c, {
|
|
409
|
+
receiver_id
|
|
410
|
+
} = _d, data = __objRest(_d, [
|
|
411
|
+
"receiver_id"
|
|
412
|
+
]);
|
|
413
|
+
return client.post(
|
|
414
|
+
`/instances/${instanceId}/receivers/${receiver_id}/limit-increase`,
|
|
415
|
+
data
|
|
416
|
+
);
|
|
403
417
|
}
|
|
404
418
|
};
|
|
405
419
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlindPay,
|
|
3
3
|
init_client
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YP536RWJ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createBlockchainWalletsResource,
|
|
7
7
|
init_blockchain
|
|
@@ -10,6 +10,10 @@ import {
|
|
|
10
10
|
createOfframpWalletsResource,
|
|
11
11
|
init_offramp
|
|
12
12
|
} from "./chunk-QGNLMN6Z.mjs";
|
|
13
|
+
import {
|
|
14
|
+
createWebhookEndpointsResource,
|
|
15
|
+
init_webhooks
|
|
16
|
+
} from "./chunk-UC57SCKQ.mjs";
|
|
13
17
|
import {
|
|
14
18
|
createQuotesResource,
|
|
15
19
|
init_quotes as init_quotes2
|
|
@@ -17,15 +21,11 @@ import {
|
|
|
17
21
|
import {
|
|
18
22
|
createReceiversResource,
|
|
19
23
|
init_receivers
|
|
20
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-67XECGMJ.mjs";
|
|
21
25
|
import {
|
|
22
26
|
createVirtualAccountsResource,
|
|
23
27
|
init_virtual_accounts
|
|
24
28
|
} from "./chunk-5XJJKYXE.mjs";
|
|
25
|
-
import {
|
|
26
|
-
createWebhookEndpointsResource,
|
|
27
|
-
init_webhooks
|
|
28
|
-
} from "./chunk-UC57SCKQ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
createPartnerFeesResource,
|
|
31
31
|
init_partner_fees
|
|
@@ -46,14 +46,14 @@ import {
|
|
|
46
46
|
createApiKeysResource,
|
|
47
47
|
init_api_keys
|
|
48
48
|
} from "./chunk-LRHWT4JU.mjs";
|
|
49
|
-
import {
|
|
50
|
-
createAvailableResource,
|
|
51
|
-
init_available
|
|
52
|
-
} from "./chunk-QHMIK7U3.mjs";
|
|
53
49
|
import {
|
|
54
50
|
createBankAccountsResource,
|
|
55
51
|
init_bank_accounts
|
|
56
52
|
} from "./chunk-CPOSU35L.mjs";
|
|
53
|
+
import {
|
|
54
|
+
createAvailableResource,
|
|
55
|
+
init_available
|
|
56
|
+
} from "./chunk-QHMIK7U3.mjs";
|
|
57
57
|
import {
|
|
58
58
|
createInstancesResource,
|
|
59
59
|
init_instances
|