@ranty/ranty-sdk 0.0.5 → 0.0.6
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/index.js +9 -9
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1920,7 +1920,7 @@ $r.getInstance = Sa.getInstance;
|
|
|
1920
1920
|
const kt = wa.create();
|
|
1921
1921
|
kt.interceptors.request.use(
|
|
1922
1922
|
(r) => {
|
|
1923
|
-
r.baseURL = "https://
|
|
1923
|
+
r.baseURL = "https://api.ranty.io", r.headers["content-type"] = "application/json";
|
|
1924
1924
|
const e = sessionStorage.getItem("key");
|
|
1925
1925
|
return e && (r.params = ir($t({}, r.params), {
|
|
1926
1926
|
publicKey: e
|
|
@@ -4826,13 +4826,13 @@ const Hl = (r, e, t, n) => $(void 0, null, function* () {
|
|
|
4826
4826
|
}, Yi = (r, e) => {
|
|
4827
4827
|
let t = "";
|
|
4828
4828
|
e ? t = `-----BEGIN PUBLIC KEY-----
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4829
|
+
MIIBITANBgkqhkiG9w0BAQEFAAOCAQ4AMIIBCQKCAQBNhfYtgv9b00pL+yFmAH6J
|
|
4830
|
+
25UMkYYigRXpjF5N4lBRIVysUl1UPdbTMH9CIsHkyEJvPEbaXvk4HHmmJLdgiR2I
|
|
4831
|
+
OK6sccDZY/31RgWUvY+EOqLmukL+Dm16673vmzQHNBToJZ0ptQ5+6mC0G4nfGVG+
|
|
4832
|
+
9JxL+tfFD8WFXmlcfdJDCrMz0zQiBt0m6jr3UJZHMMQfduA5XV9g+jxqVOlnbwMY
|
|
4833
|
+
wpkBHvAzEawYCHEgbRMN75q9nILJSRVQLk5HO1J6346TLLmQT0ko4zPubJWElqHE
|
|
4834
|
+
m6BnvzhfmhBRR/3zooXZD/ElNpiXdZJMmMM6LsJJomVjmKdWFYgbbir6nCGewZN3
|
|
4835
|
+
AgMBAAE=
|
|
4836
4836
|
-----END PUBLIC KEY-----` : t = `-----BEGIN PUBLIC KEY-----
|
|
4837
4837
|
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDRy6sijOKT2M8XV52tZkO5y3n/
|
|
4838
4838
|
vWN4TyVrKQqg+TQrr8rH8LfDdtiyAs1gmW33GmNNxgP0mZgs8QjVfEsMMXa2SptP
|
|
@@ -14002,7 +14002,7 @@ function cu(r, e) {
|
|
|
14002
14002
|
}
|
|
14003
14003
|
const Im = (r) => $(void 0, null, function* () {
|
|
14004
14004
|
return new Promise((e, t) => $(void 0, null, function* () {
|
|
14005
|
-
const n = Te.region === "us-east-1" ? "us-east-1:
|
|
14005
|
+
const n = Te.region === "us-east-1" ? "us-east-1:c6c9fcd9-f2e2-4b27-89bf-b63806ffa1f5" : "us-east-2:25b1ff04-2de7-4b8a-8d91-54e92abf497d", i = "execute-api", s = Te.region === "us-east-1" ? "us-east-1" : "us-east-2", o = "wss://ranty-ws.apinaranja.com/notify";
|
|
14006
14006
|
li.configure({ identityPoolId: n, identityPoolRegion: s, identityPoolService: i });
|
|
14007
14007
|
const a = bs.essentialCredentials(yield bs.currentCredentials());
|
|
14008
14008
|
if (!a.accessKeyId) {
|