Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@myparcel/constants

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@myparcel/constants - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

8

dist/index.d.ts

@@ -75,3 +75,4 @@ declare enum CarrierId {

Evening = 3,
Pickup = 4
Pickup = 4,
Express = 7
}

@@ -83,3 +84,4 @@ /** @see https://myparcelnl.github.io/api/#6_A_2 */

Evening = "evening",
Pickup = "pickup"
Pickup = "pickup",
Express = "express"
}

@@ -94,2 +96,3 @@ type DeliveryTypeNameOrId = DeliveryTypeName | DeliveryTypeId;

readonly pickup: DeliveryTypeId.Pickup;
readonly express: DeliveryTypeId.Express;
};

@@ -101,2 +104,3 @@ declare const DELIVERY_TYPE_IDS_TO_NAMES: {

readonly 4: DeliveryTypeName.Pickup;
readonly 7: DeliveryTypeName.Express;
};

@@ -103,0 +107,0 @@

@@ -75,2 +75,3 @@ // src/types/carrier.ts

DeliveryTypeId3[DeliveryTypeId3["Pickup"] = 4] = "Pickup";
DeliveryTypeId3[DeliveryTypeId3["Express"] = 7] = "Express";
return DeliveryTypeId3;

@@ -83,2 +84,3 @@ })(DeliveryTypeId || {});

DeliveryTypeName3["Pickup"] = "pickup";
DeliveryTypeName3["Express"] = "express";
return DeliveryTypeName3;

@@ -90,3 +92,4 @@ })(DeliveryTypeName || {});

["evening" /* Evening */]: 3 /* Evening */,
["pickup" /* Pickup */]: 4 /* Pickup */
["pickup" /* Pickup */]: 4 /* Pickup */,
["express" /* Express */]: 7 /* Express */
};

@@ -97,3 +100,4 @@ var DELIVERY_TYPE_IDS_TO_NAMES = {

[3 /* Evening */]: "evening" /* Evening */,
[4 /* Pickup */]: "pickup" /* Pickup */
[4 /* Pickup */]: "pickup" /* Pickup */,
[7 /* Express */]: "express" /* Express */
};

@@ -100,0 +104,0 @@

{
"name": "@myparcel/constants",
"version": "2.0.0",
"version": "2.1.0",
"description": "Collection of constant values for use with the MyParcel API",

@@ -9,3 +9,6 @@ "keywords": [

],
"repository": "github:myparcelnl/constants",
"repository": {
"type": "git",
"url": "git+https://github.com/myparcelnl/constants.git"
},
"license": "MIT",

@@ -93,3 +96,3 @@ "author": "Edie Lemoine <edie@myparcel.nl>",

"fast-glob": "^3.2.12",
"husky": "^8.0.3",
"husky": "^9.0.0",
"is-ci": "^3.0.1",

@@ -103,5 +106,6 @@ "lint-staged": "^15.0.0",

},
"packageManager": "yarn@3.4.1",
"packageManager": "yarn@4.5.1",
"volta": {
"node": "20.10.0"
"node": "20.10.0",
"yarn": "4.5.1"
},

@@ -108,0 +112,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc