@blindpay/node 2.0.4 → 2.1.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.
- package/dist/{chunk-E6ALTWR5.mjs → chunk-67XECGMJ.mjs} +14 -0
- package/dist/{chunk-KJM53ZD6.mjs → chunk-CWR4B22L.mjs} +6 -6
- package/dist/{chunk-GCCHFONX.mjs → chunk-D6N3USMR.mjs} +752 -764
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -1
- package/dist/index.mjs +6 -6
- package/dist/resources/api-keys/api-keys.test.js +785 -783
- package/dist/resources/api-keys/api-keys.test.mjs +4 -4
- package/dist/resources/available/available.test.js +785 -783
- package/dist/resources/available/available.test.mjs +4 -4
- package/dist/resources/bank-accounts/bank-accounts.test.js +785 -783
- package/dist/resources/bank-accounts/bank-accounts.test.mjs +4 -4
- package/dist/resources/instances/instances.test.js +785 -783
- package/dist/resources/instances/instances.test.mjs +4 -4
- package/dist/resources/partner-fees/partner-fees.test.js +785 -783
- package/dist/resources/partner-fees/partner-fees.test.mjs +4 -4
- package/dist/resources/payins/payins-quotes.test.js +785 -783
- package/dist/resources/payins/payins-quotes.test.mjs +4 -4
- package/dist/resources/payins/payins.test.js +785 -783
- package/dist/resources/payins/payins.test.mjs +4 -4
- package/dist/resources/payouts/payouts.test.js +785 -783
- package/dist/resources/payouts/payouts.test.mjs +4 -4
- package/dist/resources/quotes/quotes.test.js +785 -783
- package/dist/resources/quotes/quotes.test.mjs +4 -4
- package/dist/resources/receivers/index.d.mts +29 -1
- package/dist/resources/receivers/index.d.ts +29 -1
- package/dist/resources/receivers/index.js +14 -0
- package/dist/resources/receivers/index.mjs +1 -1
- package/dist/resources/receivers/receivers.test.js +841 -783
- package/dist/resources/receivers/receivers.test.mjs +60 -4
- package/dist/resources/virtual-accounts/virtual-accounts.test.js +785 -783
- package/dist/resources/virtual-accounts/virtual-accounts.test.mjs +4 -4
- package/dist/resources/wallets/blockchain.test.js +785 -783
- package/dist/resources/wallets/blockchain.test.mjs +4 -4
- package/dist/resources/wallets/offramp.test.js +785 -783
- package/dist/resources/wallets/offramp.test.mjs +4 -4
- package/dist/resources/webhooks/index.d.mts +1 -1
- package/dist/resources/webhooks/index.d.ts +1 -1
- package/dist/resources/webhooks/webhooks.test.js +785 -783
- package/dist/resources/webhooks/webhooks.test.mjs +4 -4
- package/package.json +1 -1
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.
|
|
94
|
+
var version = "2.1.1";
|
|
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-CWR4B22L.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createBlockchainWalletsResource,
|
|
7
7
|
init_blockchain
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
createReceiversResource,
|
|
23
23
|
init_receivers
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-67XECGMJ.mjs";
|
|
25
25
|
import {
|
|
26
26
|
createVirtualAccountsResource,
|
|
27
27
|
init_virtual_accounts
|
|
@@ -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
|