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

@easypost/api

Package Overview
Dependencies
Maintainers
10
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easypost/api - npm Package Compare versions

Comparing version 7.4.0 to 7.5.0

src/models/claim.js

4

CHANGELOG.md
# CHANGELOG
## v7.5.0 (2024-07-24)
- Adds new `Claim` service for filing claims on EasyPost shipments and insurances
## v7.4.0 (2024-07-12)

@@ -4,0 +8,0 @@

7

package.json
{
"name": "@easypost/api",
"description": "EasyPost Node Client Library",
"version": "7.4.0",
"version": "7.5.0",
"author": "Easypost Engineering <oss@easypost.com>",

@@ -30,5 +30,5 @@ "homepage": "https://easypost.com",

"prepublishOnly": "npm run clean && npm run build && npm run test && npm run lint && npm run formatCheck",
"repl": "./repl.js --local easypost.js",
"repl": "./repl.js --local ./dist/easypost.js",
"scan": "npx audit-ci -m --config ./audit-ci.jsonc",
"test": "cross-env NODE_ENV=test mocha --timeout 10000 --require @babel/register --require ./test/helpers/common.js --recursive ./test",
"test": "cross-env NODE_ENV=test mocha",
"watch": "webpack --config webpack.config.babel.js --watch"

@@ -69,2 +69,3 @@ },

"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.40.0",

@@ -71,0 +72,0 @@ "eslint-config-prettier": "^8.8.0",

@@ -177,4 +177,4 @@ # EasyPost Node Client Library

const logOutgoingRequest = (request) => console.log("Outgoing:", request);
const logResponse = (response) => console.log("Response:", response)
const logOutgoingRequest = (request) => console.log('Outgoing:', request);
const logResponse = (response) => console.log('Response:', response);

@@ -184,3 +184,3 @@ // optionally add your hook to listen for outgoing requests

// and optionally the hook for the response
client.addResponseHook(logResponse)
client.addResponseHook(logResponse);

@@ -187,0 +187,0 @@ // ...do other stuff

@@ -18,2 +18,3 @@ import os from 'os';

import CarrierTypeService from './services/carrier_type_service';
import ClaimService from './services/claim_service';
import CustomsInfoService from './services/customs_info_service';

@@ -97,2 +98,3 @@ import CustomsItemService from './services/customs_item_service';

CarrierType: CarrierTypeService,
Claim: ClaimService,
CustomsInfo: CustomsInfoService,

@@ -244,3 +246,3 @@ CustomsItem: CustomsItemService,

let completePath = this.baseUrl + path;
completePath = path.includes('beta') ? completePath.replace('v2', '') : completePath;
completePath = path.includes('beta') ? completePath.replace('/v2', '') : completePath;

@@ -247,0 +249,0 @@ return completePath;

@@ -7,2 +7,3 @@ import Address from '../models/address';

import CarrierType from '../models/carrier_type';
import Claim from '../models/claim';
import CustomsInfo from '../models/customs_info';

@@ -41,2 +42,3 @@ import CustomsItem from '../models/customs_item';

cfrep: Report,
clm: Claim,
cstinfo: CustomsInfo,

@@ -43,0 +45,0 @@ cstitem: CustomsItem,

Sorry, the diff of this file is too big to display

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