@getvolume/volume-js
Advanced tools
Comparing version 1.0.17 to 1.0.18-canary.768793f
@@ -20,3 +20,3 @@ import { ResponseWrapper, AgentType } from '@getvolume/volume-shared'; | ||
paymentStatus(paymentId: string, headers?: Record<string, string>): Promise<ResponseWrapper<Response>>; | ||
createSingleDomesticPayment({ institutionId, paymentRequest, merchantPaymentId, shopperId, paymentId, headers, metadata }: { | ||
createSingleDomesticPayment({ institutionId, paymentRequest, merchantPaymentId, shopperId, paymentId, headers, metadata, }: { | ||
shopperId?: string; | ||
@@ -23,0 +23,0 @@ merchantPaymentId?: string; |
@@ -104,18 +104,15 @@ "use strict"; | ||
const url = params != void 0 ? formatString(baseUrl, params) : baseUrl; | ||
return yield fetch( | ||
url, | ||
{ | ||
method, | ||
body, | ||
headers: new Headers(__spreadValues({ | ||
"x-application-id": applicationId, | ||
Accept: "application/json", | ||
"Content-Type": "application/vnd.volume.v0.7+json", | ||
"x-volume-version": xVolumeVersion, | ||
"x-app-name": xAppName, | ||
"x-device-info": xDeviceInfo, | ||
"x-commitSha": xCommitSha | ||
}, additionalHeaders)) | ||
} | ||
); | ||
return yield fetch(url, { | ||
method, | ||
body, | ||
headers: new Headers(__spreadValues({ | ||
"x-application-id": applicationId, | ||
Accept: "application/json", | ||
"Content-Type": "application/vnd.volume.v0.7+json", | ||
"x-volume-version": xVolumeVersion, | ||
"x-app-name": xAppName, | ||
"x-device-info": xDeviceInfo, | ||
"x-commitSha": xCommitSha | ||
}, additionalHeaders)) | ||
}); | ||
}); | ||
@@ -130,3 +127,3 @@ } | ||
name: "@getvolume/volume-js", | ||
version: "1.0.17", | ||
version: "1.0.18-canary.768793f", | ||
description: "Volume JS", | ||
@@ -133,0 +130,0 @@ main: "./dist/index.js", |
{ | ||
"name": "@getvolume/volume-js", | ||
"version": "1.0.17", | ||
"description": "Volume JS", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
"test": "vitest run", | ||
"test:watch": "vitest", | ||
"build": "tsup src/index.ts --dts", | ||
"clean": "rm -rf dist .turbo", | ||
"dev": "yarn build --watch" | ||
}, | ||
"dependencies": { | ||
"@getvolume/volume-shared": "0.0.12" | ||
}, | ||
"author": "Kai Spencer", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"cross-fetch": "^3.1.5", | ||
"msw": "^0.47.0", | ||
"node-fetch": "^3.2.8", | ||
"tsup": "^6.7.0", | ||
"typescript": "^4.9.5", | ||
"vitest": "^0.18.1" | ||
} | ||
"name": "@getvolume/volume-js", | ||
"version": "1.0.18-canary.768793f", | ||
"description": "Volume JS", | ||
"main": "./dist/index.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/**" | ||
], | ||
"scripts": { | ||
"test": "vitest run", | ||
"test:watch": "vitest", | ||
"build": "tsup src/index.ts --dts", | ||
"clean": "rm -rf dist .turbo", | ||
"dev": "yarn build --watch" | ||
}, | ||
"dependencies": { | ||
"@getvolume/volume-shared": "0.0.12" | ||
}, | ||
"author": "Kai Spencer", | ||
"license": "ISC", | ||
"devDependencies": { | ||
"cross-fetch": "^3.1.5", | ||
"msw": "^0.47.0", | ||
"node-fetch": "^3.2.8", | ||
"tsup": "^6.7.0", | ||
"typescript": "^4.9.5", | ||
"vitest": "^0.18.1" | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9603
4
1
268
2