@moonbase.sh/storefront-api 0.2.42 → 0.2.44
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.cjs +0 -3
- package/dist/index.js +0 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -762,9 +762,6 @@ var _TokenStore = class _TokenStore {
|
|
|
762
762
|
window.clearTimeout(this.refreshTimeoutId);
|
|
763
763
|
if (this.tokens) {
|
|
764
764
|
this.tokens.expiresAt = new Date(this.tokens.expiresAt);
|
|
765
|
-
this.refreshTimeoutId = window.setTimeout(() => {
|
|
766
|
-
this.refreshPromise = this.refreshTokens();
|
|
767
|
-
}, 10 * 60 * 1e3 + (Math.random() + 1) * 60 * 1e3);
|
|
768
765
|
}
|
|
769
766
|
break;
|
|
770
767
|
}
|
package/dist/index.js
CHANGED
|
@@ -720,9 +720,6 @@ var _TokenStore = class _TokenStore {
|
|
|
720
720
|
window.clearTimeout(this.refreshTimeoutId);
|
|
721
721
|
if (this.tokens) {
|
|
722
722
|
this.tokens.expiresAt = new Date(this.tokens.expiresAt);
|
|
723
|
-
this.refreshTimeoutId = window.setTimeout(() => {
|
|
724
|
-
this.refreshPromise = this.refreshTokens();
|
|
725
|
-
}, 10 * 60 * 1e3 + (Math.random() + 1) * 60 * 1e3);
|
|
726
723
|
}
|
|
727
724
|
break;
|
|
728
725
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moonbase.sh/storefront-api",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.44",
|
|
5
5
|
"description": "Package to let you build storefronts with Moonbase.sh as payment and delivery provider",
|
|
6
6
|
"author": "Tobias Lønnerød Madsen <m@dsen.tv>",
|
|
7
7
|
"license": "MIT",
|