@riocrypto/common 1.0.525 → 1.0.527

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.
@@ -245,7 +245,7 @@ class RioClient {
245
245
  }
246
246
  createSPIDPayment(orderId) {
247
247
  return __awaiter(this, void 0, void 0, function* () {
248
- const { data } = yield this.axios.post(`/api/payments/bank/spid`, {
248
+ const { data } = yield this.axios.post(`/api/payments/bank/init/spid`, {
249
249
  orderId,
250
250
  });
251
251
  return data;
@@ -5,5 +5,6 @@ export declare enum AuthorizationType {
5
5
  Admin = "admin",
6
6
  Partner = "partner",
7
7
  Auth = "auth",
8
- AdminAPI = "adminAPI"
8
+ AdminAPI = "adminAPI",
9
+ UserOptional = "userOptional"
9
10
  }
@@ -10,4 +10,5 @@ var AuthorizationType;
10
10
  AuthorizationType["Partner"] = "partner";
11
11
  AuthorizationType["Auth"] = "auth";
12
12
  AuthorizationType["AdminAPI"] = "adminAPI";
13
+ AuthorizationType["UserOptional"] = "userOptional";
13
14
  })(AuthorizationType = exports.AuthorizationType || (exports.AuthorizationType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common",
3
- "version": "1.0.525",
3
+ "version": "1.0.527",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",