@cardano-graphql/util
Advanced tools
Comparing version 4.0.0 to 5.0.0
@@ -32,6 +32,6 @@ "use strict"; | ||
yield this.fetch(); | ||
this.logger.debug('initial value fetched', { module: 'DataFetcher', instance: this.name, value: this.value }); | ||
this.logger.debug({ module: 'DataFetcher', instance: this.name, value: this.value }, 'Initial value fetched'); | ||
this.pollingQueryTimer = dynamic_1.setIntervalAsync(() => __awaiter(this, void 0, void 0, function* () { | ||
yield this.fetch(); | ||
this.logger.debug(`value fetched after ${this.pollingInterval / 1000} seconds`, { module: 'DataFetcher', instance: this.name, value: this.value }); | ||
this.logger.debug({ module: 'DataFetcher', instance: this.name, value: this.value }, `value fetched after ${this.pollingInterval / 1000} seconds`); | ||
}), this.pollingInterval); | ||
@@ -38,0 +38,0 @@ }); |
@@ -5,4 +5,5 @@ import { loadQueryNode } from './queryNodeLoading'; | ||
export * from './data_fetching'; | ||
export * from './knownEras'; | ||
export * as errors from './errors'; | ||
export * from './stringModifiers'; | ||
export * from './types'; | ||
declare const _default: { | ||
@@ -9,0 +10,0 @@ onFailedAttemptFor: (operation: string, logger?: import("ts-log").Logger) => ({ attemptNumber, message, retriesLeft }: import("p-retry").FailedAttemptError) => void; |
@@ -30,4 +30,5 @@ "use strict"; | ||
__exportStar(require("./data_fetching"), exports); | ||
__exportStar(require("./knownEras"), exports); | ||
exports.errors = __importStar(require("./errors")); | ||
__exportStar(require("./stringModifiers"), exports); | ||
__exportStar(require("./types"), exports); | ||
exports.default = { | ||
@@ -34,0 +35,0 @@ onFailedAttemptFor: onFailedAttemptFor_1.onFailedAttemptFor, |
@@ -5,2 +5,3 @@ export * from './AssetFingerprint'; | ||
export * from './Hash32Hex'; | ||
export * from './Hex'; | ||
export * from './Percentage'; | ||
@@ -7,0 +8,0 @@ export * from './StakeAddress'; |
@@ -17,2 +17,3 @@ "use strict"; | ||
__exportStar(require("./Hash32Hex"), exports); | ||
__exportStar(require("./Hex"), exports); | ||
__exportStar(require("./Percentage"), exports); | ||
@@ -19,0 +20,0 @@ __exportStar(require("./StakeAddress"), exports); |
{ | ||
"name": "@cardano-graphql/util", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Common utilities", | ||
@@ -25,3 +25,3 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"@emurgo/cip14-js": "^2.0.0", | ||
"@cardano-ogmios/schema": "^4.0.0-beta.5", | ||
"dayjs": "^1.8.29", | ||
@@ -28,0 +28,0 @@ "graphql": "14.5.8", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
594756
97
561
+ Added@cardano-ogmios/schema@4.2.1(transitive)
- Removed@emurgo/cip14-js@^2.0.0
- Removed@emurgo/cip14-js@2.0.0(transitive)
- Removedbech32@2.0.0(transitive)
- Removedblake2b@2.1.3(transitive)
- Removedblake2b-wasm@1.1.7(transitive)
- Removednanoassert@1.1.0(transitive)