@subql/apollo-links
Advanced tools
Comparing version 1.0.2 to 1.0.3-0
@@ -24,3 +24,3 @@ "use strict"; | ||
.then((params) => { | ||
var _a; | ||
var _a, _b; | ||
if (params === null || params === void 0 ? void 0 : params.data) { | ||
@@ -38,2 +38,6 @@ const { authorization, url, type } = params.data; | ||
} | ||
else { | ||
(_b = this.logger) === null || _b === void 0 ? void 0 : _b.debug('no available orders'); | ||
sub = forward(operation).subscribe(observer); | ||
} | ||
}) | ||
@@ -40,0 +44,0 @@ .catch((error) => { |
@@ -1,2 +0,2 @@ | ||
import { Agreement, ProjectType, Plan } from '../types'; | ||
import { Agreement, Plan, ProjectType } from '../types'; | ||
export declare function POST<T>(url: string, body: Record<string, string | number | boolean | undefined>): Promise<T>; | ||
@@ -3,0 +3,0 @@ export declare function GET<T>(url: string): Promise<T>; |
{ | ||
"name": "@subql/apollo-links", | ||
"version": "1.0.2", | ||
"version": "1.0.3-0", | ||
"description": "SubQuery Network - graphql links", | ||
@@ -30,3 +30,3 @@ "main": "dist/index.js", | ||
}, | ||
"stableVersion": "1.0.1-1" | ||
"stableVersion": "1.0.2" | ||
} |
@@ -64,2 +64,5 @@ // Copyright 2020-2022 SubQuery Pte Ltd authors & contributors | ||
observer.error(new Error('failed to get indexer request params')); | ||
} else { | ||
this.logger?.debug('no available orders'); | ||
sub = forward(operation).subscribe(observer); | ||
} | ||
@@ -66,0 +69,0 @@ }) |
@@ -6,3 +6,3 @@ // Copyright 2020-2022 SubQuery Pte Ltd authors & contributors | ||
import { Agreement, ProjectType, Plan } from '../types'; | ||
import { Agreement, Plan, ProjectType } from '../types'; | ||
@@ -9,0 +9,0 @@ export async function POST<T>( |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
205213
1933
2