@caspay/sdk 1.1.2 → 1.1.3
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/README.md +2 -2
- package/dist/caspay.min.js +2 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey, ExecutableDeployItem, TransferDeployItem, DeployHeader, Deploy } from 'casper-js-sdk';
|
|
2
2
|
|
|
3
|
-
const SDK_VERSION = '1.1.
|
|
3
|
+
const SDK_VERSION = '1.1.3';
|
|
4
4
|
|
|
5
5
|
class HttpClient {
|
|
6
6
|
constructor(config) {
|
|
@@ -332,7 +332,7 @@ class Subscriptions {
|
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
334
|
const merchantId = this.client.getMerchantId();
|
|
335
|
-
let url = `/v1/subscriptions/check
|
|
335
|
+
let url = `/v1/subscriptions/check?merchant_id=${merchantId}&subscriber=${params.subscriberAddress}`;
|
|
336
336
|
if (params.planId) {
|
|
337
337
|
url += `&plan_id=${params.planId}`;
|
|
338
338
|
}
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var casperJsSdk = require('casper-js-sdk');
|
|
6
6
|
|
|
7
|
-
const SDK_VERSION = '1.1.
|
|
7
|
+
const SDK_VERSION = '1.1.3';
|
|
8
8
|
|
|
9
9
|
class HttpClient {
|
|
10
10
|
constructor(config) {
|
|
@@ -336,7 +336,7 @@ class Subscriptions {
|
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
const merchantId = this.client.getMerchantId();
|
|
339
|
-
let url = `/v1/subscriptions/check
|
|
339
|
+
let url = `/v1/subscriptions/check?merchant_id=${merchantId}&subscriber=${params.subscriberAddress}`;
|
|
340
340
|
if (params.planId) {
|
|
341
341
|
url += `&plan_id=${params.planId}`;
|
|
342
342
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.1.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.3";
|