@shopify/address-consts
Advanced tools
Comparing version 4.1.2 to 4.2.0
@@ -6,3 +6,2 @@ 'use strict'; | ||
exports.FieldName = void 0; | ||
(function (FieldName) { | ||
@@ -20,6 +19,6 @@ FieldName["FirstName"] = "firstName"; | ||
})(exports.FieldName || (exports.FieldName = {})); | ||
const GRAPHQL_ENDPOINT = 'https://atlas.shopifysvc.com/graphql'; | ||
exports.GraphqlOperationName = void 0; | ||
/* eslint-disable @typescript-eslint/naming-convention */ | ||
(function (GraphqlOperationName) { | ||
@@ -29,3 +28,2 @@ GraphqlOperationName["Countries"] = "countries"; | ||
})(exports.GraphqlOperationName || (exports.GraphqlOperationName = {})); | ||
const HEADERS = { | ||
@@ -35,4 +33,5 @@ 'Content-Type': 'application/json', | ||
}; | ||
/* eslint-enable @typescript-eslint/naming-convention */ | ||
exports.GRAPHQL_ENDPOINT = GRAPHQL_ENDPOINT; | ||
exports.HEADERS = HEADERS; |
@@ -13,3 +13,3 @@ export declare enum FieldName { | ||
} | ||
export declare type ZoneKey = 'COUNTY' | 'EMIRATE' | 'GOVERNORATE' | 'PREFECTURE' | 'PROVINCE' | 'REGION' | 'STATE_AND_TERRITORY' | 'STATE'; | ||
export type ZoneKey = 'COUNTY' | 'EMIRATE' | 'GOVERNORATE' | 'PREFECTURE' | 'PROVINCE' | 'REGION' | 'STATE_AND_TERRITORY' | 'STATE'; | ||
export interface Address { | ||
@@ -16,0 +16,0 @@ company?: string; |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index.js"); | ||
module.exports = require("./build/cjs/index.js"); |
{ | ||
"name": "@shopify/address-consts", | ||
"version": "4.1.2", | ||
"version": "4.2.0", | ||
"license": "MIT", | ||
@@ -24,3 +24,3 @@ "description": "Constants and types relating to `@shopify/address`", | ||
"engines": { | ||
"node": "^14.17.0 || >=16.0.0" | ||
"node": ">=18.12.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "files": [ |
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
9221
147