@shopify/address-consts
Advanced tools
Comparing version 1.0.5 to 2.0.0-expand-locale-support-for-shopify-address.1
@@ -10,2 +10,5 @@ # Changelog | ||
- [Minor] Add `errors` to `LoadCountriesResponse` and `LoadCountryResponse`. [#1301](https://github.com/Shopify/quilt/pull/1301) | ||
- [Breaking Change] Update `ResponseError` to match GraphQl specification for Errors. [#1301](https://github.com/Shopify/quilt/pull/1301) | ||
## [1.0.0] - 2019-08-29 | ||
@@ -12,0 +15,0 @@ |
@@ -34,2 +34,3 @@ export declare enum FieldName { | ||
}; | ||
errors?: GraphQlError[]; | ||
} | ||
@@ -40,2 +41,3 @@ export interface LoadCountryResponse { | ||
}; | ||
errors?: GraphQlError[]; | ||
} | ||
@@ -68,13 +70,12 @@ export interface Country { | ||
export interface ResponseError { | ||
errors: { | ||
locations: { | ||
column: number; | ||
line: number; | ||
}[]; | ||
message: string; | ||
problems: { | ||
explanation: string; | ||
}[]; | ||
value: any; | ||
errors: GraphQlError[]; | ||
} | ||
export interface GraphQlError { | ||
message: string; | ||
locations?: { | ||
column: number; | ||
line: number; | ||
}[]; | ||
path?: any[]; | ||
extensions?: object; | ||
} | ||
@@ -81,0 +82,0 @@ export declare const GRAPHQL_ENDPOINT = "https://country-service.shopifycloud.com/graphql"; |
{ | ||
"name": "@shopify/address-consts", | ||
"version": "1.0.5", | ||
"version": "2.0.0-expand-locale-support-for-shopify-address.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Constants and types relating to @shopify/address", |
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
7233
19823
125
1