@riocrypto/common-server 1.0.1091 → 1.0.1093

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.
@@ -17,7 +17,6 @@ const secret_manager_client_1 = require("./secret-manager-client");
17
17
  const axios_1 = __importDefault(require("axios"));
18
18
  const common_1 = require("@riocrypto/common");
19
19
  const crypto_js_1 = __importDefault(require("crypto-js"));
20
- const uuid_1 = require("uuid");
21
20
  class BitsoClient {
22
21
  constructor(apiKey, apiSecret, env) {
23
22
  this.apiKey = apiKey;
@@ -92,7 +91,7 @@ class BitsoClient {
92
91
  numeric_ref: "",
93
92
  notes_ref: concept,
94
93
  rfc: rfc || "XAXX010101000",
95
- origin_id: (0, uuid_1.v4)(),
94
+ origin_id: Math.floor(Math.random() * 9999),
96
95
  },
97
96
  };
98
97
  const signedRequestConfig = this.signRequest(requestConfig);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riocrypto/common-server",
3
- "version": "1.0.1091",
3
+ "version": "1.0.1093",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",