@versori/run 0.4.7 → 0.4.8
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"AAcA,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;GAEG;AACH,qBAAa,gBAAgB,CAAC,CAAC;;gBAQvB,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,EAC1B,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAOlD,GAAG,CAAC,OAAO,GAAE,OAAe,GAAG,OAAO,CAAC,CAAC,CAAC;IA0B/C,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;CAiClC"}
|
|
@@ -73,10 +73,11 @@ export class CredentialHolder {
|
|
|
73
73
|
reject(new Error('Refreshed credential is undefined'));
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
// we just the token back from credentails, it has to be correct, right
|
|
77
|
+
// if (!this.#isValid(refreshed)) {
|
|
78
|
+
// reject(new Error('Refreshed credential is invalid'));
|
|
79
|
+
// return;
|
|
80
|
+
// }
|
|
80
81
|
resolve(refreshed);
|
|
81
82
|
}).catch((error) => reject(error)).finally(() => {
|
|
82
83
|
__classPrivateFieldSet(this, _CredentialHolder_isRefreshing, false, "f");
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"AAcA,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;GAEG;AACH,qBAAa,gBAAgB,CAAC,CAAC;;gBAQvB,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,EAC1B,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAOlD,GAAG,CAAC,OAAO,GAAE,OAAe,GAAG,OAAO,CAAC,CAAC,CAAC;IA0B/C,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;CAiClC"}
|
|
@@ -77,10 +77,11 @@ class CredentialHolder {
|
|
|
77
77
|
reject(new Error('Refreshed credential is undefined'));
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
// we just the token back from credentails, it has to be correct, right
|
|
81
|
+
// if (!this.#isValid(refreshed)) {
|
|
82
|
+
// reject(new Error('Refreshed credential is invalid'));
|
|
83
|
+
// return;
|
|
84
|
+
// }
|
|
84
85
|
resolve(refreshed);
|
|
85
86
|
}).catch((error) => reject(error)).finally(() => {
|
|
86
87
|
__classPrivateFieldSet(this, _CredentialHolder_isRefreshing, false, "f");
|