dymo-api 1.0.77 → 1.0.78

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.
@@ -93,7 +93,7 @@ class DymoAPI {
93
93
  * with the token retrieval process.
94
94
  */
95
95
  async getTokens() {
96
- if (this.tokensResponse && !this.tokensVerified) {
96
+ if (this.tokensResponse && this.tokensVerified) {
97
97
  console.log(`[${config_1.default.lib.name}] Using cached tokens response.`);
98
98
  return this.tokensResponse;
99
99
  }
@@ -55,7 +55,7 @@ class DymoAPI {
55
55
  * with the token retrieval process.
56
56
  */
57
57
  async getTokens() {
58
- if (this.tokensResponse && !this.tokensVerified) {
58
+ if (this.tokensResponse && this.tokensVerified) {
59
59
  console.log(`[${config.lib.name}] Using cached tokens response.`);
60
60
  return this.tokensResponse;
61
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dymo-api",
3
- "version": "1.0.77",
3
+ "version": "1.0.78",
4
4
  "description": "Flow system for Dymo API.",
5
5
  "main": "dist/cjs/dymo-api.js",
6
6
  "module": "dist/esm/dymo-api.js",