@getvolume/volume-js
Advanced tools
Comparing version 1.0.12 to 1.0.13-1
@@ -1,2 +0,2 @@ | ||
import { AgentType } from '@getvolume/volume-shared'; | ||
import { ResponseWrapper, AgentType } from '@getvolume/volume-shared'; | ||
@@ -18,4 +18,4 @@ type VolumeEnvironment = "live" | "sandbox" | "local" | (string & {}); | ||
get version(): string; | ||
institutions(): Promise<Response>; | ||
paymentStatus(paymentId: string): Promise<Response>; | ||
institutions(): Promise<ResponseWrapper<Response>>; | ||
paymentStatus(paymentId: string): Promise<ResponseWrapper<Response>>; | ||
createSingleDomesticPayment({ institutionId, paymentRequest, merchantPaymentId, shopperId, paymentId }: { | ||
@@ -22,0 +22,0 @@ shopperId?: string; |
@@ -128,3 +128,3 @@ "use strict"; | ||
name: "@getvolume/volume-js", | ||
version: "1.0.12", | ||
version: "1.0.13-1", | ||
description: "Volume JS", | ||
@@ -144,3 +144,3 @@ main: "./dist/index.js", | ||
dependencies: { | ||
"@getvolume/volume-shared": "0.0.9" | ||
"@getvolume/volume-shared": "0.0.10-1" | ||
}, | ||
@@ -169,11 +169,19 @@ author: "Kai Spencer", | ||
return __async(this, null, function* () { | ||
return yield applicationIdRequest({ | ||
applicationId: this.initConfig.applicationId, | ||
endpoint: "INSTITUTIONS", | ||
environment: this.initConfig.environment, | ||
xAppName: this.initConfig.xAppName, | ||
xDeviceInfo: this.initConfig.xDeviceInfo, | ||
xVolumeVersion: this.initConfig.xVolumeVersion, | ||
xCommitSha: this.initConfig.xCommitSha | ||
}); | ||
try { | ||
return { | ||
response: yield applicationIdRequest({ | ||
applicationId: this.initConfig.applicationId, | ||
endpoint: "INSTITUTIONS", | ||
environment: this.initConfig.environment, | ||
xAppName: this.initConfig.xAppName, | ||
xDeviceInfo: this.initConfig.xDeviceInfo, | ||
xVolumeVersion: this.initConfig.xVolumeVersion, | ||
xCommitSha: this.initConfig.xCommitSha | ||
}) | ||
}; | ||
} catch (e) { | ||
return { | ||
error: e | ||
}; | ||
} | ||
}); | ||
@@ -183,12 +191,20 @@ } | ||
return __async(this, null, function* () { | ||
return yield applicationIdRequest({ | ||
applicationId: this.initConfig.applicationId, | ||
endpoint: "PAYMENT_STATUS", | ||
params: [paymentId], | ||
environment: this.initConfig.environment, | ||
xAppName: this.initConfig.xAppName, | ||
xDeviceInfo: this.initConfig.xDeviceInfo, | ||
xVolumeVersion: this.initConfig.xVolumeVersion, | ||
xCommitSha: this.initConfig.xCommitSha | ||
}); | ||
try { | ||
return { | ||
response: yield applicationIdRequest({ | ||
applicationId: this.initConfig.applicationId, | ||
endpoint: "PAYMENT_STATUS", | ||
params: [paymentId], | ||
environment: this.initConfig.environment, | ||
xAppName: this.initConfig.xAppName, | ||
xDeviceInfo: this.initConfig.xDeviceInfo, | ||
xVolumeVersion: this.initConfig.xVolumeVersion, | ||
xCommitSha: this.initConfig.xCommitSha | ||
}) | ||
}; | ||
} catch (e) { | ||
return { | ||
error: e | ||
}; | ||
} | ||
}); | ||
@@ -195,0 +211,0 @@ } |
{ | ||
"name": "@getvolume/volume-js", | ||
"version": "1.0.12", | ||
"version": "1.0.13-1", | ||
"description": "Volume JS", | ||
@@ -18,3 +18,3 @@ "main": "./dist/index.js", | ||
"dependencies": { | ||
"@getvolume/volume-shared": "0.0.9" | ||
"@getvolume/volume-shared": "0.0.10-1" | ||
}, | ||
@@ -21,0 +21,0 @@ "author": "Kai Spencer", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
9010
262
2
+ Added@getvolume/volume-shared@0.0.10-1(transitive)
- Removed@getvolume/volume-shared@0.0.9(transitive)